ccxt 4.2.8__tar.gz → 4.2.10__tar.gz

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 (434) hide show
  1. {ccxt-4.2.8/ccxt.egg-info → ccxt-4.2.10}/PKG-INFO +4 -4
  2. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/__init__.py +1 -1
  3. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/__init__.py +1 -1
  4. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/exchange.py +1 -1
  5. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/binance.py +5 -1
  6. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitmart.py +101 -21
  7. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bl3p.py +2 -2
  8. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/btcalpha.py +2 -2
  9. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/cryptocom.py +3 -1
  10. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/deribit.py +34 -18
  11. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/kraken.py +2 -2
  12. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/kucoin.py +1 -1
  13. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/lykke.py +2 -2
  14. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/ndax.py +2 -2
  15. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/base/exchange.py +33 -9
  16. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/binance.py +5 -1
  17. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitmart.py +101 -21
  18. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bl3p.py +2 -2
  19. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/btcalpha.py +2 -2
  20. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/cryptocom.py +3 -1
  21. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/deribit.py +34 -18
  22. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/kraken.py +2 -2
  23. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/kucoin.py +1 -1
  24. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/lykke.py +2 -2
  25. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/ndax.py +2 -2
  26. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/__init__.py +1 -1
  27. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/binance.py +13 -0
  28. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitget.py +3 -1
  29. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitmart.py +47 -15
  30. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/blockchaincom.py +3 -28
  31. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bybit.py +3 -1
  32. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/coinbasepro.py +9 -14
  33. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/cryptocom.py +104 -28
  34. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/luno.py +6 -6
  35. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/test_async.py +7 -1
  36. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/test_sync.py +7 -1
  37. {ccxt-4.2.8 → ccxt-4.2.10/ccxt.egg-info}/PKG-INFO +4 -4
  38. {ccxt-4.2.8 → ccxt-4.2.10}/package.json +1 -1
  39. {ccxt-4.2.8 → ccxt-4.2.10}/LICENSE.txt +0 -0
  40. {ccxt-4.2.8 → ccxt-4.2.10}/MANIFEST.in +0 -0
  41. {ccxt-4.2.8 → ccxt-4.2.10}/README.rst +0 -0
  42. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/__init__.py +0 -0
  43. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/ace.py +0 -0
  44. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/alpaca.py +0 -0
  45. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/ascendex.py +0 -0
  46. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bequant.py +0 -0
  47. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bigone.py +0 -0
  48. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/binance.py +0 -0
  49. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/binancecoinm.py +0 -0
  50. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/binanceus.py +0 -0
  51. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/binanceusdm.py +0 -0
  52. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bingx.py +0 -0
  53. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bit2c.py +0 -0
  54. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitbank.py +0 -0
  55. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitbay.py +0 -0
  56. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitbns.py +0 -0
  57. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitcoincom.py +0 -0
  58. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitfinex.py +0 -0
  59. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitfinex2.py +0 -0
  60. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitflyer.py +0 -0
  61. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitforex.py +0 -0
  62. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitget.py +0 -0
  63. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bithumb.py +0 -0
  64. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitmart.py +0 -0
  65. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitmex.py +0 -0
  66. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitopro.py +0 -0
  67. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitpanda.py +0 -0
  68. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitrue.py +0 -0
  69. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitso.py +0 -0
  70. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitstamp.py +0 -0
  71. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitteam.py +0 -0
  72. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bitvavo.py +0 -0
  73. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bl3p.py +0 -0
  74. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/blockchaincom.py +0 -0
  75. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/btcalpha.py +0 -0
  76. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/btcbox.py +0 -0
  77. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/btcmarkets.py +0 -0
  78. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/btcturk.py +0 -0
  79. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/bybit.py +0 -0
  80. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/cex.py +0 -0
  81. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinbase.py +0 -0
  82. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinbasepro.py +0 -0
  83. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coincheck.py +0 -0
  84. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinex.py +0 -0
  85. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinlist.py +0 -0
  86. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinmate.py +0 -0
  87. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinone.py +0 -0
  88. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinsph.py +0 -0
  89. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/coinspot.py +0 -0
  90. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/cryptocom.py +0 -0
  91. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/currencycom.py +0 -0
  92. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/delta.py +0 -0
  93. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/deribit.py +0 -0
  94. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/digifinex.py +0 -0
  95. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/exmo.py +0 -0
  96. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/fmfwio.py +0 -0
  97. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/gate.py +0 -0
  98. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/gateio.py +0 -0
  99. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/gemini.py +0 -0
  100. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/hitbtc.py +0 -0
  101. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/hitbtc3.py +0 -0
  102. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/hollaex.py +0 -0
  103. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/htx.py +0 -0
  104. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/huobi.py +0 -0
  105. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/huobijp.py +0 -0
  106. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/idex.py +0 -0
  107. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/independentreserve.py +0 -0
  108. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/indodax.py +0 -0
  109. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/kraken.py +0 -0
  110. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/krakenfutures.py +0 -0
  111. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/kucoin.py +0 -0
  112. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/kucoinfutures.py +0 -0
  113. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/kuna.py +0 -0
  114. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/latoken.py +0 -0
  115. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/lbank.py +0 -0
  116. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/luno.py +0 -0
  117. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/lykke.py +0 -0
  118. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/mercado.py +0 -0
  119. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/mexc.py +0 -0
  120. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/ndax.py +0 -0
  121. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/novadax.py +0 -0
  122. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/oceanex.py +0 -0
  123. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/okcoin.py +0 -0
  124. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/okx.py +0 -0
  125. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/p2b.py +0 -0
  126. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/paymium.py +0 -0
  127. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/phemex.py +0 -0
  128. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/poloniex.py +0 -0
  129. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/poloniexfutures.py +0 -0
  130. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/probit.py +0 -0
  131. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/timex.py +0 -0
  132. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/tokocrypto.py +0 -0
  133. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/upbit.py +0 -0
  134. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/wavesexchange.py +0 -0
  135. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/wazirx.py +0 -0
  136. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/whitebit.py +0 -0
  137. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/woo.py +0 -0
  138. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/yobit.py +0 -0
  139. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/zaif.py +0 -0
  140. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/abstract/zonda.py +0 -0
  141. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/ace.py +0 -0
  142. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/alpaca.py +0 -0
  143. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/ascendex.py +0 -0
  144. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/ace.py +0 -0
  145. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/alpaca.py +0 -0
  146. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/ascendex.py +0 -0
  147. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/__init__.py +0 -0
  148. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/throttler.py +0 -0
  149. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/__init__.py +0 -0
  150. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
  151. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/cache.py +0 -0
  152. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/client.py +0 -0
  153. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/fast_client.py +0 -0
  154. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/functions.py +0 -0
  155. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/future.py +0 -0
  156. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/order_book.py +0 -0
  157. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/base/ws/order_book_side.py +0 -0
  158. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bequant.py +0 -0
  159. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bigone.py +0 -0
  160. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/binancecoinm.py +0 -0
  161. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/binanceus.py +0 -0
  162. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/binanceusdm.py +0 -0
  163. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bingx.py +0 -0
  164. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bit2c.py +0 -0
  165. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitbank.py +0 -0
  166. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitbay.py +0 -0
  167. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitbns.py +0 -0
  168. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitcoincom.py +0 -0
  169. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitfinex.py +0 -0
  170. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitfinex2.py +0 -0
  171. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitflyer.py +0 -0
  172. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitforex.py +0 -0
  173. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitget.py +0 -0
  174. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bithumb.py +0 -0
  175. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitmex.py +0 -0
  176. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitopro.py +0 -0
  177. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitpanda.py +0 -0
  178. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitrue.py +0 -0
  179. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitso.py +0 -0
  180. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitstamp.py +0 -0
  181. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitteam.py +0 -0
  182. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bitvavo.py +0 -0
  183. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/blockchaincom.py +0 -0
  184. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/btcbox.py +0 -0
  185. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/btcmarkets.py +0 -0
  186. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/btcturk.py +0 -0
  187. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/bybit.py +0 -0
  188. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/cex.py +0 -0
  189. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinbase.py +0 -0
  190. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinbasepro.py +0 -0
  191. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coincheck.py +0 -0
  192. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinex.py +0 -0
  193. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinlist.py +0 -0
  194. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinmate.py +0 -0
  195. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinone.py +0 -0
  196. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinsph.py +0 -0
  197. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/coinspot.py +0 -0
  198. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/currencycom.py +0 -0
  199. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/delta.py +0 -0
  200. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/digifinex.py +0 -0
  201. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/exmo.py +0 -0
  202. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/flowbtc.py +0 -0
  203. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/fmfwio.py +0 -0
  204. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/gate.py +0 -0
  205. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/gateio.py +0 -0
  206. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/gemini.py +0 -0
  207. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/hitbtc.py +0 -0
  208. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/hitbtc3.py +0 -0
  209. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/hollaex.py +0 -0
  210. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/htx.py +0 -0
  211. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/huobi.py +0 -0
  212. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/huobijp.py +0 -0
  213. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/idex.py +0 -0
  214. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/independentreserve.py +0 -0
  215. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/indodax.py +0 -0
  216. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/krakenfutures.py +0 -0
  217. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/kucoinfutures.py +0 -0
  218. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/kuna.py +0 -0
  219. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/latoken.py +0 -0
  220. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/lbank.py +0 -0
  221. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/luno.py +0 -0
  222. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/mercado.py +0 -0
  223. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/mexc.py +0 -0
  224. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/novadax.py +0 -0
  225. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/oceanex.py +0 -0
  226. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/okcoin.py +0 -0
  227. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/okx.py +0 -0
  228. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/p2b.py +0 -0
  229. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/paymium.py +0 -0
  230. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/phemex.py +0 -0
  231. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/poloniex.py +0 -0
  232. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/poloniexfutures.py +0 -0
  233. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/probit.py +0 -0
  234. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/timex.py +0 -0
  235. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/tokocrypto.py +0 -0
  236. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/upbit.py +0 -0
  237. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/wavesexchange.py +0 -0
  238. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/wazirx.py +0 -0
  239. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/whitebit.py +0 -0
  240. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/woo.py +0 -0
  241. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/yobit.py +0 -0
  242. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/zaif.py +0 -0
  243. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/async_support/zonda.py +0 -0
  244. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/base/__init__.py +0 -0
  245. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/base/decimal_to_precision.py +0 -0
  246. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/base/errors.py +0 -0
  247. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/base/precise.py +0 -0
  248. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/base/types.py +0 -0
  249. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bequant.py +0 -0
  250. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bigone.py +0 -0
  251. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/binancecoinm.py +0 -0
  252. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/binanceus.py +0 -0
  253. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/binanceusdm.py +0 -0
  254. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bingx.py +0 -0
  255. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bit2c.py +0 -0
  256. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitbank.py +0 -0
  257. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitbay.py +0 -0
  258. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitbns.py +0 -0
  259. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitcoincom.py +0 -0
  260. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitfinex.py +0 -0
  261. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitfinex2.py +0 -0
  262. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitflyer.py +0 -0
  263. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitforex.py +0 -0
  264. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitget.py +0 -0
  265. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bithumb.py +0 -0
  266. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitmex.py +0 -0
  267. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitopro.py +0 -0
  268. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitpanda.py +0 -0
  269. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitrue.py +0 -0
  270. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitso.py +0 -0
  271. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitstamp.py +0 -0
  272. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitteam.py +0 -0
  273. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bitvavo.py +0 -0
  274. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/blockchaincom.py +0 -0
  275. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/btcbox.py +0 -0
  276. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/btcmarkets.py +0 -0
  277. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/btcturk.py +0 -0
  278. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/bybit.py +0 -0
  279. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/cex.py +0 -0
  280. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinbase.py +0 -0
  281. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinbasepro.py +0 -0
  282. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coincheck.py +0 -0
  283. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinex.py +0 -0
  284. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinlist.py +0 -0
  285. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinmate.py +0 -0
  286. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinone.py +0 -0
  287. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinsph.py +0 -0
  288. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/coinspot.py +0 -0
  289. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/currencycom.py +0 -0
  290. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/delta.py +0 -0
  291. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/digifinex.py +0 -0
  292. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/exmo.py +0 -0
  293. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/flowbtc.py +0 -0
  294. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/fmfwio.py +0 -0
  295. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/gate.py +0 -0
  296. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/gateio.py +0 -0
  297. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/gemini.py +0 -0
  298. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/hitbtc.py +0 -0
  299. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/hitbtc3.py +0 -0
  300. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/hollaex.py +0 -0
  301. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/htx.py +0 -0
  302. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/huobi.py +0 -0
  303. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/huobijp.py +0 -0
  304. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/idex.py +0 -0
  305. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/independentreserve.py +0 -0
  306. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/indodax.py +0 -0
  307. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/krakenfutures.py +0 -0
  308. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/kucoinfutures.py +0 -0
  309. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/kuna.py +0 -0
  310. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/latoken.py +0 -0
  311. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/lbank.py +0 -0
  312. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/luno.py +0 -0
  313. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/mercado.py +0 -0
  314. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/mexc.py +0 -0
  315. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/novadax.py +0 -0
  316. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/oceanex.py +0 -0
  317. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/okcoin.py +0 -0
  318. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/okx.py +0 -0
  319. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/p2b.py +0 -0
  320. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/paymium.py +0 -0
  321. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/phemex.py +0 -0
  322. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/poloniex.py +0 -0
  323. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/poloniexfutures.py +0 -0
  324. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/alpaca.py +0 -0
  325. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/ascendex.py +0 -0
  326. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bequant.py +0 -0
  327. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/binancecoinm.py +0 -0
  328. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/binanceus.py +0 -0
  329. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/binanceusdm.py +0 -0
  330. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bingx.py +0 -0
  331. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitcoincom.py +0 -0
  332. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitfinex.py +0 -0
  333. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitfinex2.py +0 -0
  334. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitmex.py +0 -0
  335. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitopro.py +0 -0
  336. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitpanda.py +0 -0
  337. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitrue.py +0 -0
  338. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitstamp.py +0 -0
  339. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/bitvavo.py +0 -0
  340. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/cex.py +0 -0
  341. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/coinbase.py +0 -0
  342. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/coinex.py +0 -0
  343. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/currencycom.py +0 -0
  344. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/deribit.py +0 -0
  345. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/exmo.py +0 -0
  346. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/gate.py +0 -0
  347. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/gateio.py +0 -0
  348. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/gemini.py +0 -0
  349. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/hitbtc.py +0 -0
  350. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/hollaex.py +0 -0
  351. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/htx.py +0 -0
  352. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/huobi.py +0 -0
  353. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/huobijp.py +0 -0
  354. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/idex.py +0 -0
  355. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/independentreserve.py +0 -0
  356. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/kraken.py +0 -0
  357. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/krakenfutures.py +0 -0
  358. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/kucoin.py +0 -0
  359. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/kucoinfutures.py +0 -0
  360. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/mexc.py +0 -0
  361. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/ndax.py +0 -0
  362. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/okcoin.py +0 -0
  363. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/okx.py +0 -0
  364. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/phemex.py +0 -0
  365. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/poloniex.py +0 -0
  366. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/poloniexfutures.py +0 -0
  367. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/probit.py +0 -0
  368. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/upbit.py +0 -0
  369. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/wazirx.py +0 -0
  370. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/whitebit.py +0 -0
  371. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/pro/woo.py +0 -0
  372. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/probit.py +0 -0
  373. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/__init__.py +0 -0
  374. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  375. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  376. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  377. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/der.py +0 -0
  378. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  379. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  380. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  381. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  382. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  383. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/util.py +0 -0
  384. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/keccak/__init__.py +0 -0
  385. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/static_dependencies/keccak/keccak.py +0 -0
  386. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/__init__.py +0 -0
  387. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/__init__.py +0 -0
  388. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_account.py +0 -0
  389. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_balance.py +0 -0
  390. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_borrow_interest.py +0 -0
  391. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_borrow_rate.py +0 -0
  392. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_calculate_fee.py +0 -0
  393. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_crypto.py +0 -0
  394. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_currency.py +0 -0
  395. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_datetime.py +0 -0
  396. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_decimal_to_precision.py +0 -0
  397. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_deep_extend.py +0 -0
  398. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
  399. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
  400. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_funding_rate_history.py +0 -0
  401. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_ledger_entry.py +0 -0
  402. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_ledger_item.py +0 -0
  403. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_leverage_tier.py +0 -0
  404. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_margin_modification.py +0 -0
  405. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_market.py +0 -0
  406. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_number.py +0 -0
  407. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_ohlcv.py +0 -0
  408. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_open_interest.py +0 -0
  409. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_order.py +0 -0
  410. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_order_book.py +0 -0
  411. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_position.py +0 -0
  412. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_shared_methods.py +0 -0
  413. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_status.py +0 -0
  414. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_throttle.py +0 -0
  415. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_ticker.py +0 -0
  416. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_trade.py +0 -0
  417. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_trading_fee.py +0 -0
  418. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/test/base/test_transaction.py +0 -0
  419. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/timex.py +0 -0
  420. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/tokocrypto.py +0 -0
  421. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/upbit.py +0 -0
  422. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/wavesexchange.py +0 -0
  423. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/wazirx.py +0 -0
  424. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/whitebit.py +0 -0
  425. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/woo.py +0 -0
  426. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/yobit.py +0 -0
  427. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/zaif.py +0 -0
  428. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt/zonda.py +0 -0
  429. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt.egg-info/SOURCES.txt +0 -0
  430. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt.egg-info/dependency_links.txt +0 -0
  431. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt.egg-info/requires.txt +0 -0
  432. {ccxt-4.2.8 → ccxt-4.2.10}/ccxt.egg-info/top_level.txt +0 -0
  433. {ccxt-4.2.8 → ccxt-4.2.10}/setup.cfg +0 -0
  434. {ccxt-4.2.8 → ccxt-4.2.10}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.2.8
3
+ Version: 4.2.10
4
4
  Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges
5
5
  Home-page: https://ccxt.com
6
6
  Author: Igor Kroitor
@@ -222,13 +222,13 @@ Description: # CCXT – CryptoCurrency eXchange Trading Library
222
222
 
223
223
  All-in-one browser bundle (dependencies included), served from a CDN of your choice:
224
224
 
225
- * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.8/dist/ccxt.browser.js
226
- * unpkg: https://unpkg.com/ccxt@4.2.8/dist/ccxt.browser.js
225
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.10/dist/ccxt.browser.js
226
+ * unpkg: https://unpkg.com/ccxt@4.2.10/dist/ccxt.browser.js
227
227
 
228
228
  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.
229
229
 
230
230
  ```HTML
231
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.8/dist/ccxt.browser.js"></script>
231
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.10/dist/ccxt.browser.js"></script>
232
232
  ```
233
233
 
234
234
  Creates a global `ccxt` object:
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '4.2.8'
25
+ __version__ = '4.2.10'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.8'
7
+ __version__ = '4.2.10'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.2.8'
5
+ __version__ = '4.2.10'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -3046,7 +3046,11 @@ class binance(Exchange, ImplicitAPI):
3046
3046
  elif self.is_inverse(type, subType):
3047
3047
  response = await self.dapiPublicGetTickerBookTicker(params)
3048
3048
  else:
3049
- response = await self.publicGetTickerBookTicker(params)
3049
+ request = {}
3050
+ if symbols is not None:
3051
+ marketIds = self.market_ids(symbols)
3052
+ request['symbols'] = self.json(marketIds)
3053
+ response = await self.publicGetTickerBookTicker(self.extend(request, params))
3050
3054
  return self.parse_tickers(response, symbols)
3051
3055
 
3052
3056
  async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
@@ -21,6 +21,7 @@ from ccxt.base.errors import OrderNotFound
21
21
  from ccxt.base.errors import NotSupported
22
22
  from ccxt.base.errors import RateLimitExceeded
23
23
  from ccxt.base.errors import ExchangeNotAvailable
24
+ from ccxt.base.errors import OnMaintenance
24
25
  from ccxt.base.errors import InvalidNonce
25
26
  from ccxt.base.errors import AuthenticationError
26
27
  from ccxt.base.decimal_to_precision import TRUNCATE
@@ -323,7 +324,11 @@ class bitmart(Exchange, ImplicitAPI):
323
324
  '30012': AuthenticationError, # 403, Header X-BM-KEY is forbidden to request it
324
325
  '30013': RateLimitExceeded, # 429, Request too many requests
325
326
  '30014': ExchangeNotAvailable, # 503, Service unavailable
326
- # funding account errors
327
+ '30016': OnMaintenance, # 200, Service maintenance, the function is temporarily unavailable
328
+ '30017': RateLimitExceeded, # 418, Your account request is temporarily rejected due to violation of current limiting rules
329
+ '30018': BadRequest, # 503, Request Body requires JSON format
330
+ '30019': PermissionDenied, # 200, You do not have the permissions to perform self operation
331
+ # funding account & sub account errors
327
332
  '60000': BadRequest, # 400, Invalid request(maybe the body is empty, or the int parameter passes string data)
328
333
  '60001': BadRequest, # 400, Asset account type does not exist
329
334
  '60002': BadRequest, # 400, currency does not exist
@@ -340,13 +345,31 @@ class bitmart(Exchange, ImplicitAPI):
340
345
  '60020': PermissionDenied, # 403, Your account is not allowed to recharge
341
346
  '60021': PermissionDenied, # 403, Your account is not allowed to withdraw
342
347
  '60022': PermissionDenied, # 403, No withdrawals for 24 hours
348
+ '60026': PermissionDenied, # 403, Sub-account does not have permission to operate
349
+ '60027': PermissionDenied, # 403, Only supports sub-account calls
350
+ '60028': AccountSuspended, # 403, Account is disabled for security reasons, please contact customer service
351
+ '60029': AccountSuspended, # 403, The account is frozen by the master account, please contact the master account to unfreeze the account
343
352
  '60030': BadRequest, # 405, Method Not Allowed
344
353
  '60031': BadRequest, # 415, Unsupported Media Type
345
354
  '60050': ExchangeError, # 500, User account not found
346
355
  '60051': ExchangeError, # 500, Internal Server Error
347
356
  '61001': InsufficientFunds, # {"message":"Balance not enough","code":61001,"trace":"b85ea1f8-b9af-4001-ac5f-9e061fe93d78","data":{}}
348
- '61003': BadRequest, # {"message":"sub-account not found","code":61003,"trace":"b35ec2fd-0bc9-4ef2-a3c0-6f78d4f335a4","data":{}}
349
- # spot errors
357
+ '61003': BadRequest, # 400, {"message":"sub-account not found","code":61003,"trace":"b35ec2fd-0bc9-4ef2-a3c0-6f78d4f335a4","data":{}}
358
+ '61004': BadRequest, # 400, Duplicate requests(such an existing requestNo)
359
+ '61005': BadRequest, # 403, Asset transfer between accounts is not available
360
+ '61006': NotSupported, # 403, The sub-account api only supports organization accounts
361
+ '61007': ExchangeError, # 403, Please complete your institution verification to enable withdrawal function.
362
+ '61008': ExchangeError, # 403, Suspend transfer out
363
+ # spot public errors
364
+ '70000': ExchangeError, # 200, no data
365
+ '70001': BadRequest, # 200, request param can not be null
366
+ '70002': BadSymbol, # 200, symbol is invalid
367
+ '71001': BadRequest, # 200, after is invalid
368
+ '71002': BadRequest, # 200, before is invalid
369
+ '71003': BadRequest, # 200, request after or before is invalid
370
+ '71004': BadRequest, # 200, request kline count limit
371
+ '71005': BadRequest, # 200, request step error
372
+ # spot & margin errors
350
373
  '50000': BadRequest, # 400, Bad Request
351
374
  '50001': BadSymbol, # 400, Symbol not found
352
375
  '50002': BadRequest, # 400, From Or To format error
@@ -366,26 +389,75 @@ class bitmart(Exchange, ImplicitAPI):
366
389
  '50016': BadRequest, # 400, Maximum limit is %d
367
390
  '50017': BadRequest, # 400, RequestParam offset is required
368
391
  '50018': BadRequest, # 400, Minimum offset is 1
369
- '50019': BadRequest, # 400, Maximum price is %s
370
- '51004': InsufficientFunds, # {"message":"Exceed the maximum number of borrows available.","code":51004,"trace":"4030b753-9beb-44e6-8352-1633c5edcd47","data":{}}
371
- # '50019': ExchangeError, # 400, Invalid status. validate status is [1=Failed, 2=Success, 3=Frozen Failed, 4=Frozen Success, 5=Partially Filled, 6=Fully Fulled, 7=Canceling, 8=Canceled
392
+ '50019': ExchangeError, # 400, Invalid status. validate status is [1=Failed, 2=Success, 3=Frozen Failed, 4=Frozen Success, 5=Partially Filled, 6=Fully Fulled, 7=Canceling, 8=Canceled] '50020': InsufficientFunds, # 400, Balance not enough
372
393
  '50020': InsufficientFunds, # 400, Balance not enough
373
394
  '50021': BadRequest, # 400, Invalid %s
374
395
  '50022': ExchangeNotAvailable, # 400, Service unavailable
375
396
  '50023': BadSymbol, # 400, This Symbol can't place order by api
376
- '50029': InvalidOrder, # {"message":"param not match : size * price >=1000","code":50029,"trace":"f931f030-b692-401b-a0c5-65edbeadc598","data":{}}
377
- '50030': InvalidOrder, # {"message":"Order is already canceled","code":50030,"trace":"8d6f64ee-ad26-45a4-9efd-1080f9fca1fa","data":{}}
378
- '50032': OrderNotFound, # {"message":"Order does not exist","code":50032,"trace":"8d6b482d-4bf2-4e6c-aab2-9dcd22bf2481","data":{}}
397
+ '50024': BadRequest, # 400, Order book size over 200
398
+ '50025': BadRequest, # 400, Maximum price is %s
399
+ '50026': BadRequest, # 400, The buy order price cannot be higher than the open price
400
+ '50027': BadRequest, # 400, The sell order price cannot be lower than the open price
401
+ '50028': BadRequest, # 400, Missing parameters
402
+ '50029': InvalidOrder, # 400, {"message":"param not match : size * price >=1000","code":50029,"trace":"f931f030-b692-401b-a0c5-65edbeadc598","data":{}}
403
+ '50030': OrderNotFound, # 400, {"message":"Order is already canceled","code":50030,"trace":"8d6f64ee-ad26-45a4-9efd-1080f9fca1fa","data":{}}
404
+ '50031': OrderNotFound, # 400, Order is already completed
405
+ '50032': OrderNotFound, # 400, {"message":"Order does not exist","code":50032,"trace":"8d6b482d-4bf2-4e6c-aab2-9dcd22bf2481","data":{}}
406
+ '50033': InvalidOrder, # 400, The order quantity should be greater than 0 and less than or equal to 10
379
407
  # below Error codes used interchangeably for both failed postOnly and IOC orders depending on market price and order side
380
- '50035': InvalidOrder, # {"message":"The price is low and there is no matching depth","code":50035,"trace":"677f01c7-8b88-4346-b097-b4226c75c90e","data":{}}
381
- '50034': InvalidOrder, # {"message":"The price is high and there is no matching depth","code":50034,"trace":"ebfae59a-ba69-4735-86b2-0ed7b9ca14ea","data":{}}
382
- '51011': InvalidOrder, # {"message":"param not match : size * price >=5","code":51011,"trace":"525e1d27bfd34d60b2d90ba13a7c0aa9.74.16696421352220797","data":{}}
408
+ '50034': InvalidOrder, # 400, {"message":"The price is high and there is no matching depth","code":50034,"trace":"ebfae59a-ba69-4735-86b2-0ed7b9ca14ea","data":{}}
409
+ '50035': InvalidOrder, # 400, {"message":"The price is low and there is no matching depth","code":50035,"trace":"677f01c7-8b88-4346-b097-b4226c75c90e","data":{}}
410
+ '50036': ExchangeError, # 400, Cancel failed, order is not revocable status
411
+ '50037': BadRequest, # 400, The maximum length of clientOrderId cannot exceed 32
412
+ '50038': BadRequest, # 400, ClientOrderId only allows a combination of numbers and letters
413
+ '50039': BadRequest, # 400, Order_id and clientOrderId cannot be empty at the same time
414
+ '50040': BadSymbol, # 400, Symbol Not Available
415
+ '50041': ExchangeError, # 400, Out of query time range
416
+ '50042': BadRequest, # 400, clientOrderId is duplicate
417
+ '51000': BadSymbol, # 400, Currency not found
418
+ '51001': ExchangeError, # 400, Margin Account not Opened
419
+ '51002': ExchangeError, # 400, Margin Account Not Available
420
+ '51003': ExchangeError, # 400, Account Limit
421
+ '51004': InsufficientFunds, # 400, {"message":"Exceed the maximum number of borrows available.","code":51004,"trace":"4030b753-9beb-44e6-8352-1633c5edcd47","data":{}}
422
+ '51005': InvalidOrder, # 400, Less than the minimum borrowable amount
423
+ '51006': InvalidOrder, # 400, Exceeds the amount to be repaid
424
+ '51007': BadRequest, # 400, order_mode not found
425
+ '51008': ExchangeError, # 400, Operation is limited, please try again later
426
+ '51009': InvalidOrder, # 400, Parameter mismatch: limit order/market order quantity should be greater than the minimum number of should buy/sell
427
+ '51010': InvalidOrder, # 400, Parameter mismatch: limit order price should be greater than the minimum buy price
428
+ '51011': InvalidOrder, # 400, {"message":"param not match : size * price >=5","code":51011,"trace":"525e1d27bfd34d60b2d90ba13a7c0aa9.74.16696421352220797","data":{}}
429
+ '51012': InvalidOrder, # 400, Parameter mismatch: limit order price should be greater than the minimum buy price
430
+ '51013': InvalidOrder, # 400, Parameter mismatch: Limit order quantity * price should be greater than the minimum transaction amount
431
+ '51014': InvalidOrder, # 400, Participation mismatch: the number of market order buy orders should be greater than the minimum buyable amount
432
+ '51015': InvalidOrder, # 400, Parameter mismatch: the price of market order buy order placed is too small
433
+ '52000': BadRequest, # 400, Unsupported OrderMode Type
434
+ '52001': BadRequest, # 400, Unsupported Trade Type
435
+ '52002': BadRequest, # 400, Unsupported Side Type
436
+ '52003': BadRequest, # 400, Unsupported Query State Type
437
+ '52004': BadRequest, # 400, End time must be greater than or equal to Start time
383
438
  '53000': AccountSuspended, # 403, Your account is frozen due to security policies. Please contact customer service
384
- '53001': AccountSuspended, # {"message":"Your kyc country is restricted. Please contact customer service.","code":53001,"trace":"8b445940-c123-4de9-86d7-73c5be2e7a24","data":{}}
439
+ '53001': AccountSuspended, # 403, {"message":"Your kyc country is restricted. Please contact customer service.","code":53001,"trace":"8b445940-c123-4de9-86d7-73c5be2e7a24","data":{}}
440
+ '53002': PermissionDenied, # 403, Your account has not yet completed the kyc advanced certification, please complete first
441
+ '53003': PermissionDenied, # 403 No permission, please contact the main account
442
+ '53005': PermissionDenied, # 403 Don't have permission to access the interface
443
+ '53006': PermissionDenied, # 403 Please complete your personal verification(Starter)
444
+ '53007': PermissionDenied, # 403 Please complete your personal verification(Advanced)
445
+ '53008': PermissionDenied, # 403 Services is not available in your countries and areas
446
+ '53009': PermissionDenied, # 403 Your account has not yet completed the qr code certification, please complete first
447
+ '53010': PermissionDenied, # 403 This account is restricted from borrowing
385
448
  '57001': BadRequest, # 405, Method Not Allowed
386
449
  '58001': BadRequest, # 415, Unsupported Media Type
387
450
  '59001': ExchangeError, # 500, User account not found
388
451
  '59002': ExchangeError, # 500, Internal Server Error
452
+ '59003': ExchangeError, # 500, Spot wallet call fail
453
+ '59004': ExchangeError, # 500, Margin wallet service call exception
454
+ '59005': PermissionDenied, # 500, Margin wallet service restricted
455
+ '59006': ExchangeError, # 500, Transfer fail
456
+ '59007': ExchangeError, # 500, Get symbol risk data fail
457
+ '59008': ExchangeError, # 500, Trading order failure
458
+ '59009': ExchangeError, # 500, Loan success,but trading order failure
459
+ '59010': InsufficientFunds, # 500, Insufficient loan amount.
460
+ '59011': ExchangeError, # 500, The Get Wallet Balance service call fail, please try again later
389
461
  # contract errors
390
462
  '40001': ExchangeError, # 400, Cloud account not found
391
463
  '40002': ExchangeError, # 400, out_trade_no not found
@@ -421,14 +493,22 @@ class bitmart(Exchange, ImplicitAPI):
421
493
  '40032': InvalidOrder, # 400, The plan order's life cycle is too long.
422
494
  '40033': InvalidOrder, # 400, The plan order's life cycle is too short.
423
495
  '40034': BadSymbol, # 400, This contract is not found
424
- '53002': PermissionDenied, # 403, Your account has not yet completed the kyc advanced certification, please complete first
425
- '53003': PermissionDenied, # 403 No permission, please contact the main account
426
- '53005': PermissionDenied, # 403 Don't have permission to access the interface
427
- '53006': PermissionDenied, # 403 Please complete your personal verification(Starter)
428
- '53007': PermissionDenied, # 403 Please complete your personal verification(Advanced)
429
- '53008': PermissionDenied, # 403 Services is not available in your countries and areas
430
- '53009': PermissionDenied, # 403 Your account has not yet completed the qr code certification, please complete first
431
- '53010': PermissionDenied, # 403 This account is restricted from borrowing
496
+ '40035': OrderNotFound, # 400, The order is not exist
497
+ '40036': InvalidOrder, # 400, The order status is invalid
498
+ '40037': OrderNotFound, # 400, The order id is not exist
499
+ '40038': BadRequest, # 400, The k-line step is invalid
500
+ '40039': BadRequest, # 400, The timestamp is invalid
501
+ '40040': InvalidOrder, # 400, The order leverage is invalid
502
+ '40041': InvalidOrder, # 400, The order side is invalid
503
+ '40042': InvalidOrder, # 400, The order type is invalid
504
+ '40043': InvalidOrder, # 400, The order precision is invalid
505
+ '40044': InvalidOrder, # 400, The order range is invalid
506
+ '40045': InvalidOrder, # 400, The order open type is invalid
507
+ '40046': PermissionDenied, # 403, The account is not opened futures
508
+ '40047': PermissionDenied, # 403, Services is not available in you countries and areas
509
+ '40048': BadRequest, # 403, ClientOrderId only allows a combination of numbers and letters
510
+ '40049': BadRequest, # 403, The maximum length of clientOrderId cannot exceed 32
511
+ '40050': InvalidOrder, # 403, Client OrderId duplicated with existing orders
432
512
  },
433
513
  'broad': {},
434
514
  },
@@ -6,7 +6,7 @@
6
6
  from ccxt.async_support.base.exchange import Exchange
7
7
  from ccxt.abstract.bl3p import ImplicitAPI
8
8
  import hashlib
9
- from ccxt.base.types import Balances, Int, Market, OrderBook, OrderSide, OrderType, Str, Ticker, Trade
9
+ from ccxt.base.types import Balances, Int, Market, OrderBook, OrderSide, OrderType, IndexType, Str, Ticker, Trade
10
10
  from typing import List
11
11
  from ccxt.base.decimal_to_precision import TICK_SIZE
12
12
  from ccxt.base.precise import Precise
@@ -145,7 +145,7 @@ class bl3p(Exchange, ImplicitAPI):
145
145
  response = await self.privatePostGENMKTMoneyInfo(params)
146
146
  return self.parse_balance(response)
147
147
 
148
- def parse_bid_ask(self, bidask, priceKey=0, amountKey=1):
148
+ def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
149
149
  price = self.safe_string(bidask, priceKey)
150
150
  size = self.safe_string(bidask, amountKey)
151
151
  return [
@@ -6,7 +6,7 @@
6
6
  from ccxt.async_support.base.exchange import Exchange
7
7
  from ccxt.abstract.btcalpha import ImplicitAPI
8
8
  import hashlib
9
- from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction
9
+ from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Strings, Ticker, Tickers, Trade, Transaction
10
10
  from typing import List
11
11
  from ccxt.base.errors import ExchangeError
12
12
  from ccxt.base.errors import InsufficientFunds
@@ -356,7 +356,7 @@ class btcalpha(Exchange, ImplicitAPI):
356
356
  response = await self.publicGetOrderbookPairName(self.extend(request, params))
357
357
  return self.parse_order_book(response, market['symbol'], None, 'buy', 'sell', 'price', 'amount')
358
358
 
359
- def parse_bids_asks(self, bidasks, priceKey=0, amountKey=1):
359
+ def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
360
360
  result = []
361
361
  for i in range(0, len(bidasks)):
362
362
  bidask = bidasks[i]
@@ -757,6 +757,7 @@ class cryptocom(Exchange, ImplicitAPI):
757
757
  # "p": "26386.00",
758
758
  # "q": "0.00453",
759
759
  # "t": 1686944282062,
760
+ # "tn" : 1704476468851524373,
760
761
  # "d": "4611686018455979970",
761
762
  # "i": "BTC_USD"
762
763
  # },
@@ -1793,7 +1794,8 @@ class cryptocom(Exchange, ImplicitAPI):
1793
1794
  # "s": "sell",
1794
1795
  # "p": "26386.00",
1795
1796
  # "q": "0.00453",
1796
- # "t": 1686944282062,
1797
+ # "tn": 1686944282062,
1798
+ # "tn": 1704476468851524373,
1797
1799
  # "d": "4611686018455979970",
1798
1800
  # "i": "BTC_USD"
1799
1801
  # }
@@ -1665,24 +1665,18 @@ class deribit(Exchange, ImplicitAPI):
1665
1665
  :param str symbol: unified symbol of the market to create an order in
1666
1666
  :param str type: 'market' or 'limit'
1667
1667
  :param str side: 'buy' or 'sell'
1668
- :param float amount: how much of currency you want to trade. For perpetual and futures the amount is in USD. For options it is in corresponding cryptocurrency contracts currency.
1668
+ :param float amount: how much you want to trade in units of the base currency. For inverse perpetual and futures the amount is in the quote currency USD. For options it is in the underlying assets base currency.
1669
1669
  :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1670
1670
  :param dict [params]: extra parameters specific to the exchange API endpoint
1671
+ :param str [params.trigger]: the trigger type 'index_price', 'mark_price', or 'last_price', default is 'last_price'
1672
+ :param float [params.trailingAmount]: the quote amount to trail away from the current market price
1671
1673
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1672
1674
  """
1673
1675
  await self.load_markets()
1674
1676
  market = self.market(symbol)
1675
- if market['inverse']:
1676
- amount = self.amount_to_precision(symbol, amount)
1677
- elif market['settle'] == 'USDC':
1678
- amount = self.amount_to_precision(symbol, amount)
1679
- else:
1680
- amount = self.currency_to_precision(symbol, amount)
1681
1677
  request = {
1682
1678
  'instrument_name': market['id'],
1683
- # for perpetual and futures the amount is in USD
1684
- # for options it is in corresponding cryptocurrency contracts, e.g., BTC or ETH
1685
- 'amount': amount,
1679
+ 'amount': self.amount_to_precision(symbol, amount),
1686
1680
  'type': type, # limit, stop_limit, market, stop_market, default is limit
1687
1681
  # 'label': 'string', # user-defined label for the order(maximum 64 characters)
1688
1682
  # 'price': self.price_to_precision(symbol, 123.45), # only for limit and stop_limit orders
@@ -1695,12 +1689,15 @@ class deribit(Exchange, ImplicitAPI):
1695
1689
  # 'trigger': 'index_price', # mark_price, last_price, required for stop_limit orders
1696
1690
  # 'advanced': 'usd', # 'implv', advanced option order type, options only
1697
1691
  }
1692
+ trigger = self.safe_string(params, 'trigger', 'last_price')
1698
1693
  timeInForce = self.safe_string_upper(params, 'timeInForce')
1699
1694
  reduceOnly = self.safe_value_2(params, 'reduceOnly', 'reduce_only')
1700
1695
  # only stop loss sell orders are allowed when price crossed from above
1701
1696
  stopLossPrice = self.safe_value(params, 'stopLossPrice')
1702
1697
  # only take profit buy orders are allowed when price crossed from below
1703
1698
  takeProfitPrice = self.safe_value(params, 'takeProfitPrice')
1699
+ trailingAmount = self.safe_string_2(params, 'trailingAmount', 'trigger_offset')
1700
+ isTrailingAmountOrder = trailingAmount is not None
1704
1701
  isStopLimit = type == 'stop_limit'
1705
1702
  isStopMarket = type == 'stop_market'
1706
1703
  isTakeLimit = type == 'take_limit'
@@ -1719,10 +1716,14 @@ class deribit(Exchange, ImplicitAPI):
1719
1716
  request['price'] = self.price_to_precision(symbol, price)
1720
1717
  else:
1721
1718
  request['type'] = 'market'
1722
- if isStopOrder:
1719
+ if isTrailingAmountOrder:
1720
+ request['trigger'] = trigger
1721
+ request['type'] = 'trailing_stop'
1722
+ request['trigger_offset'] = self.parse_to_numeric(trailingAmount)
1723
+ elif isStopOrder:
1723
1724
  triggerPrice = stopLossPrice if (stopLossPrice is not None) else takeProfitPrice
1724
1725
  request['trigger_price'] = self.price_to_precision(symbol, triggerPrice)
1725
- request['trigger'] = 'last_price' # required
1726
+ request['trigger'] = trigger
1726
1727
  if isStopLossOrder:
1727
1728
  if isMarketOrder:
1728
1729
  # stop_market(sell only)
@@ -1749,7 +1750,7 @@ class deribit(Exchange, ImplicitAPI):
1749
1750
  request['time_in_force'] = 'immediate_or_cancel'
1750
1751
  if timeInForce == 'FOK':
1751
1752
  request['time_in_force'] = 'fill_or_kill'
1752
- params = self.omit(params, ['timeInForce', 'stopLossPrice', 'takeProfitPrice', 'postOnly', 'reduceOnly'])
1753
+ params = self.omit(params, ['timeInForce', 'stopLossPrice', 'takeProfitPrice', 'postOnly', 'reduceOnly', 'trailingAmount'])
1753
1754
  response = None
1754
1755
  if self.capitalize(side) == 'Buy':
1755
1756
  response = await self.privateGetBuy(self.extend(request, params))
@@ -1814,23 +1815,38 @@ class deribit(Exchange, ImplicitAPI):
1814
1815
  return self.parse_order(order, market)
1815
1816
 
1816
1817
  async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
1818
+ """
1819
+ edit a trade order
1820
+ :see: https://docs.deribit.com/#private-edit
1821
+ :param str id: edit order id
1822
+ :param str [symbol]: unified symbol of the market to edit an order in
1823
+ :param str [type]: 'market' or 'limit'
1824
+ :param str [side]: 'buy' or 'sell'
1825
+ :param float amount: how much you want to trade in units of the base currency, inverse swap and future use the quote currency
1826
+ :param float [price]: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
1827
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1828
+ :param float [params.trailingAmount]: the quote amount to trail away from the current market price
1829
+ :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1830
+ """
1817
1831
  if amount is None:
1818
1832
  raise ArgumentsRequired(self.id + ' editOrder() requires an amount argument')
1819
- if price is None:
1820
- raise ArgumentsRequired(self.id + ' editOrder() requires a price argument')
1821
1833
  await self.load_markets()
1822
1834
  request = {
1823
1835
  'order_id': id,
1824
- # for perpetual and futures the amount is in USD
1825
- # for options it is in corresponding cryptocurrency contracts, e.g., BTC or ETH
1826
1836
  'amount': self.amount_to_precision(symbol, amount),
1827
- 'price': self.price_to_precision(symbol, price), # required
1828
1837
  # 'post_only': False, # if the new price would cause the order to be filled immediately(as taker), the price will be changed to be just below the spread.
1829
1838
  # 'reject_post_only': False, # if True the order is put to order book unmodified or request is rejected
1830
1839
  # 'reduce_only': False, # if True, the order is intended to only reduce a current position
1831
1840
  # 'stop_price': False, # stop price, required for stop_limit orders
1832
1841
  # 'advanced': 'usd', # 'implv', advanced option order type, options only
1833
1842
  }
1843
+ if price is not None:
1844
+ request['price'] = self.price_to_precision(symbol, price)
1845
+ trailingAmount = self.safe_string_2(params, 'trailingAmount', 'trigger_offset')
1846
+ isTrailingAmountOrder = trailingAmount is not None
1847
+ if isTrailingAmountOrder:
1848
+ request['trigger_offset'] = self.parse_to_numeric(trailingAmount)
1849
+ params = self.omit(params, 'trigger_offset')
1834
1850
  response = await self.privateGetEdit(self.extend(request, params))
1835
1851
  result = self.safe_value(response, 'result', {})
1836
1852
  order = self.safe_value(result, 'order')
@@ -6,7 +6,7 @@
6
6
  from ccxt.async_support.base.exchange import Exchange
7
7
  from ccxt.abstract.kraken import ImplicitAPI
8
8
  import hashlib
9
- from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction
9
+ from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Strings, Ticker, Tickers, Trade, Transaction
10
10
  from typing import List
11
11
  from ccxt.base.errors import ExchangeError
12
12
  from ccxt.base.errors import PermissionDenied
@@ -754,7 +754,7 @@ class kraken(Exchange, ImplicitAPI):
754
754
  'tierBased': True,
755
755
  }
756
756
 
757
- def parse_bid_ask(self, bidask, priceKey=0, amountKey=1):
757
+ def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
758
758
  price = self.safe_number(bidask, priceKey)
759
759
  amount = self.safe_number(bidask, amountKey)
760
760
  timestamp = self.safe_integer(bidask, 2)
@@ -2296,7 +2296,7 @@ class kucoin(Exchange, ImplicitAPI):
2296
2296
  # }
2297
2297
  # }
2298
2298
  responseData = self.safe_value(response, 'data', {})
2299
- orders = self.safe_value(responseData, 'items', [])
2299
+ orders = self.safe_value(responseData, 'items', responseData)
2300
2300
  return self.parse_orders(orders, market, since, limit)
2301
2301
 
2302
2302
  async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
@@ -5,7 +5,7 @@
5
5
 
6
6
  from ccxt.async_support.base.exchange import Exchange
7
7
  from ccxt.abstract.lykke import ImplicitAPI
8
- from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction
8
+ from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Strings, Ticker, Tickers, Trade, Transaction
9
9
  from typing import List
10
10
  from ccxt.base.errors import ExchangeError
11
11
  from ccxt.base.errors import BadRequest
@@ -1038,7 +1038,7 @@ class lykke(Exchange, ImplicitAPI):
1038
1038
  #
1039
1039
  return self.parse_trades(payload, market, since, limit)
1040
1040
 
1041
- def parse_bid_ask(self, bidask, priceKey=0, amountKey=1):
1041
+ def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
1042
1042
  price = self.safe_string(bidask, priceKey)
1043
1043
  amount = Precise.string_abs(self.safe_string(bidask, amountKey))
1044
1044
  return [self.parse_number(price), self.parse_number(amount)]
@@ -7,7 +7,7 @@ from ccxt.async_support.base.exchange import Exchange
7
7
  from ccxt.abstract.ndax import ImplicitAPI
8
8
  import hashlib
9
9
  import json
10
- from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction
10
+ from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Ticker, Trade, Transaction
11
11
  from typing import List
12
12
  from ccxt.base.errors import ExchangeError
13
13
  from ccxt.base.errors import BadSymbol
@@ -512,7 +512,7 @@ class ndax(Exchange, ImplicitAPI):
512
512
  'info': market,
513
513
  }
514
514
 
515
- def parse_order_book(self, orderbook, symbol, timestamp=None, bidsKey='bids', asksKey='asks', priceKey=6, amountKey=8):
515
+ def parse_order_book(self, orderbook, symbol, timestamp=None, bidsKey='bids', asksKey='asks', priceKey: IndexType = 6, amountKey: IndexType = 8, countOrIdKey: IndexType = 2):
516
516
  nonce = None
517
517
  result = {
518
518
  'symbol': symbol,
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.8'
7
+ __version__ = '4.2.10'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -3018,11 +3018,11 @@ class Exchange(object):
3018
3018
  result.append(self.common_currency_code(codes[i]))
3019
3019
  return result
3020
3020
 
3021
- def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1):
3021
+ def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
3022
3022
  bidasks = self.to_array(bidasks)
3023
3023
  result = []
3024
3024
  for i in range(0, len(bidasks)):
3025
- result.append(self.parse_bid_ask(bidasks[i], priceKey, amountKey))
3025
+ result.append(self.parse_bid_ask(bidasks[i], priceKey, amountKey, countOrIdKey))
3026
3026
  return result
3027
3027
 
3028
3028
  def fetch_l2_order_book(self, symbol: str, limit: Int = None, params={}):
@@ -3161,9 +3161,9 @@ class Exchange(object):
3161
3161
  value = self.safe_string_2(dictionary, key1, key2)
3162
3162
  return self.parse_number(value, d)
3163
3163
 
3164
- def parse_order_book(self, orderbook: object, symbol: str, timestamp: Int = None, bidsKey='bids', asksKey='asks', priceKey: IndexType = 0, amountKey: IndexType = 1):
3165
- bids = self.parse_bids_asks(self.safe_value(orderbook, bidsKey, []), priceKey, amountKey)
3166
- asks = self.parse_bids_asks(self.safe_value(orderbook, asksKey, []), priceKey, amountKey)
3164
+ def parse_order_book(self, orderbook: object, symbol: str, timestamp: Int = None, bidsKey='bids', asksKey='asks', priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
3165
+ bids = self.parse_bids_asks(self.safe_value(orderbook, bidsKey, []), priceKey, amountKey, countOrIdKey)
3166
+ asks = self.parse_bids_asks(self.safe_value(orderbook, asksKey, []), priceKey, amountKey, countOrIdKey)
3167
3167
  return {
3168
3168
  'symbol': symbol,
3169
3169
  'bids': self.sort_by(bids, 0, True),
@@ -3444,10 +3444,14 @@ class Exchange(object):
3444
3444
  def fetch_bids_asks(self, symbols: List[str] = None, params={}):
3445
3445
  raise NotSupported(self.id + ' fetchBidsAsks() is not supported yet')
3446
3446
 
3447
- def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1):
3447
+ def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
3448
3448
  price = self.safe_number(bidask, priceKey)
3449
3449
  amount = self.safe_number(bidask, amountKey)
3450
- return [price, amount]
3450
+ countOrId = self.safe_integer(bidask, countOrIdKey)
3451
+ bidAsk = [price, amount]
3452
+ if countOrId is not None:
3453
+ bidAsk.append(countOrId)
3454
+ return bidAsk
3451
3455
 
3452
3456
  def safe_currency(self, currencyId: Str, currency: Currency = None):
3453
3457
  if (currencyId is None) and (currency is not None):
@@ -3484,7 +3488,7 @@ class Exchange(object):
3484
3488
  currentMarket = markets[i]
3485
3489
  if currentMarket[marketType]:
3486
3490
  return currentMarket
3487
- elif delimiter is not None:
3491
+ elif delimiter is not None and delimiter != '':
3488
3492
  parts = marketId.split(delimiter)
3489
3493
  partsLength = len(parts)
3490
3494
  if partsLength == 2:
@@ -3620,6 +3624,26 @@ class Exchange(object):
3620
3624
  value = value if (value is not None) else defaultValue
3621
3625
  return [value, params]
3622
3626
 
3627
+ def handle_option_and_params_2(self, params, methodName, methodName2, optionName, defaultValue=None):
3628
+ # This method can be used to obtain method specific properties, i.e: self.handle_option_and_params(params, 'fetchPosition', 'marginMode', 'isolated')
3629
+ defaultOptionName = 'default' + self.capitalize(optionName) # we also need to check the 'defaultXyzWhatever'
3630
+ # check if params contain the key
3631
+ value = self.safe_value_2(params, optionName, defaultOptionName)
3632
+ if value is not None:
3633
+ params = self.omit(params, [optionName, defaultOptionName])
3634
+ else:
3635
+ # check if exchange has properties for self method
3636
+ exchangeWideMethodOptions = self.safe_value_2(self.options, methodName, methodName2)
3637
+ if exchangeWideMethodOptions is not None:
3638
+ # check if the option is defined inside self method's props
3639
+ value = self.safe_value_2(exchangeWideMethodOptions, optionName, defaultOptionName)
3640
+ if value is None:
3641
+ # if it's still None, check if global exchange-wide option exists
3642
+ value = self.safe_value_2(self.options, optionName, defaultOptionName)
3643
+ # if it's still None, use the default value
3644
+ value = value if (value is not None) else defaultValue
3645
+ return [value, params]
3646
+
3623
3647
  def handle_option(self, methodName, optionName, defaultValue=None):
3624
3648
  # eslint-disable-next-line no-unused-vars
3625
3649
  result, empty = self.handle_option_and_params({}, methodName, optionName, defaultValue)
@@ -3045,7 +3045,11 @@ class binance(Exchange, ImplicitAPI):
3045
3045
  elif self.is_inverse(type, subType):
3046
3046
  response = self.dapiPublicGetTickerBookTicker(params)
3047
3047
  else:
3048
- response = self.publicGetTickerBookTicker(params)
3048
+ request = {}
3049
+ if symbols is not None:
3050
+ marketIds = self.market_ids(symbols)
3051
+ request['symbols'] = self.json(marketIds)
3052
+ response = self.publicGetTickerBookTicker(self.extend(request, params))
3049
3053
  return self.parse_tickers(response, symbols)
3050
3054
 
3051
3055
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers: