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/wazirx.py CHANGED
@@ -170,7 +170,7 @@ class wazirx(Exchange, ImplicitAPI):
170
170
  see https://docs.wazirx.com/#exchange-info
171
171
  retrieves data on all markets for wazirx
172
172
  :param dict params: extra parameters specific to the exchange api endpoint
173
- :returns [dict]: an array of objects representing market data
173
+ :returns dict[]: an array of objects representing market data
174
174
  """
175
175
  response = self.publicGetExchangeInfo(params)
176
176
  #
@@ -284,7 +284,7 @@ class wazirx(Exchange, ImplicitAPI):
284
284
  :param int|None limit: the maximum amount of candles to fetch
285
285
  :param dict params: extra parameters specific to the wazirx api endpoint
286
286
  :param int|None params['until']: timestamp in s of the latest candle to fetch
287
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
287
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
288
288
  """
289
289
  self.load_markets()
290
290
  market = self.market(symbol)
@@ -390,7 +390,7 @@ class wazirx(Exchange, ImplicitAPI):
390
390
  """
391
391
  see https://docs.wazirx.com/#24hr-tickers-price-change-statistics
392
392
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
393
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
393
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
394
394
  :param dict params: extra parameters specific to the wazirx api endpoint
395
395
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
396
396
  """
@@ -429,7 +429,7 @@ class wazirx(Exchange, ImplicitAPI):
429
429
  :param int|None since: timestamp in ms of the earliest trade to fetch
430
430
  :param int|None limit: the maximum amount of trades to fetch
431
431
  :param dict params: extra parameters specific to the wazirx api endpoint
432
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
432
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
433
433
  """
434
434
  self.load_markets()
435
435
  market = self.market(symbol)
@@ -616,7 +616,7 @@ class wazirx(Exchange, ImplicitAPI):
616
616
  :param int|None since: the earliest time in ms to fetch orders for
617
617
  :param int|None limit: the maximum number of orde structures to retrieve
618
618
  :param dict params: extra parameters specific to the wazirx api endpoint
619
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
619
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
620
620
  """
621
621
  if symbol is None:
622
622
  raise ArgumentsRequired(self.id + ' fetchOrders() requires a `symbol` argument')
@@ -671,7 +671,7 @@ class wazirx(Exchange, ImplicitAPI):
671
671
  :param int|None since: the earliest time in ms to fetch open orders for
672
672
  :param int|None limit: the maximum number of open orders structures to retrieve
673
673
  :param dict params: extra parameters specific to the wazirx api endpoint
674
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
674
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
675
675
  """
676
676
  self.load_markets()
677
677
  request = {}
@@ -716,7 +716,7 @@ class wazirx(Exchange, ImplicitAPI):
716
716
  cancel all open orders in a market
717
717
  :param str symbol: unified market symbol of the market to cancel orders in
718
718
  :param dict params: extra parameters specific to the wazirx api endpoint
719
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
719
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
720
720
  """
721
721
  if symbol is None:
722
722
  raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a `symbol` argument')
ccxt/whitebit.py CHANGED
@@ -281,7 +281,7 @@ class whitebit(Exchange, ImplicitAPI):
281
281
  retrieves data on all markets for whitebit
282
282
  see https://whitebit-exchange.github.io/api-docs/docs/Public/http-v4#market-info
283
283
  :param dict params: extra parameters specific to the exchange api endpoint
284
- :returns [dict]: an array of objects representing market data
284
+ :returns dict[]: an array of objects representing market data
285
285
  """
286
286
  markets = self.v4PublicGetMarkets()
287
287
  #
@@ -450,7 +450,7 @@ class whitebit(Exchange, ImplicitAPI):
450
450
  def fetch_transaction_fees(self, codes=None, params={}):
451
451
  """
452
452
  *DEPRECATED* please use fetchDepositWithdrawFees instead
453
- :param [str]|None codes: not used by fetchTransactionFees()
453
+ :param str[]|None codes: not used by fetchTransactionFees()
454
454
  :param dict params: extra parameters specific to the whitebit api endpoint
455
455
  :returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
456
456
  """
@@ -501,7 +501,7 @@ class whitebit(Exchange, ImplicitAPI):
501
501
  def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
502
502
  """
503
503
  fetch deposit and withdraw fees
504
- :param [str]|None codes: not used by fetchDepositWithdrawFees()
504
+ :param str[]|None codes: not used by fetchDepositWithdrawFees()
505
505
  :param dict params: extra parameters specific to the whitebit api endpoint
506
506
  :returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
507
507
  """
@@ -771,7 +771,7 @@ class whitebit(Exchange, ImplicitAPI):
771
771
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
772
772
  """
773
773
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
774
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
774
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
775
775
  :param dict params: extra parameters specific to the whitebit api endpoint
776
776
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
777
777
  """
@@ -844,7 +844,7 @@ class whitebit(Exchange, ImplicitAPI):
844
844
  :param int|None since: timestamp in ms of the earliest trade to fetch
845
845
  :param int|None limit: the maximum amount of trades to fetch
846
846
  :param dict params: extra parameters specific to the whitebit api endpoint
847
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
847
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
848
848
  """
849
849
  self.load_markets()
850
850
  market = self.market(symbol)
@@ -873,7 +873,7 @@ class whitebit(Exchange, ImplicitAPI):
873
873
  :param int|None since: timestamp in ms of the earliest trade to fetch
874
874
  :param int|None limit: the maximum amount of trades to fetch
875
875
  :param dict params: extra parameters specific to the whitebit api endpoint
876
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
876
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
877
877
  """
878
878
  self.load_markets()
879
879
  market = None
@@ -1019,7 +1019,7 @@ class whitebit(Exchange, ImplicitAPI):
1019
1019
  :param int|None since: timestamp in ms of the earliest candle to fetch
1020
1020
  :param int|None limit: the maximum amount of candles to fetch
1021
1021
  :param dict params: extra parameters specific to the whitebit api endpoint
1022
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
1022
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
1023
1023
  """
1024
1024
  self.load_markets()
1025
1025
  market = self.market(symbol)
@@ -1265,7 +1265,7 @@ class whitebit(Exchange, ImplicitAPI):
1265
1265
  :param int|None since: the earliest time in ms to fetch open orders for
1266
1266
  :param int|None limit: the maximum number of open orders structures to retrieve
1267
1267
  :param dict params: extra parameters specific to the whitebit api endpoint
1268
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1268
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1269
1269
  """
1270
1270
  if symbol is None:
1271
1271
  raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
@@ -1306,7 +1306,7 @@ class whitebit(Exchange, ImplicitAPI):
1306
1306
  :param int|None since: the earliest time in ms to fetch orders for
1307
1307
  :param int|None limit: the maximum number of orde structures to retrieve
1308
1308
  :param dict params: extra parameters specific to the whitebit api endpoint
1309
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1309
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1310
1310
  """
1311
1311
  self.load_markets()
1312
1312
  request = {}
@@ -1458,7 +1458,7 @@ class whitebit(Exchange, ImplicitAPI):
1458
1458
  :param int|None since: the earliest time in ms to fetch trades for
1459
1459
  :param int|None limit: the maximum number of trades to retrieve
1460
1460
  :param dict params: extra parameters specific to the whitebit api endpoint
1461
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1461
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1462
1462
  """
1463
1463
  self.load_markets()
1464
1464
  request = {
@@ -1812,7 +1812,7 @@ class whitebit(Exchange, ImplicitAPI):
1812
1812
  :param int|None since: the earliest time in ms to fetch deposits for
1813
1813
  :param int|None limit: the maximum number of deposits structures to retrieve
1814
1814
  :param dict params: extra parameters specific to the whitebit api endpoint
1815
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1815
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1816
1816
  """
1817
1817
  self.load_markets()
1818
1818
  currency = None
@@ -1876,7 +1876,7 @@ class whitebit(Exchange, ImplicitAPI):
1876
1876
  :param int|None since: the earliest time in ms to fetch borrrow interest for
1877
1877
  :param int|None limit: the maximum number of structures to retrieve
1878
1878
  :param dict params: extra parameters specific to the whitebit api endpoint
1879
- :returns [dict]: a list of `borrow interest structures <https://docs.ccxt.com/#/?id=borrow-interest-structure>`
1879
+ :returns dict[]: a list of `borrow interest structures <https://docs.ccxt.com/#/?id=borrow-interest-structure>`
1880
1880
  """
1881
1881
  self.load_markets()
1882
1882
  request = {}
ccxt/woo.py CHANGED
@@ -301,7 +301,7 @@ class woo(Exchange, ImplicitAPI):
301
301
  """
302
302
  retrieves data on all markets for woo
303
303
  :param dict params: extra parameters specific to the exchange api endpoint
304
- :returns [dict]: an array of objects representing market data
304
+ :returns dict[]: an array of objects representing market data
305
305
  """
306
306
  response = self.v1PublicGetInfo(params)
307
307
  #
@@ -410,7 +410,7 @@ class woo(Exchange, ImplicitAPI):
410
410
  :param int|None since: timestamp in ms of the earliest trade to fetch
411
411
  :param int|None limit: the maximum amount of trades to fetch
412
412
  :param dict params: extra parameters specific to the woo api endpoint
413
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
413
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
414
414
  """
415
415
  if symbol is None:
416
416
  raise ArgumentsRequired(self.id + ' fetchTrades() requires a symbol argument')
@@ -1083,7 +1083,7 @@ class woo(Exchange, ImplicitAPI):
1083
1083
  :param boolean|None params['stop']: whether the order is a stop/algo order
1084
1084
  :param boolean|None params['isTriggered']: whether the order has been triggered(False by default)
1085
1085
  :param str|None params['side']: 'buy' or 'sell'
1086
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1086
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1087
1087
  """
1088
1088
  self.load_markets()
1089
1089
  request = {}
@@ -1317,7 +1317,7 @@ class woo(Exchange, ImplicitAPI):
1317
1317
  :param int|None since: timestamp in ms of the earliest candle to fetch
1318
1318
  :param int|None limit: the maximum amount of candles to fetch
1319
1319
  :param dict params: extra parameters specific to the woo api endpoint
1320
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
1320
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
1321
1321
  """
1322
1322
  self.load_markets()
1323
1323
  market = self.market(symbol)
@@ -1380,7 +1380,7 @@ class woo(Exchange, ImplicitAPI):
1380
1380
  :param int|None since: the earliest time in ms to fetch trades for
1381
1381
  :param int|None limit: the maximum number of trades to retrieve
1382
1382
  :param dict params: extra parameters specific to the woo api endpoint
1383
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1383
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1384
1384
  """
1385
1385
  self.load_markets()
1386
1386
  market = None
@@ -1418,7 +1418,7 @@ class woo(Exchange, ImplicitAPI):
1418
1418
  :param int|None since: the earliest time in ms to fetch trades for
1419
1419
  :param int|None limit: the maximum number of trades structures to retrieve
1420
1420
  :param dict params: extra parameters specific to the woo api endpoint
1421
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1421
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1422
1422
  """
1423
1423
  self.load_markets()
1424
1424
  request = {}
@@ -1699,7 +1699,7 @@ class woo(Exchange, ImplicitAPI):
1699
1699
  :param int|None since: the earliest time in ms to fetch deposits for
1700
1700
  :param int|None limit: the maximum number of deposits structures to retrieve
1701
1701
  :param dict params: extra parameters specific to the woo api endpoint
1702
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1702
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1703
1703
  """
1704
1704
  request = {
1705
1705
  'token_side': 'DEPOSIT',
@@ -1713,7 +1713,7 @@ class woo(Exchange, ImplicitAPI):
1713
1713
  :param int|None since: the earliest time in ms to fetch withdrawals for
1714
1714
  :param int|None limit: the maximum number of withdrawals structures to retrieve
1715
1715
  :param dict params: extra parameters specific to the woo api endpoint
1716
- :returns [dict]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1716
+ :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1717
1717
  """
1718
1718
  request = {
1719
1719
  'token_side': 'WITHDRAW',
@@ -1830,7 +1830,7 @@ class woo(Exchange, ImplicitAPI):
1830
1830
  :param int|None since: the earliest time in ms to fetch transfers for
1831
1831
  :param int|None limit: the maximum number of transfers structures to retrieve
1832
1832
  :param dict params: extra parameters specific to the woo api endpoint
1833
- :returns [dict]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
1833
+ :returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
1834
1834
  """
1835
1835
  request = {
1836
1836
  'type': 'COLLATERAL',
ccxt/yobit.py CHANGED
@@ -350,7 +350,7 @@ class yobit(Exchange, ImplicitAPI):
350
350
  see https://yobit.net/en/api
351
351
  retrieves data on all markets for yobit
352
352
  :param dict params: extra parameters specific to the exchange api endpoint
353
- :returns [dict]: an array of objects representing market data
353
+ :returns dict[]: an array of objects representing market data
354
354
  """
355
355
  response = self.publicGetInfo(params)
356
356
  #
@@ -465,7 +465,7 @@ class yobit(Exchange, ImplicitAPI):
465
465
  """
466
466
  see https://yobit.net/en/api
467
467
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
468
- :param [str]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
468
+ :param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
469
469
  :param int|None limit: max number of entries per orderbook to return, default is None
470
470
  :param dict params: extra parameters specific to the yobit api endpoint
471
471
  :returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
@@ -539,7 +539,7 @@ class yobit(Exchange, ImplicitAPI):
539
539
  """
540
540
  see https://yobit.net/en/api
541
541
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
542
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
542
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
543
543
  :param dict params: extra parameters specific to the yobit api endpoint
544
544
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
545
545
  """
@@ -667,7 +667,7 @@ class yobit(Exchange, ImplicitAPI):
667
667
  :param int|None since: timestamp in ms of the earliest trade to fetch
668
668
  :param int|None limit: the maximum amount of trades to fetch
669
669
  :param dict params: extra parameters specific to the yobit api endpoint
670
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
670
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
671
671
  """
672
672
  self.load_markets()
673
673
  market = self.market(symbol)
@@ -981,7 +981,7 @@ class yobit(Exchange, ImplicitAPI):
981
981
  :param int|None since: the earliest time in ms to fetch open orders for
982
982
  :param int|None limit: the maximum number of open orders structures to retrieve
983
983
  :param dict params: extra parameters specific to the yobit api endpoint
984
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
984
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
985
985
  """
986
986
  if symbol is None:
987
987
  raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
@@ -1026,7 +1026,7 @@ class yobit(Exchange, ImplicitAPI):
1026
1026
  :param int|None since: the earliest time in ms to fetch trades for
1027
1027
  :param int|None limit: the maximum number of trades structures to retrieve
1028
1028
  :param dict params: extra parameters specific to the yobit api endpoint
1029
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1029
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1030
1030
  """
1031
1031
  if symbol is None:
1032
1032
  raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a `symbol` argument')
ccxt/zaif.py CHANGED
@@ -157,7 +157,7 @@ class zaif(Exchange, ImplicitAPI):
157
157
  see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id12
158
158
  retrieves data on all markets for zaif
159
159
  :param dict params: extra parameters specific to the exchange api endpoint
160
- :returns [dict]: an array of objects representing market data
160
+ :returns dict[]: an array of objects representing market data
161
161
  """
162
162
  markets = self.publicGetCurrencyPairsAll(params)
163
163
  #
@@ -407,7 +407,7 @@ class zaif(Exchange, ImplicitAPI):
407
407
  :param int|None since: timestamp in ms of the earliest trade to fetch
408
408
  :param int|None limit: the maximum amount of trades to fetch
409
409
  :param dict params: extra parameters specific to the zaif api endpoint
410
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
410
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
411
411
  """
412
412
  self.load_markets()
413
413
  market = self.market(symbol)
@@ -528,7 +528,7 @@ class zaif(Exchange, ImplicitAPI):
528
528
  :param int|None since: the earliest time in ms to fetch open orders for
529
529
  :param int|None limit: the maximum number of open orders structures to retrieve
530
530
  :param dict params: extra parameters specific to the zaif api endpoint
531
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
531
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
532
532
  """
533
533
  self.load_markets()
534
534
  market = None
@@ -550,7 +550,7 @@ class zaif(Exchange, ImplicitAPI):
550
550
  :param int|None since: the earliest time in ms to fetch orders for
551
551
  :param int|None limit: the maximum number of orde structures to retrieve
552
552
  :param dict params: extra parameters specific to the zaif api endpoint
553
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
553
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
554
554
  """
555
555
  self.load_markets()
556
556
  market = None
ccxt/zonda.py CHANGED
@@ -309,7 +309,7 @@ class zonda(Exchange, ImplicitAPI):
309
309
  see https://docs.zonda.exchange/reference/ticker-1
310
310
  retrieves data on all markets for zonda
311
311
  :param dict params: extra parameters specific to the exchange api endpoint
312
- :returns [dict]: an array of objects representing market data
312
+ :returns dict[]: an array of objects representing market data
313
313
  """
314
314
  response = self.v1_01PublicGetTradingTicker(params)
315
315
  fiatCurrencies = self.safe_value(self.options, 'fiatCurrencies', [])
@@ -410,7 +410,7 @@ class zonda(Exchange, ImplicitAPI):
410
410
  :param int|None since: the earliest time in ms to fetch open orders for
411
411
  :param int|None limit: the maximum number of open orders structures to retrieve
412
412
  :param dict params: extra parameters specific to the zonda api endpoint
413
- :returns [dict]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
413
+ :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
414
414
  """
415
415
  self.load_markets()
416
416
  request = {}
@@ -476,7 +476,7 @@ class zonda(Exchange, ImplicitAPI):
476
476
  :param int|None since: the earliest time in ms to fetch trades for
477
477
  :param int|None limit: the maximum number of trades structures to retrieve
478
478
  :param dict params: extra parameters specific to the zonda api endpoint
479
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
479
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
480
480
  """
481
481
  self.load_markets()
482
482
  request = {}
@@ -720,7 +720,7 @@ class zonda(Exchange, ImplicitAPI):
720
720
  * @ignore
721
721
  v1_01PublicGetTradingTicker retrieves timestamp, datetime, bid, ask, close, last, previousClose for each market, v1_01PublicGetTradingStats retrieves high, low, volume and opening price of each market
722
722
  see https://docs.zonda.exchange/reference/market-statistics
723
- :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
723
+ :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
724
724
  :param dict params: extra parameters specific to the zonda api endpoint
725
725
  :param str params['method']: v1_01PublicGetTradingTicker(default) or v1_01PublicGetTradingStats
726
726
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1162,7 +1162,7 @@ class zonda(Exchange, ImplicitAPI):
1162
1162
  :param int|None since: timestamp in ms of the earliest candle to fetch
1163
1163
  :param int|None limit: the maximum amount of candles to fetch
1164
1164
  :param dict params: extra parameters specific to the zonda api endpoint
1165
- :returns [[int]]: A list of candles ordered, open, high, low, close, volume
1165
+ :returns int[][]: A list of candles ordered, open, high, low, close, volume
1166
1166
  """
1167
1167
  self.load_markets()
1168
1168
  market = self.market(symbol)
@@ -1279,7 +1279,7 @@ class zonda(Exchange, ImplicitAPI):
1279
1279
  :param int|None since: timestamp in ms of the earliest trade to fetch
1280
1280
  :param int|None limit: the maximum amount of trades to fetch
1281
1281
  :param dict params: extra parameters specific to the zonda api endpoint
1282
- :returns [dict]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1282
+ :returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
1283
1283
  """
1284
1284
  self.load_markets()
1285
1285
  market = self.market(symbol)
@@ -1508,7 +1508,7 @@ class zonda(Exchange, ImplicitAPI):
1508
1508
  """
1509
1509
  see https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
1510
1510
  fetch deposit addresses for multiple currencies and chain types
1511
- :param [str]|None codes: zonda does not support filtering filtering by multiple codes and will ignore self parameter.
1511
+ :param str[]|None codes: zonda does not support filtering filtering by multiple codes and will ignore self parameter.
1512
1512
  :param dict params: extra parameters specific to the zonda api endpoint
1513
1513
  :returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
1514
1514
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 3.1.59
3
+ Version: 4.0.3
4
4
  Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
5
5
  Home-page: https://ccxt.com
6
6
  Author: Igor Kroitor
@@ -254,13 +254,13 @@ console.log(version, Object.keys(exchanges));
254
254
 
255
255
  All-in-one browser bundle (dependencies included), served from a CDN of your choice:
256
256
 
257
- * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@3.1.59/dist/ccxt.browser.js
258
- * unpkg: https://unpkg.com/ccxt@3.1.59/dist/ccxt.browser.js
257
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.0.3/dist/ccxt.browser.js
258
+ * unpkg: https://unpkg.com/ccxt@4.0.3/dist/ccxt.browser.js
259
259
 
260
260
  CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.
261
261
 
262
262
  ```HTML
263
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@3.1.59/dist/ccxt.browser.js"></script>
263
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.0.3/dist/ccxt.browser.js"></script>
264
264
  ```
265
265
 
266
266
  Creates a global `ccxt` object: