ccxt 4.0.75__py2.py3-none-any.whl → 4.0.77__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ccxt might be problematic. Click here for more details.

Files changed (243) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/bingx.py +2 -0
  3. ccxt/abstract/coinsph.py +5 -0
  4. ccxt/abstract/gate.py +24 -0
  5. ccxt/abstract/gateio.py +24 -0
  6. ccxt/ace.py +2 -2
  7. ccxt/alpaca.py +1 -1
  8. ccxt/ascendex.py +3 -3
  9. ccxt/async_support/__init__.py +1 -1
  10. ccxt/async_support/ace.py +2 -2
  11. ccxt/async_support/alpaca.py +1 -1
  12. ccxt/async_support/ascendex.py +3 -3
  13. ccxt/async_support/base/exchange.py +3 -3
  14. ccxt/async_support/bigone.py +2 -2
  15. ccxt/async_support/binance.py +5 -5
  16. ccxt/async_support/bingx.py +72 -21
  17. ccxt/async_support/bit2c.py +2 -2
  18. ccxt/async_support/bitbank.py +2 -2
  19. ccxt/async_support/bitbns.py +2 -2
  20. ccxt/async_support/bitfinex.py +2 -2
  21. ccxt/async_support/bitfinex2.py +4 -4
  22. ccxt/async_support/bitflyer.py +2 -2
  23. ccxt/async_support/bitforex.py +2 -2
  24. ccxt/async_support/bitget.py +5 -5
  25. ccxt/async_support/bithumb.py +2 -2
  26. ccxt/async_support/bitmart.py +2 -2
  27. ccxt/async_support/bitmex.py +5 -5
  28. ccxt/async_support/bitopro.py +3 -3
  29. ccxt/async_support/bitpanda.py +2 -2
  30. ccxt/async_support/bitrue.py +3 -3
  31. ccxt/async_support/bitso.py +2 -2
  32. ccxt/async_support/bitstamp.py +2 -2
  33. ccxt/async_support/bitstamp1.py +2 -2
  34. ccxt/async_support/bittrex.py +3 -3
  35. ccxt/async_support/bitvavo.py +3 -3
  36. ccxt/async_support/bkex.py +4 -4
  37. ccxt/async_support/bl3p.py +2 -2
  38. ccxt/async_support/blockchaincom.py +1 -1
  39. ccxt/async_support/btcalpha.py +2 -2
  40. ccxt/async_support/btcbox.py +2 -2
  41. ccxt/async_support/btcmarkets.py +2 -2
  42. ccxt/async_support/btctradeua.py +2 -2
  43. ccxt/async_support/btcturk.py +2 -2
  44. ccxt/async_support/bybit.py +6 -6
  45. ccxt/async_support/cex.py +2 -2
  46. ccxt/async_support/coinbase.py +3 -3
  47. ccxt/async_support/coinbasepro.py +2 -2
  48. ccxt/async_support/coincheck.py +2 -2
  49. ccxt/async_support/coinex.py +6 -6
  50. ccxt/async_support/coinfalcon.py +2 -2
  51. ccxt/async_support/coinmate.py +2 -2
  52. ccxt/async_support/coinone.py +2 -2
  53. ccxt/async_support/coinsph.py +7 -2
  54. ccxt/async_support/coinspot.py +2 -2
  55. ccxt/async_support/cryptocom.py +5 -5
  56. ccxt/async_support/currencycom.py +2 -2
  57. ccxt/async_support/delta.py +2 -2
  58. ccxt/async_support/deribit.py +3 -3
  59. ccxt/async_support/digifinex.py +4 -4
  60. ccxt/async_support/exmo.py +2 -2
  61. ccxt/async_support/gate.py +46 -4
  62. ccxt/async_support/gemini.py +3 -3
  63. ccxt/async_support/hitbtc.py +4 -4
  64. ccxt/async_support/hollaex.py +3 -3
  65. ccxt/async_support/huobi.py +5 -5
  66. ccxt/async_support/huobijp.py +2 -2
  67. ccxt/async_support/idex.py +2 -2
  68. ccxt/async_support/independentreserve.py +2 -2
  69. ccxt/async_support/indodax.py +2 -2
  70. ccxt/async_support/kraken.py +2 -2
  71. ccxt/async_support/kucoin.py +4 -4
  72. ccxt/async_support/kucoinfutures.py +5 -5
  73. ccxt/async_support/kuna.py +2 -2
  74. ccxt/async_support/latoken.py +2 -2
  75. ccxt/async_support/lbank.py +2 -2
  76. ccxt/async_support/lbank2.py +2 -2
  77. ccxt/async_support/luno.py +2 -2
  78. ccxt/async_support/lykke.py +2 -2
  79. ccxt/async_support/mercado.py +2 -2
  80. ccxt/async_support/mexc.py +6 -3
  81. ccxt/async_support/ndax.py +2 -2
  82. ccxt/async_support/novadax.py +2 -2
  83. ccxt/async_support/oceanex.py +2 -2
  84. ccxt/async_support/okcoin.py +2 -2
  85. ccxt/async_support/okx.py +4 -4
  86. ccxt/async_support/paymium.py +2 -2
  87. ccxt/async_support/phemex.py +2 -2
  88. ccxt/async_support/poloniex.py +149 -68
  89. ccxt/async_support/poloniexfutures.py +2 -2
  90. ccxt/async_support/probit.py +2 -2
  91. ccxt/async_support/tidex.py +2 -2
  92. ccxt/async_support/timex.py +2 -2
  93. ccxt/async_support/tokocrypto.py +2 -2
  94. ccxt/async_support/upbit.py +2 -2
  95. ccxt/async_support/wavesexchange.py +3 -3
  96. ccxt/async_support/wazirx.py +2 -2
  97. ccxt/async_support/whitebit.py +4 -3
  98. ccxt/async_support/woo.py +2 -2
  99. ccxt/async_support/yobit.py +2 -2
  100. ccxt/async_support/zaif.py +2 -2
  101. ccxt/async_support/zonda.py +2 -2
  102. ccxt/base/exchange.py +3 -3
  103. ccxt/bigone.py +2 -2
  104. ccxt/binance.py +5 -5
  105. ccxt/bingx.py +72 -21
  106. ccxt/bit2c.py +2 -2
  107. ccxt/bitbank.py +2 -2
  108. ccxt/bitbns.py +2 -2
  109. ccxt/bitfinex.py +2 -2
  110. ccxt/bitfinex2.py +4 -4
  111. ccxt/bitflyer.py +2 -2
  112. ccxt/bitforex.py +2 -2
  113. ccxt/bitget.py +5 -5
  114. ccxt/bithumb.py +2 -2
  115. ccxt/bitmart.py +2 -2
  116. ccxt/bitmex.py +5 -5
  117. ccxt/bitopro.py +3 -3
  118. ccxt/bitpanda.py +2 -2
  119. ccxt/bitrue.py +3 -3
  120. ccxt/bitso.py +2 -2
  121. ccxt/bitstamp.py +2 -2
  122. ccxt/bitstamp1.py +2 -2
  123. ccxt/bittrex.py +3 -3
  124. ccxt/bitvavo.py +3 -3
  125. ccxt/bkex.py +4 -4
  126. ccxt/bl3p.py +2 -2
  127. ccxt/blockchaincom.py +1 -1
  128. ccxt/btcalpha.py +2 -2
  129. ccxt/btcbox.py +2 -2
  130. ccxt/btcmarkets.py +2 -2
  131. ccxt/btctradeua.py +2 -2
  132. ccxt/btcturk.py +2 -2
  133. ccxt/bybit.py +6 -6
  134. ccxt/cex.py +2 -2
  135. ccxt/coinbase.py +3 -3
  136. ccxt/coinbasepro.py +2 -2
  137. ccxt/coincheck.py +2 -2
  138. ccxt/coinex.py +6 -6
  139. ccxt/coinfalcon.py +2 -2
  140. ccxt/coinmate.py +2 -2
  141. ccxt/coinone.py +2 -2
  142. ccxt/coinsph.py +7 -2
  143. ccxt/coinspot.py +2 -2
  144. ccxt/cryptocom.py +5 -5
  145. ccxt/currencycom.py +2 -2
  146. ccxt/delta.py +2 -2
  147. ccxt/deribit.py +3 -3
  148. ccxt/digifinex.py +4 -4
  149. ccxt/exmo.py +2 -2
  150. ccxt/gate.py +46 -4
  151. ccxt/gemini.py +3 -3
  152. ccxt/hitbtc.py +4 -4
  153. ccxt/hollaex.py +3 -3
  154. ccxt/huobi.py +5 -5
  155. ccxt/huobijp.py +2 -2
  156. ccxt/idex.py +2 -2
  157. ccxt/independentreserve.py +2 -2
  158. ccxt/indodax.py +2 -2
  159. ccxt/kraken.py +2 -2
  160. ccxt/kucoin.py +4 -4
  161. ccxt/kucoinfutures.py +5 -5
  162. ccxt/kuna.py +2 -2
  163. ccxt/latoken.py +2 -2
  164. ccxt/lbank.py +2 -2
  165. ccxt/lbank2.py +2 -2
  166. ccxt/luno.py +2 -2
  167. ccxt/lykke.py +2 -2
  168. ccxt/mercado.py +2 -2
  169. ccxt/mexc.py +6 -3
  170. ccxt/ndax.py +2 -2
  171. ccxt/novadax.py +2 -2
  172. ccxt/oceanex.py +2 -2
  173. ccxt/okcoin.py +2 -2
  174. ccxt/okx.py +4 -4
  175. ccxt/paymium.py +2 -2
  176. ccxt/phemex.py +2 -2
  177. ccxt/poloniex.py +149 -68
  178. ccxt/poloniexfutures.py +2 -2
  179. ccxt/pro/__init__.py +1 -1
  180. ccxt/pro/ascendex.py +2 -2
  181. ccxt/pro/binance.py +6 -6
  182. ccxt/pro/bitfinex.py +1 -1
  183. ccxt/pro/bitfinex2.py +2 -2
  184. ccxt/pro/bitget.py +2 -2
  185. ccxt/pro/bitmart.py +1 -1
  186. ccxt/pro/bitmex.py +2 -2
  187. ccxt/pro/bitopro.py +2 -2
  188. ccxt/pro/bitpanda.py +6 -6
  189. ccxt/pro/bitrue.py +1 -1
  190. ccxt/pro/bitstamp.py +1 -1
  191. ccxt/pro/bittrex.py +2 -2
  192. ccxt/pro/bitvavo.py +1 -1
  193. ccxt/pro/blockchaincom.py +5 -5
  194. ccxt/pro/bybit.py +1 -1
  195. ccxt/pro/cex.py +4 -4
  196. ccxt/pro/coinbase.py +5 -5
  197. ccxt/pro/coinbasepro.py +1 -1
  198. ccxt/pro/coinex.py +2 -2
  199. ccxt/pro/cryptocom.py +3 -3
  200. ccxt/pro/currencycom.py +2 -2
  201. ccxt/pro/deribit.py +3 -3
  202. ccxt/pro/exmo.py +3 -3
  203. ccxt/pro/gate.py +2 -2
  204. ccxt/pro/gemini.py +1 -1
  205. ccxt/pro/hitbtc.py +1 -1
  206. ccxt/pro/hollaex.py +2 -2
  207. ccxt/pro/huobi.py +2 -2
  208. ccxt/pro/huobijp.py +1 -1
  209. ccxt/pro/idex.py +1 -1
  210. ccxt/pro/independentreserve.py +1 -1
  211. ccxt/pro/kraken.py +6 -6
  212. ccxt/pro/krakenfutures.py +5 -5
  213. ccxt/pro/kucoin.py +2 -2
  214. ccxt/pro/kucoinfutures.py +3 -2
  215. ccxt/pro/luno.py +1 -1
  216. ccxt/pro/mexc.py +6 -6
  217. ccxt/pro/ndax.py +1 -1
  218. ccxt/pro/okcoin.py +2 -2
  219. ccxt/pro/okx.py +10 -7
  220. ccxt/pro/phemex.py +2 -2
  221. ccxt/pro/poloniex.py +6 -6
  222. ccxt/pro/poloniexfutures.py +5 -5
  223. ccxt/pro/probit.py +6 -6
  224. ccxt/pro/upbit.py +1 -1
  225. ccxt/pro/wazirx.py +3 -3
  226. ccxt/pro/whitebit.py +2 -2
  227. ccxt/probit.py +2 -2
  228. ccxt/tidex.py +2 -2
  229. ccxt/timex.py +2 -2
  230. ccxt/tokocrypto.py +2 -2
  231. ccxt/upbit.py +2 -2
  232. ccxt/wavesexchange.py +3 -3
  233. ccxt/wazirx.py +2 -2
  234. ccxt/whitebit.py +4 -3
  235. ccxt/woo.py +2 -2
  236. ccxt/yobit.py +2 -2
  237. ccxt/zaif.py +2 -2
  238. ccxt/zonda.py +2 -2
  239. {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/METADATA +4 -4
  240. ccxt-4.0.77.dist-info/RECORD +456 -0
  241. ccxt-4.0.75.dist-info/RECORD +0 -456
  242. {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/WHEEL +0 -0
  243. {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/top_level.txt +0 -0
ccxt/lbank.py CHANGED
@@ -383,7 +383,7 @@ class lbank(Exchange, ImplicitAPI):
383
383
  :param int [since]: timestamp in ms of the earliest trade to fetch
384
384
  :param int [limit]: the maximum amount of trades to fetch
385
385
  :param dict [params]: extra parameters specific to the lbank api endpoint
386
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
386
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
387
387
  """
388
388
  self.load_markets()
389
389
  market = self.market(symbol)
@@ -476,7 +476,7 @@ class lbank(Exchange, ImplicitAPI):
476
476
  """
477
477
  query for balance and get the amount of funds available for trading or funds locked in orders
478
478
  :param dict [params]: extra parameters specific to the lbank api endpoint
479
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
479
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
480
480
  """
481
481
  self.load_markets()
482
482
  response = self.privatePostUserInfo(params)
ccxt/lbank2.py CHANGED
@@ -884,7 +884,7 @@ class lbank2(Exchange, ImplicitAPI):
884
884
  :param int [since]: timestamp in ms of the earliest trade to fetch
885
885
  :param int [limit]: the maximum amount of trades to fetch
886
886
  :param dict [params]: extra parameters specific to the lbank2 api endpoint
887
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
887
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
888
888
  """
889
889
  self.load_markets()
890
890
  market = self.market(symbol)
@@ -1124,7 +1124,7 @@ class lbank2(Exchange, ImplicitAPI):
1124
1124
  see https://www.lbank.info/en-US/docs/index.html#account-information
1125
1125
  see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
1126
1126
  :param dict [params]: extra parameters specific to the lbank2 api endpoint
1127
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1127
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1128
1128
  """
1129
1129
  self.load_markets()
1130
1130
  method = self.safe_string(params, 'method')
ccxt/luno.py CHANGED
@@ -299,7 +299,7 @@ class luno(Exchange, ImplicitAPI):
299
299
  """
300
300
  query for balance and get the amount of funds available for trading or funds locked in orders
301
301
  :param dict [params]: extra parameters specific to the luno api endpoint
302
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
302
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
303
303
  """
304
304
  self.load_markets()
305
305
  response = self.privateGetBalance(params)
@@ -648,7 +648,7 @@ class luno(Exchange, ImplicitAPI):
648
648
  :param int [since]: timestamp in ms of the earliest trade to fetch
649
649
  :param int [limit]: the maximum amount of trades to fetch
650
650
  :param dict [params]: extra parameters specific to the luno api endpoint
651
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
651
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
652
652
  """
653
653
  self.load_markets()
654
654
  market = self.market(symbol)
ccxt/lykke.py CHANGED
@@ -603,7 +603,7 @@ class lykke(Exchange, ImplicitAPI):
603
603
  :param int [since]: timestamp in ms of the earliest trade to fetch
604
604
  :param int [limit]: the maximum amount of trades to fetch
605
605
  :param dict [params]: extra parameters specific to the lykke api endpoint
606
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
606
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
607
607
  """
608
608
  self.load_markets()
609
609
  market = self.market(symbol)
@@ -660,7 +660,7 @@ class lykke(Exchange, ImplicitAPI):
660
660
  """
661
661
  query for balance and get the amount of funds available for trading or funds locked in orders
662
662
  :param dict [params]: extra parameters specific to the lykke api endpoint
663
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
663
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
664
664
  """
665
665
  self.load_markets()
666
666
  response = self.privateGetBalance(params)
ccxt/mercado.py CHANGED
@@ -366,7 +366,7 @@ class mercado(Exchange, ImplicitAPI):
366
366
  :param int [since]: timestamp in ms of the earliest trade to fetch
367
367
  :param int [limit]: the maximum amount of trades to fetch
368
368
  :param dict [params]: extra parameters specific to the mercado api endpoint
369
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
369
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
370
370
  """
371
371
  self.load_markets()
372
372
  market = self.market(symbol)
@@ -403,7 +403,7 @@ class mercado(Exchange, ImplicitAPI):
403
403
  """
404
404
  query for balance and get the amount of funds available for trading or funds locked in orders
405
405
  :param dict [params]: extra parameters specific to the mercado api endpoint
406
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
406
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
407
407
  """
408
408
  self.load_markets()
409
409
  response = self.privatePostGetAccountInfo(params)
ccxt/mexc.py CHANGED
@@ -21,6 +21,7 @@ from ccxt.base.errors import InsufficientFunds
21
21
  from ccxt.base.errors import InvalidAddress
22
22
  from ccxt.base.errors import InvalidOrder
23
23
  from ccxt.base.errors import NotSupported
24
+ from ccxt.base.errors import OnMaintenance
24
25
  from ccxt.base.errors import InvalidNonce
25
26
  from ccxt.base.errors import AuthenticationError
26
27
  from ccxt.base.decimal_to_precision import TICK_SIZE
@@ -731,6 +732,7 @@ class mexc(Exchange, ImplicitAPI):
731
732
  '2003': InvalidOrder,
732
733
  '2005': InsufficientFunds,
733
734
  '400': BadRequest, # {"msg":"The start time cannot be earlier than 90 days","code":400}
735
+ # '500': OnMaintenance, # {"code": 500,"message": "Under maintenance, please try again later","announcement": "https://www.mexc.com/support/articles/17827791510263"}
734
736
  '600': BadRequest,
735
737
  '70011': PermissionDenied, # {"code":70011,"msg":"Pair user ban trade apikey."}
736
738
  '88004': InsufficientFunds, # {"msg":"超出最大可借,最大可借币为:18.09833211","code":88004}
@@ -825,6 +827,7 @@ class mexc(Exchange, ImplicitAPI):
825
827
  'Bid price is great than max allow price': InvalidOrder, # code:2003
826
828
  'Invalid symbol.': BadSymbol, # code:-1121
827
829
  'Param error!': BadRequest, # code:600
830
+ 'maintenance': OnMaintenance, # {"code": 500,"message": "Under maintenance, please try again later","announcement": "https://www.mexc.com/support/articles/17827791510263"}
828
831
  },
829
832
  },
830
833
  })
@@ -1340,7 +1343,7 @@ class mexc(Exchange, ImplicitAPI):
1340
1343
  :param int [since]: timestamp in ms of the earliest trade to fetch
1341
1344
  :param int [limit]: the maximum amount of trades to fetch
1342
1345
  :param dict [params]: extra parameters specific to the mexc3 api endpoint
1343
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1346
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
1344
1347
  """
1345
1348
  self.load_markets()
1346
1349
  market = self.market(symbol)
@@ -3222,7 +3225,7 @@ class mexc(Exchange, ImplicitAPI):
3222
3225
  see https://mxcdevelop.github.io/apidocs/spot_v3_en/#isolated-account
3223
3226
  :param dict [params]: extra parameters specific to the mexc3 api endpoint
3224
3227
  :param str [params.symbols]: # required for margin, market id's separated by commas
3225
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
3228
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
3226
3229
  """
3227
3230
  self.load_markets()
3228
3231
  marketType = None
@@ -3703,7 +3706,7 @@ class mexc(Exchange, ImplicitAPI):
3703
3706
  :param int [since]: not used by mexc, but filtered internally by ccxt
3704
3707
  :param int [limit]: mexc limit is page_size default 20, maximum is 100
3705
3708
  :param dict [params]: extra parameters specific to the mexc api endpoint
3706
- :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
3709
+ :returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
3707
3710
  """
3708
3711
  if symbol is None:
3709
3712
  raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
ccxt/ndax.py CHANGED
@@ -929,7 +929,7 @@ class ndax(Exchange, ImplicitAPI):
929
929
  :param int [since]: timestamp in ms of the earliest trade to fetch
930
930
  :param int [limit]: the maximum amount of trades to fetch
931
931
  :param dict [params]: extra parameters specific to the ndax api endpoint
932
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
932
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
933
933
  """
934
934
  omsId = self.safe_integer(self.options, 'omsId', 1)
935
935
  self.load_markets()
@@ -1001,7 +1001,7 @@ class ndax(Exchange, ImplicitAPI):
1001
1001
  """
1002
1002
  query for balance and get the amount of funds available for trading or funds locked in orders
1003
1003
  :param dict [params]: extra parameters specific to the ndax api endpoint
1004
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1004
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1005
1005
  """
1006
1006
  omsId = self.safe_integer(self.options, 'omsId', 1)
1007
1007
  self.load_markets()
ccxt/novadax.py CHANGED
@@ -563,7 +563,7 @@ class novadax(Exchange, ImplicitAPI):
563
563
  :param int [since]: timestamp in ms of the earliest trade to fetch
564
564
  :param int [limit]: the maximum amount of trades to fetch
565
565
  :param dict [params]: extra parameters specific to the novadax api endpoint
566
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
566
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
567
567
  """
568
568
  self.load_markets()
569
569
  market = self.market(symbol)
@@ -686,7 +686,7 @@ class novadax(Exchange, ImplicitAPI):
686
686
  query for balance and get the amount of funds available for trading or funds locked in orders
687
687
  see https://doc.novadax.com/en-US/#get-account-balance
688
688
  :param dict [params]: extra parameters specific to the novadax api endpoint
689
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
689
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
690
690
  """
691
691
  self.load_markets()
692
692
  response = self.privateGetAccountGetBalance(params)
ccxt/oceanex.py CHANGED
@@ -454,7 +454,7 @@ class oceanex(Exchange, ImplicitAPI):
454
454
  :param int [since]: timestamp in ms of the earliest trade to fetch
455
455
  :param int [limit]: the maximum amount of trades to fetch
456
456
  :param dict [params]: extra parameters specific to the oceanex api endpoint
457
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
457
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
458
458
  """
459
459
  self.load_markets()
460
460
  market = self.market(symbol)
@@ -589,7 +589,7 @@ class oceanex(Exchange, ImplicitAPI):
589
589
  query for balance and get the amount of funds available for trading or funds locked in orders
590
590
  see https://api.oceanex.pro/doc/v1/#account-info-post
591
591
  :param dict [params]: extra parameters specific to the oceanex api endpoint
592
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
592
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
593
593
  """
594
594
  self.load_markets()
595
595
  response = self.privateGetMembersMe(params)
ccxt/okcoin.py CHANGED
@@ -1422,7 +1422,7 @@ class okcoin(Exchange, ImplicitAPI):
1422
1422
  :param int [since]: timestamp in ms of the earliest trade to fetch
1423
1423
  :param int [limit]: the maximum amount of trades to fetch
1424
1424
  :param dict [params]: extra parameters specific to the okcoin api endpoint
1425
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1425
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
1426
1426
  """
1427
1427
  self.load_markets()
1428
1428
  market = self.market(symbol)
@@ -1781,7 +1781,7 @@ class okcoin(Exchange, ImplicitAPI):
1781
1781
  """
1782
1782
  query for balance and get the amount of funds available for trading or funds locked in orders
1783
1783
  :param dict [params]: extra parameters specific to the okcoin api endpoint
1784
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1784
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1785
1785
  """
1786
1786
  defaultType = self.safe_string_2(self.options, 'fetchBalance', 'defaultType')
1787
1787
  type = self.safe_string(params, 'type', defaultType)
ccxt/okx.py CHANGED
@@ -1901,7 +1901,7 @@ class okx(Exchange, ImplicitAPI):
1901
1901
  :param int [since]: timestamp in ms of the earliest trade to fetch
1902
1902
  :param int [limit]: the maximum amount of trades to fetch
1903
1903
  :param dict [params]: extra parameters specific to the okx api endpoint
1904
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1904
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
1905
1905
  """
1906
1906
  self.load_markets()
1907
1907
  market = self.market(symbol)
@@ -2064,9 +2064,9 @@ class okx(Exchange, ImplicitAPI):
2064
2064
  fetches historical funding rate prices
2065
2065
  :param str symbol: unified symbol of the market to fetch the funding rate history for
2066
2066
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
2067
- :param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>` to fetch
2067
+ :param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
2068
2068
  :param dict [params]: extra parameters specific to the okx api endpoint
2069
- :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
2069
+ :returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
2070
2070
  """
2071
2071
  if symbol is None:
2072
2072
  raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
@@ -2233,7 +2233,7 @@ class okx(Exchange, ImplicitAPI):
2233
2233
  """
2234
2234
  query for balance and get the amount of funds available for trading or funds locked in orders
2235
2235
  :param dict [params]: extra parameters specific to the okx api endpoint
2236
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
2236
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
2237
2237
  """
2238
2238
  self.load_markets()
2239
2239
  marketType, query = self.handle_market_type_and_params('fetchBalance', None, params)
ccxt/paymium.py CHANGED
@@ -136,7 +136,7 @@ class paymium(Exchange, ImplicitAPI):
136
136
  query for balance and get the amount of funds available for trading or funds locked in orders
137
137
  see https://paymium.github.io/api-documentation/#tag/User/paths/~1user/get
138
138
  :param dict [params]: extra parameters specific to the paymium api endpoint
139
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
139
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
140
140
  """
141
141
  self.load_markets()
142
142
  response = self.privateGetUser(params)
@@ -273,7 +273,7 @@ class paymium(Exchange, ImplicitAPI):
273
273
  :param int [since]: timestamp in ms of the earliest trade to fetch
274
274
  :param int [limit]: the maximum amount of trades to fetch
275
275
  :param dict [params]: extra parameters specific to the paymium api endpoint
276
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
276
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
277
277
  """
278
278
  self.load_markets()
279
279
  market = self.market(symbol)
ccxt/phemex.py CHANGED
@@ -1340,7 +1340,7 @@ class phemex(Exchange, ImplicitAPI):
1340
1340
  :param int [since]: timestamp in ms of the earliest trade to fetch
1341
1341
  :param int [limit]: the maximum amount of trades to fetch
1342
1342
  :param dict [params]: extra parameters specific to the phemex api endpoint
1343
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1343
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
1344
1344
  """
1345
1345
  self.load_markets()
1346
1346
  market = self.market(symbol)
@@ -1726,7 +1726,7 @@ class phemex(Exchange, ImplicitAPI):
1726
1726
  query for balance and get the amount of funds available for trading or funds locked in orders
1727
1727
  see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
1728
1728
  :param dict [params]: extra parameters specific to the phemex api endpoint
1729
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1729
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1730
1730
  """
1731
1731
  self.load_markets()
1732
1732
  type = None