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/binance.py CHANGED
@@ -1903,7 +1903,7 @@ class binance(Exchange, ImplicitAPI):
1903
1903
  see https://binance-docs.github.io/apidocs/delivery/en/#exchange-information # future
1904
1904
  see https://binance-docs.github.io/apidocs/voptions/en/#exchange-information # option
1905
1905
  :param dict params: extra parameters specific to the exchange api endpoint
1906
- :returns [dict]: an array of objects representing market data
1906
+ :returns dict[]: an array of objects representing market data
1907
1907
  """
1908
1908
  promisesRaw = []
1909
1909
  rawFetchMarkets = self.safe_value(self.options, 'fetchMarkets', ['spot', 'linear', 'inverse'])
@@ -2394,7 +2394,7 @@ class binance(Exchange, ImplicitAPI):
2394
2394
  :param dict params: extra parameters specific to the binance api endpoint
2395
2395
  :param str|None params['type']: 'future', 'delivery', 'savings', 'funding', or 'spot'
2396
2396
  :param str|None params['marginMode']: 'cross' or 'isolated', for margin trading, uses self.options.defaultMarginMode if not passed, defaults to None/None/None
2397
- :param [str]|None params['symbols']: unified market symbols, only used in isolated margin mode
2397
+ :param str[]|None params['symbols']: unified market symbols, only used in isolated margin mode
2398
2398
  :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
2399
2399
  """
2400
2400
  self.load_markets()
@@ -2936,7 +2936,7 @@ class binance(Exchange, ImplicitAPI):
2936
2936
  see https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker # spot
2937
2937
  see https://binance-docs.github.io/apidocs/futures/en/#symbol-order-book-ticker # swap
2938
2938
  see https://binance-docs.github.io/apidocs/delivery/en/#symbol-order-book-ticker # future
2939
- :param [str]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
2939
+ :param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
2940
2940
  :param dict params: extra parameters specific to the binance api endpoint
2941
2941
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
2942
2942
  """
@@ -2966,7 +2966,7 @@ class binance(Exchange, ImplicitAPI):
2966
2966
  see https://binance-docs.github.io/apidocs/spot/en/#symbol-price-ticker # spot
2967
2967
  see https://binance-docs.github.io/apidocs/future/en/#symbol-price-ticker # swap
2968
2968
  see https://binance-docs.github.io/apidocs/delivery/en/#symbol-price-ticker # future
2969
- :param [str]|None symbols: unified symbols of the markets to fetch the last prices
2969
+ :param str[]|None symbols: unified symbols of the markets to fetch the last prices
2970
2970
  :param dict params: extra parameters specific to the binance api endpoint
2971
2971
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
2972
2972
  """
@@ -3066,7 +3066,7 @@ class binance(Exchange, ImplicitAPI):
3066
3066
  see https://binance-docs.github.io/apidocs/futures/en/#24hr-ticker-price-change-statistics # swap
3067
3067
  see https://binance-docs.github.io/apidocs/delivery/en/#24hr-ticker-price-change-statistics # future
3068
3068
  see https://binance-docs.github.io/apidocs/voptions/en/#24hr-ticker-price-change-statistics # option
3069
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
3069
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
3070
3070
  :param dict params: extra parameters specific to the binance api endpoint
3071
3071
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
3072
3072
  """
@@ -3165,7 +3165,7 @@ class binance(Exchange, ImplicitAPI):
3165
3165
  :param dict params: extra parameters specific to the binance api endpoint
3166
3166
  :param str|None params['price']: "mark" or "index" for mark price and index price candles
3167
3167
  :param int|None params['until']: timestamp in ms of the latest candle to fetch
3168
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
3168
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
3169
3169
  """
3170
3170
  self.load_markets()
3171
3171
  market = self.market(symbol)
@@ -3463,7 +3463,7 @@ class binance(Exchange, ImplicitAPI):
3463
3463
  *
3464
3464
  * EXCHANGE SPECIFIC PARAMETERS
3465
3465
  :param int|None params['fromId']: trade id to fetch from, default gets most recent trades, not used when fetchTradesMethod is 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', or 'eapiPublicGetTrades'
3466
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
3466
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
3467
3467
  """
3468
3468
  self.load_markets()
3469
3469
  market = self.market(symbol)
@@ -4301,7 +4301,7 @@ class binance(Exchange, ImplicitAPI):
4301
4301
  :param int|None limit: the maximum number of order structures to retrieve
4302
4302
  :param dict params: extra parameters specific to the binance api endpoint
4303
4303
  :param str|None params['marginMode']: 'cross' or 'isolated', for spot margin trading
4304
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4304
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4305
4305
  """
4306
4306
  self.check_required_symbol('fetchOrders', symbol)
4307
4307
  self.load_markets()
@@ -4412,7 +4412,7 @@ class binance(Exchange, ImplicitAPI):
4412
4412
  :param int|None limit: the maximum number of open orders structures to retrieve
4413
4413
  :param dict params: extra parameters specific to the binance api endpoint
4414
4414
  :param str|None params['marginMode']: 'cross' or 'isolated', for spot margin trading
4415
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4415
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4416
4416
  """
4417
4417
  self.load_markets()
4418
4418
  market = None
@@ -4465,7 +4465,7 @@ class binance(Exchange, ImplicitAPI):
4465
4465
  :param int|None since: the earliest time in ms to fetch orders for
4466
4466
  :param int|None limit: the maximum number of order structures to retrieve
4467
4467
  :param dict params: extra parameters specific to the binance api endpoint
4468
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4468
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4469
4469
  """
4470
4470
  orders = self.fetch_orders(symbol, since, limit, params)
4471
4471
  return self.filter_by(orders, 'status', 'closed')
@@ -4480,7 +4480,7 @@ class binance(Exchange, ImplicitAPI):
4480
4480
  :param int|None since: the earliest time in ms to fetch orders for
4481
4481
  :param int|None limit: the maximum number of order structures to retrieve
4482
4482
  :param dict params: extra parameters specific to the binance api endpoint
4483
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4483
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4484
4484
  """
4485
4485
  self.check_required_symbol('fetchCanceledOrders', symbol)
4486
4486
  self.load_markets()
@@ -4545,7 +4545,7 @@ class binance(Exchange, ImplicitAPI):
4545
4545
  :param str symbol: unified market symbol of the market to cancel orders in
4546
4546
  :param dict params: extra parameters specific to the binance api endpoint
4547
4547
  :param str|None params['marginMode']: 'cross' or 'isolated', for spot margin trading
4548
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4548
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
4549
4549
  """
4550
4550
  self.check_required_symbol('cancelAllOrders', symbol)
4551
4551
  self.load_markets()
@@ -4581,7 +4581,7 @@ class binance(Exchange, ImplicitAPI):
4581
4581
  :param int|None since: the earliest time in ms to fetch trades for
4582
4582
  :param int|None limit: the maximum number of trades to retrieve
4583
4583
  :param dict params: extra parameters specific to the binance api endpoint
4584
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
4584
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
4585
4585
  """
4586
4586
  if symbol is None:
4587
4587
  raise ArgumentsRequired(self.id + ' fetchOrderTrades() requires a symbol argument')
@@ -4603,7 +4603,7 @@ class binance(Exchange, ImplicitAPI):
4603
4603
  :param int|None since: the earliest time in ms to fetch trades for
4604
4604
  :param int|None limit: the maximum number of trades structures to retrieve
4605
4605
  :param dict params: extra parameters specific to the binance api endpoint
4606
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
4606
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
4607
4607
  """
4608
4608
  self.load_markets()
4609
4609
  request = {}
@@ -4726,7 +4726,7 @@ class binance(Exchange, ImplicitAPI):
4726
4726
  :param int|None since: the earliest time in ms to fetch my dust trades for
4727
4727
  :param int|None limit: the maximum number of dust trades to retrieve
4728
4728
  :param dict params: extra parameters specific to the binance api endpoint
4729
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
4729
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
4730
4730
  """
4731
4731
  #
4732
4732
  # Binance provides an opportunity to trade insignificant(i.e. non-tradable and non-withdrawable)
@@ -4856,7 +4856,7 @@ class binance(Exchange, ImplicitAPI):
4856
4856
  :param dict params: extra parameters specific to the binance api endpoint
4857
4857
  :param bool params['fiat']: if True, only fiat deposits will be returned
4858
4858
  :param int|None params['until']: the latest time in ms to fetch deposits for
4859
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
4859
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
4860
4860
  """
4861
4861
  self.load_markets()
4862
4862
  currency = None
@@ -4947,7 +4947,7 @@ class binance(Exchange, ImplicitAPI):
4947
4947
  :param int|None limit: the maximum number of withdrawals structures to retrieve
4948
4948
  :param dict params: extra parameters specific to the binance api endpoint
4949
4949
  :param bool params['fiat']: if True, only fiat withdrawals will be returned
4950
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
4950
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
4951
4951
  """
4952
4952
  self.load_markets()
4953
4953
  legalMoney = self.safe_value(self.options, 'legalMoney', {})
@@ -5373,7 +5373,7 @@ class binance(Exchange, ImplicitAPI):
5373
5373
  :param int|None since: the earliest time in ms to fetch transfers for
5374
5374
  :param int|None limit: the maximum number of transfers structures to retrieve
5375
5375
  :param dict params: extra parameters specific to the binance api endpoint
5376
- :returns [dict]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
5376
+ :returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
5377
5377
  """
5378
5378
  self.load_markets()
5379
5379
  currency = None
@@ -5490,9 +5490,9 @@ class binance(Exchange, ImplicitAPI):
5490
5490
  def fetch_transaction_fees(self, codes=None, params={}):
5491
5491
  """
5492
5492
  *DEPRECATED* please use fetchDepositWithdrawFees instead
5493
- :param [str]|None codes: not used by binance fetchTransactionFees()
5493
+ :param str[]|None codes: not used by binance fetchTransactionFees()
5494
5494
  :param dict params: extra parameters specific to the binance api endpoint
5495
- :returns [dict]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
5495
+ :returns dict[]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
5496
5496
  """
5497
5497
  self.load_markets()
5498
5498
  response = self.sapiGetCapitalConfigGetall(params)
@@ -5599,9 +5599,9 @@ class binance(Exchange, ImplicitAPI):
5599
5599
  def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
5600
5600
  """
5601
5601
  fetch deposit and withdraw fees
5602
- :param [str]|None codes: not used by binance fetchDepositWithdrawFees()
5602
+ :param str[]|None codes: not used by binance fetchDepositWithdrawFees()
5603
5603
  :param dict params: extra parameters specific to the binance api endpoint
5604
- :returns [dict]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
5604
+ :returns dict[]: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
5605
5605
  """
5606
5606
  self.load_markets()
5607
5607
  response = self.sapiGetCapitalConfigGetall(params)
@@ -6026,7 +6026,7 @@ class binance(Exchange, ImplicitAPI):
6026
6026
  :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
6027
6027
  :param dict params: extra parameters specific to the binance api endpoint
6028
6028
  :param int|None params['until']: timestamp in ms of the latest funding rate
6029
- :returns [dict]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
6029
+ :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
6030
6030
  """
6031
6031
  self.load_markets()
6032
6032
  request = {}
@@ -6081,7 +6081,7 @@ class binance(Exchange, ImplicitAPI):
6081
6081
  def fetch_funding_rates(self, symbols: Optional[List[str]] = None, params={}):
6082
6082
  """
6083
6083
  fetch the funding rate for multiple markets
6084
- :param [str]|None symbols: list of unified market symbols
6084
+ :param str[]|None symbols: list of unified market symbols
6085
6085
  :param dict params: extra parameters specific to the binance api endpoint
6086
6086
  :returns dict: a dictionary of `funding rates structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexe by market symbols
6087
6087
  """
@@ -6557,7 +6557,7 @@ class binance(Exchange, ImplicitAPI):
6557
6557
  def fetch_leverage_tiers(self, symbols: Optional[List[str]] = None, params={}):
6558
6558
  """
6559
6559
  retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
6560
- :param [str]|None symbols: list of unified market symbols
6560
+ :param str[]|None symbols: list of unified market symbols
6561
6561
  :param dict params: extra parameters specific to the binance api endpoint
6562
6562
  :returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
6563
6563
  """
@@ -6697,9 +6697,9 @@ class binance(Exchange, ImplicitAPI):
6697
6697
  """
6698
6698
  see https://binance-docs.github.io/apidocs/voptions/en/#option-position-information-user_data
6699
6699
  fetch data on open options positions
6700
- :param [str]|None symbols: list of unified market symbols
6700
+ :param str[]|None symbols: list of unified market symbols
6701
6701
  :param dict params: extra parameters specific to the binance api endpoint
6702
- :returns [dict]: a list of `position structures <https://docs.ccxt.com/#/?id=position-structure>`
6702
+ :returns dict[]: a list of `position structures <https://docs.ccxt.com/#/?id=position-structure>`
6703
6703
  """
6704
6704
  self.load_markets()
6705
6705
  symbols = self.market_symbols(symbols)
@@ -6804,9 +6804,9 @@ class binance(Exchange, ImplicitAPI):
6804
6804
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
6805
6805
  """
6806
6806
  fetch all open positions
6807
- :param [str]|None symbols: list of unified market symbols
6807
+ :param str[]|None symbols: list of unified market symbols
6808
6808
  :param dict params: extra parameters specific to the binance api endpoint
6809
- :returns [dict]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
6809
+ :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
6810
6810
  """
6811
6811
  defaultMethod = self.safe_string(self.options, 'fetchPositions', 'positionRisk')
6812
6812
  if defaultMethod == 'positionRisk':
@@ -6821,7 +6821,7 @@ class binance(Exchange, ImplicitAPI):
6821
6821
  def fetch_account_positions(self, symbols: Optional[List[str]] = None, params={}):
6822
6822
  """
6823
6823
  fetch account positions
6824
- :param [str]|None symbols: list of unified market symbols
6824
+ :param str[]|None symbols: list of unified market symbols
6825
6825
  :param dict params: extra parameters specific to the binance api endpoint
6826
6826
  :returns dict: data on account positions
6827
6827
  """
@@ -6850,7 +6850,7 @@ class binance(Exchange, ImplicitAPI):
6850
6850
  def fetch_positions_risk(self, symbols: Optional[List[str]] = None, params={}):
6851
6851
  """
6852
6852
  fetch positions risk
6853
- :param [str]|None symbols: list of unified market symbols
6853
+ :param str[]|None symbols: list of unified market symbols
6854
6854
  :param dict params: extra parameters specific to the binance api endpoint
6855
6855
  :returns dict: data on the positions risk
6856
6856
  """
@@ -7097,7 +7097,7 @@ class binance(Exchange, ImplicitAPI):
7097
7097
  :param int since: timestamp in ms
7098
7098
  :param int limit: number of records, default 100, max 100
7099
7099
  :param dict params: exchange specific params
7100
- :returns [dict]: a list of [settlement history objects]
7100
+ :returns dict[]: a list of [settlement history objects]
7101
7101
  """
7102
7102
  self.load_markets()
7103
7103
  market = None if (symbol is None) else self.market(symbol)
@@ -7574,7 +7574,7 @@ class binance(Exchange, ImplicitAPI):
7574
7574
  :param int|None since: timestamp for the earliest borrow rate
7575
7575
  :param int|None limit: the maximum number of `borrow rate structures <https://docs.ccxt.com/#/?id=borrow-rate-structure>` to retrieve
7576
7576
  :param dict params: extra parameters specific to the exchange api endpoint
7577
- :returns [dict]: an array of `borrow rate structures <https://docs.ccxt.com/#/?id=borrow-rate-structure>`
7577
+ :returns dict[]: an array of `borrow rate structures <https://docs.ccxt.com/#/?id=borrow-rate-structure>`
7578
7578
  """
7579
7579
  self.load_markets()
7580
7580
  if limit is None:
@@ -7722,7 +7722,7 @@ class binance(Exchange, ImplicitAPI):
7722
7722
  :param int|None since: the earliest time in ms to fetch borrrow interest for
7723
7723
  :param int|None limit: the maximum number of structures to retrieve
7724
7724
  :param dict params: extra parameters specific to the binance api endpoint
7725
- :returns [dict]: a list of `borrow interest structures <https://docs.ccxt.com/#/?id=borrow-interest-structure>`
7725
+ :returns dict[]: a list of `borrow interest structures <https://docs.ccxt.com/#/?id=borrow-interest-structure>`
7726
7726
  """
7727
7727
  self.load_markets()
7728
7728
  request = {}
ccxt/bit2c.py CHANGED
@@ -323,7 +323,7 @@ class bit2c(Exchange, ImplicitAPI):
323
323
  :param int|None since: timestamp in ms of the earliest trade to fetch
324
324
  :param int|None limit: the maximum amount of trades to fetch
325
325
  :param dict params: extra parameters specific to the bit2c api endpoint
326
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
326
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
327
327
  """
328
328
  self.load_markets()
329
329
  market = self.market(symbol)
@@ -439,7 +439,7 @@ class bit2c(Exchange, ImplicitAPI):
439
439
  :param int|None since: the earliest time in ms to fetch open orders for
440
440
  :param int|None limit: the maximum number of open orders structures to retrieve
441
441
  :param dict params: extra parameters specific to the bit2c api endpoint
442
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
442
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
443
443
  """
444
444
  if symbol is None:
445
445
  raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
@@ -597,7 +597,7 @@ class bit2c(Exchange, ImplicitAPI):
597
597
  :param int|None since: the earliest time in ms to fetch trades for
598
598
  :param int|None limit: the maximum number of trades structures to retrieve
599
599
  :param dict params: extra parameters specific to the bit2c api endpoint
600
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
600
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
601
601
  """
602
602
  self.load_markets()
603
603
  market = None
ccxt/bitbank.py CHANGED
@@ -164,7 +164,7 @@ class bitbank(Exchange, ImplicitAPI):
164
164
  """
165
165
  retrieves data on all markets for bitbank
166
166
  :param dict params: extra parameters specific to the exchange api endpoint
167
- :returns [dict]: an array of objects representing market data
167
+ :returns dict[]: an array of objects representing market data
168
168
  """
169
169
  response = self.marketsGetSpotPairs(params)
170
170
  #
@@ -357,7 +357,7 @@ class bitbank(Exchange, ImplicitAPI):
357
357
  :param int|None since: timestamp in ms of the earliest trade to fetch
358
358
  :param int|None limit: the maximum amount of trades to fetch
359
359
  :param dict params: extra parameters specific to the bitbank api endpoint
360
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
360
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
361
361
  """
362
362
  self.load_markets()
363
363
  market = self.market(symbol)
@@ -451,7 +451,7 @@ class bitbank(Exchange, ImplicitAPI):
451
451
  :param int|None since: timestamp in ms of the earliest candle to fetch
452
452
  :param int|None limit: the maximum amount of candles to fetch
453
453
  :param dict params: extra parameters specific to the bitbank api endpoint
454
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
454
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
455
455
  """
456
456
  if since is None:
457
457
  if limit is None:
@@ -667,7 +667,7 @@ class bitbank(Exchange, ImplicitAPI):
667
667
  :param int|None since: the earliest time in ms to fetch open orders for
668
668
  :param int|None limit: the maximum number of open orders structures to retrieve
669
669
  :param dict params: extra parameters specific to the bitbank api endpoint
670
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
670
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
671
671
  """
672
672
  self.load_markets()
673
673
  market = self.market(symbol)
@@ -690,7 +690,7 @@ class bitbank(Exchange, ImplicitAPI):
690
690
  :param int|None since: the earliest time in ms to fetch trades for
691
691
  :param int|None limit: the maximum number of trades structures to retrieve
692
692
  :param dict params: extra parameters specific to the bitbank api endpoint
693
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
693
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
694
694
  """
695
695
  self.load_markets()
696
696
  request = {}
ccxt/bitbns.py CHANGED
@@ -192,7 +192,7 @@ class bitbns(Exchange, ImplicitAPI):
192
192
  """
193
193
  retrieves data on all markets for bitbns
194
194
  :param dict params: extra parameters specific to the exchange api endpoint
195
- :returns [dict]: an array of objects representing market data
195
+ :returns dict[]: an array of objects representing market data
196
196
  """
197
197
  response = self.wwwGetOrderFetchMarkets(params)
198
198
  #
@@ -382,7 +382,7 @@ class bitbns(Exchange, ImplicitAPI):
382
382
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
383
383
  """
384
384
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
385
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
385
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
386
386
  :param dict params: extra parameters specific to the bitbns api endpoint
387
387
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
388
388
  """
@@ -695,7 +695,7 @@ class bitbns(Exchange, ImplicitAPI):
695
695
  :param int|None since: the earliest time in ms to fetch open orders for
696
696
  :param int|None limit: the maximum number of open orders structures to retrieve
697
697
  :param dict params: extra parameters specific to the bitbns api endpoint
698
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
698
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
699
699
  """
700
700
  if symbol is None:
701
701
  raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
@@ -811,7 +811,7 @@ class bitbns(Exchange, ImplicitAPI):
811
811
  :param int|None since: the earliest time in ms to fetch trades for
812
812
  :param int|None limit: the maximum number of trades structures to retrieve
813
813
  :param dict params: extra parameters specific to the bitbns api endpoint
814
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
814
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
815
815
  """
816
816
  if symbol is None:
817
817
  raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
@@ -875,7 +875,7 @@ class bitbns(Exchange, ImplicitAPI):
875
875
  :param int|None since: timestamp in ms of the earliest trade to fetch
876
876
  :param int|None limit: the maximum amount of trades to fetch
877
877
  :param dict params: extra parameters specific to the bitbns api endpoint
878
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
878
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
879
879
  """
880
880
  if symbol is None:
881
881
  raise ArgumentsRequired(self.id + ' fetchTrades() requires a symbol argument')
@@ -902,7 +902,7 @@ class bitbns(Exchange, ImplicitAPI):
902
902
  :param int|None since: the earliest time in ms to fetch deposits for
903
903
  :param int|None limit: the maximum number of deposits structures to retrieve
904
904
  :param dict params: extra parameters specific to the bitbns api endpoint
905
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
905
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
906
906
  """
907
907
  if code is None:
908
908
  raise ArgumentsRequired(self.id + ' fetchDeposits() requires a currency code argument')
@@ -946,7 +946,7 @@ class bitbns(Exchange, ImplicitAPI):
946
946
  :param int|None since: the earliest time in ms to fetch withdrawals for
947
947
  :param int|None limit: the maximum number of withdrawals structures to retrieve
948
948
  :param dict params: extra parameters specific to the bitbns api endpoint
949
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
949
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
950
950
  """
951
951
  if code is None:
952
952
  raise ArgumentsRequired(self.id + ' fetchWithdrawals() requires a currency code argument')
ccxt/bitfinex.py CHANGED
@@ -415,9 +415,9 @@ class bitfinex(Exchange, ImplicitAPI):
415
415
  """
416
416
  *DEPRECATED* please use fetchDepositWithdrawFees instead
417
417
  see https://docs.bitfinex.com/v1/reference/rest-auth-fees
418
- :param [str]|None codes: list of unified currency codes
418
+ :param str[]|None codes: list of unified currency codes
419
419
  :param dict params: extra parameters specific to the bitfinex api endpoint
420
- :returns [dict]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
420
+ :returns dict[]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
421
421
  """
422
422
  self.load_markets()
423
423
  result = {}
@@ -447,9 +447,9 @@ class bitfinex(Exchange, ImplicitAPI):
447
447
  """
448
448
  fetch deposit and withdraw fees
449
449
  see https://docs.bitfinex.com/v1/reference/rest-auth-fees
450
- :param [str]|None codes: list of unified currency codes
450
+ :param str[]|None codes: list of unified currency codes
451
451
  :param dict params: extra parameters specific to the bitfinex api endpoint
452
- :returns [dict]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
452
+ :returns dict[]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
453
453
  """
454
454
  self.load_markets()
455
455
  response = self.privatePostAccountFees(params)
@@ -561,7 +561,7 @@ class bitfinex(Exchange, ImplicitAPI):
561
561
  """
562
562
  retrieves data on all markets for bitfinex
563
563
  :param dict params: extra parameters specific to the exchange api endpoint
564
- :returns [dict]: an array of objects representing market data
564
+ :returns dict[]: an array of objects representing market data
565
565
  """
566
566
  ids = self.publicGetSymbols()
567
567
  #
@@ -827,7 +827,7 @@ class bitfinex(Exchange, ImplicitAPI):
827
827
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
828
828
  """
829
829
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
830
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
830
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
831
831
  :param dict params: extra parameters specific to the bitfinex api endpoint
832
832
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
833
833
  """
@@ -969,7 +969,7 @@ class bitfinex(Exchange, ImplicitAPI):
969
969
  :param int|None since: timestamp in ms of the earliest trade to fetch
970
970
  :param int|None limit: the maximum amount of trades to fetch
971
971
  :param dict params: extra parameters specific to the bitfinex api endpoint
972
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
972
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
973
973
  """
974
974
  self.load_markets()
975
975
  market = self.market(symbol)
@@ -989,7 +989,7 @@ class bitfinex(Exchange, ImplicitAPI):
989
989
  :param int|None since: the earliest time in ms to fetch trades for
990
990
  :param int|None limit: the maximum number of trades structures to retrieve
991
991
  :param dict params: extra parameters specific to the bitfinex api endpoint
992
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
992
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
993
993
  """
994
994
  if symbol is None:
995
995
  raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a `symbol` argument')
@@ -1160,7 +1160,7 @@ class bitfinex(Exchange, ImplicitAPI):
1160
1160
  :param int|None since: the earliest time in ms to fetch open orders for
1161
1161
  :param int|None limit: the maximum number of open orders structures to retrieve
1162
1162
  :param dict params: extra parameters specific to the bitfinex api endpoint
1163
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1163
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1164
1164
  """
1165
1165
  self.load_markets()
1166
1166
  if symbol is not None:
@@ -1179,7 +1179,7 @@ class bitfinex(Exchange, ImplicitAPI):
1179
1179
  :param int|None since: the earliest time in ms to fetch orders for
1180
1180
  :param int|None limit: the maximum number of orde structures to retrieve
1181
1181
  :param dict params: extra parameters specific to the bitfinex api endpoint
1182
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1182
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1183
1183
  """
1184
1184
  self.load_markets()
1185
1185
  symbol = self.symbol(symbol)
@@ -1235,7 +1235,7 @@ class bitfinex(Exchange, ImplicitAPI):
1235
1235
  :param int|None since: timestamp in ms of the earliest candle to fetch
1236
1236
  :param int|None limit: the maximum amount of candles to fetch
1237
1237
  :param dict params: extra parameters specific to the bitfinex api endpoint
1238
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
1238
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
1239
1239
  """
1240
1240
  self.load_markets()
1241
1241
  if limit is None:
@@ -1485,9 +1485,9 @@ class bitfinex(Exchange, ImplicitAPI):
1485
1485
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
1486
1486
  """
1487
1487
  fetch all open positions
1488
- :param [str]|None symbols: list of unified market symbols
1488
+ :param str[]|None symbols: list of unified market symbols
1489
1489
  :param dict params: extra parameters specific to the bitfinex api endpoint
1490
- :returns [dict]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
1490
+ :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
1491
1491
  """
1492
1492
  self.load_markets()
1493
1493
  response = self.privatePostPositions(params)
ccxt/bitfinex2.py CHANGED
@@ -465,7 +465,7 @@ class bitfinex2(Exchange, ImplicitAPI):
465
465
  """
466
466
  retrieves data on all markets for bitfinex2
467
467
  :param dict params: extra parameters specific to the exchange api endpoint
468
- :returns [dict]: an array of objects representing market data
468
+ :returns dict[]: an array of objects representing market data
469
469
  """
470
470
  spotMarketsInfo = self.publicGetConfPubInfoPair(params)
471
471
  futuresMarketsInfo = self.publicGetConfPubInfoPairFutures(params)
@@ -1065,7 +1065,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1065
1065
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
1066
1066
  """
1067
1067
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1068
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1068
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1069
1069
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1070
1070
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
1071
1071
  """
@@ -1228,7 +1228,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1228
1228
  :param int|None since: timestamp in ms of the earliest trade to fetch
1229
1229
  :param int|None limit: the maximum amount of trades to fetch
1230
1230
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1231
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1231
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1232
1232
  """
1233
1233
  self.load_markets()
1234
1234
  market = self.market(symbol)
@@ -1264,7 +1264,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1264
1264
  :param int|None since: timestamp in ms of the earliest candle to fetch
1265
1265
  :param int|None limit: the maximum amount of candles to fetch
1266
1266
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1267
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
1267
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
1268
1268
  """
1269
1269
  self.load_markets()
1270
1270
  market = self.market(symbol)
@@ -1564,7 +1564,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1564
1564
  cancel all open orders
1565
1565
  :param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
1566
1566
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1567
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1567
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1568
1568
  """
1569
1569
  request = {
1570
1570
  'all': 1,
@@ -1641,7 +1641,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1641
1641
  :param int|None since: the earliest time in ms to fetch open orders for
1642
1642
  :param int|None limit: the maximum number of open orders structures to retrieve
1643
1643
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1644
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1644
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1645
1645
  """
1646
1646
  self.load_markets()
1647
1647
  request = {}
@@ -1700,7 +1700,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1700
1700
  :param int|None since: the earliest time in ms to fetch orders for
1701
1701
  :param int|None limit: the maximum number of orde structures to retrieve
1702
1702
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1703
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1703
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1704
1704
  """
1705
1705
  # returns the most recent closed or canceled orders up to circa two weeks ago
1706
1706
  self.load_markets()
@@ -1765,7 +1765,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1765
1765
  :param int|None since: the earliest time in ms to fetch trades for
1766
1766
  :param int|None limit: the maximum number of trades to retrieve
1767
1767
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1768
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1768
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1769
1769
  """
1770
1770
  if symbol is None:
1771
1771
  raise ArgumentsRequired(self.id + ' fetchOrderTrades() requires a symbol argument')
@@ -1787,7 +1787,7 @@ class bitfinex2(Exchange, ImplicitAPI):
1787
1787
  :param int|None since: the earliest time in ms to fetch trades for
1788
1788
  :param int|None limit: the maximum number of trades structures to retrieve
1789
1789
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
1790
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1790
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1791
1791
  """
1792
1792
  self.load_markets()
1793
1793
  market = None
@@ -2263,9 +2263,9 @@ class bitfinex2(Exchange, ImplicitAPI):
2263
2263
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
2264
2264
  """
2265
2265
  fetch all open positions
2266
- :param [str]|None symbols: list of unified market symbols
2266
+ :param str[]|None symbols: list of unified market symbols
2267
2267
  :param dict params: extra parameters specific to the bitfinex2 api endpoint
2268
- :returns [dict]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
2268
+ :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
2269
2269
  """
2270
2270
  self.load_markets()
2271
2271
  response = self.privatePostAuthRPositions(params)