ccxt 4.2.1__tar.gz → 4.2.3__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.1/ccxt.egg-info → ccxt-4.2.3}/PKG-INFO +4 -4
  2. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/__init__.py +1 -1
  3. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bingx.py +3 -0
  4. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/alpaca.py +1 -1
  5. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/__init__.py +1 -1
  6. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/alpaca.py +1 -1
  7. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/exchange.py +1 -1
  8. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/binance.py +1 -0
  9. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bingx.py +170 -43
  10. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitget.py +4 -4
  11. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitmart.py +2 -2
  12. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitstamp.py +29 -12
  13. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/kucoinfutures.py +6 -6
  14. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/lykke.py +10 -3
  15. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/okcoin.py +2 -2
  16. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/okx.py +11 -9
  17. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/poloniexfutures.py +18 -11
  18. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/base/exchange.py +1 -1
  19. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/binance.py +1 -0
  20. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bingx.py +170 -43
  21. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitget.py +4 -4
  22. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitmart.py +2 -2
  23. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitstamp.py +29 -12
  24. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/kucoinfutures.py +6 -6
  25. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/lykke.py +10 -3
  26. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/okcoin.py +2 -2
  27. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/okx.py +11 -9
  28. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/poloniexfutures.py +18 -11
  29. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/__init__.py +1 -1
  30. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/binance.py +18 -17
  31. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bingx.py +2 -1
  32. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bybit.py +8 -13
  33. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/test_async.py +79 -65
  34. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/test_sync.py +79 -65
  35. {ccxt-4.2.1 → ccxt-4.2.3/ccxt.egg-info}/PKG-INFO +4 -4
  36. {ccxt-4.2.1 → ccxt-4.2.3}/package.json +1 -1
  37. {ccxt-4.2.1 → ccxt-4.2.3}/LICENSE.txt +0 -0
  38. {ccxt-4.2.1 → ccxt-4.2.3}/MANIFEST.in +0 -0
  39. {ccxt-4.2.1 → ccxt-4.2.3}/README.rst +0 -0
  40. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/__init__.py +0 -0
  41. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/ace.py +0 -0
  42. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/alpaca.py +0 -0
  43. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/ascendex.py +0 -0
  44. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bequant.py +0 -0
  45. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bigone.py +0 -0
  46. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/binance.py +0 -0
  47. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/binancecoinm.py +0 -0
  48. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/binanceus.py +0 -0
  49. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/binanceusdm.py +0 -0
  50. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bit2c.py +0 -0
  51. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitbank.py +0 -0
  52. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitbay.py +0 -0
  53. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitbns.py +0 -0
  54. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitcoincom.py +0 -0
  55. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitfinex.py +0 -0
  56. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitfinex2.py +0 -0
  57. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitflyer.py +0 -0
  58. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitforex.py +0 -0
  59. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitget.py +0 -0
  60. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bithumb.py +0 -0
  61. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitmart.py +0 -0
  62. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitmex.py +0 -0
  63. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitopro.py +0 -0
  64. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitpanda.py +0 -0
  65. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitrue.py +0 -0
  66. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitso.py +0 -0
  67. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitstamp.py +0 -0
  68. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitteam.py +0 -0
  69. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bitvavo.py +0 -0
  70. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bl3p.py +0 -0
  71. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/blockchaincom.py +0 -0
  72. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/btcalpha.py +0 -0
  73. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/btcbox.py +0 -0
  74. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/btcmarkets.py +0 -0
  75. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/btcturk.py +0 -0
  76. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/bybit.py +0 -0
  77. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/cex.py +0 -0
  78. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinbase.py +0 -0
  79. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinbasepro.py +0 -0
  80. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coincheck.py +0 -0
  81. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinex.py +0 -0
  82. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinlist.py +0 -0
  83. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinmate.py +0 -0
  84. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinone.py +0 -0
  85. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinsph.py +0 -0
  86. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/coinspot.py +0 -0
  87. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/cryptocom.py +0 -0
  88. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/currencycom.py +0 -0
  89. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/delta.py +0 -0
  90. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/deribit.py +0 -0
  91. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/digifinex.py +0 -0
  92. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/exmo.py +0 -0
  93. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/fmfwio.py +0 -0
  94. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/gate.py +0 -0
  95. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/gateio.py +0 -0
  96. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/gemini.py +0 -0
  97. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/hitbtc.py +0 -0
  98. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/hitbtc3.py +0 -0
  99. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/hollaex.py +0 -0
  100. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/htx.py +0 -0
  101. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/huobi.py +0 -0
  102. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/huobijp.py +0 -0
  103. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/idex.py +0 -0
  104. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/independentreserve.py +0 -0
  105. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/indodax.py +0 -0
  106. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/kraken.py +0 -0
  107. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/krakenfutures.py +0 -0
  108. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/kucoin.py +0 -0
  109. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/kucoinfutures.py +0 -0
  110. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/kuna.py +0 -0
  111. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/latoken.py +0 -0
  112. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/lbank.py +0 -0
  113. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/luno.py +0 -0
  114. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/lykke.py +0 -0
  115. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/mercado.py +0 -0
  116. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/mexc.py +0 -0
  117. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/ndax.py +0 -0
  118. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/novadax.py +0 -0
  119. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/oceanex.py +0 -0
  120. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/okcoin.py +0 -0
  121. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/okx.py +0 -0
  122. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/p2b.py +0 -0
  123. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/paymium.py +0 -0
  124. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/phemex.py +0 -0
  125. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/poloniex.py +0 -0
  126. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/poloniexfutures.py +0 -0
  127. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/probit.py +0 -0
  128. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/timex.py +0 -0
  129. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/tokocrypto.py +0 -0
  130. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/upbit.py +0 -0
  131. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/wavesexchange.py +0 -0
  132. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/wazirx.py +0 -0
  133. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/whitebit.py +0 -0
  134. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/woo.py +0 -0
  135. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/yobit.py +0 -0
  136. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/zaif.py +0 -0
  137. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/abstract/zonda.py +0 -0
  138. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/ace.py +0 -0
  139. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/ascendex.py +0 -0
  140. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/ace.py +0 -0
  141. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/ascendex.py +0 -0
  142. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/__init__.py +0 -0
  143. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/throttler.py +0 -0
  144. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/__init__.py +0 -0
  145. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
  146. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/cache.py +0 -0
  147. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/client.py +0 -0
  148. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/fast_client.py +0 -0
  149. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/functions.py +0 -0
  150. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/future.py +0 -0
  151. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/order_book.py +0 -0
  152. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/base/ws/order_book_side.py +0 -0
  153. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bequant.py +0 -0
  154. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bigone.py +0 -0
  155. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/binancecoinm.py +0 -0
  156. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/binanceus.py +0 -0
  157. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/binanceusdm.py +0 -0
  158. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bit2c.py +0 -0
  159. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitbank.py +0 -0
  160. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitbay.py +0 -0
  161. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitbns.py +0 -0
  162. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitcoincom.py +0 -0
  163. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitfinex.py +0 -0
  164. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitfinex2.py +0 -0
  165. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitflyer.py +0 -0
  166. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitforex.py +0 -0
  167. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bithumb.py +0 -0
  168. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitmex.py +0 -0
  169. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitopro.py +0 -0
  170. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitpanda.py +0 -0
  171. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitrue.py +0 -0
  172. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitso.py +0 -0
  173. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitteam.py +0 -0
  174. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bitvavo.py +0 -0
  175. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bl3p.py +0 -0
  176. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/blockchaincom.py +0 -0
  177. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/btcalpha.py +0 -0
  178. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/btcbox.py +0 -0
  179. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/btcmarkets.py +0 -0
  180. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/btcturk.py +0 -0
  181. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/bybit.py +0 -0
  182. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/cex.py +0 -0
  183. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinbase.py +0 -0
  184. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinbasepro.py +0 -0
  185. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coincheck.py +0 -0
  186. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinex.py +0 -0
  187. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinlist.py +0 -0
  188. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinmate.py +0 -0
  189. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinone.py +0 -0
  190. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinsph.py +0 -0
  191. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/coinspot.py +0 -0
  192. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/cryptocom.py +0 -0
  193. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/currencycom.py +0 -0
  194. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/delta.py +0 -0
  195. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/deribit.py +0 -0
  196. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/digifinex.py +0 -0
  197. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/exmo.py +0 -0
  198. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/flowbtc.py +0 -0
  199. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/fmfwio.py +0 -0
  200. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/gate.py +0 -0
  201. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/gateio.py +0 -0
  202. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/gemini.py +0 -0
  203. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/hitbtc.py +0 -0
  204. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/hitbtc3.py +0 -0
  205. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/hollaex.py +0 -0
  206. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/htx.py +0 -0
  207. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/huobi.py +0 -0
  208. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/huobijp.py +0 -0
  209. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/idex.py +0 -0
  210. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/independentreserve.py +0 -0
  211. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/indodax.py +0 -0
  212. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/kraken.py +0 -0
  213. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/krakenfutures.py +0 -0
  214. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/kucoin.py +0 -0
  215. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/kuna.py +0 -0
  216. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/latoken.py +0 -0
  217. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/lbank.py +0 -0
  218. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/luno.py +0 -0
  219. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/mercado.py +0 -0
  220. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/mexc.py +0 -0
  221. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/ndax.py +0 -0
  222. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/novadax.py +0 -0
  223. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/oceanex.py +0 -0
  224. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/p2b.py +0 -0
  225. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/paymium.py +0 -0
  226. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/phemex.py +0 -0
  227. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/poloniex.py +0 -0
  228. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/probit.py +0 -0
  229. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/timex.py +0 -0
  230. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/tokocrypto.py +0 -0
  231. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/upbit.py +0 -0
  232. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/wavesexchange.py +0 -0
  233. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/wazirx.py +0 -0
  234. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/whitebit.py +0 -0
  235. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/woo.py +0 -0
  236. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/yobit.py +0 -0
  237. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/zaif.py +0 -0
  238. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/async_support/zonda.py +0 -0
  239. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/base/__init__.py +0 -0
  240. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/base/decimal_to_precision.py +0 -0
  241. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/base/errors.py +0 -0
  242. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/base/precise.py +0 -0
  243. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/base/types.py +0 -0
  244. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bequant.py +0 -0
  245. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bigone.py +0 -0
  246. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/binancecoinm.py +0 -0
  247. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/binanceus.py +0 -0
  248. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/binanceusdm.py +0 -0
  249. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bit2c.py +0 -0
  250. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitbank.py +0 -0
  251. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitbay.py +0 -0
  252. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitbns.py +0 -0
  253. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitcoincom.py +0 -0
  254. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitfinex.py +0 -0
  255. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitfinex2.py +0 -0
  256. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitflyer.py +0 -0
  257. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitforex.py +0 -0
  258. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bithumb.py +0 -0
  259. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitmex.py +0 -0
  260. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitopro.py +0 -0
  261. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitpanda.py +0 -0
  262. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitrue.py +0 -0
  263. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitso.py +0 -0
  264. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitteam.py +0 -0
  265. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bitvavo.py +0 -0
  266. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bl3p.py +0 -0
  267. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/blockchaincom.py +0 -0
  268. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/btcalpha.py +0 -0
  269. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/btcbox.py +0 -0
  270. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/btcmarkets.py +0 -0
  271. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/btcturk.py +0 -0
  272. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/bybit.py +0 -0
  273. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/cex.py +0 -0
  274. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinbase.py +0 -0
  275. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinbasepro.py +0 -0
  276. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coincheck.py +0 -0
  277. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinex.py +0 -0
  278. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinlist.py +0 -0
  279. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinmate.py +0 -0
  280. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinone.py +0 -0
  281. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinsph.py +0 -0
  282. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/coinspot.py +0 -0
  283. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/cryptocom.py +0 -0
  284. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/currencycom.py +0 -0
  285. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/delta.py +0 -0
  286. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/deribit.py +0 -0
  287. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/digifinex.py +0 -0
  288. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/exmo.py +0 -0
  289. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/flowbtc.py +0 -0
  290. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/fmfwio.py +0 -0
  291. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/gate.py +0 -0
  292. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/gateio.py +0 -0
  293. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/gemini.py +0 -0
  294. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/hitbtc.py +0 -0
  295. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/hitbtc3.py +0 -0
  296. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/hollaex.py +0 -0
  297. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/htx.py +0 -0
  298. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/huobi.py +0 -0
  299. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/huobijp.py +0 -0
  300. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/idex.py +0 -0
  301. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/independentreserve.py +0 -0
  302. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/indodax.py +0 -0
  303. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/kraken.py +0 -0
  304. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/krakenfutures.py +0 -0
  305. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/kucoin.py +0 -0
  306. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/kuna.py +0 -0
  307. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/latoken.py +0 -0
  308. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/lbank.py +0 -0
  309. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/luno.py +0 -0
  310. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/mercado.py +0 -0
  311. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/mexc.py +0 -0
  312. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/ndax.py +0 -0
  313. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/novadax.py +0 -0
  314. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/oceanex.py +0 -0
  315. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/p2b.py +0 -0
  316. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/paymium.py +0 -0
  317. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/phemex.py +0 -0
  318. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/poloniex.py +0 -0
  319. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/alpaca.py +0 -0
  320. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/ascendex.py +0 -0
  321. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bequant.py +0 -0
  322. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/binancecoinm.py +0 -0
  323. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/binanceus.py +0 -0
  324. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/binanceusdm.py +0 -0
  325. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitcoincom.py +0 -0
  326. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitfinex.py +0 -0
  327. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitfinex2.py +0 -0
  328. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitget.py +0 -0
  329. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitmart.py +0 -0
  330. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitmex.py +0 -0
  331. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitopro.py +0 -0
  332. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitpanda.py +0 -0
  333. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitrue.py +0 -0
  334. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitstamp.py +0 -0
  335. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/bitvavo.py +0 -0
  336. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/blockchaincom.py +0 -0
  337. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/cex.py +0 -0
  338. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/coinbase.py +0 -0
  339. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/coinbasepro.py +0 -0
  340. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/coinex.py +0 -0
  341. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/cryptocom.py +0 -0
  342. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/currencycom.py +0 -0
  343. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/deribit.py +0 -0
  344. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/exmo.py +0 -0
  345. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/gate.py +0 -0
  346. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/gateio.py +0 -0
  347. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/gemini.py +0 -0
  348. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/hitbtc.py +0 -0
  349. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/hollaex.py +0 -0
  350. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/htx.py +0 -0
  351. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/huobi.py +0 -0
  352. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/huobijp.py +0 -0
  353. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/idex.py +0 -0
  354. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/independentreserve.py +0 -0
  355. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/kraken.py +0 -0
  356. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/krakenfutures.py +0 -0
  357. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/kucoin.py +0 -0
  358. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/kucoinfutures.py +0 -0
  359. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/luno.py +0 -0
  360. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/mexc.py +0 -0
  361. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/ndax.py +0 -0
  362. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/okcoin.py +0 -0
  363. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/okx.py +0 -0
  364. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/phemex.py +0 -0
  365. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/poloniex.py +0 -0
  366. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/poloniexfutures.py +0 -0
  367. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/probit.py +0 -0
  368. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/upbit.py +0 -0
  369. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/wazirx.py +0 -0
  370. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/whitebit.py +0 -0
  371. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/pro/woo.py +0 -0
  372. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/probit.py +0 -0
  373. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/__init__.py +0 -0
  374. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  375. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  376. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  377. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/der.py +0 -0
  378. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  379. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  380. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  381. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  382. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  383. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/ecdsa/util.py +0 -0
  384. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/keccak/__init__.py +0 -0
  385. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/static_dependencies/keccak/keccak.py +0 -0
  386. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/__init__.py +0 -0
  387. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/__init__.py +0 -0
  388. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_account.py +0 -0
  389. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_balance.py +0 -0
  390. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_borrow_interest.py +0 -0
  391. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_borrow_rate.py +0 -0
  392. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_calculate_fee.py +0 -0
  393. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_crypto.py +0 -0
  394. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_currency.py +0 -0
  395. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_datetime.py +0 -0
  396. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_decimal_to_precision.py +0 -0
  397. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_deep_extend.py +0 -0
  398. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
  399. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
  400. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_funding_rate_history.py +0 -0
  401. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_ledger_entry.py +0 -0
  402. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_ledger_item.py +0 -0
  403. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_leverage_tier.py +0 -0
  404. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_margin_modification.py +0 -0
  405. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_market.py +0 -0
  406. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_number.py +0 -0
  407. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_ohlcv.py +0 -0
  408. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_open_interest.py +0 -0
  409. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_order.py +0 -0
  410. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_order_book.py +0 -0
  411. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_position.py +0 -0
  412. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_shared_methods.py +0 -0
  413. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_status.py +0 -0
  414. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_throttle.py +0 -0
  415. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_ticker.py +0 -0
  416. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_trade.py +0 -0
  417. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_trading_fee.py +0 -0
  418. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/test/base/test_transaction.py +0 -0
  419. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/timex.py +0 -0
  420. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/tokocrypto.py +0 -0
  421. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/upbit.py +0 -0
  422. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/wavesexchange.py +0 -0
  423. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/wazirx.py +0 -0
  424. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/whitebit.py +0 -0
  425. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/woo.py +0 -0
  426. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/yobit.py +0 -0
  427. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/zaif.py +0 -0
  428. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt/zonda.py +0 -0
  429. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt.egg-info/SOURCES.txt +0 -0
  430. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt.egg-info/dependency_links.txt +0 -0
  431. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt.egg-info/requires.txt +0 -0
  432. {ccxt-4.2.1 → ccxt-4.2.3}/ccxt.egg-info/top_level.txt +0 -0
  433. {ccxt-4.2.1 → ccxt-4.2.3}/setup.cfg +0 -0
  434. {ccxt-4.2.1 → ccxt-4.2.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.2.1
3
+ Version: 4.2.3
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.1/dist/ccxt.browser.js
226
- * unpkg: https://unpkg.com/ccxt@4.2.1/dist/ccxt.browser.js
225
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.3/dist/ccxt.browser.js
226
+ * unpkg: https://unpkg.com/ccxt@4.2.3/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.1/dist/ccxt.browser.js"></script>
231
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.3/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.1'
25
+ __version__ = '4.2.3'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -10,11 +10,13 @@ class ImplicitAPI:
10
10
  spot_v1_private_get_trade_query = spotV1PrivateGetTradeQuery = Entry('trade/query', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
11
11
  spot_v1_private_get_trade_openorders = spotV1PrivateGetTradeOpenOrders = Entry('trade/openOrders', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
12
12
  spot_v1_private_get_trade_historyorders = spotV1PrivateGetTradeHistoryOrders = Entry('trade/historyOrders', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
13
+ spot_v1_private_get_user_commissionrate = spotV1PrivateGetUserCommissionRate = Entry('user/commissionRate', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
13
14
  spot_v1_private_get_account_balance = spotV1PrivateGetAccountBalance = Entry('account/balance', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
14
15
  spot_v1_private_post_trade_order = spotV1PrivatePostTradeOrder = Entry('trade/order', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
15
16
  spot_v1_private_post_trade_cancel = spotV1PrivatePostTradeCancel = Entry('trade/cancel', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
16
17
  spot_v1_private_post_trade_batchorders = spotV1PrivatePostTradeBatchOrders = Entry('trade/batchOrders', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
17
18
  spot_v1_private_post_trade_cancelorders = spotV1PrivatePostTradeCancelOrders = Entry('trade/cancelOrders', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
19
+ spot_v1_private_post_trade_cancelopenorders = spotV1PrivatePostTradeCancelOpenOrders = Entry('trade/cancelOpenOrders', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
18
20
  spot_v3_private_get_get_asset_transfer = spotV3PrivateGetGetAssetTransfer = Entry('get/asset/transfer', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
19
21
  spot_v3_private_get_asset_transfer = spotV3PrivateGetAssetTransfer = Entry('asset/transfer', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
20
22
  spot_v3_private_get_capital_deposit_hisrec = spotV3PrivateGetCapitalDepositHisrec = Entry('capital/deposit/hisrec', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
@@ -81,6 +83,7 @@ class ImplicitAPI:
81
83
  account_v1_private_get_uid = accountV1PrivateGetUid = Entry('uid', ['account', 'v1', 'private'], 'GET', {'cost': 1})
82
84
  account_v1_private_post_innertransfer_authorizesubaccount = accountV1PrivatePostInnerTransferAuthorizeSubAccount = Entry('innerTransfer/authorizeSubAccount', ['account', 'v1', 'private'], 'POST', {'cost': 3})
83
85
  user_auth_private_post_userdatastream = userAuthPrivatePostUserDataStream = Entry('userDataStream', ['user', 'auth', 'private'], 'POST', {'cost': 1})
86
+ user_auth_private_put_userdatastream = userAuthPrivatePutUserDataStream = Entry('userDataStream', ['user', 'auth', 'private'], 'PUT', {'cost': 1})
84
87
  copytrading_v1_private_get_swap_trace_currenttrack = copyTradingV1PrivateGetSwapTraceCurrentTrack = Entry('swap/trace/currentTrack', ['copyTrading', 'v1', 'private'], 'GET', {'cost': 1})
85
88
  copytrading_v1_private_post_swap_trace_closetrackorder = copyTradingV1PrivatePostSwapTraceCloseTrackOrder = Entry('swap/trace/closeTrackOrder', ['copyTrading', 'v1', 'private'], 'POST', {'cost': 1})
86
89
  copytrading_v1_private_post_swap_trace_settpsl = copyTradingV1PrivatePostSwapTraceSetTPSL = Entry('swap/trace/setTPSL', ['copyTrading', 'v1', 'private'], 'POST', {'cost': 1})
@@ -59,7 +59,7 @@ class alpaca(Exchange, ImplicitAPI):
59
59
  'closeAllPositions': False,
60
60
  'closePosition': False,
61
61
  'createOrder': True,
62
- 'fetchBalance': True,
62
+ 'fetchBalance': False,
63
63
  'fetchBidsAsks': False,
64
64
  'fetchClosedOrders': True,
65
65
  'fetchCurrencies': False,
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.1'
7
+ __version__ = '4.2.3'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -59,7 +59,7 @@ class alpaca(Exchange, ImplicitAPI):
59
59
  'closeAllPositions': False,
60
60
  'closePosition': False,
61
61
  'createOrder': True,
62
- 'fetchBalance': True,
62
+ 'fetchBalance': False,
63
63
  'fetchBidsAsks': False,
64
64
  'fetchClosedOrders': True,
65
65
  'fetchCurrencies': False,
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.2.1'
5
+ __version__ = '4.2.3'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -1614,6 +1614,7 @@ class binance(Exchange, ImplicitAPI):
1614
1614
  '-4046': AuthenticationError, # {"code":-4046,"msg":"Agreement not confirmed."}
1615
1615
  '-4047': BadRequest, # {"code":-4047,"msg":"Time interval must be within 0-90 days"}
1616
1616
  '-4054': BadRequest, # {"code":-4054,"msg":"Cannot add position margin: position is 0."}
1617
+ '-4164': InvalidOrder, # {"code":-4164,"msg":"Order's notional must be no smaller than 5(unless you choose reduce only)."}
1617
1618
  '-5001': BadRequest, # {"code":-5001,"msg":"Don't allow transfer to micro assets."}
1618
1619
  '-5002': InsufficientFunds, # {"code":-5002,"msg":"You have insufficient balance."}
1619
1620
  '-5003': InsufficientFunds, # {"code":-5003,"msg":"You don't have self asset."}
@@ -7,6 +7,8 @@ from ccxt.async_support.base.exchange import Exchange
7
7
  from ccxt.abstract.bingx import ImplicitAPI
8
8
  import asyncio
9
9
  import hashlib
10
+ import json
11
+ import numbers
10
12
  from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderRequest, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade, Transaction
11
13
  from typing import List
12
14
  from ccxt.base.errors import ExchangeError
@@ -133,6 +135,7 @@ class bingx(Exchange, ImplicitAPI):
133
135
  'trade/query': 3,
134
136
  'trade/openOrders': 3,
135
137
  'trade/historyOrders': 3,
138
+ 'user/commissionRate': 3,
136
139
  'account/balance': 3,
137
140
  },
138
141
  'post': {
@@ -140,6 +143,7 @@ class bingx(Exchange, ImplicitAPI):
140
143
  'trade/cancel': 3,
141
144
  'trade/batchOrders': 3,
142
145
  'trade/cancelOrders': 3,
146
+ 'trade/cancelOpenOrders': 3,
143
147
  },
144
148
  },
145
149
  },
@@ -291,6 +295,9 @@ class bingx(Exchange, ImplicitAPI):
291
295
  'post': {
292
296
  'userDataStream': 1,
293
297
  },
298
+ 'put': {
299
+ 'userDataStream': 1,
300
+ },
294
301
  },
295
302
  },
296
303
  },
@@ -1272,22 +1279,29 @@ class bingx(Exchange, ImplicitAPI):
1272
1279
  # }
1273
1280
  #
1274
1281
  marketId = self.safe_string(ticker, 'symbol')
1275
- # change = self.safe_string(ticker, 'priceChange') # self is not ccxt's change because it does high-low instead of last-open
1276
1282
  lastQty = self.safe_string(ticker, 'lastQty')
1277
1283
  # in spot markets, lastQty is not present
1278
1284
  # it's(bad, but) the only way we can check the tickers origin
1279
1285
  type = 'spot' if (lastQty is None) else 'swap'
1280
- symbol = self.safe_symbol(marketId, market, None, type)
1286
+ market = self.safe_market(marketId, market, None, type)
1287
+ symbol = market['symbol']
1281
1288
  open = self.safe_string(ticker, 'openPrice')
1282
1289
  high = self.safe_string(ticker, 'highPrice')
1283
1290
  low = self.safe_string(ticker, 'lowPrice')
1284
1291
  close = self.safe_string(ticker, 'lastPrice')
1285
1292
  quoteVolume = self.safe_string(ticker, 'quoteVolume')
1286
1293
  baseVolume = self.safe_string(ticker, 'volume')
1294
+ percentage = None
1295
+ change = None
1296
+ if market['swap']:
1297
+ # right now only swap uses the 24h change, spot will be added soon
1298
+ percentage = self.safe_string(ticker, 'priceChangePercent')
1299
+ change = self.safe_string(ticker, 'priceChange')
1287
1300
  # percentage = self.safe_string(ticker, 'priceChangePercent')
1288
1301
  # if percentage is not None:
1289
1302
  # percentage = percentage.replace('%', '')
1290
1303
  # } similarly to change, it's not ccxt's percentage because it does priceChange/open, and priceChange is high-low
1304
+ # change = self.safe_string(ticker, 'priceChange') # self is not ccxt's change because it does high-low instead of last-open
1291
1305
  ts = self.safe_integer(ticker, 'closeTime')
1292
1306
  datetime = self.iso8601(ts)
1293
1307
  bid = self.safe_string(ticker, 'bidPrice')
@@ -1309,8 +1323,8 @@ class bingx(Exchange, ImplicitAPI):
1309
1323
  'close': close,
1310
1324
  'last': None,
1311
1325
  'previousClose': None,
1312
- 'change': None,
1313
- 'percentage': None,
1326
+ 'change': change,
1327
+ 'percentage': percentage,
1314
1328
  'average': None,
1315
1329
  'baseVolume': baseVolume,
1316
1330
  'quoteVolume': quoteVolume,
@@ -1634,6 +1648,10 @@ class bingx(Exchange, ImplicitAPI):
1634
1648
  isTrailingAmountOrder = trailingAmount is not None
1635
1649
  isTrailingPercentOrder = trailingPercent is not None
1636
1650
  isTrailing = isTrailingAmountOrder or isTrailingPercentOrder
1651
+ stopLoss = self.safe_value(params, 'stopLoss')
1652
+ takeProfit = self.safe_value(params, 'takeProfit')
1653
+ isStopLoss = stopLoss is not None
1654
+ isTakeProfit = takeProfit is not None
1637
1655
  if ((type == 'LIMIT') or (type == 'TRIGGER_LIMIT') or (type == 'STOP') or (type == 'TAKE_PROFIT')) and not isTrailing:
1638
1656
  request['price'] = self.parse_to_numeric(self.price_to_precision(symbol, price))
1639
1657
  reduceOnly = self.safe_value(params, 'reduceOnly', False)
@@ -1665,6 +1683,37 @@ class bingx(Exchange, ImplicitAPI):
1665
1683
  elif isTrailingPercentOrder:
1666
1684
  requestTrailingPercent = Precise.string_div(trailingPercent, '100')
1667
1685
  request['priceRate'] = self.parse_to_numeric(requestTrailingPercent)
1686
+ if isStopLoss or isTakeProfit:
1687
+ if isStopLoss:
1688
+ slTriggerPrice = self.safe_string_2(stopLoss, 'triggerPrice', 'stopPrice', stopLoss)
1689
+ slWorkingType = self.safe_string(stopLoss, 'workingType', 'MARK_PRICE')
1690
+ slType = self.safe_string(stopLoss, 'type', 'STOP_MARKET')
1691
+ slRequest = {
1692
+ 'stopPrice': self.parse_to_numeric(self.price_to_precision(symbol, slTriggerPrice)),
1693
+ 'workingType': slWorkingType,
1694
+ 'type': slType,
1695
+ }
1696
+ slPrice = self.safe_string(stopLoss, 'price')
1697
+ if slPrice is not None:
1698
+ slRequest['price'] = self.parse_to_numeric(self.price_to_precision(symbol, slPrice))
1699
+ slQuantity = self.safe_string(stopLoss, 'quantity', amount)
1700
+ slRequest['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, slQuantity))
1701
+ request['stopLoss'] = self.json(slRequest)
1702
+ if isTakeProfit:
1703
+ tkTriggerPrice = self.safe_string_2(takeProfit, 'triggerPrice', 'stopPrice', takeProfit)
1704
+ tkWorkingType = self.safe_string(takeProfit, 'workingType', 'MARK_PRICE')
1705
+ tpType = self.safe_string(takeProfit, 'type', 'TAKE_PROFIT_MARKET')
1706
+ tpRequest = {
1707
+ 'stopPrice': self.parse_to_numeric(self.price_to_precision(symbol, tkTriggerPrice)),
1708
+ 'workingType': tkWorkingType,
1709
+ 'type': tpType,
1710
+ }
1711
+ slPrice = self.safe_string(takeProfit, 'price')
1712
+ if slPrice is not None:
1713
+ tpRequest['price'] = self.parse_to_numeric(self.price_to_precision(symbol, slPrice))
1714
+ tkQuantity = self.safe_string(takeProfit, 'quantity', amount)
1715
+ tpRequest['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, tkQuantity))
1716
+ request['takeProfit'] = self.json(tpRequest)
1668
1717
  positionSide = None
1669
1718
  if reduceOnly:
1670
1719
  positionSide = 'SHORT' if (side == 'buy') else 'LONG'
@@ -1672,13 +1721,14 @@ class bingx(Exchange, ImplicitAPI):
1672
1721
  positionSide = 'LONG' if (side == 'buy') else 'SHORT'
1673
1722
  request['positionSide'] = positionSide
1674
1723
  request['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, amount))
1675
- params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent'])
1724
+ params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent', 'takeProfit', 'stopLoss'])
1676
1725
  return self.extend(request, params)
1677
1726
 
1678
1727
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
1679
1728
  """
1680
1729
  create a trade order
1681
1730
  :see: https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Trade%20order
1731
+ :see: https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Create%20an%20Order
1682
1732
  :param str symbol: unified symbol of the market to create an order in
1683
1733
  :param str type: 'market' or 'limit'
1684
1734
  :param str side: 'buy' or 'sell'
@@ -1694,6 +1744,10 @@ class bingx(Exchange, ImplicitAPI):
1694
1744
  :param float [params.cost]: the quote quantity that can be used alternative for the amount
1695
1745
  :param float [params.trailingAmount]: *swap only* the quote amount to trail away from the current market price
1696
1746
  :param float [params.trailingPercent]: *swap only* the percent to trail away from the current market price
1747
+ :param dict [params.takeProfit]: *takeProfit object in params* containing the triggerPrice at which the attached take profit order will be triggered
1748
+ :param float [params.takeProfit.triggerPrice]: take profit trigger price
1749
+ :param dict [params.stopLoss]: *stopLoss object in params* containing the triggerPrice at which the attached stop loss order will be triggered
1750
+ :param float [params.stopLoss.triggerPrice]: stop loss trigger price
1697
1751
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1698
1752
  """
1699
1753
  await self.load_markets()
@@ -1742,6 +1796,8 @@ class bingx(Exchange, ImplicitAPI):
1742
1796
  # }
1743
1797
  # }
1744
1798
  #
1799
+ if isinstance(response, str):
1800
+ response = json.loads(response)
1745
1801
  data = self.safe_value(response, 'data', {})
1746
1802
  order = self.safe_value(data, 'order', data)
1747
1803
  return self.parse_order(order, market)
@@ -1938,6 +1994,24 @@ class bingx(Exchange, ImplicitAPI):
1938
1994
  # "orderType": "",
1939
1995
  # "workingType": "MARK_PRICE"
1940
1996
  # }
1997
+ # with tp and sl
1998
+ # {
1999
+ # orderId: 1741440894764281900,
2000
+ # symbol: 'LTC-USDT',
2001
+ # positionSide: 'LONG',
2002
+ # side: 'BUY',
2003
+ # type: 'MARKET',
2004
+ # price: 0,
2005
+ # quantity: 1,
2006
+ # stopPrice: 0,
2007
+ # workingType: 'MARK_PRICE',
2008
+ # clientOrderID: '',
2009
+ # timeInForce: 'GTC',
2010
+ # priceRate: 0,
2011
+ # stopLoss: '{"stopPrice":50,"workingType":"MARK_PRICE","type":"STOP_MARKET","quantity":1}',
2012
+ # takeProfit: '{"stopPrice":150,"workingType":"MARK_PRICE","type":"TAKE_PROFIT_MARKET","quantity":1}',
2013
+ # reduceOnly: False
2014
+ # }
1941
2015
  #
1942
2016
  positionSide = self.safe_string_2(order, 'positionSide', 'ps')
1943
2017
  marketType = 'spot' if (positionSide is None) else 'swap'
@@ -1970,6 +2044,24 @@ class bingx(Exchange, ImplicitAPI):
1970
2044
  'cost': Precise.string_abs(feeCost),
1971
2045
  }
1972
2046
  clientOrderId = self.safe_string_2(order, 'clientOrderId', 'c')
2047
+ stopLoss = self.safe_value(order, 'stopLoss')
2048
+ stopLossPrice = None
2049
+ if stopLoss is not None:
2050
+ stopLossPrice = self.safe_number(stopLoss, 'stopLoss')
2051
+ if (stopLoss is not None) and ((not isinstance(stopLoss, numbers.Real))):
2052
+ # stopLoss: '{"stopPrice":50,"workingType":"MARK_PRICE","type":"STOP_MARKET","quantity":1}',
2053
+ if isinstance(stopLoss, str):
2054
+ stopLoss = json.loads(stopLoss)
2055
+ stopLossPrice = self.safe_number(stopLoss, 'stopPrice')
2056
+ takeProfit = self.safe_value(order, 'takeProfit')
2057
+ takeProfitPrice = None
2058
+ if takeProfit is not None:
2059
+ takeProfitPrice = self.safe_number(takeProfit, 'takeProfit')
2060
+ if (takeProfit is not None) and ((not isinstance(takeProfit, numbers.Real))):
2061
+ # takeProfit: '{"stopPrice":150,"workingType":"MARK_PRICE","type":"TAKE_PROFIT_MARKET","quantity":1}',
2062
+ if isinstance(takeProfit, str):
2063
+ takeProfit = json.loads(takeProfit)
2064
+ takeProfitPrice = self.safe_number(takeProfit, 'stopPrice')
1973
2065
  return self.safe_order({
1974
2066
  'info': order,
1975
2067
  'id': orderId,
@@ -1986,8 +2078,8 @@ class bingx(Exchange, ImplicitAPI):
1986
2078
  'price': price,
1987
2079
  'stopPrice': self.safe_number(order, 'stopPrice'),
1988
2080
  'triggerPrice': self.safe_number(order, 'stopPrice'),
1989
- 'stopLossPrice': self.safe_number(order, 'stopLoss'),
1990
- 'takeProfitPrice': self.safe_number(order, 'takeProfit'),
2081
+ 'stopLossPrice': stopLossPrice,
2082
+ 'takeProfitPrice': takeProfitPrice,
1991
2083
  'average': average,
1992
2084
  'cost': None,
1993
2085
  'amount': amount,
@@ -2087,6 +2179,7 @@ class bingx(Exchange, ImplicitAPI):
2087
2179
  async def cancel_all_orders(self, symbol: Str = None, params={}):
2088
2180
  """
2089
2181
  cancel all open orders
2182
+ :see: https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Cancel%20orders%20by%20symbol
2090
2183
  :see: https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20All%20Orders
2091
2184
  :param str [symbol]: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
2092
2185
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2096,41 +2189,67 @@ class bingx(Exchange, ImplicitAPI):
2096
2189
  raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
2097
2190
  await self.load_markets()
2098
2191
  market = self.market(symbol)
2099
- if market['type'] != 'swap':
2100
- raise BadRequest(self.id + ' cancelAllOrders is only supported for swap markets.')
2101
2192
  request = {
2102
2193
  'symbol': market['id'],
2103
2194
  }
2104
- response = await self.swapV2PrivateDeleteTradeAllOpenOrders(self.extend(request, params))
2105
- #
2106
- # {
2107
- # "code": 0,
2108
- # "msg": "",
2109
- # "data": {
2110
- # "success": [
2111
- # {
2112
- # "symbol": "LINK-USDT",
2113
- # "orderId": 1597783835095859200,
2114
- # "side": "BUY",
2115
- # "positionSide": "LONG",
2116
- # "type": "TRIGGER_LIMIT",
2117
- # "origQty": "5.0",
2118
- # "price": "9.0000",
2119
- # "executedQty": "0.0",
2120
- # "avgPrice": "0.0000",
2121
- # "cumQuote": "0",
2122
- # "stopPrice": "9.5000",
2123
- # "profit": "",
2124
- # "commission": "",
2125
- # "status": "NEW",
2126
- # "time": 1669776326000,
2127
- # "updateTime": 1669776326000
2128
- # }
2129
- # ],
2130
- # "failed": null
2131
- # }
2132
- # }
2133
- #
2195
+ response = None
2196
+ if market['spot']:
2197
+ response = await self.spotV1PrivatePostTradeCancelOpenOrders(self.extend(request, params))
2198
+ #
2199
+ # {
2200
+ # "code": 0,
2201
+ # "msg": "",
2202
+ # "debugMsg": "",
2203
+ # "data": {
2204
+ # "orders": [{
2205
+ # "symbol": "ADA-USDT",
2206
+ # "orderId": 1740659971369992192,
2207
+ # "transactTime": 1703840651730,
2208
+ # "price": 5,
2209
+ # "stopPrice": 0,
2210
+ # "origQty": 10,
2211
+ # "executedQty": 0,
2212
+ # "cummulativeQuoteQty": 0,
2213
+ # "status": "CANCELED",
2214
+ # "type": "LIMIT",
2215
+ # "side": "SELL"
2216
+ # }]
2217
+ # }
2218
+ # }
2219
+ #
2220
+ elif market['swap']:
2221
+ response = await self.swapV2PrivateDeleteTradeAllOpenOrders(self.extend(request, params))
2222
+ #
2223
+ # {
2224
+ # "code": 0,
2225
+ # "msg": "",
2226
+ # "data": {
2227
+ # "success": [
2228
+ # {
2229
+ # "symbol": "LINK-USDT",
2230
+ # "orderId": 1597783835095859200,
2231
+ # "side": "BUY",
2232
+ # "positionSide": "LONG",
2233
+ # "type": "TRIGGER_LIMIT",
2234
+ # "origQty": "5.0",
2235
+ # "price": "9.0000",
2236
+ # "executedQty": "0.0",
2237
+ # "avgPrice": "0.0000",
2238
+ # "cumQuote": "0",
2239
+ # "stopPrice": "9.5000",
2240
+ # "profit": "",
2241
+ # "commission": "",
2242
+ # "status": "NEW",
2243
+ # "time": 1669776326000,
2244
+ # "updateTime": 1669776326000
2245
+ # }
2246
+ # ],
2247
+ # "failed": null
2248
+ # }
2249
+ # }
2250
+ #
2251
+ else:
2252
+ raise BadRequest(self.id + ' cancelAllOrders is only supported for spot and swap markets.')
2134
2253
  return response
2135
2254
 
2136
2255
  async def cancel_orders(self, ids: List[Int], symbol: Str = None, params={}):
@@ -2141,6 +2260,7 @@ class bingx(Exchange, ImplicitAPI):
2141
2260
  :param str[] ids: order ids
2142
2261
  :param str symbol: unified market symbol, default is None
2143
2262
  :param dict [params]: extra parameters specific to the exchange API endpoint
2263
+ :param str[] [params.clientOrderIds]: client order ids
2144
2264
  :returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2145
2265
  """
2146
2266
  if symbol is None:
@@ -2150,17 +2270,24 @@ class bingx(Exchange, ImplicitAPI):
2150
2270
  request = {
2151
2271
  'symbol': market['id'],
2152
2272
  }
2273
+ clientOrderIds = self.safe_value(params, 'clientOrderIds')
2274
+ idsToParse = ids
2275
+ areClientOrderIds = (clientOrderIds is not None)
2276
+ if areClientOrderIds:
2277
+ idsToParse = clientOrderIds
2153
2278
  parsedIds = []
2154
- for i in range(0, len(ids)):
2155
- id = ids[i]
2279
+ for i in range(0, len(idsToParse)):
2280
+ id = idsToParse[i]
2156
2281
  stringId = str(id)
2157
2282
  parsedIds.append(stringId)
2158
2283
  response = None
2159
2284
  if market['spot']:
2160
- request['orderIds'] = ','.join(parsedIds)
2285
+ spotReqKey = 'clientOrderIds' if areClientOrderIds else 'orderIds'
2286
+ request[spotReqKey] = ','.join(parsedIds)
2161
2287
  response = await self.spotV1PrivatePostTradeCancelOrders(self.extend(request, params))
2162
2288
  else:
2163
- request['orderIdList'] = parsedIds
2289
+ swapReqKey = 'ClientOrderIDList' if areClientOrderIds else 'orderIdList'
2290
+ request[swapReqKey] = parsedIds
2164
2291
  response = await self.swapV2PrivateDeleteTradeBatchOrders(self.extend(request, params))
2165
2292
  #
2166
2293
  # {
@@ -4461,8 +4461,8 @@ class bitget(Exchange, ImplicitAPI):
4461
4461
  market = self.market(symbol)
4462
4462
  marginMode = None
4463
4463
  marginMode, params = self.handle_margin_mode_and_params('cancelOrders', params)
4464
- stop = self.safe_value(params, 'stop')
4465
- params = self.omit(params, 'stop')
4464
+ stop = self.safe_value_2(params, 'stop', 'trigger')
4465
+ params = self.omit(params, ['stop', 'trigger'])
4466
4466
  orderIdList = []
4467
4467
  for i in range(0, len(ids)):
4468
4468
  individualId = ids[i]
@@ -4542,8 +4542,8 @@ class bitget(Exchange, ImplicitAPI):
4542
4542
  request = {
4543
4543
  'symbol': market['id'],
4544
4544
  }
4545
- stop = self.safe_value(params, 'stop')
4546
- params = self.omit(params, 'stop')
4545
+ stop = self.safe_value_2(params, 'stop', 'trigger')
4546
+ params = self.omit(params, ['stop', 'trigger'])
4547
4547
  response = None
4548
4548
  if market['spot']:
4549
4549
  if marginMode is not None:
@@ -2369,8 +2369,8 @@ class bitmart(Exchange, ImplicitAPI):
2369
2369
  if market['spot']:
2370
2370
  response = await self.privatePostSpotV3CancelOrder(self.extend(request, params))
2371
2371
  else:
2372
- stop = self.safe_value(params, 'stop')
2373
- params = self.omit(params, ['stop'])
2372
+ stop = self.safe_value_2(params, 'stop', 'trigger')
2373
+ params = self.omit(params, ['stop', 'trigger'])
2374
2374
  if not stop:
2375
2375
  response = await self.privatePostContractPrivateCancelOrder(self.extend(request, params))
2376
2376
  else:
@@ -1270,6 +1270,12 @@ class bitstamp(Exchange, ImplicitAPI):
1270
1270
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
1271
1271
  """
1272
1272
  create a trade order
1273
+ :see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenInstantBuyOrder
1274
+ :see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenMarketBuyOrder
1275
+ :see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenLimitBuyOrder
1276
+ :see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenInstantSellOrder
1277
+ :see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenMarketSellOrder
1278
+ :see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenLimitSellOrder
1273
1279
  :param str symbol: unified symbol of the market to create an order in
1274
1280
  :param str type: 'market' or 'limit'
1275
1281
  :param str side: 'buy' or 'sell'
@@ -1280,23 +1286,32 @@ class bitstamp(Exchange, ImplicitAPI):
1280
1286
  """
1281
1287
  await self.load_markets()
1282
1288
  market = self.market(symbol)
1283
- method = 'privatePost' + self.capitalize(side)
1284
1289
  request = {
1285
1290
  'pair': market['id'],
1286
1291
  'amount': self.amount_to_precision(symbol, amount),
1287
1292
  }
1293
+ clientOrderId = self.safe_string_2(params, 'client_order_id', 'clientOrderId')
1294
+ if clientOrderId is not None:
1295
+ request['client_order_id'] = clientOrderId
1296
+ params = self.omit(params, ['clientOrderId'])
1297
+ response = None
1298
+ capitalizedSide = self.capitalize(side)
1288
1299
  if type == 'market':
1289
- method += 'Market'
1300
+ if capitalizedSide == 'Buy':
1301
+ response = await self.privatePostBuyMarketPair(self.extend(request, params))
1302
+ else:
1303
+ response = await self.privatePostSellMarketPair(self.extend(request, params))
1290
1304
  elif type == 'instant':
1291
- method += 'Instant'
1305
+ if capitalizedSide == 'Buy':
1306
+ response = await self.privatePostBuyInstantPair(self.extend(request, params))
1307
+ else:
1308
+ response = await self.privatePostSellInstantPair(self.extend(request, params))
1292
1309
  else:
1293
1310
  request['price'] = self.price_to_precision(symbol, price)
1294
- method += 'Pair'
1295
- clientOrderId = self.safe_string_2(params, 'client_order_id', 'clientOrderId')
1296
- if clientOrderId is not None:
1297
- request['client_order_id'] = clientOrderId
1298
- params = self.omit(params, ['client_order_id', 'clientOrderId'])
1299
- response = await getattr(self, method)(self.extend(request, params))
1311
+ if capitalizedSide == 'Buy':
1312
+ response = await self.privatePostBuyPair(self.extend(request, params))
1313
+ else:
1314
+ response = await self.privatePostSellPair(self.extend(request, params))
1300
1315
  order = self.parse_order(response, market)
1301
1316
  order['type'] = type
1302
1317
  return order
@@ -1325,12 +1340,14 @@ class bitstamp(Exchange, ImplicitAPI):
1325
1340
  await self.load_markets()
1326
1341
  market = None
1327
1342
  request = {}
1328
- method = 'privatePostCancelAllOrders'
1343
+ response = None
1329
1344
  if symbol is not None:
1330
1345
  market = self.market(symbol)
1331
1346
  request['pair'] = market['id']
1332
- method = 'privatePostCancelAllOrdersPair'
1333
- return await getattr(self, method)(self.extend(request, params))
1347
+ response = await self.privatePostCancelAllOrdersPair(self.extend(request, params))
1348
+ else:
1349
+ response = await self.privatePostCancelAllOrders(self.extend(request, params))
1350
+ return response
1334
1351
 
1335
1352
  def parse_order_status(self, status):
1336
1353
  statuses = {
@@ -1228,15 +1228,15 @@ class kucoinfutures(kucoin, ImplicitAPI):
1228
1228
  :see: https://www.kucoin.com/docs/rest/futures-trading/orders/cancel-multiple-futures-stop-orders
1229
1229
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
1230
1230
  :param dict [params]: extra parameters specific to the exchange API endpoint
1231
- :param dict [params.stop]: When True, all the trigger orders will be cancelled
1231
+ :param dict [params.trigger]: When True, all the trigger orders will be cancelled
1232
1232
  :returns: Response from the exchange
1233
1233
  """
1234
1234
  await self.load_markets()
1235
1235
  request = {}
1236
1236
  if symbol is not None:
1237
1237
  request['symbol'] = self.market_id(symbol)
1238
- stop = self.safe_value(params, 'stop')
1239
- params = self.omit(params, 'stop')
1238
+ stop = self.safe_value_2(params, 'stop', 'trigger')
1239
+ params = self.omit(params, ['stop', 'trigger'])
1240
1240
  response = None
1241
1241
  if stop:
1242
1242
  response = await self.futuresPrivateDeleteStopOrders(self.extend(request, params))
@@ -1399,7 +1399,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
1399
1399
  :param int [since]: timestamp in ms of the earliest order to retrieve
1400
1400
  :param int [limit]: The maximum number of orders to retrieve
1401
1401
  :param dict [params]: exchange specific parameters
1402
- :param bool [params.stop]: set to True to retrieve untriggered stop orders
1402
+ :param bool [params.trigger]: set to True to retrieve untriggered stop orders
1403
1403
  :param int [params.until]: End time in ms
1404
1404
  :param str [params.side]: buy or sell
1405
1405
  :param str [params.type]: limit or market
@@ -1411,9 +1411,9 @@ class kucoinfutures(kucoin, ImplicitAPI):
1411
1411
  paginate, params = self.handle_option_and_params(params, 'fetchOrdersByStatus', 'paginate')
1412
1412
  if paginate:
1413
1413
  return await self.fetch_paginated_call_dynamic('fetchOrdersByStatus', symbol, since, limit, params)
1414
- stop = self.safe_value(params, 'stop')
1414
+ stop = self.safe_value_2(params, 'stop', 'trigger')
1415
1415
  until = self.safe_integer_2(params, 'until', 'till')
1416
- params = self.omit(params, ['stop', 'until', 'till'])
1416
+ params = self.omit(params, ['stop', 'until', 'till', 'trigger'])
1417
1417
  if status == 'closed':
1418
1418
  status = 'done'
1419
1419
  elif status == 'open':