ccxt 4.2.4__tar.gz → 4.2.5__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.4/ccxt.egg-info → ccxt-4.2.5}/PKG-INFO +5 -5
  2. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/__init__.py +1 -1
  3. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bybit.py +2 -0
  4. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/alpaca.py +5 -0
  5. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/__init__.py +1 -1
  6. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/alpaca.py +5 -0
  7. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/exchange.py +1 -1
  8. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/future.py +14 -2
  9. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/binance.py +1 -1
  10. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bingx.py +16 -19
  11. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bybit.py +2 -0
  12. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/delta.py +2 -2
  13. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/htx.py +115 -9
  14. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/phemex.py +1 -0
  15. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/base/exchange.py +1 -1
  16. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/binance.py +1 -1
  17. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bingx.py +16 -19
  18. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bybit.py +2 -0
  19. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/delta.py +2 -2
  20. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/htx.py +115 -9
  21. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/phemex.py +1 -0
  22. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/__init__.py +1 -1
  23. {ccxt-4.2.4 → ccxt-4.2.5/ccxt.egg-info}/PKG-INFO +5 -5
  24. {ccxt-4.2.4 → ccxt-4.2.5}/package.json +1 -1
  25. {ccxt-4.2.4 → ccxt-4.2.5}/LICENSE.txt +0 -0
  26. {ccxt-4.2.4 → ccxt-4.2.5}/MANIFEST.in +0 -0
  27. {ccxt-4.2.4 → ccxt-4.2.5}/README.rst +0 -0
  28. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/__init__.py +0 -0
  29. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/ace.py +0 -0
  30. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/alpaca.py +0 -0
  31. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/ascendex.py +0 -0
  32. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bequant.py +0 -0
  33. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bigone.py +0 -0
  34. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/binance.py +0 -0
  35. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/binancecoinm.py +0 -0
  36. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/binanceus.py +0 -0
  37. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/binanceusdm.py +0 -0
  38. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bingx.py +0 -0
  39. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bit2c.py +0 -0
  40. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitbank.py +0 -0
  41. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitbay.py +0 -0
  42. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitbns.py +0 -0
  43. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitcoincom.py +0 -0
  44. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitfinex.py +0 -0
  45. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitfinex2.py +0 -0
  46. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitflyer.py +0 -0
  47. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitforex.py +0 -0
  48. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitget.py +0 -0
  49. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bithumb.py +0 -0
  50. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitmart.py +0 -0
  51. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitmex.py +0 -0
  52. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitopro.py +0 -0
  53. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitpanda.py +0 -0
  54. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitrue.py +0 -0
  55. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitso.py +0 -0
  56. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitstamp.py +0 -0
  57. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitteam.py +0 -0
  58. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bitvavo.py +0 -0
  59. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/bl3p.py +0 -0
  60. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/blockchaincom.py +0 -0
  61. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/btcalpha.py +0 -0
  62. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/btcbox.py +0 -0
  63. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/btcmarkets.py +0 -0
  64. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/btcturk.py +0 -0
  65. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/cex.py +0 -0
  66. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinbase.py +0 -0
  67. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinbasepro.py +0 -0
  68. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coincheck.py +0 -0
  69. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinex.py +0 -0
  70. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinlist.py +0 -0
  71. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinmate.py +0 -0
  72. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinone.py +0 -0
  73. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinsph.py +0 -0
  74. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/coinspot.py +0 -0
  75. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/cryptocom.py +0 -0
  76. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/currencycom.py +0 -0
  77. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/delta.py +0 -0
  78. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/deribit.py +0 -0
  79. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/digifinex.py +0 -0
  80. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/exmo.py +0 -0
  81. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/fmfwio.py +0 -0
  82. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/gate.py +0 -0
  83. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/gateio.py +0 -0
  84. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/gemini.py +0 -0
  85. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/hitbtc.py +0 -0
  86. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/hitbtc3.py +0 -0
  87. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/hollaex.py +0 -0
  88. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/htx.py +0 -0
  89. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/huobi.py +0 -0
  90. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/huobijp.py +0 -0
  91. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/idex.py +0 -0
  92. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/independentreserve.py +0 -0
  93. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/indodax.py +0 -0
  94. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/kraken.py +0 -0
  95. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/krakenfutures.py +0 -0
  96. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/kucoin.py +0 -0
  97. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/kucoinfutures.py +0 -0
  98. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/kuna.py +0 -0
  99. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/latoken.py +0 -0
  100. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/lbank.py +0 -0
  101. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/luno.py +0 -0
  102. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/lykke.py +0 -0
  103. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/mercado.py +0 -0
  104. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/mexc.py +0 -0
  105. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/ndax.py +0 -0
  106. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/novadax.py +0 -0
  107. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/oceanex.py +0 -0
  108. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/okcoin.py +0 -0
  109. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/okx.py +0 -0
  110. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/p2b.py +0 -0
  111. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/paymium.py +0 -0
  112. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/phemex.py +0 -0
  113. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/poloniex.py +0 -0
  114. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/poloniexfutures.py +0 -0
  115. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/probit.py +0 -0
  116. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/timex.py +0 -0
  117. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/tokocrypto.py +0 -0
  118. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/upbit.py +0 -0
  119. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/wavesexchange.py +0 -0
  120. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/wazirx.py +0 -0
  121. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/whitebit.py +0 -0
  122. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/woo.py +0 -0
  123. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/yobit.py +0 -0
  124. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/zaif.py +0 -0
  125. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/abstract/zonda.py +0 -0
  126. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/ace.py +0 -0
  127. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/ascendex.py +0 -0
  128. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/ace.py +0 -0
  129. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/ascendex.py +0 -0
  130. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/__init__.py +0 -0
  131. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/throttler.py +0 -0
  132. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/__init__.py +0 -0
  133. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
  134. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/cache.py +0 -0
  135. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/client.py +0 -0
  136. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/fast_client.py +0 -0
  137. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/functions.py +0 -0
  138. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/order_book.py +0 -0
  139. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/base/ws/order_book_side.py +0 -0
  140. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bequant.py +0 -0
  141. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bigone.py +0 -0
  142. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/binancecoinm.py +0 -0
  143. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/binanceus.py +0 -0
  144. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/binanceusdm.py +0 -0
  145. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bit2c.py +0 -0
  146. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitbank.py +0 -0
  147. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitbay.py +0 -0
  148. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitbns.py +0 -0
  149. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitcoincom.py +0 -0
  150. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitfinex.py +0 -0
  151. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitfinex2.py +0 -0
  152. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitflyer.py +0 -0
  153. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitforex.py +0 -0
  154. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitget.py +0 -0
  155. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bithumb.py +0 -0
  156. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitmart.py +0 -0
  157. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitmex.py +0 -0
  158. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitopro.py +0 -0
  159. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitpanda.py +0 -0
  160. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitrue.py +0 -0
  161. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitso.py +0 -0
  162. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitstamp.py +0 -0
  163. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitteam.py +0 -0
  164. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bitvavo.py +0 -0
  165. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/bl3p.py +0 -0
  166. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/blockchaincom.py +0 -0
  167. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/btcalpha.py +0 -0
  168. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/btcbox.py +0 -0
  169. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/btcmarkets.py +0 -0
  170. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/btcturk.py +0 -0
  171. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/cex.py +0 -0
  172. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinbase.py +0 -0
  173. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinbasepro.py +0 -0
  174. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coincheck.py +0 -0
  175. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinex.py +0 -0
  176. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinlist.py +0 -0
  177. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinmate.py +0 -0
  178. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinone.py +0 -0
  179. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinsph.py +0 -0
  180. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/coinspot.py +0 -0
  181. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/cryptocom.py +0 -0
  182. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/currencycom.py +0 -0
  183. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/deribit.py +0 -0
  184. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/digifinex.py +0 -0
  185. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/exmo.py +0 -0
  186. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/flowbtc.py +0 -0
  187. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/fmfwio.py +0 -0
  188. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/gate.py +0 -0
  189. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/gateio.py +0 -0
  190. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/gemini.py +0 -0
  191. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/hitbtc.py +0 -0
  192. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/hitbtc3.py +0 -0
  193. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/hollaex.py +0 -0
  194. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/huobi.py +0 -0
  195. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/huobijp.py +0 -0
  196. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/idex.py +0 -0
  197. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/independentreserve.py +0 -0
  198. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/indodax.py +0 -0
  199. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/kraken.py +0 -0
  200. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/krakenfutures.py +0 -0
  201. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/kucoin.py +0 -0
  202. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/kucoinfutures.py +0 -0
  203. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/kuna.py +0 -0
  204. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/latoken.py +0 -0
  205. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/lbank.py +0 -0
  206. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/luno.py +0 -0
  207. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/lykke.py +0 -0
  208. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/mercado.py +0 -0
  209. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/mexc.py +0 -0
  210. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/ndax.py +0 -0
  211. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/novadax.py +0 -0
  212. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/oceanex.py +0 -0
  213. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/okcoin.py +0 -0
  214. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/okx.py +0 -0
  215. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/p2b.py +0 -0
  216. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/paymium.py +0 -0
  217. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/poloniex.py +0 -0
  218. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/poloniexfutures.py +0 -0
  219. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/probit.py +0 -0
  220. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/timex.py +0 -0
  221. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/tokocrypto.py +0 -0
  222. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/upbit.py +0 -0
  223. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/wavesexchange.py +0 -0
  224. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/wazirx.py +0 -0
  225. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/whitebit.py +0 -0
  226. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/woo.py +0 -0
  227. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/yobit.py +0 -0
  228. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/zaif.py +0 -0
  229. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/async_support/zonda.py +0 -0
  230. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/base/__init__.py +0 -0
  231. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/base/decimal_to_precision.py +0 -0
  232. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/base/errors.py +0 -0
  233. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/base/precise.py +0 -0
  234. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/base/types.py +0 -0
  235. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bequant.py +0 -0
  236. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bigone.py +0 -0
  237. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/binancecoinm.py +0 -0
  238. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/binanceus.py +0 -0
  239. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/binanceusdm.py +0 -0
  240. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bit2c.py +0 -0
  241. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitbank.py +0 -0
  242. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitbay.py +0 -0
  243. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitbns.py +0 -0
  244. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitcoincom.py +0 -0
  245. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitfinex.py +0 -0
  246. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitfinex2.py +0 -0
  247. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitflyer.py +0 -0
  248. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitforex.py +0 -0
  249. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitget.py +0 -0
  250. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bithumb.py +0 -0
  251. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitmart.py +0 -0
  252. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitmex.py +0 -0
  253. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitopro.py +0 -0
  254. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitpanda.py +0 -0
  255. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitrue.py +0 -0
  256. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitso.py +0 -0
  257. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitstamp.py +0 -0
  258. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitteam.py +0 -0
  259. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bitvavo.py +0 -0
  260. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/bl3p.py +0 -0
  261. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/blockchaincom.py +0 -0
  262. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/btcalpha.py +0 -0
  263. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/btcbox.py +0 -0
  264. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/btcmarkets.py +0 -0
  265. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/btcturk.py +0 -0
  266. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/cex.py +0 -0
  267. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinbase.py +0 -0
  268. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinbasepro.py +0 -0
  269. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coincheck.py +0 -0
  270. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinex.py +0 -0
  271. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinlist.py +0 -0
  272. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinmate.py +0 -0
  273. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinone.py +0 -0
  274. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinsph.py +0 -0
  275. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/coinspot.py +0 -0
  276. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/cryptocom.py +0 -0
  277. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/currencycom.py +0 -0
  278. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/deribit.py +0 -0
  279. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/digifinex.py +0 -0
  280. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/exmo.py +0 -0
  281. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/flowbtc.py +0 -0
  282. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/fmfwio.py +0 -0
  283. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/gate.py +0 -0
  284. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/gateio.py +0 -0
  285. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/gemini.py +0 -0
  286. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/hitbtc.py +0 -0
  287. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/hitbtc3.py +0 -0
  288. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/hollaex.py +0 -0
  289. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/huobi.py +0 -0
  290. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/huobijp.py +0 -0
  291. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/idex.py +0 -0
  292. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/independentreserve.py +0 -0
  293. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/indodax.py +0 -0
  294. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/kraken.py +0 -0
  295. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/krakenfutures.py +0 -0
  296. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/kucoin.py +0 -0
  297. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/kucoinfutures.py +0 -0
  298. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/kuna.py +0 -0
  299. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/latoken.py +0 -0
  300. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/lbank.py +0 -0
  301. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/luno.py +0 -0
  302. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/lykke.py +0 -0
  303. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/mercado.py +0 -0
  304. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/mexc.py +0 -0
  305. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/ndax.py +0 -0
  306. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/novadax.py +0 -0
  307. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/oceanex.py +0 -0
  308. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/okcoin.py +0 -0
  309. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/okx.py +0 -0
  310. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/p2b.py +0 -0
  311. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/paymium.py +0 -0
  312. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/poloniex.py +0 -0
  313. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/poloniexfutures.py +0 -0
  314. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/alpaca.py +0 -0
  315. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/ascendex.py +0 -0
  316. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bequant.py +0 -0
  317. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/binance.py +0 -0
  318. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/binancecoinm.py +0 -0
  319. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/binanceus.py +0 -0
  320. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/binanceusdm.py +0 -0
  321. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bingx.py +0 -0
  322. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitcoincom.py +0 -0
  323. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitfinex.py +0 -0
  324. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitfinex2.py +0 -0
  325. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitget.py +0 -0
  326. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitmart.py +0 -0
  327. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitmex.py +0 -0
  328. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitopro.py +0 -0
  329. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitpanda.py +0 -0
  330. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitrue.py +0 -0
  331. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitstamp.py +0 -0
  332. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bitvavo.py +0 -0
  333. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/blockchaincom.py +0 -0
  334. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/bybit.py +0 -0
  335. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/cex.py +0 -0
  336. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/coinbase.py +0 -0
  337. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/coinbasepro.py +0 -0
  338. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/coinex.py +0 -0
  339. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/cryptocom.py +0 -0
  340. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/currencycom.py +0 -0
  341. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/deribit.py +0 -0
  342. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/exmo.py +0 -0
  343. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/gate.py +0 -0
  344. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/gateio.py +0 -0
  345. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/gemini.py +0 -0
  346. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/hitbtc.py +0 -0
  347. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/hollaex.py +0 -0
  348. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/htx.py +0 -0
  349. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/huobi.py +0 -0
  350. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/huobijp.py +0 -0
  351. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/idex.py +0 -0
  352. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/independentreserve.py +0 -0
  353. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/kraken.py +0 -0
  354. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/krakenfutures.py +0 -0
  355. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/kucoin.py +0 -0
  356. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/kucoinfutures.py +0 -0
  357. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/luno.py +0 -0
  358. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/mexc.py +0 -0
  359. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/ndax.py +0 -0
  360. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/okcoin.py +0 -0
  361. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/okx.py +0 -0
  362. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/phemex.py +0 -0
  363. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/poloniex.py +0 -0
  364. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/poloniexfutures.py +0 -0
  365. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/probit.py +0 -0
  366. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/upbit.py +0 -0
  367. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/wazirx.py +0 -0
  368. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/whitebit.py +0 -0
  369. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/pro/woo.py +0 -0
  370. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/probit.py +0 -0
  371. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/__init__.py +0 -0
  372. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  373. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  374. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  375. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/der.py +0 -0
  376. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  377. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  378. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  379. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  380. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  381. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/ecdsa/util.py +0 -0
  382. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/keccak/__init__.py +0 -0
  383. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/static_dependencies/keccak/keccak.py +0 -0
  384. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/__init__.py +0 -0
  385. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/__init__.py +0 -0
  386. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_account.py +0 -0
  387. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_balance.py +0 -0
  388. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_borrow_interest.py +0 -0
  389. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_borrow_rate.py +0 -0
  390. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_calculate_fee.py +0 -0
  391. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_crypto.py +0 -0
  392. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_currency.py +0 -0
  393. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_datetime.py +0 -0
  394. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_decimal_to_precision.py +0 -0
  395. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_deep_extend.py +0 -0
  396. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
  397. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
  398. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_funding_rate_history.py +0 -0
  399. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_ledger_entry.py +0 -0
  400. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_ledger_item.py +0 -0
  401. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_leverage_tier.py +0 -0
  402. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_margin_modification.py +0 -0
  403. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_market.py +0 -0
  404. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_number.py +0 -0
  405. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_ohlcv.py +0 -0
  406. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_open_interest.py +0 -0
  407. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_order.py +0 -0
  408. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_order_book.py +0 -0
  409. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_position.py +0 -0
  410. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_shared_methods.py +0 -0
  411. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_status.py +0 -0
  412. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_throttle.py +0 -0
  413. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_ticker.py +0 -0
  414. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_trade.py +0 -0
  415. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_trading_fee.py +0 -0
  416. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/base/test_transaction.py +0 -0
  417. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/test_async.py +0 -0
  418. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/test/test_sync.py +0 -0
  419. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/timex.py +0 -0
  420. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/tokocrypto.py +0 -0
  421. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/upbit.py +0 -0
  422. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/wavesexchange.py +0 -0
  423. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/wazirx.py +0 -0
  424. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/whitebit.py +0 -0
  425. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/woo.py +0 -0
  426. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/yobit.py +0 -0
  427. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/zaif.py +0 -0
  428. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt/zonda.py +0 -0
  429. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt.egg-info/SOURCES.txt +0 -0
  430. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt.egg-info/dependency_links.txt +0 -0
  431. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt.egg-info/requires.txt +0 -0
  432. {ccxt-4.2.4 → ccxt-4.2.5}/ccxt.egg-info/top_level.txt +0 -0
  433. {ccxt-4.2.4 → ccxt-4.2.5}/setup.cfg +0 -0
  434. {ccxt-4.2.4 → ccxt-4.2.5}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.2.4
3
+ Version: 4.2.5
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
@@ -34,7 +34,7 @@ Description: # CCXT – CryptoCurrency eXchange Trading Library
34
34
 
35
35
  ## Sponsored Promotion
36
36
 
37
- [![BitMart Trading Journey Through CCXT – Win VIP Fee Rates and Dive into a $30,000 Rewards Pool](https://github-production-user-asset-6210df.s3.amazonaws.com/1294454/287287291-697bdaf6-6ded-4c53-abb5-511a37ffd1bb.jpg)](https://www.bitmart.com/activity/CCXT-Promotion?r=rQCFLh)
37
+ [![CCXT_APP_basic_mode_banner](https://github.com/ccxt/ccxt/assets/43336371/c112c89d-567a-4b03-bb4d-1ca7a07ae2f7)](https://x.woo.org/en/ccxt-competition-1)
38
38
 
39
39
  ## See Also
40
40
 
@@ -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.4/dist/ccxt.browser.js
226
- * unpkg: https://unpkg.com/ccxt@4.2.4/dist/ccxt.browser.js
225
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.5/dist/ccxt.browser.js
226
+ * unpkg: https://unpkg.com/ccxt@4.2.5/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.4/dist/ccxt.browser.js"></script>
231
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.5/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.4'
25
+ __version__ = '4.2.5'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -114,6 +114,7 @@ class ImplicitAPI:
114
114
  private_get_v5_position_list = privateGetV5PositionList = Entry('v5/position/list', 'private', 'GET', {'cost': 5})
115
115
  private_get_v5_execution_list = privateGetV5ExecutionList = Entry('v5/execution/list', 'private', 'GET', {'cost': 5})
116
116
  private_get_v5_position_closed_pnl = privateGetV5PositionClosedPnl = Entry('v5/position/closed-pnl', 'private', 'GET', {'cost': 5})
117
+ private_get_v5_position_move_history = privateGetV5PositionMoveHistory = Entry('v5/position/move-history', 'private', 'GET', {'cost': 5})
117
118
  private_get_v5_pre_upgrade_order_history = privateGetV5PreUpgradeOrderHistory = Entry('v5/pre-upgrade/order/history', 'private', 'GET', {'cost': 5})
118
119
  private_get_v5_pre_upgrade_execution_list = privateGetV5PreUpgradeExecutionList = Entry('v5/pre-upgrade/execution/list', 'private', 'GET', {'cost': 5})
119
120
  private_get_v5_pre_upgrade_position_closed_pnl = privateGetV5PreUpgradePositionClosedPnl = Entry('v5/pre-upgrade/position/closed-pnl', 'private', 'GET', {'cost': 5})
@@ -257,6 +258,7 @@ class ImplicitAPI:
257
258
  private_post_v5_position_trading_stop = privatePostV5PositionTradingStop = Entry('v5/position/trading-stop', 'private', 'POST', {'cost': 5})
258
259
  private_post_v5_position_set_auto_add_margin = privatePostV5PositionSetAutoAddMargin = Entry('v5/position/set-auto-add-margin', 'private', 'POST', {'cost': 5})
259
260
  private_post_v5_position_add_margin = privatePostV5PositionAddMargin = Entry('v5/position/add-margin', 'private', 'POST', {'cost': 5})
261
+ private_post_v5_position_move_positions = privatePostV5PositionMovePositions = Entry('v5/position/move-positions', 'private', 'POST', {'cost': 5})
260
262
  private_post_v5_position_confirm_pending_mmr = privatePostV5PositionConfirmPendingMmr = Entry('v5/position/confirm-pending-mmr', 'private', 'POST', {'cost': 5})
261
263
  private_post_v5_account_upgrade_to_uta = privatePostV5AccountUpgradeToUta = Entry('v5/account/upgrade-to-uta', 'private', 'POST', {'cost': 5})
262
264
  private_post_v5_account_quick_repayment = privatePostV5AccountQuickRepayment = Entry('v5/account/quick-repayment', 'private', 'POST', {'cost': 5})
@@ -355,10 +355,15 @@ class alpaca(Exchange, ImplicitAPI):
355
355
  #
356
356
  marketId = self.safe_string(asset, 'symbol')
357
357
  parts = marketId.split('/')
358
+ assetClass = self.safe_string(asset, 'class')
358
359
  baseId = self.safe_string(parts, 0)
359
360
  quoteId = self.safe_string(parts, 1)
360
361
  base = self.safe_currency_code(baseId)
361
362
  quote = self.safe_currency_code(quoteId)
363
+ # Us equity markets do not include quote in symbol.
364
+ # We can safely coerce us_equity quote to USD
365
+ if quote is None and assetClass == 'us_equity':
366
+ quote = 'USD'
362
367
  symbol = base + '/' + quote
363
368
  status = self.safe_string(asset, 'status')
364
369
  active = (status == 'active')
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.4'
7
+ __version__ = '4.2.5'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -355,10 +355,15 @@ class alpaca(Exchange, ImplicitAPI):
355
355
  #
356
356
  marketId = self.safe_string(asset, 'symbol')
357
357
  parts = marketId.split('/')
358
+ assetClass = self.safe_string(asset, 'class')
358
359
  baseId = self.safe_string(parts, 0)
359
360
  quoteId = self.safe_string(parts, 1)
360
361
  base = self.safe_currency_code(baseId)
361
362
  quote = self.safe_currency_code(quoteId)
363
+ # Us equity markets do not include quote in symbol.
364
+ # We can safely coerce us_equity quote to USD
365
+ if quote is None and assetClass == 'us_equity':
366
+ quote = 'USD'
362
367
  symbol = base + '/' + quote
363
368
  status = self.safe_string(asset, 'status')
364
369
  active = (status == 'active')
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.2.4'
5
+ __version__ = '4.2.5'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -21,8 +21,20 @@ class Future(asyncio.Future):
21
21
  exception = done.exception()
22
22
  if exception is None:
23
23
  complete, _ = done.result()
24
- first_result = list(complete)[0].result()
25
- future.set_result(first_result)
24
+ # check for exceptions
25
+ exceptions = []
26
+ for f in complete:
27
+ err = f.exception()
28
+ if err:
29
+ exceptions.append(err)
30
+ # if any exceptions return with first exception
31
+ if len (exceptions) > 0:
32
+ future.set_exception(exceptions[0])
33
+ return
34
+ # else return first result
35
+ else:
36
+ first_result = list(complete)[0].result()
37
+ future.set_result(first_result)
26
38
  else:
27
39
  future.set_exception(exception)
28
40
  task.add_done_callback(callback)
@@ -4830,7 +4830,7 @@ class binance(Exchange, ImplicitAPI):
4830
4830
  else:
4831
4831
  return response
4832
4832
 
4833
- async def cancel_orders(self, ids: List[Int], symbol: Str = None, params={}):
4833
+ async def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
4834
4834
  """
4835
4835
  cancel multiple orders
4836
4836
  :see: https://binance-docs.github.io/apidocs/futures/en/#cancel-multiple-orders-trade
@@ -7,7 +7,6 @@ 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
10
  import numbers
12
11
  from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderRequest, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade, Transaction
13
12
  from typing import List
@@ -1291,17 +1290,10 @@ class bingx(Exchange, ImplicitAPI):
1291
1290
  close = self.safe_string(ticker, 'lastPrice')
1292
1291
  quoteVolume = self.safe_string(ticker, 'quoteVolume')
1293
1292
  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')
1300
- # percentage = self.safe_string(ticker, 'priceChangePercent')
1301
- # if percentage is not None:
1302
- # percentage = percentage.replace('%', '')
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
1293
+ percentage = self.safe_string(ticker, 'priceChangePercent')
1294
+ if percentage is not None:
1295
+ percentage = percentage.replace('%', '')
1296
+ change = self.safe_string(ticker, 'priceChange')
1305
1297
  ts = self.safe_integer(ticker, 'closeTime')
1306
1298
  datetime = self.iso8601(ts)
1307
1299
  bid = self.safe_string(ticker, 'bidPrice')
@@ -1609,6 +1601,10 @@ class bingx(Exchange, ImplicitAPI):
1609
1601
  }
1610
1602
  isMarketOrder = type == 'MARKET'
1611
1603
  isSpot = marketType == 'spot'
1604
+ exchangeClientOrderId = 'newClientOrderId' if isSpot else 'clientOrderID'
1605
+ clientOrderId = self.safe_string_2(params, exchangeClientOrderId, 'clientOrderId')
1606
+ if clientOrderId is not None:
1607
+ request[exchangeClientOrderId] = clientOrderId
1612
1608
  timeInForce = self.safe_string_upper(params, 'timeInForce')
1613
1609
  if timeInForce == 'IOC':
1614
1610
  request['timeInForce'] = 'IOC'
@@ -1721,7 +1717,7 @@ class bingx(Exchange, ImplicitAPI):
1721
1717
  positionSide = 'LONG' if (side == 'buy') else 'SHORT'
1722
1718
  request['positionSide'] = positionSide
1723
1719
  request['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, amount))
1724
- params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent', 'takeProfit', 'stopLoss'])
1720
+ params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent', 'takeProfit', 'stopLoss', 'clientOrderId'])
1725
1721
  return self.extend(request, params)
1726
1722
 
1727
1723
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
@@ -1735,6 +1731,7 @@ class bingx(Exchange, ImplicitAPI):
1735
1731
  :param float amount: how much you want to trade in units of the base currency
1736
1732
  :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1737
1733
  :param dict [params]: extra parameters specific to the exchange API endpoint
1734
+ :param str [params.clientOrderId]: a unique id for the order
1738
1735
  :param bool [params.postOnly]: True to place a post only order
1739
1736
  :param str [params.timeInForce]: spot supports 'PO' and 'IOC', swap supports 'PO', 'GTC', 'IOC' and 'FOK'
1740
1737
  :param bool [params.reduceOnly]: *swap only* True or False whether the order is reduce only
@@ -1797,7 +1794,7 @@ class bingx(Exchange, ImplicitAPI):
1797
1794
  # }
1798
1795
  #
1799
1796
  if isinstance(response, str):
1800
- response = json.loads(response)
1797
+ response = self.parse_json(response)
1801
1798
  data = self.safe_value(response, 'data', {})
1802
1799
  order = self.safe_value(data, 'order', data)
1803
1800
  return self.parse_order(order, market)
@@ -2043,7 +2040,7 @@ class bingx(Exchange, ImplicitAPI):
2043
2040
  'currency': feeCurrencyCode,
2044
2041
  'cost': Precise.string_abs(feeCost),
2045
2042
  }
2046
- clientOrderId = self.safe_string_2(order, 'clientOrderId', 'c')
2043
+ clientOrderId = self.safe_string_n(order, ['clientOrderID', 'origClientOrderId', 'c'])
2047
2044
  stopLoss = self.safe_value(order, 'stopLoss')
2048
2045
  stopLossPrice = None
2049
2046
  if stopLoss is not None:
@@ -2051,7 +2048,7 @@ class bingx(Exchange, ImplicitAPI):
2051
2048
  if (stopLoss is not None) and ((not isinstance(stopLoss, numbers.Real))):
2052
2049
  # stopLoss: '{"stopPrice":50,"workingType":"MARK_PRICE","type":"STOP_MARKET","quantity":1}',
2053
2050
  if isinstance(stopLoss, str):
2054
- stopLoss = json.loads(stopLoss)
2051
+ stopLoss = self.parse_json(stopLoss)
2055
2052
  stopLossPrice = self.safe_number(stopLoss, 'stopPrice')
2056
2053
  takeProfit = self.safe_value(order, 'takeProfit')
2057
2054
  takeProfitPrice = None
@@ -2060,7 +2057,7 @@ class bingx(Exchange, ImplicitAPI):
2060
2057
  if (takeProfit is not None) and ((not isinstance(takeProfit, numbers.Real))):
2061
2058
  # takeProfit: '{"stopPrice":150,"workingType":"MARK_PRICE","type":"TAKE_PROFIT_MARKET","quantity":1}',
2062
2059
  if isinstance(takeProfit, str):
2063
- takeProfit = json.loads(takeProfit)
2060
+ takeProfit = self.parse_json(takeProfit)
2064
2061
  takeProfitPrice = self.safe_number(takeProfit, 'stopPrice')
2065
2062
  return self.safe_order({
2066
2063
  'info': order,
@@ -2252,7 +2249,7 @@ class bingx(Exchange, ImplicitAPI):
2252
2249
  raise BadRequest(self.id + ' cancelAllOrders is only supported for spot and swap markets.')
2253
2250
  return response
2254
2251
 
2255
- async def cancel_orders(self, ids: List[Int], symbol: Str = None, params={}):
2252
+ async def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
2256
2253
  """
2257
2254
  cancel multiple orders
2258
2255
  :see: https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20a%20Batch%20of%20Orders
@@ -2282,7 +2279,7 @@ class bingx(Exchange, ImplicitAPI):
2282
2279
  parsedIds.append(stringId)
2283
2280
  response = None
2284
2281
  if market['spot']:
2285
- spotReqKey = 'clientOrderIds' if areClientOrderIds else 'orderIds'
2282
+ spotReqKey = 'clientOrderIDs' if areClientOrderIds else 'orderIds'
2286
2283
  request[spotReqKey] = ','.join(parsedIds)
2287
2284
  response = await self.spotV1PrivatePostTradeCancelOrders(self.extend(request, params))
2288
2285
  else:
@@ -296,6 +296,7 @@ class bybit(Exchange, ImplicitAPI):
296
296
  'v5/position/list': 5, # 10/s => cost = 50 / 10 = 5
297
297
  'v5/execution/list': 5, # 10/s => cost = 50 / 10 = 5
298
298
  'v5/position/closed-pnl': 5, # 10/s => cost = 50 / 10 = 5
299
+ 'v5/position/move-history': 5, # 10/s => cost = 50 / 10 = 5
299
300
  # pre-upgrade
300
301
  'v5/pre-upgrade/order/history': 5,
301
302
  'v5/pre-upgrade/execution/list': 5,
@@ -460,6 +461,7 @@ class bybit(Exchange, ImplicitAPI):
460
461
  'v5/position/trading-stop': 5, # 10/s => cost = 50 / 10 = 5
461
462
  'v5/position/set-auto-add-margin': 5,
462
463
  'v5/position/add-margin': 5,
464
+ 'v5/position/move-positions': 5,
463
465
  'v5/position/confirm-pending-mmr': 5,
464
466
  # account
465
467
  'v5/account/upgrade-to-uta': 5,
@@ -333,12 +333,12 @@ class delta(Exchange, ImplicitAPI):
333
333
  elif symbol in self.markets_by_id:
334
334
  markets = self.markets_by_id[symbol]
335
335
  return markets[0]
336
- elif (symbol.find('-C') > -1) or (symbol.find('-P') > -1) or (symbol.find('C')) or (symbol.find('P')):
336
+ elif (symbol.endswith('-C')) or (symbol.endswith('-P')) or (symbol.startswith('C-')) or (symbol.startswith('P-')):
337
337
  return self.create_expired_option_market(symbol)
338
338
  raise BadSymbol(self.id + ' does not have market symbol ' + symbol)
339
339
 
340
340
  def safe_market(self, marketId=None, market=None, delimiter=None, marketType=None):
341
- isOption = (marketId is not None) and ((marketId.find('-C') > -1) or (marketId.find('-P') > -1) or (marketId.find('C')) or (marketId.find('P')))
341
+ isOption = (marketId is not None) and ((marketId.endswith('-C')) or (marketId.endswith('-P')) or (marketId.startswith('C-')) or (marketId.startswith('P-')))
342
342
  if isOption and not (marketId in self.markets_by_id):
343
343
  # handle expired option contracts
344
344
  return self.create_expired_option_market(marketId)
@@ -3618,8 +3618,9 @@ class htx(Exchange, ImplicitAPI):
3618
3618
  response = None
3619
3619
  stop = self.safe_value(params, 'stop')
3620
3620
  stopLossTakeProfit = self.safe_value(params, 'stopLossTakeProfit')
3621
- params = self.omit(params, ['stop', 'stopLossTakeProfit'])
3622
- if stop or stopLossTakeProfit:
3621
+ trailing = self.safe_value(params, 'trailing', False)
3622
+ params = self.omit(params, ['stop', 'stopLossTakeProfit', 'trailing'])
3623
+ if stop or stopLossTakeProfit or trailing:
3623
3624
  if limit is not None:
3624
3625
  request['page_size'] = limit
3625
3626
  request['contract_code'] = market['id']
@@ -3640,6 +3641,8 @@ class htx(Exchange, ImplicitAPI):
3640
3641
  response = await self.contractPrivatePostLinearSwapApiV1SwapTriggerHisorders(self.extend(request, params))
3641
3642
  elif stopLossTakeProfit:
3642
3643
  response = await self.contractPrivatePostLinearSwapApiV1SwapTpslHisorders(self.extend(request, params))
3644
+ elif trailing:
3645
+ response = await self.contractPrivatePostLinearSwapApiV1SwapTrackHisorders(self.extend(request, params))
3643
3646
  else:
3644
3647
  response = await self.contractPrivatePostLinearSwapApiV3SwapHisorders(self.extend(request, params))
3645
3648
  elif marginMode == 'cross':
@@ -3647,6 +3650,8 @@ class htx(Exchange, ImplicitAPI):
3647
3650
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTriggerHisorders(self.extend(request, params))
3648
3651
  elif stopLossTakeProfit:
3649
3652
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTpslHisorders(self.extend(request, params))
3653
+ elif trailing:
3654
+ response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTrackHisorders(self.extend(request, params))
3650
3655
  else:
3651
3656
  response = await self.contractPrivatePostLinearSwapApiV3SwapCrossHisorders(self.extend(request, params))
3652
3657
  elif market['inverse']:
@@ -3655,6 +3660,8 @@ class htx(Exchange, ImplicitAPI):
3655
3660
  response = await self.contractPrivatePostSwapApiV1SwapTriggerHisorders(self.extend(request, params))
3656
3661
  elif stopLossTakeProfit:
3657
3662
  response = await self.contractPrivatePostSwapApiV1SwapTpslHisorders(self.extend(request, params))
3663
+ elif trailing:
3664
+ response = await self.contractPrivatePostSwapApiV1SwapTrackHisorders(self.extend(request, params))
3658
3665
  else:
3659
3666
  response = await self.contractPrivatePostSwapApiV3SwapHisorders(self.extend(request, params))
3660
3667
  elif market['future']:
@@ -3663,6 +3670,8 @@ class htx(Exchange, ImplicitAPI):
3663
3670
  response = await self.contractPrivatePostApiV1ContractTriggerHisorders(self.extend(request, params))
3664
3671
  elif stopLossTakeProfit:
3665
3672
  response = await self.contractPrivatePostApiV1ContractTpslHisorders(self.extend(request, params))
3673
+ elif trailing:
3674
+ response = await self.contractPrivatePostApiV1ContractTrackHisorders(self.extend(request, params))
3666
3675
  else:
3667
3676
  response = await self.contractPrivatePostApiV3ContractHisorders(self.extend(request, params))
3668
3677
  #
@@ -3834,6 +3843,7 @@ class htx(Exchange, ImplicitAPI):
3834
3843
  :param bool [params.stop]: *contract only* if the orders are stop trigger orders or not
3835
3844
  :param bool [params.stopLossTakeProfit]: *contract only* if the orders are stop-loss or take-profit orders
3836
3845
  :param int [params.until]: the latest time in ms to fetch entries for
3846
+ :param boolean [params.trailing]: *contract only* set to True if you want to fetch trailing stop orders
3837
3847
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
3838
3848
  """
3839
3849
  await self.load_markets()
@@ -3894,6 +3904,7 @@ class htx(Exchange, ImplicitAPI):
3894
3904
  :param dict [params]: extra parameters specific to the exchange API endpoint
3895
3905
  :param bool [params.stop]: *contract only* if the orders are stop trigger orders or not
3896
3906
  :param bool [params.stopLossTakeProfit]: *contract only* if the orders are stop-loss or take-profit orders
3907
+ :param boolean [params.trailing]: *contract only* set to True if you want to fetch trailing stop orders
3897
3908
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
3898
3909
  """
3899
3910
  await self.load_markets()
@@ -3931,7 +3942,8 @@ class htx(Exchange, ImplicitAPI):
3931
3942
  request['contract_code'] = market['id']
3932
3943
  stop = self.safe_value(params, 'stop')
3933
3944
  stopLossTakeProfit = self.safe_value(params, 'stopLossTakeProfit')
3934
- params = self.omit(params, ['stop', 'stopLossTakeProfit'])
3945
+ trailing = self.safe_value(params, 'trailing', False)
3946
+ params = self.omit(params, ['stop', 'stopLossTakeProfit', 'trailing'])
3935
3947
  if market['linear']:
3936
3948
  marginMode = None
3937
3949
  marginMode, params = self.handle_margin_mode_and_params('fetchOpenOrders', params)
@@ -3941,6 +3953,8 @@ class htx(Exchange, ImplicitAPI):
3941
3953
  response = await self.contractPrivatePostLinearSwapApiV1SwapTriggerOpenorders(self.extend(request, params))
3942
3954
  elif stopLossTakeProfit:
3943
3955
  response = await self.contractPrivatePostLinearSwapApiV1SwapTpslOpenorders(self.extend(request, params))
3956
+ elif trailing:
3957
+ response = await self.contractPrivatePostLinearSwapApiV1SwapTrackOpenorders(self.extend(request, params))
3944
3958
  else:
3945
3959
  response = await self.contractPrivatePostLinearSwapApiV1SwapOpenorders(self.extend(request, params))
3946
3960
  elif marginMode == 'cross':
@@ -3948,6 +3962,8 @@ class htx(Exchange, ImplicitAPI):
3948
3962
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTriggerOpenorders(self.extend(request, params))
3949
3963
  elif stopLossTakeProfit:
3950
3964
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTpslOpenorders(self.extend(request, params))
3965
+ elif trailing:
3966
+ response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTrackOpenorders(self.extend(request, params))
3951
3967
  else:
3952
3968
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossOpenorders(self.extend(request, params))
3953
3969
  elif market['inverse']:
@@ -3956,6 +3972,8 @@ class htx(Exchange, ImplicitAPI):
3956
3972
  response = await self.contractPrivatePostSwapApiV1SwapTriggerOpenorders(self.extend(request, params))
3957
3973
  elif stopLossTakeProfit:
3958
3974
  response = await self.contractPrivatePostSwapApiV1SwapTpslOpenorders(self.extend(request, params))
3975
+ elif trailing:
3976
+ response = await self.contractPrivatePostSwapApiV1SwapTrackOpenorders(self.extend(request, params))
3959
3977
  else:
3960
3978
  response = await self.contractPrivatePostSwapApiV1SwapOpenorders(self.extend(request, params))
3961
3979
  elif market['future']:
@@ -3964,6 +3982,8 @@ class htx(Exchange, ImplicitAPI):
3964
3982
  response = await self.contractPrivatePostApiV1ContractTriggerOpenorders(self.extend(request, params))
3965
3983
  elif stopLossTakeProfit:
3966
3984
  response = await self.contractPrivatePostApiV1ContractTpslOpenorders(self.extend(request, params))
3985
+ elif trailing:
3986
+ response = await self.contractPrivatePostApiV1ContractTrackOpenorders(self.extend(request, params))
3967
3987
  else:
3968
3988
  response = await self.contractPrivatePostApiV1ContractOpenorders(self.extend(request, params))
3969
3989
  #
@@ -4111,6 +4131,45 @@ class htx(Exchange, ImplicitAPI):
4111
4131
  # "ts": 1683179527011
4112
4132
  # }
4113
4133
  #
4134
+ # trailing
4135
+ #
4136
+ # {
4137
+ # "status": "ok",
4138
+ # "data": {
4139
+ # "orders": [
4140
+ # {
4141
+ # "contract_type": "swap",
4142
+ # "business_type": "swap",
4143
+ # "pair": "BTC-USDT",
4144
+ # "symbol": "BTC",
4145
+ # "contract_code": "BTC-USDT",
4146
+ # "volume": 1.000000000000000000,
4147
+ # "order_type": 1,
4148
+ # "direction": "sell",
4149
+ # "offset": "close",
4150
+ # "lever_rate": 1,
4151
+ # "order_id": 1192021437253877761,
4152
+ # "order_id_str": "1192021437253877761",
4153
+ # "order_source": "api",
4154
+ # "created_at": 1704241657328,
4155
+ # "order_price_type": "formula_price",
4156
+ # "status": 2,
4157
+ # "callback_rate": 0.050000000000000000,
4158
+ # "active_price": 50000.000000000000000000,
4159
+ # "is_active": 0,
4160
+ # "margin_mode": "cross",
4161
+ # "margin_account": "USDT",
4162
+ # "trade_partition": "USDT",
4163
+ # "reduce_only": 1
4164
+ # },
4165
+ # ],
4166
+ # "total_page": 1,
4167
+ # "current_page": 1,
4168
+ # "total_size": 2
4169
+ # },
4170
+ # "ts": 1704242440106
4171
+ # }
4172
+ #
4114
4173
  orders = self.safe_value(response, 'data')
4115
4174
  if not isinstance(orders, list):
4116
4175
  orders = self.safe_value(orders, 'orders', [])
@@ -4369,6 +4428,33 @@ class htx(Exchange, ImplicitAPI):
4369
4428
  # "trade_partition": "USDT"
4370
4429
  # }
4371
4430
  #
4431
+ # trailing: fetchOpenOrders
4432
+ #
4433
+ # {
4434
+ # "contract_type": "swap",
4435
+ # "business_type": "swap",
4436
+ # "pair": "BTC-USDT",
4437
+ # "symbol": "BTC",
4438
+ # "contract_code": "BTC-USDT",
4439
+ # "volume": 1.000000000000000000,
4440
+ # "order_type": 1,
4441
+ # "direction": "sell",
4442
+ # "offset": "close",
4443
+ # "lever_rate": 1,
4444
+ # "order_id": 1192021437253877761,
4445
+ # "order_id_str": "1192021437253877761",
4446
+ # "order_source": "api",
4447
+ # "created_at": 1704241657328,
4448
+ # "order_price_type": "formula_price",
4449
+ # "status": 2,
4450
+ # "callback_rate": 0.050000000000000000,
4451
+ # "active_price": 50000.000000000000000000,
4452
+ # "is_active": 0,
4453
+ # "margin_mode": "cross",
4454
+ # "margin_account": "USDT",
4455
+ # "trade_partition": "USDT",
4456
+ # "reduce_only": 1
4457
+ # }
4372
4458
  #
4373
4459
  # trigger: fetchOrders
4374
4460
  #
@@ -5023,8 +5109,9 @@ class htx(Exchange, ImplicitAPI):
5023
5109
  :param str id: order id
5024
5110
  :param str symbol: unified symbol of the market the order was made in
5025
5111
  :param dict [params]: extra parameters specific to the exchange API endpoint
5026
- :param bool [params.stop]: *contract only* if the order is a stop trigger order or not
5027
- :param bool [params.stopLossTakeProfit]: *contract only* if the order is a stop-loss or take-profit order
5112
+ :param boolean [params.stop]: *contract only* if the order is a stop trigger order or not
5113
+ :param boolean [params.stopLossTakeProfit]: *contract only* if the order is a stop-loss or take-profit order
5114
+ :param boolean [params.trailing]: *contract only* set to True if you want to cancel a trailing order
5028
5115
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
5029
5116
  """
5030
5117
  await self.load_markets()
@@ -5070,7 +5157,8 @@ class htx(Exchange, ImplicitAPI):
5070
5157
  request['contract_code'] = market['id']
5071
5158
  stop = self.safe_value(params, 'stop')
5072
5159
  stopLossTakeProfit = self.safe_value(params, 'stopLossTakeProfit')
5073
- params = self.omit(params, ['stop', 'stopLossTakeProfit'])
5160
+ trailing = self.safe_value(params, 'trailing', False)
5161
+ params = self.omit(params, ['stop', 'stopLossTakeProfit', 'trailing'])
5074
5162
  if market['linear']:
5075
5163
  marginMode = None
5076
5164
  marginMode, params = self.handle_margin_mode_and_params('cancelOrder', params)
@@ -5080,6 +5168,8 @@ class htx(Exchange, ImplicitAPI):
5080
5168
  response = await self.contractPrivatePostLinearSwapApiV1SwapTriggerCancel(self.extend(request, params))
5081
5169
  elif stopLossTakeProfit:
5082
5170
  response = await self.contractPrivatePostLinearSwapApiV1SwapTpslCancel(self.extend(request, params))
5171
+ elif trailing:
5172
+ response = await self.contractPrivatePostLinearSwapApiV1SwapTrackCancel(self.extend(request, params))
5083
5173
  else:
5084
5174
  response = await self.contractPrivatePostLinearSwapApiV1SwapCancel(self.extend(request, params))
5085
5175
  elif marginMode == 'cross':
@@ -5087,6 +5177,8 @@ class htx(Exchange, ImplicitAPI):
5087
5177
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTriggerCancel(self.extend(request, params))
5088
5178
  elif stopLossTakeProfit:
5089
5179
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTpslCancel(self.extend(request, params))
5180
+ elif trailing:
5181
+ response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTrackCancel(self.extend(request, params))
5090
5182
  else:
5091
5183
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossCancel(self.extend(request, params))
5092
5184
  elif market['inverse']:
@@ -5095,6 +5187,8 @@ class htx(Exchange, ImplicitAPI):
5095
5187
  response = await self.contractPrivatePostSwapApiV1SwapTriggerCancel(self.extend(request, params))
5096
5188
  elif stopLossTakeProfit:
5097
5189
  response = await self.contractPrivatePostSwapApiV1SwapTpslCancel(self.extend(request, params))
5190
+ elif trailing:
5191
+ response = await self.contractPrivatePostSwapApiV1SwapTrackCancel(self.extend(request, params))
5098
5192
  else:
5099
5193
  response = await self.contractPrivatePostSwapApiV1SwapCancel(self.extend(request, params))
5100
5194
  elif market['future']:
@@ -5102,6 +5196,8 @@ class htx(Exchange, ImplicitAPI):
5102
5196
  response = await self.contractPrivatePostApiV1ContractTriggerCancel(self.extend(request, params))
5103
5197
  elif stopLossTakeProfit:
5104
5198
  response = await self.contractPrivatePostApiV1ContractTpslCancel(self.extend(request, params))
5199
+ elif trailing:
5200
+ response = await self.contractPrivatePostApiV1ContractTrackCancel(self.extend(request, params))
5105
5201
  else:
5106
5202
  response = await self.contractPrivatePostApiV1ContractCancel(self.extend(request, params))
5107
5203
  else:
@@ -5282,8 +5378,9 @@ class htx(Exchange, ImplicitAPI):
5282
5378
  cancel all open orders
5283
5379
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
5284
5380
  :param dict [params]: extra parameters specific to the exchange API endpoint
5285
- :param bool [params.stop]: *contract only* if the orders are stop trigger orders or not
5286
- :param bool [params.stopLossTakeProfit]: *contract only* if the orders are stop-loss or take-profit orders
5381
+ :param boolean [params.stop]: *contract only* if the orders are stop trigger orders or not
5382
+ :param boolean [params.stopLossTakeProfit]: *contract only* if the orders are stop-loss or take-profit orders
5383
+ :param boolean [params.trailing]: *contract only* set to True if you want to cancel all trailing orders
5287
5384
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
5288
5385
  """
5289
5386
  await self.load_markets()
@@ -5319,7 +5416,8 @@ class htx(Exchange, ImplicitAPI):
5319
5416
  request['contract_code'] = market['id']
5320
5417
  stop = self.safe_value(params, 'stop')
5321
5418
  stopLossTakeProfit = self.safe_value(params, 'stopLossTakeProfit')
5322
- params = self.omit(params, ['stop', 'stopLossTakeProfit'])
5419
+ trailing = self.safe_value(params, 'trailing', False)
5420
+ params = self.omit(params, ['stop', 'stopLossTakeProfit', 'trailing'])
5323
5421
  if market['linear']:
5324
5422
  marginMode = None
5325
5423
  marginMode, params = self.handle_margin_mode_and_params('cancelAllOrders', params)
@@ -5329,6 +5427,8 @@ class htx(Exchange, ImplicitAPI):
5329
5427
  response = await self.contractPrivatePostLinearSwapApiV1SwapTriggerCancelall(self.extend(request, params))
5330
5428
  elif stopLossTakeProfit:
5331
5429
  response = await self.contractPrivatePostLinearSwapApiV1SwapTpslCancelall(self.extend(request, params))
5430
+ elif trailing:
5431
+ response = await self.contractPrivatePostLinearSwapApiV1SwapTrackCancelall(self.extend(request, params))
5332
5432
  else:
5333
5433
  response = await self.contractPrivatePostLinearSwapApiV1SwapCancelall(self.extend(request, params))
5334
5434
  elif marginMode == 'cross':
@@ -5336,6 +5436,8 @@ class htx(Exchange, ImplicitAPI):
5336
5436
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTriggerCancelall(self.extend(request, params))
5337
5437
  elif stopLossTakeProfit:
5338
5438
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTpslCancelall(self.extend(request, params))
5439
+ elif trailing:
5440
+ response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTrackCancelall(self.extend(request, params))
5339
5441
  else:
5340
5442
  response = await self.contractPrivatePostLinearSwapApiV1SwapCrossCancelall(self.extend(request, params))
5341
5443
  elif market['inverse']:
@@ -5344,6 +5446,8 @@ class htx(Exchange, ImplicitAPI):
5344
5446
  response = await self.contractPrivatePostSwapApiV1SwapTriggerCancelall(self.extend(request, params))
5345
5447
  elif stopLossTakeProfit:
5346
5448
  response = await self.contractPrivatePostSwapApiV1SwapTpslCancelall(self.extend(request, params))
5449
+ elif trailing:
5450
+ response = await self.contractPrivatePostSwapApiV1SwapTrackCancelall(self.extend(request, params))
5347
5451
  else:
5348
5452
  response = await self.contractPrivatePostSwapApiV1SwapCancelall(self.extend(request, params))
5349
5453
  elif market['future']:
@@ -5351,6 +5455,8 @@ class htx(Exchange, ImplicitAPI):
5351
5455
  response = await self.contractPrivatePostApiV1ContractTriggerCancelall(self.extend(request, params))
5352
5456
  elif stopLossTakeProfit:
5353
5457
  response = await self.contractPrivatePostApiV1ContractTpslCancelall(self.extend(request, params))
5458
+ elif trailing:
5459
+ response = await self.contractPrivatePostApiV1ContractTrackCancelall(self.extend(request, params))
5354
5460
  else:
5355
5461
  response = await self.contractPrivatePostApiV1ContractCancelall(self.extend(request, params))
5356
5462
  else:
@@ -457,6 +457,7 @@ class phemex(Exchange, ImplicitAPI):
457
457
  '35104': InsufficientFunds, # {"code":35104,"msg":"phemex.spot.wallet.balance.notenough","data":null}
458
458
  '39995': RateLimitExceeded, # {"code": "39995","msg": "Too many requests."}
459
459
  '39996': PermissionDenied, # {"code": "39996","msg": "Access denied."}
460
+ '39997': BadSymbol, # {"code":39997,"msg":"Symbol not listed sMOVRUSDT","data":null}
460
461
  },
461
462
  'broad': {
462
463
  '401 Insufficient privilege': PermissionDenied, # {"code": "401","msg": "401 Insufficient privilege."}
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.4'
7
+ __version__ = '4.2.5'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -4829,7 +4829,7 @@ class binance(Exchange, ImplicitAPI):
4829
4829
  else:
4830
4830
  return response
4831
4831
 
4832
- def cancel_orders(self, ids: List[Int], symbol: Str = None, params={}):
4832
+ def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
4833
4833
  """
4834
4834
  cancel multiple orders
4835
4835
  :see: https://binance-docs.github.io/apidocs/futures/en/#cancel-multiple-orders-trade