ccxt 3.1.59__py2.py3-none-any.whl → 4.0.3__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.
Files changed (254) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +6 -6
  3. ccxt/alpaca.py +4 -4
  4. ccxt/ascendex.py +14 -14
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +6 -6
  7. ccxt/async_support/alpaca.py +4 -4
  8. ccxt/async_support/ascendex.py +14 -14
  9. ccxt/async_support/base/exchange.py +13 -13
  10. ccxt/async_support/bigone.py +11 -11
  11. ccxt/async_support/binance.py +34 -34
  12. ccxt/async_support/bit2c.py +3 -3
  13. ccxt/async_support/bitbank.py +5 -5
  14. ccxt/async_support/bitbns.py +7 -7
  15. ccxt/async_support/bitfinex.py +13 -13
  16. ccxt/async_support/bitfinex2.py +11 -11
  17. ccxt/async_support/bitflyer.py +10 -10
  18. ccxt/async_support/bitforex.py +6 -6
  19. ccxt/async_support/bitget.py +18 -18
  20. ccxt/async_support/bithumb.py +5 -5
  21. ccxt/async_support/bitmart.py +13 -13
  22. ccxt/async_support/bitmex.py +15 -15
  23. ccxt/async_support/bitopro.py +12 -12
  24. ccxt/async_support/bitpanda.py +12 -12
  25. ccxt/async_support/bitrue.py +11 -11
  26. ccxt/async_support/bitso.py +13 -13
  27. ccxt/async_support/bitstamp.py +12 -12
  28. ccxt/async_support/bitstamp1.py +2 -2
  29. ccxt/async_support/bittrex.py +15 -15
  30. ccxt/async_support/bitvavo.py +11 -11
  31. ccxt/async_support/bkex.py +12 -12
  32. ccxt/async_support/bl3p.py +1 -1
  33. ccxt/async_support/blockchaincom.py +7 -7
  34. ccxt/async_support/btcalpha.py +10 -10
  35. ccxt/async_support/btcbox.py +3 -3
  36. ccxt/async_support/btcmarkets.py +10 -10
  37. ccxt/async_support/btctradeua.py +2 -2
  38. ccxt/async_support/btcturk.py +7 -7
  39. ccxt/async_support/bybit.py +19 -19
  40. ccxt/async_support/cex.py +7 -7
  41. ccxt/async_support/coinbase.py +11 -11
  42. ccxt/async_support/coinbasepro.py +12 -12
  43. ccxt/async_support/coincheck.py +5 -5
  44. ccxt/async_support/coinex.py +19 -19
  45. ccxt/async_support/coinfalcon.py +7 -7
  46. ccxt/async_support/coinmate.py +5 -5
  47. ccxt/async_support/coinone.py +6 -6
  48. ccxt/async_support/coinsph.py +11 -11
  49. ccxt/async_support/coinspot.py +2 -2
  50. ccxt/async_support/cryptocom.py +19 -18
  51. ccxt/async_support/currencycom.py +10 -10
  52. ccxt/async_support/delta.py +10 -10
  53. ccxt/async_support/deribit.py +14 -14
  54. ccxt/async_support/digifinex.py +17 -17
  55. ccxt/async_support/exmo.py +12 -12
  56. ccxt/async_support/gate.py +19 -19
  57. ccxt/async_support/gemini.py +6 -6
  58. ccxt/async_support/hitbtc.py +8 -8
  59. ccxt/async_support/hitbtc3.py +18 -18
  60. ccxt/async_support/hollaex.py +13 -13
  61. ccxt/async_support/huobi.py +21 -21
  62. ccxt/async_support/huobijp.py +13 -13
  63. ccxt/async_support/idex.py +10 -10
  64. ccxt/async_support/independentreserve.py +5 -5
  65. ccxt/async_support/indodax.py +5 -5
  66. ccxt/async_support/kraken.py +14 -14
  67. ccxt/async_support/krakenfutures.py +3 -3
  68. ccxt/async_support/kucoin.py +13 -13
  69. ccxt/async_support/kucoinfutures.py +10 -10
  70. ccxt/async_support/kuna.py +6 -6
  71. ccxt/async_support/latoken.py +8 -8
  72. ccxt/async_support/lbank.py +6 -6
  73. ccxt/async_support/lbank2.py +12 -12
  74. ccxt/async_support/luno.py +7 -7
  75. ccxt/async_support/lykke.py +7 -7
  76. ccxt/async_support/mercado.py +6 -6
  77. ccxt/async_support/mexc.py +26 -61
  78. ccxt/async_support/ndax.py +10 -10
  79. ccxt/async_support/novadax.py +11 -11
  80. ccxt/async_support/oceanex.py +10 -10
  81. ccxt/async_support/okcoin.py +12 -12
  82. ccxt/async_support/okx.py +23 -23
  83. ccxt/async_support/paymium.py +2 -2
  84. ccxt/async_support/phemex.py +16 -16
  85. ccxt/async_support/poloniex.py +12 -12
  86. ccxt/async_support/poloniexfutures.py +10 -10
  87. ccxt/async_support/probit.py +14 -14
  88. ccxt/async_support/tidex.py +6 -6
  89. ccxt/async_support/timex.py +10 -10
  90. ccxt/async_support/tokocrypto.py +12 -12
  91. ccxt/async_support/upbit.py +10 -10
  92. ccxt/async_support/wavesexchange.py +9 -9
  93. ccxt/async_support/wazirx.py +7 -7
  94. ccxt/async_support/whitebit.py +12 -12
  95. ccxt/async_support/woo.py +9 -9
  96. ccxt/async_support/yobit.py +6 -6
  97. ccxt/async_support/zaif.py +4 -4
  98. ccxt/async_support/zonda.py +7 -7
  99. ccxt/base/exchange.py +13 -13
  100. ccxt/bigone.py +11 -11
  101. ccxt/binance.py +34 -34
  102. ccxt/bit2c.py +3 -3
  103. ccxt/bitbank.py +5 -5
  104. ccxt/bitbns.py +7 -7
  105. ccxt/bitfinex.py +13 -13
  106. ccxt/bitfinex2.py +11 -11
  107. ccxt/bitflyer.py +10 -10
  108. ccxt/bitforex.py +6 -6
  109. ccxt/bitget.py +18 -18
  110. ccxt/bithumb.py +5 -5
  111. ccxt/bitmart.py +13 -13
  112. ccxt/bitmex.py +15 -15
  113. ccxt/bitopro.py +12 -12
  114. ccxt/bitpanda.py +12 -12
  115. ccxt/bitrue.py +11 -11
  116. ccxt/bitso.py +13 -13
  117. ccxt/bitstamp.py +12 -12
  118. ccxt/bitstamp1.py +2 -2
  119. ccxt/bittrex.py +15 -15
  120. ccxt/bitvavo.py +11 -11
  121. ccxt/bkex.py +12 -12
  122. ccxt/bl3p.py +1 -1
  123. ccxt/blockchaincom.py +7 -7
  124. ccxt/btcalpha.py +10 -10
  125. ccxt/btcbox.py +3 -3
  126. ccxt/btcmarkets.py +10 -10
  127. ccxt/btctradeua.py +2 -2
  128. ccxt/btcturk.py +7 -7
  129. ccxt/bybit.py +19 -19
  130. ccxt/cex.py +7 -7
  131. ccxt/coinbase.py +11 -11
  132. ccxt/coinbasepro.py +12 -12
  133. ccxt/coincheck.py +5 -5
  134. ccxt/coinex.py +19 -19
  135. ccxt/coinfalcon.py +7 -7
  136. ccxt/coinmate.py +5 -5
  137. ccxt/coinone.py +6 -6
  138. ccxt/coinsph.py +11 -11
  139. ccxt/coinspot.py +2 -2
  140. ccxt/cryptocom.py +19 -18
  141. ccxt/currencycom.py +10 -10
  142. ccxt/delta.py +10 -10
  143. ccxt/deribit.py +14 -14
  144. ccxt/digifinex.py +17 -17
  145. ccxt/exmo.py +12 -12
  146. ccxt/gate.py +19 -19
  147. ccxt/gemini.py +6 -6
  148. ccxt/hitbtc.py +8 -8
  149. ccxt/hitbtc3.py +18 -18
  150. ccxt/hollaex.py +13 -13
  151. ccxt/huobi.py +21 -21
  152. ccxt/huobijp.py +13 -13
  153. ccxt/idex.py +10 -10
  154. ccxt/independentreserve.py +5 -5
  155. ccxt/indodax.py +5 -5
  156. ccxt/kraken.py +14 -14
  157. ccxt/krakenfutures.py +3 -3
  158. ccxt/kucoin.py +13 -13
  159. ccxt/kucoinfutures.py +10 -10
  160. ccxt/kuna.py +6 -6
  161. ccxt/latoken.py +8 -8
  162. ccxt/lbank.py +6 -6
  163. ccxt/lbank2.py +12 -12
  164. ccxt/luno.py +7 -7
  165. ccxt/lykke.py +7 -7
  166. ccxt/mercado.py +6 -6
  167. ccxt/mexc.py +26 -61
  168. ccxt/ndax.py +10 -10
  169. ccxt/novadax.py +11 -11
  170. ccxt/oceanex.py +10 -10
  171. ccxt/okcoin.py +12 -12
  172. ccxt/okx.py +23 -23
  173. ccxt/paymium.py +2 -2
  174. ccxt/phemex.py +16 -16
  175. ccxt/poloniex.py +12 -12
  176. ccxt/poloniexfutures.py +10 -10
  177. ccxt/pro/__init__.py +1 -1
  178. ccxt/pro/alpaca.py +4 -4
  179. ccxt/pro/ascendex.py +3 -3
  180. ccxt/pro/binance.py +5 -5
  181. ccxt/pro/bitfinex.py +2 -2
  182. ccxt/pro/bitfinex2.py +4 -4
  183. ccxt/pro/bitget.py +4 -4
  184. ccxt/pro/bitmart.py +3 -3
  185. ccxt/pro/bitmex.py +4 -4
  186. ccxt/pro/bitopro.py +1 -1
  187. ccxt/pro/bitpanda.py +3 -3
  188. ccxt/pro/bitrue.py +1 -1
  189. ccxt/pro/bitstamp.py +2 -2
  190. ccxt/pro/bittrex.py +4 -4
  191. ccxt/pro/bitvavo.py +4 -4
  192. ccxt/pro/blockchaincom.py +3 -3
  193. ccxt/pro/bybit.py +4 -4
  194. ccxt/pro/cex.py +5 -5
  195. ccxt/pro/coinbasepro.py +3 -3
  196. ccxt/pro/coinex.py +3 -3
  197. ccxt/pro/cryptocom.py +4 -4
  198. ccxt/pro/currencycom.py +2 -2
  199. ccxt/pro/deribit.py +4 -4
  200. ccxt/pro/exmo.py +2 -2
  201. ccxt/pro/gate.py +5 -5
  202. ccxt/pro/gemini.py +3 -3
  203. ccxt/pro/hitbtc.py +2 -2
  204. ccxt/pro/hollaex.py +3 -3
  205. ccxt/pro/huobi.py +4 -4
  206. ccxt/pro/huobijp.py +2 -2
  207. ccxt/pro/idex.py +3 -3
  208. ccxt/pro/independentreserve.py +1 -1
  209. ccxt/pro/kraken.py +4 -4
  210. ccxt/pro/krakenfutures.py +6 -6
  211. ccxt/pro/kucoin.py +4 -4
  212. ccxt/pro/kucoinfutures.py +2 -2
  213. ccxt/pro/luno.py +1 -1
  214. ccxt/pro/mexc.py +4 -4
  215. ccxt/pro/ndax.py +2 -2
  216. ccxt/pro/okcoin.py +3 -3
  217. ccxt/pro/okx.py +3 -3
  218. ccxt/pro/phemex.py +4 -4
  219. ccxt/pro/poloniexfutures.py +3 -3
  220. ccxt/pro/probit.py +2 -2
  221. ccxt/pro/upbit.py +1 -1
  222. ccxt/pro/wazirx.py +4 -4
  223. ccxt/pro/whitebit.py +4 -4
  224. ccxt/probit.py +14 -14
  225. ccxt/tidex.py +6 -6
  226. ccxt/timex.py +10 -10
  227. ccxt/tokocrypto.py +12 -12
  228. ccxt/upbit.py +10 -10
  229. ccxt/wavesexchange.py +9 -9
  230. ccxt/wazirx.py +7 -7
  231. ccxt/whitebit.py +12 -12
  232. ccxt/woo.py +9 -9
  233. ccxt/yobit.py +6 -6
  234. ccxt/zaif.py +4 -4
  235. ccxt/zonda.py +7 -7
  236. {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/METADATA +4 -4
  237. ccxt-4.0.3.dist-info/RECORD +452 -0
  238. ccxt/async_support/btcex.py +0 -2519
  239. ccxt/async_support/buda.py +0 -1063
  240. ccxt/async_support/itbit.py +0 -771
  241. ccxt/async_support/ripio.py +0 -1102
  242. ccxt/async_support/stex.py +0 -2508
  243. ccxt/async_support/xt.py +0 -4420
  244. ccxt/async_support/zb.py +0 -4127
  245. ccxt/btcex.py +0 -2519
  246. ccxt/buda.py +0 -1063
  247. ccxt/itbit.py +0 -771
  248. ccxt/ripio.py +0 -1102
  249. ccxt/stex.py +0 -2508
  250. ccxt/xt.py +0 -4419
  251. ccxt/zb.py +0 -4126
  252. ccxt-3.1.59.dist-info/RECORD +0 -466
  253. {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/WHEEL +0 -0
  254. {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/top_level.txt +0 -0
ccxt/coinex.py CHANGED
@@ -440,7 +440,7 @@ class coinex(Exchange, ImplicitAPI):
440
440
  """
441
441
  retrieves data on all markets for coinex
442
442
  :param dict params: extra parameters specific to the exchange api endpoint
443
- :returns [dict]: an array of objects representing market data
443
+ :returns dict[]: an array of objects representing market data
444
444
  """
445
445
  promises = [
446
446
  self.fetch_spot_markets(params),
@@ -775,7 +775,7 @@ class coinex(Exchange, ImplicitAPI):
775
775
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
776
776
  see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot001_market008_all_market_ticker
777
777
  see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures001_http009_market_ticker_all
778
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
778
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
779
779
  :param dict params: extra parameters specific to the coinex api endpoint
780
780
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
781
781
  """
@@ -1072,7 +1072,7 @@ class coinex(Exchange, ImplicitAPI):
1072
1072
  :param int|None since: timestamp in ms of the earliest trade to fetch
1073
1073
  :param int|None limit: the maximum amount of trades to fetch
1074
1074
  :param dict params: extra parameters specific to the coinex api endpoint
1075
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1075
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1076
1076
  """
1077
1077
  self.load_markets()
1078
1078
  market = self.market(symbol)
@@ -1213,7 +1213,7 @@ class coinex(Exchange, ImplicitAPI):
1213
1213
  :param int|None since: timestamp in ms of the earliest candle to fetch
1214
1214
  :param int|None limit: the maximum amount of candles to fetch
1215
1215
  :param dict params: extra parameters specific to the coinex api endpoint
1216
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
1216
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
1217
1217
  """
1218
1218
  self.load_markets()
1219
1219
  market = self.market(symbol)
@@ -2141,7 +2141,7 @@ class coinex(Exchange, ImplicitAPI):
2141
2141
  cancel all open orders in a market
2142
2142
  :param str symbol: unified market symbol of the market to cancel orders in
2143
2143
  :param dict params: extra parameters specific to the coinex api endpoint
2144
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2144
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2145
2145
  """
2146
2146
  if symbol is None:
2147
2147
  raise ArgumentsRequired(self.id + ' cancellAllOrders() requires a symbol argument')
@@ -2511,7 +2511,7 @@ class coinex(Exchange, ImplicitAPI):
2511
2511
  :param int|None since: the earliest time in ms to fetch open orders for
2512
2512
  :param int|None limit: the maximum number of open orders structures to retrieve
2513
2513
  :param dict params: extra parameters specific to the coinex api endpoint
2514
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2514
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2515
2515
  """
2516
2516
  return self.fetch_orders_by_status('pending', symbol, since, limit, params)
2517
2517
 
@@ -2522,7 +2522,7 @@ class coinex(Exchange, ImplicitAPI):
2522
2522
  :param int|None since: the earliest time in ms to fetch orders for
2523
2523
  :param int|None limit: the maximum number of orde structures to retrieve
2524
2524
  :param dict params: extra parameters specific to the coinex api endpoint
2525
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2525
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2526
2526
  """
2527
2527
  return self.fetch_orders_by_status('finished', symbol, since, limit, params)
2528
2528
 
@@ -2646,7 +2646,7 @@ class coinex(Exchange, ImplicitAPI):
2646
2646
  :param int|None since: the earliest time in ms to fetch trades for
2647
2647
  :param int|None limit: the maximum number of trades structures to retrieve
2648
2648
  :param dict params: extra parameters specific to the coinex api endpoint
2649
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
2649
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
2650
2650
  """
2651
2651
  self.load_markets()
2652
2652
  market = None
@@ -2769,9 +2769,9 @@ class coinex(Exchange, ImplicitAPI):
2769
2769
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
2770
2770
  """
2771
2771
  fetch all open positions
2772
- :param [str]|None symbols: list of unified market symbols
2772
+ :param str[]|None symbols: list of unified market symbols
2773
2773
  :param dict params: extra parameters specific to the coinex api endpoint
2774
- :returns [dict]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
2774
+ :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
2775
2775
  """
2776
2776
  self.load_markets()
2777
2777
  symbols = self.market_symbols(symbols)
@@ -3103,7 +3103,7 @@ class coinex(Exchange, ImplicitAPI):
3103
3103
  def fetch_leverage_tiers(self, symbols: Optional[List[str]] = None, params={}):
3104
3104
  """
3105
3105
  retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
3106
- :param [str]|None symbols: list of unified market symbols
3106
+ :param str[]|None symbols: list of unified market symbols
3107
3107
  :param dict params: extra parameters specific to the coinex api endpoint
3108
3108
  :returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
3109
3109
  """
@@ -3457,9 +3457,9 @@ class coinex(Exchange, ImplicitAPI):
3457
3457
  """
3458
3458
  * @method
3459
3459
  fetch the current funding rates
3460
- :param [str] symbols: unified market symbols
3460
+ :param str[] symbols: unified market symbols
3461
3461
  :param dict params: extra parameters specific to the coinex api endpoint
3462
- :returns [dict]: an array of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-structure>`
3462
+ :returns dict[]: an array of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-structure>`
3463
3463
  """
3464
3464
  self.load_markets()
3465
3465
  symbols = self.market_symbols(symbols)
@@ -3581,7 +3581,7 @@ class coinex(Exchange, ImplicitAPI):
3581
3581
  :param int|None since: timestamp in ms of the earliest funding rate to fetch
3582
3582
  :param int|None limit: the maximum amount of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>` to fetch
3583
3583
  :param dict params: extra parameters specific to the coinex api endpoint
3584
- :returns [dict]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
3584
+ :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
3585
3585
  """
3586
3586
  if symbol is None:
3587
3587
  raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
@@ -3848,7 +3848,7 @@ class coinex(Exchange, ImplicitAPI):
3848
3848
  :param int|None since: the earliest time in ms to fetch transfers for
3849
3849
  :param int|None limit: the maximum number of transfers structures to retrieve
3850
3850
  :param dict params: extra parameters specific to the coinex api endpoint
3851
- :returns [dict]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
3851
+ :returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
3852
3852
  """
3853
3853
  self.load_markets()
3854
3854
  currency = None
@@ -3927,7 +3927,7 @@ class coinex(Exchange, ImplicitAPI):
3927
3927
  :param int|None since: the earliest time in ms to fetch withdrawals for
3928
3928
  :param int|None limit: the maximum number of withdrawals structures to retrieve
3929
3929
  :param dict params: extra parameters specific to the coinex api endpoint
3930
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
3930
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
3931
3931
  """
3932
3932
  request = {}
3933
3933
  currency = None
@@ -3988,7 +3988,7 @@ class coinex(Exchange, ImplicitAPI):
3988
3988
  :param int|None since: the earliest time in ms to fetch deposits for
3989
3989
  :param int|None limit: the maximum number of deposits structures to retrieve
3990
3990
  :param dict params: extra parameters specific to the coinex api endpoint
3991
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
3991
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
3992
3992
  """
3993
3993
  request = {}
3994
3994
  currency = None
@@ -4348,9 +4348,9 @@ class coinex(Exchange, ImplicitAPI):
4348
4348
  """
4349
4349
  fetch deposit and withdraw fees
4350
4350
  see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot001_market010_asset_config
4351
- :param [str]|None codes: list of unified currency codes
4351
+ :param str[]|None codes: list of unified currency codes
4352
4352
  :param dict params: extra parameters specific to the coinex api endpoint
4353
- :returns [dict]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
4353
+ :returns dict[]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
4354
4354
  """
4355
4355
  self.load_markets()
4356
4356
  request = {}
ccxt/coinfalcon.py CHANGED
@@ -142,7 +142,7 @@ class coinfalcon(Exchange, ImplicitAPI):
142
142
  """
143
143
  retrieves data on all markets for coinfalcon
144
144
  :param dict params: extra parameters specific to the exchange api endpoint
145
- :returns [dict]: an array of objects representing market data
145
+ :returns dict[]: an array of objects representing market data
146
146
  """
147
147
  response = self.publicGetMarkets(params)
148
148
  #
@@ -279,7 +279,7 @@ class coinfalcon(Exchange, ImplicitAPI):
279
279
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
280
280
  """
281
281
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
282
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
282
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
283
283
  :param dict params: extra parameters specific to the coinfalcon api endpoint
284
284
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
285
285
  """
@@ -396,7 +396,7 @@ class coinfalcon(Exchange, ImplicitAPI):
396
396
  :param int|None since: the earliest time in ms to fetch trades for
397
397
  :param int|None limit: the maximum number of trades structures to retrieve
398
398
  :param dict params: extra parameters specific to the coinfalcon api endpoint
399
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
399
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
400
400
  """
401
401
  if symbol is None:
402
402
  raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
@@ -438,7 +438,7 @@ class coinfalcon(Exchange, ImplicitAPI):
438
438
  :param int|None since: timestamp in ms of the earliest trade to fetch
439
439
  :param int|None limit: the maximum amount of trades to fetch
440
440
  :param dict params: extra parameters specific to the coinfalcon api endpoint
441
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
441
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
442
442
  """
443
443
  self.load_markets()
444
444
  market = self.market(symbol)
@@ -697,7 +697,7 @@ class coinfalcon(Exchange, ImplicitAPI):
697
697
  :param int|None since: the earliest time in ms to fetch open orders for
698
698
  :param int|None limit: the maximum number of open orders structures to retrieve
699
699
  :param dict params: extra parameters specific to the coinfalcon api endpoint
700
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
700
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
701
701
  """
702
702
  self.load_markets()
703
703
  request = {}
@@ -720,7 +720,7 @@ class coinfalcon(Exchange, ImplicitAPI):
720
720
  :param int|None since: the earliest time in ms to fetch deposits for
721
721
  :param int|None limit: the maximum number of deposits structures to retrieve
722
722
  :param dict params: extra parameters specific to the coinfalcon api endpoint
723
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
723
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
724
724
  """
725
725
  self.load_markets()
726
726
  request = {
@@ -762,7 +762,7 @@ class coinfalcon(Exchange, ImplicitAPI):
762
762
  :param int|None since: the earliest time in ms to fetch withdrawals for
763
763
  :param int|None limit: the maximum number of withdrawals structures to retrieve
764
764
  :param dict params: extra parameters specific to the coinfalcon api endpoint
765
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
765
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
766
766
  """
767
767
  self.load_markets()
768
768
  request = {
ccxt/coinmate.py CHANGED
@@ -217,7 +217,7 @@ class coinmate(Exchange, ImplicitAPI):
217
217
  """
218
218
  retrieves data on all markets for coinmate
219
219
  :param dict params: extra parameters specific to the exchange api endpoint
220
- :returns [dict]: an array of objects representing market data
220
+ :returns dict[]: an array of objects representing market data
221
221
  """
222
222
  response = self.publicGetTradingPairs(params)
223
223
  #
@@ -543,7 +543,7 @@ class coinmate(Exchange, ImplicitAPI):
543
543
  :param int|None since: the earliest time in ms to fetch trades for
544
544
  :param int|None limit: the maximum number of trades structures to retrieve
545
545
  :param dict params: extra parameters specific to the coinmate api endpoint
546
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
546
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
547
547
  """
548
548
  self.load_markets()
549
549
  if limit is None:
@@ -629,7 +629,7 @@ class coinmate(Exchange, ImplicitAPI):
629
629
  :param int|None since: timestamp in ms of the earliest trade to fetch
630
630
  :param int|None limit: the maximum amount of trades to fetch
631
631
  :param dict params: extra parameters specific to the coinmate api endpoint
632
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
632
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
633
633
  """
634
634
  self.load_markets()
635
635
  market = self.market(symbol)
@@ -698,7 +698,7 @@ class coinmate(Exchange, ImplicitAPI):
698
698
  :param int|None since: the earliest time in ms to fetch open orders for
699
699
  :param int|None limit: the maximum number of open orders structures to retrieve
700
700
  :param dict params: extra parameters specific to the coinmate api endpoint
701
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
701
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
702
702
  """
703
703
  response = self.privatePostOpenOrders(self.extend({}, params))
704
704
  extension = {'status': 'open'}
@@ -711,7 +711,7 @@ class coinmate(Exchange, ImplicitAPI):
711
711
  :param int|None since: the earliest time in ms to fetch orders for
712
712
  :param int|None limit: the maximum number of orde structures to retrieve
713
713
  :param dict params: extra parameters specific to the coinmate api endpoint
714
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
714
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
715
715
  """
716
716
  if symbol is None:
717
717
  raise ArgumentsRequired(self.id + ' fetchOrders() requires a symbol argument')
ccxt/coinone.py CHANGED
@@ -148,7 +148,7 @@ class coinone(Exchange, ImplicitAPI):
148
148
  """
149
149
  retrieves data on all markets for coinone
150
150
  :param dict params: extra parameters specific to the exchange api endpoint
151
- :returns [dict]: an array of objects representing market data
151
+ :returns dict[]: an array of objects representing market data
152
152
  """
153
153
  request = {
154
154
  'currency': 'all',
@@ -286,7 +286,7 @@ class coinone(Exchange, ImplicitAPI):
286
286
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
287
287
  """
288
288
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
289
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
289
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
290
290
  :param dict params: extra parameters specific to the coinone api endpoint
291
291
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
292
292
  """
@@ -444,7 +444,7 @@ class coinone(Exchange, ImplicitAPI):
444
444
  :param int|None since: timestamp in ms of the earliest trade to fetch
445
445
  :param int|None limit: the maximum amount of trades to fetch
446
446
  :param dict params: extra parameters specific to the coinone api endpoint
447
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
447
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
448
448
  """
449
449
  self.load_markets()
450
450
  market = self.market(symbol)
@@ -662,7 +662,7 @@ class coinone(Exchange, ImplicitAPI):
662
662
  :param int|None since: the earliest time in ms to fetch open orders for
663
663
  :param int|None limit: the maximum number of open orders structures to retrieve
664
664
  :param dict params: extra parameters specific to the coinone api endpoint
665
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
665
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
666
666
  """
667
667
  # The returned amount might not be same ordered amount. If an order is partially filled, the returned amount means the remaining amount.
668
668
  # For the same reason, the returned amount and remaining are always same, and the returned filled and cost are always zero.
@@ -701,7 +701,7 @@ class coinone(Exchange, ImplicitAPI):
701
701
  :param int|None since: the earliest time in ms to fetch trades for
702
702
  :param int|None limit: the maximum number of trades structures to retrieve
703
703
  :param dict params: extra parameters specific to the coinone api endpoint
704
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
704
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
705
705
  """
706
706
  if symbol is None:
707
707
  raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
@@ -771,7 +771,7 @@ class coinone(Exchange, ImplicitAPI):
771
771
  def fetch_deposit_addresses(self, codes=None, params={}):
772
772
  """
773
773
  fetch deposit addresses for multiple currencies and chain types
774
- :param [str]|None codes: list of unified currency codes, default is None
774
+ :param str[]|None codes: list of unified currency codes, default is None
775
775
  :param dict params: extra parameters specific to the coinone api endpoint
776
776
  :returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
777
777
  """
ccxt/coinsph.py CHANGED
@@ -442,7 +442,7 @@ class coinsph(Exchange, ImplicitAPI):
442
442
  """
443
443
  retrieves data on all markets for coinsph
444
444
  :param dict params: extra parameters specific to the exchange api endpoint
445
- :returns [dict]: an array of objects representing market data
445
+ :returns dict[]: an array of objects representing market data
446
446
  """
447
447
  response = self.publicGetOpenapiV1ExchangeInfo(params)
448
448
  #
@@ -574,7 +574,7 @@ class coinsph(Exchange, ImplicitAPI):
574
574
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
575
575
  """
576
576
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
577
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
577
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
578
578
  :param dict params: extra parameters specific to the coinsph api endpoint
579
579
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
580
580
  """
@@ -730,7 +730,7 @@ class coinsph(Exchange, ImplicitAPI):
730
730
  :param int|None since: timestamp in ms of the earliest candle to fetch
731
731
  :param int|None limit: the maximum amount of candles to fetch(default 500, max 1000)
732
732
  :param dict params: extra parameters specific to the coinsph api endpoint
733
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
733
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
734
734
  """
735
735
  self.load_markets()
736
736
  market = self.market(symbol)
@@ -788,7 +788,7 @@ class coinsph(Exchange, ImplicitAPI):
788
788
  :param int|None since: timestamp in ms of the earliest trade to fetch
789
789
  :param int|None limit: the maximum amount of trades to fetch(default 500, max 1000)
790
790
  :param dict params: extra parameters specific to the coinsph api endpoint
791
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
791
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
792
792
  """
793
793
  self.load_markets()
794
794
  market = self.market(symbol)
@@ -824,7 +824,7 @@ class coinsph(Exchange, ImplicitAPI):
824
824
  :param int|None since: the earliest time in ms to fetch trades for
825
825
  :param int|None limit: the maximum number of trades structures to retrieve(default 500, max 1000)
826
826
  :param dict params: extra parameters specific to the coinsph api endpoint
827
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
827
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
828
828
  """
829
829
  if symbol is None:
830
830
  raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
@@ -850,7 +850,7 @@ class coinsph(Exchange, ImplicitAPI):
850
850
  :param int|None since: the earliest time in ms to fetch trades for
851
851
  :param int|None limit: the maximum number of trades to retrieve
852
852
  :param dict params: extra parameters specific to the coinsph api endpoint
853
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
853
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
854
854
  """
855
855
  if symbol is None:
856
856
  raise ArgumentsRequired(self.id + ' fetchOrderTrades() requires a symbol argument')
@@ -1107,7 +1107,7 @@ class coinsph(Exchange, ImplicitAPI):
1107
1107
  :param int|None since: the earliest time in ms to fetch open orders for
1108
1108
  :param int|None limit: the maximum number of open orders structures to retrieve
1109
1109
  :param dict params: extra parameters specific to the coinsph api endpoint
1110
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1110
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1111
1111
  """
1112
1112
  self.load_markets()
1113
1113
  market = None
@@ -1125,7 +1125,7 @@ class coinsph(Exchange, ImplicitAPI):
1125
1125
  :param int|None since: the earliest time in ms to fetch orders for
1126
1126
  :param int|None limit: the maximum number of orde structures to retrieve(default 500, max 1000)
1127
1127
  :param dict params: extra parameters specific to the coinsph api endpoint
1128
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1128
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1129
1129
  """
1130
1130
  if symbol is None:
1131
1131
  raise ArgumentsRequired(self.id + ' fetchClosedOrders() requires a symbol argument')
@@ -1167,7 +1167,7 @@ class coinsph(Exchange, ImplicitAPI):
1167
1167
  cancel open orders of market
1168
1168
  :param str|None symbol: unified market symbol
1169
1169
  :param dict params: extra parameters specific to the coinsph api endpoint
1170
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1170
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1171
1171
  """
1172
1172
  if symbol is None:
1173
1173
  raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
@@ -1468,7 +1468,7 @@ class coinsph(Exchange, ImplicitAPI):
1468
1468
  :param int|None since: the earliest time in ms to fetch deposits for
1469
1469
  :param int|None limit: the maximum number of deposits structures to retrieve
1470
1470
  :param dict params: extra parameters specific to the coinsph api endpoint
1471
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1471
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1472
1472
  """
1473
1473
  # todo: returns an empty array - find out why
1474
1474
  self.load_markets()
@@ -1491,7 +1491,7 @@ class coinsph(Exchange, ImplicitAPI):
1491
1491
  :param int|None since: the earliest time in ms to fetch withdrawals for
1492
1492
  :param int|None limit: the maximum number of withdrawals structures to retrieve
1493
1493
  :param dict params: extra parameters specific to the coinsph api endpoint
1494
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1494
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1495
1495
  """
1496
1496
  # todo: returns an empty array - find out why
1497
1497
  self.load_markets()
ccxt/coinspot.py CHANGED
@@ -273,7 +273,7 @@ class coinspot(Exchange, ImplicitAPI):
273
273
  """
274
274
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
275
275
  see https://www.coinspot.com.au/api#latestprices
276
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
276
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
277
277
  :param dict params: extra parameters specific to the coinspot api endpoint
278
278
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
279
279
  """
@@ -315,7 +315,7 @@ class coinspot(Exchange, ImplicitAPI):
315
315
  :param int|None since: timestamp in ms of the earliest trade to fetch
316
316
  :param int|None limit: the maximum amount of trades to fetch
317
317
  :param dict params: extra parameters specific to the coinspot api endpoint
318
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
318
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
319
319
  """
320
320
  self.load_markets()
321
321
  market = self.market(symbol)
ccxt/cryptocom.py CHANGED
@@ -389,7 +389,7 @@ class cryptocom(Exchange, ImplicitAPI):
389
389
  see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-instruments
390
390
  retrieves data on all markets for cryptocom
391
391
  :param dict params: extra parameters specific to the exchange api endpoint
392
- :returns [dict]: an array of objects representing market data
392
+ :returns dict[]: an array of objects representing market data
393
393
  """
394
394
  response = self.v1PublicGetPublicGetInstruments(params)
395
395
  #
@@ -572,8 +572,9 @@ class cryptocom(Exchange, ImplicitAPI):
572
572
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
573
573
  """
574
574
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
575
- see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-tickers
576
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
575
+ see https://exchange-docs.crypto.com/spot/index.html#public-get-ticker
576
+ see https://exchange-docs.crypto.com/derivatives/index.html#public-get-tickers
577
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
577
578
  :param dict params: extra parameters specific to the cryptocom api endpoint
578
579
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
579
580
  """
@@ -642,7 +643,7 @@ class cryptocom(Exchange, ImplicitAPI):
642
643
  :param int|None limit: the maximum number of order structures to retrieve, default 100 max 100
643
644
  :param dict params: extra parameters specific to the cryptocom api endpoint
644
645
  :param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
645
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
646
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
646
647
  """
647
648
  self.load_markets()
648
649
  market = None
@@ -711,7 +712,7 @@ class cryptocom(Exchange, ImplicitAPI):
711
712
  :param int|None limit: the maximum number of trades to fetch
712
713
  :param dict params: extra parameters specific to the cryptocom api endpoint
713
714
  :param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
714
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
715
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
715
716
  """
716
717
  self.load_markets()
717
718
  market = self.market(symbol)
@@ -760,7 +761,7 @@ class cryptocom(Exchange, ImplicitAPI):
760
761
  :param int|None limit: the maximum amount of candles to fetch
761
762
  :param dict params: extra parameters specific to the cryptocom api endpoint
762
763
  :param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
763
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
764
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
764
765
  """
765
766
  self.load_markets()
766
767
  market = self.market(symbol)
@@ -1085,7 +1086,7 @@ class cryptocom(Exchange, ImplicitAPI):
1085
1086
  see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
1086
1087
  :param str|None symbol: unified market symbol of the orders to cancel
1087
1088
  :param dict params: extra parameters specific to the cryptocom api endpoint
1088
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1089
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1089
1090
  """
1090
1091
  self.load_markets()
1091
1092
  market = None
@@ -1135,7 +1136,7 @@ class cryptocom(Exchange, ImplicitAPI):
1135
1136
  :param int|None since: the earliest time in ms to fetch open orders for
1136
1137
  :param int|None limit: the maximum number of open order structures to retrieve
1137
1138
  :param dict params: extra parameters specific to the cryptocom api endpoint
1138
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1139
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1139
1140
  """
1140
1141
  self.load_markets()
1141
1142
  market = None
@@ -1194,7 +1195,7 @@ class cryptocom(Exchange, ImplicitAPI):
1194
1195
  :param int|None limit: the maximum number of trade structures to retrieve
1195
1196
  :param dict params: extra parameters specific to the cryptocom api endpoint
1196
1197
  :param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
1197
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1198
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1198
1199
  """
1199
1200
  self.load_markets()
1200
1201
  request = {}
@@ -1388,7 +1389,7 @@ class cryptocom(Exchange, ImplicitAPI):
1388
1389
  :param int|None since: the earliest time in ms to fetch deposits for
1389
1390
  :param int|None limit: the maximum number of deposits structures to retrieve
1390
1391
  :param dict params: extra parameters specific to the cryptocom api endpoint
1391
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1392
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1392
1393
  """
1393
1394
  self.load_markets()
1394
1395
  currency = None
@@ -1432,7 +1433,7 @@ class cryptocom(Exchange, ImplicitAPI):
1432
1433
  :param int|None since: the earliest time in ms to fetch withdrawals for
1433
1434
  :param int|None limit: the maximum number of withdrawals structures to retrieve
1434
1435
  :param dict params: extra parameters specific to the cryptocom api endpoint
1435
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1436
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1436
1437
  """
1437
1438
  self.load_markets()
1438
1439
  currency = None
@@ -1516,7 +1517,7 @@ class cryptocom(Exchange, ImplicitAPI):
1516
1517
  :param int|None since: the earliest time in ms to fetch transfers for
1517
1518
  :param int|None limit: the maximum number of transfers structures to retrieve
1518
1519
  :param dict params: extra parameters specific to the cryptocom api endpoint
1519
- :returns [dict]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
1520
+ :returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
1520
1521
  """
1521
1522
  if not ('direction' in params):
1522
1523
  raise ArgumentsRequired(self.id + ' fetchTransfers() requires a direction param to be either "IN" or "OUT"')
@@ -2190,7 +2191,7 @@ class cryptocom(Exchange, ImplicitAPI):
2190
2191
  * @ignore
2191
2192
  marginMode specified by params["marginMode"], self.options["marginMode"], self.options["defaultMarginMode"], params["margin"] = True or self.options["defaultType"] = 'margin'
2192
2193
  :param dict params: extra parameters specific to the exchange api endpoint
2193
- :returns [str|None, dict]: the marginMode in lowercase
2194
+ :returns array: the marginMode in lowercase
2194
2195
  """
2195
2196
  defaultType = self.safe_string(self.options, 'defaultType')
2196
2197
  isMargin = self.safe_value(params, 'margin', False)
@@ -2255,7 +2256,7 @@ class cryptocom(Exchange, ImplicitAPI):
2255
2256
  """
2256
2257
  fetch deposit and withdraw fees
2257
2258
  see https://exchange-docs.crypto.com/spot/index.html#private-get-currency-networks
2258
- :param [str]|None codes: list of unified currency codes
2259
+ :param str[]|None codes: list of unified currency codes
2259
2260
  :param dict params: extra parameters specific to the cryptocom api endpoint
2260
2261
  :returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
2261
2262
  """
@@ -2488,7 +2489,7 @@ class cryptocom(Exchange, ImplicitAPI):
2488
2489
  :param int|None limit: number of records
2489
2490
  :param dict params: exchange specific params
2490
2491
  :param int|None params['type']: 'future', 'option'
2491
- :returns [dict]: a list of [settlement history objects]
2492
+ :returns dict[]: a list of [settlement history objects]
2492
2493
  """
2493
2494
  self.load_markets()
2494
2495
  market = None
@@ -2570,7 +2571,7 @@ class cryptocom(Exchange, ImplicitAPI):
2570
2571
  :param int|None limit: the maximum amount of [funding rate structures] to fetch
2571
2572
  :param dict params: extra parameters specific to the cryptocom api endpoint
2572
2573
  :param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
2573
- :returns [dict]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
2574
+ :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
2574
2575
  """
2575
2576
  self.check_required_symbol('fetchFundingRateHistory', symbol)
2576
2577
  self.load_markets()
@@ -2667,9 +2668,9 @@ class cryptocom(Exchange, ImplicitAPI):
2667
2668
  """
2668
2669
  fetch all open positions
2669
2670
  see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
2670
- :param [str]|None symbols: list of unified market symbols
2671
+ :param str[]|None symbols: list of unified market symbols
2671
2672
  :param dict params: extra parameters specific to the cryptocom api endpoint
2672
- :returns [dict]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
2673
+ :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
2673
2674
  """
2674
2675
  self.load_markets()
2675
2676
  symbols = self.market_symbols(symbols)