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
@@ -591,7 +591,7 @@ class hollaex(Exchange, ImplicitAPI):
591
591
  :param int [since]: timestamp in ms of the earliest trade to fetch
592
592
  :param int [limit]: the maximum amount of trades to fetch
593
593
  :param dict [params]: extra parameters specific to the hollaex api endpoint
594
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
594
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
595
595
  """
596
596
  await self.load_markets()
597
597
  market = self.market(symbol)
@@ -815,7 +815,7 @@ class hollaex(Exchange, ImplicitAPI):
815
815
  """
816
816
  query for balance and get the amount of funds available for trading or funds locked in orders
817
817
  :param dict [params]: extra parameters specific to the hollaex api endpoint
818
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
818
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
819
819
  """
820
820
  await self.load_markets()
821
821
  response = await self.privateGetUserBalance(params)
@@ -1688,7 +1688,7 @@ class hollaex(Exchange, ImplicitAPI):
1688
1688
  see https://apidocs.hollaex.com/#constants
1689
1689
  :param str[]|None codes: list of unified currency codes
1690
1690
  :param dict [params]: extra parameters specific to the hollaex api endpoint
1691
- :returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
1691
+ :returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
1692
1692
  """
1693
1693
  response = await self.publicGetConstants(params)
1694
1694
  #
@@ -2420,7 +2420,7 @@ class huobi(Exchange, ImplicitAPI):
2420
2420
  :param int [since]: timestamp in ms of the earliest trade to fetch
2421
2421
  :param int [limit]: the maximum amount of trades to fetch
2422
2422
  :param dict [params]: extra parameters specific to the huobi api endpoint
2423
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
2423
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
2424
2424
  """
2425
2425
  await self.load_markets()
2426
2426
  market = self.market(symbol)
@@ -2822,7 +2822,7 @@ class huobi(Exchange, ImplicitAPI):
2822
2822
  query for balance and get the amount of funds available for trading or funds locked in orders
2823
2823
  :param dict [params]: extra parameters specific to the huobi api endpoint
2824
2824
  :param bool [params.unified]: provide self parameter if you have a recent account with unified cross+isolated margin account
2825
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
2825
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
2826
2826
  """
2827
2827
  await self.load_markets()
2828
2828
  type = None
@@ -4324,7 +4324,7 @@ class huobi(Exchange, ImplicitAPI):
4324
4324
  :param float amount: how much of currency you want to trade in units of base currency
4325
4325
  :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4326
4326
  :param dict params: extra parameters specific to the huobi api endpoint
4327
- :returns dict: an `order structure <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
4327
+ :returns dict: an `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
4328
4328
  """
4329
4329
  await self.load_markets()
4330
4330
  await self.load_accounts()
@@ -4443,7 +4443,7 @@ class huobi(Exchange, ImplicitAPI):
4443
4443
  :param float amount: how much of currency you want to trade in units of base currency
4444
4444
  :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4445
4445
  :param dict params: extra parameters specific to the huobi api endpoint
4446
- :returns dict: an `order structure <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
4446
+ :returns dict: an `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
4447
4447
  """
4448
4448
  market = self.market(symbol)
4449
4449
  request = {
@@ -5529,7 +5529,7 @@ class huobi(Exchange, ImplicitAPI):
5529
5529
  :param int [since]: not used by huobi, but filtered internally by ccxt
5530
5530
  :param int [limit]: not used by huobi, but filtered internally by ccxt
5531
5531
  :param dict [params]: extra parameters specific to the huobi api endpoint
5532
- :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
5532
+ :returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
5533
5533
  """
5534
5534
  self.check_required_symbol('fetchFundingRateHistory', symbol)
5535
5535
  await self.load_markets()
@@ -842,7 +842,7 @@ class huobijp(Exchange, ImplicitAPI):
842
842
  :param int [since]: timestamp in ms of the earliest trade to fetch
843
843
  :param int [limit]: the maximum amount of trades to fetch
844
844
  :param dict [params]: extra parameters specific to the huobijp api endpoint
845
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
845
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
846
846
  """
847
847
  await self.load_markets()
848
848
  market = self.market(symbol)
@@ -1070,7 +1070,7 @@ class huobijp(Exchange, ImplicitAPI):
1070
1070
  """
1071
1071
  query for balance and get the amount of funds available for trading or funds locked in orders
1072
1072
  :param dict [params]: extra parameters specific to the huobijp api endpoint
1073
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1073
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1074
1074
  """
1075
1075
  await self.load_markets()
1076
1076
  await self.load_accounts()
@@ -494,7 +494,7 @@ class idex(Exchange, ImplicitAPI):
494
494
  :param int [since]: timestamp in ms of the earliest trade to fetch
495
495
  :param int [limit]: the maximum amount of trades to fetch
496
496
  :param dict [params]: extra parameters specific to the idex api endpoint
497
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
497
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
498
498
  """
499
499
  await self.load_markets()
500
500
  market = self.market(symbol)
@@ -761,7 +761,7 @@ class idex(Exchange, ImplicitAPI):
761
761
  """
762
762
  query for balance and get the amount of funds available for trading or funds locked in orders
763
763
  :param dict [params]: extra parameters specific to the idex api endpoint
764
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
764
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
765
765
  """
766
766
  self.check_required_credentials()
767
767
  await self.load_markets()
@@ -232,7 +232,7 @@ class independentreserve(Exchange, ImplicitAPI):
232
232
  """
233
233
  query for balance and get the amount of funds available for trading or funds locked in orders
234
234
  :param dict [params]: extra parameters specific to the independentreserve api endpoint
235
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
235
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
236
236
  """
237
237
  await self.load_markets()
238
238
  response = await self.privatePostGetAccounts(params)
@@ -568,7 +568,7 @@ class independentreserve(Exchange, ImplicitAPI):
568
568
  :param int [since]: timestamp in ms of the earliest trade to fetch
569
569
  :param int [limit]: the maximum amount of trades to fetch
570
570
  :param dict [params]: extra parameters specific to the independentreserve api endpoint
571
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
571
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
572
572
  """
573
573
  await self.load_markets()
574
574
  market = self.market(symbol)
@@ -313,7 +313,7 @@ class indodax(Exchange, ImplicitAPI):
313
313
  """
314
314
  query for balance and get the amount of funds available for trading or funds locked in orders
315
315
  :param dict [params]: extra parameters specific to the indodax api endpoint
316
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
316
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
317
317
  """
318
318
  await self.load_markets()
319
319
  response = await self.privatePostGetInfo(params)
@@ -490,7 +490,7 @@ class indodax(Exchange, ImplicitAPI):
490
490
  :param int [since]: timestamp in ms of the earliest trade to fetch
491
491
  :param int [limit]: the maximum amount of trades to fetch
492
492
  :param dict [params]: extra parameters specific to the indodax api endpoint
493
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
493
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
494
494
  """
495
495
  await self.load_markets()
496
496
  market = self.market(symbol)
@@ -1108,7 +1108,7 @@ class kraken(Exchange, ImplicitAPI):
1108
1108
  :param int [since]: timestamp in ms of the earliest trade to fetch
1109
1109
  :param int [limit]: the maximum amount of trades to fetch
1110
1110
  :param dict [params]: extra parameters specific to the kraken api endpoint
1111
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1111
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
1112
1112
  """
1113
1113
  await self.load_markets()
1114
1114
  market = self.market(symbol)
@@ -1171,7 +1171,7 @@ class kraken(Exchange, ImplicitAPI):
1171
1171
  """
1172
1172
  query for balance and get the amount of funds available for trading or funds locked in orders
1173
1173
  :param dict [params]: extra parameters specific to the kraken api endpoint
1174
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1174
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1175
1175
  """
1176
1176
  await self.load_markets()
1177
1177
  response = await self.privatePostBalance(params)
@@ -1170,7 +1170,7 @@ class kucoin(Exchange, ImplicitAPI):
1170
1170
  see https://docs.kucoin.com/#get-withdrawal-quotas
1171
1171
  :param str code: unified currency code
1172
1172
  :param dict params: extra parameters specific to the kucoin api endpoint
1173
- :returns dict: a `fee structure <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
1173
+ :returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
1174
1174
  """
1175
1175
  await self.load_markets()
1176
1176
  currency = self.currency(code)
@@ -2442,7 +2442,7 @@ class kucoin(Exchange, ImplicitAPI):
2442
2442
  :param int [since]: timestamp in ms of the earliest trade to fetch
2443
2443
  :param int [limit]: the maximum amount of trades to fetch
2444
2444
  :param dict [params]: extra parameters specific to the kucoin api endpoint
2445
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
2445
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
2446
2446
  """
2447
2447
  await self.load_markets()
2448
2448
  market = self.market(symbol)
@@ -2947,7 +2947,7 @@ class kucoin(Exchange, ImplicitAPI):
2947
2947
  :param dict [params]: extra parameters specific to the kucoin api endpoint
2948
2948
  :param dict [params.marginMode]: 'cross' or 'isolated', margin type for fetching margin balance
2949
2949
  :param dict [params.type]: extra parameters specific to the kucoin api endpoint
2950
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
2950
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
2951
2951
  """
2952
2952
  await self.load_markets()
2953
2953
  code = self.safe_string(params, 'code')
@@ -3767,7 +3767,7 @@ class kucoin(Exchange, ImplicitAPI):
3767
3767
  see https://docs.kucoin.com/#get-currencies
3768
3768
  :param str[]|None codes: list of unified currency codes
3769
3769
  :param dict [params]: extra parameters specific to the kucoin api endpoint
3770
- :returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
3770
+ :returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
3771
3771
  """
3772
3772
  await self.load_markets()
3773
3773
  response = await self.publicGetCurrencies(params)
@@ -843,7 +843,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
843
843
  fetch data on an open position
844
844
  :param str symbol: unified market symbol of the market the position is held in
845
845
  :param dict [params]: extra parameters specific to the kucoinfutures api endpoint
846
- :returns dict: a `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
846
+ :returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
847
847
  """
848
848
  await self.load_markets()
849
849
  market = self.market(symbol)
@@ -1709,7 +1709,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
1709
1709
  """
1710
1710
  query for balance and get the amount of funds available for trading or funds locked in orders
1711
1711
  :param dict [params]: extra parameters specific to the kucoinfutures api endpoint
1712
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1712
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1713
1713
  """
1714
1714
  await self.load_markets()
1715
1715
  # only fetches one balance at a time
@@ -1871,7 +1871,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
1871
1871
  :param int [since]: timestamp in ms of the earliest trade to fetch
1872
1872
  :param int [limit]: the maximum amount of trades to fetch
1873
1873
  :param dict [params]: extra parameters specific to the kucoinfutures api endpoint
1874
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1874
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
1875
1875
  """
1876
1876
  await self.load_markets()
1877
1877
  market = self.market(symbol)
@@ -2198,9 +2198,9 @@ class kucoinfutures(kucoin, ImplicitAPI):
2198
2198
  fetches historical funding rate prices
2199
2199
  :param str symbol: unified symbol of the market to fetch the funding rate history for
2200
2200
  :param int [since]: not used by kucuoinfutures
2201
- :param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>` to fetch
2201
+ :param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
2202
2202
  :param dict [params]: extra parameters specific to the okx api endpoint
2203
- :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
2203
+ :returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
2204
2204
  """
2205
2205
  if symbol is None:
2206
2206
  raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
@@ -502,7 +502,7 @@ class kuna(Exchange, ImplicitAPI):
502
502
  :param int [since]: timestamp in ms of the earliest trade to fetch
503
503
  :param int [limit]: the maximum amount of trades to fetch
504
504
  :param dict [params]: extra parameters specific to the kuna api endpoint
505
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
505
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
506
506
  """
507
507
  await self.load_markets()
508
508
  market = self.market(symbol)
@@ -630,7 +630,7 @@ class kuna(Exchange, ImplicitAPI):
630
630
  """
631
631
  query for balance and get the amount of funds available for trading or funds locked in orders
632
632
  :param dict [params]: extra parameters specific to the kuna api endpoint
633
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
633
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
634
634
  """
635
635
  await self.load_markets()
636
636
  response = await self.privateGetMembersMe(params)
@@ -471,7 +471,7 @@ class latoken(Exchange, ImplicitAPI):
471
471
  """
472
472
  query for balance and get the amount of funds available for trading or funds locked in orders
473
473
  :param dict [params]: extra parameters specific to the latoken api endpoint
474
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
474
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
475
475
  """
476
476
  await self.load_markets()
477
477
  response = await self.privateGetAuthAccount(params)
@@ -744,7 +744,7 @@ class latoken(Exchange, ImplicitAPI):
744
744
  :param int [since]: timestamp in ms of the earliest trade to fetch
745
745
  :param int [limit]: the maximum amount of trades to fetch
746
746
  :param dict [params]: extra parameters specific to the latoken api endpoint
747
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
747
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
748
748
  """
749
749
  await self.load_markets()
750
750
  market = self.market(symbol)
@@ -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
  await 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
  await self.load_markets()
482
482
  response = await self.privatePostUserInfo(params)
@@ -885,7 +885,7 @@ class lbank2(Exchange, ImplicitAPI):
885
885
  :param int [since]: timestamp in ms of the earliest trade to fetch
886
886
  :param int [limit]: the maximum amount of trades to fetch
887
887
  :param dict [params]: extra parameters specific to the lbank2 api endpoint
888
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
888
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
889
889
  """
890
890
  await self.load_markets()
891
891
  market = self.market(symbol)
@@ -1125,7 +1125,7 @@ class lbank2(Exchange, ImplicitAPI):
1125
1125
  see https://www.lbank.info/en-US/docs/index.html#account-information
1126
1126
  see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
1127
1127
  :param dict [params]: extra parameters specific to the lbank2 api endpoint
1128
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
1128
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1129
1129
  """
1130
1130
  await self.load_markets()
1131
1131
  method = self.safe_string(params, 'method')
@@ -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
  await self.load_markets()
305
305
  response = await 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
  await self.load_markets()
654
654
  market = self.market(symbol)
@@ -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
  await 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
  await self.load_markets()
666
666
  response = await self.privateGetBalance(params)
@@ -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
  await 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
  await self.load_markets()
409
409
  response = await self.privatePostGetAccountInfo(params)
@@ -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
  await 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
  await 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')
@@ -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
  await 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
  await self.load_markets()
@@ -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
  await 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
  await self.load_markets()
692
692
  response = await self.privateGetAccountGetBalance(params)
@@ -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
  await 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
  await self.load_markets()
595
595
  response = await self.privateGetMembersMe(params)
@@ -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
  await 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/async_support/okx.py CHANGED
@@ -1902,7 +1902,7 @@ class okx(Exchange, ImplicitAPI):
1902
1902
  :param int [since]: timestamp in ms of the earliest trade to fetch
1903
1903
  :param int [limit]: the maximum amount of trades to fetch
1904
1904
  :param dict [params]: extra parameters specific to the okx api endpoint
1905
- :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1905
+ :returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
1906
1906
  """
1907
1907
  await self.load_markets()
1908
1908
  market = self.market(symbol)
@@ -2065,9 +2065,9 @@ class okx(Exchange, ImplicitAPI):
2065
2065
  fetches historical funding rate prices
2066
2066
  :param str symbol: unified symbol of the market to fetch the funding rate history for
2067
2067
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
2068
- :param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>` to fetch
2068
+ :param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
2069
2069
  :param dict [params]: extra parameters specific to the okx api endpoint
2070
- :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
2070
+ :returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
2071
2071
  """
2072
2072
  if symbol is None:
2073
2073
  raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
@@ -2234,7 +2234,7 @@ class okx(Exchange, ImplicitAPI):
2234
2234
  """
2235
2235
  query for balance and get the amount of funds available for trading or funds locked in orders
2236
2236
  :param dict [params]: extra parameters specific to the okx api endpoint
2237
- :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
2237
+ :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
2238
2238
  """
2239
2239
  await self.load_markets()
2240
2240
  marketType, query = self.handle_market_type_and_params('fetchBalance', None, params)
@@ -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
  await self.load_markets()
142
142
  response = await 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
  await self.load_markets()
279
279
  market = self.market(symbol)
@@ -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
  await 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
  await self.load_markets()
1732
1732
  type = None