ccxt 4.2.15__tar.gz → 4.2.16__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 (436) hide show
  1. {ccxt-4.2.15/ccxt.egg-info → ccxt-4.2.16}/PKG-INFO +4 -4
  2. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/__init__.py +1 -1
  3. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/ascendex.py +10 -6
  4. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/__init__.py +1 -1
  5. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/ascendex.py +10 -6
  6. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/exchange.py +1 -1
  7. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bingx.py +35 -3
  8. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitmex.py +3 -6
  9. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinone.py +1 -1
  10. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/phemex.py +23 -18
  11. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/base/exchange.py +13 -13
  12. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bingx.py +35 -3
  13. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitmex.py +3 -6
  14. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinone.py +1 -1
  15. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/phemex.py +23 -18
  16. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/__init__.py +3 -1
  17. ccxt-4.2.16/ccxt/pro/coinone.py +395 -0
  18. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/krakenfutures.py +6 -1
  19. {ccxt-4.2.15 → ccxt-4.2.16/ccxt.egg-info}/PKG-INFO +4 -4
  20. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt.egg-info/SOURCES.txt +1 -0
  21. {ccxt-4.2.15 → ccxt-4.2.16}/package.json +1 -1
  22. {ccxt-4.2.15 → ccxt-4.2.16}/LICENSE.txt +0 -0
  23. {ccxt-4.2.15 → ccxt-4.2.16}/MANIFEST.in +0 -0
  24. {ccxt-4.2.15 → ccxt-4.2.16}/README.rst +0 -0
  25. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/__init__.py +0 -0
  26. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/ace.py +0 -0
  27. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/alpaca.py +0 -0
  28. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/ascendex.py +0 -0
  29. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bequant.py +0 -0
  30. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bigone.py +0 -0
  31. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/binance.py +0 -0
  32. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/binancecoinm.py +0 -0
  33. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/binanceus.py +0 -0
  34. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/binanceusdm.py +0 -0
  35. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bingx.py +0 -0
  36. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bit2c.py +0 -0
  37. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitbank.py +0 -0
  38. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitbay.py +0 -0
  39. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitbns.py +0 -0
  40. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitcoincom.py +0 -0
  41. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitfinex.py +0 -0
  42. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitfinex2.py +0 -0
  43. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitflyer.py +0 -0
  44. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitforex.py +0 -0
  45. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitget.py +0 -0
  46. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bithumb.py +0 -0
  47. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitmart.py +0 -0
  48. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitmex.py +0 -0
  49. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitopro.py +0 -0
  50. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitpanda.py +0 -0
  51. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitrue.py +0 -0
  52. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitso.py +0 -0
  53. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitstamp.py +0 -0
  54. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitteam.py +0 -0
  55. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bitvavo.py +0 -0
  56. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bl3p.py +0 -0
  57. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/blockchaincom.py +0 -0
  58. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/btcalpha.py +0 -0
  59. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/btcbox.py +0 -0
  60. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/btcmarkets.py +0 -0
  61. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/btcturk.py +0 -0
  62. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/bybit.py +0 -0
  63. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/cex.py +0 -0
  64. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinbase.py +0 -0
  65. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinbasepro.py +0 -0
  66. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coincheck.py +0 -0
  67. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinex.py +0 -0
  68. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinlist.py +0 -0
  69. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinmate.py +0 -0
  70. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinone.py +0 -0
  71. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinsph.py +0 -0
  72. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/coinspot.py +0 -0
  73. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/cryptocom.py +0 -0
  74. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/currencycom.py +0 -0
  75. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/delta.py +0 -0
  76. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/deribit.py +0 -0
  77. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/digifinex.py +0 -0
  78. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/exmo.py +0 -0
  79. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/fmfwio.py +0 -0
  80. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/gate.py +0 -0
  81. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/gateio.py +0 -0
  82. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/gemini.py +0 -0
  83. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/hitbtc.py +0 -0
  84. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/hitbtc3.py +0 -0
  85. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/hollaex.py +0 -0
  86. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/htx.py +0 -0
  87. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/huobi.py +0 -0
  88. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/huobijp.py +0 -0
  89. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/idex.py +0 -0
  90. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/independentreserve.py +0 -0
  91. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/indodax.py +0 -0
  92. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/kraken.py +0 -0
  93. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/krakenfutures.py +0 -0
  94. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/kucoin.py +0 -0
  95. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/kucoinfutures.py +0 -0
  96. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/kuna.py +0 -0
  97. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/latoken.py +0 -0
  98. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/lbank.py +0 -0
  99. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/luno.py +0 -0
  100. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/lykke.py +0 -0
  101. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/mercado.py +0 -0
  102. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/mexc.py +0 -0
  103. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/ndax.py +0 -0
  104. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/novadax.py +0 -0
  105. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/oceanex.py +0 -0
  106. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/okcoin.py +0 -0
  107. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/okx.py +0 -0
  108. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/p2b.py +0 -0
  109. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/paymium.py +0 -0
  110. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/phemex.py +0 -0
  111. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/poloniex.py +0 -0
  112. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/poloniexfutures.py +0 -0
  113. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/probit.py +0 -0
  114. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/timex.py +0 -0
  115. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/tokocrypto.py +0 -0
  116. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/upbit.py +0 -0
  117. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/wavesexchange.py +0 -0
  118. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/wazirx.py +0 -0
  119. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/whitebit.py +0 -0
  120. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/woo.py +0 -0
  121. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/yobit.py +0 -0
  122. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/zaif.py +0 -0
  123. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/abstract/zonda.py +0 -0
  124. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/ace.py +0 -0
  125. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/alpaca.py +0 -0
  126. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/ace.py +0 -0
  127. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/alpaca.py +0 -0
  128. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/__init__.py +0 -0
  129. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/throttler.py +0 -0
  130. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/__init__.py +0 -0
  131. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
  132. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/cache.py +0 -0
  133. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/client.py +0 -0
  134. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/fast_client.py +0 -0
  135. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/functions.py +0 -0
  136. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/future.py +0 -0
  137. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/order_book.py +0 -0
  138. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/base/ws/order_book_side.py +0 -0
  139. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bequant.py +0 -0
  140. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bigone.py +0 -0
  141. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/binance.py +0 -0
  142. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/binancecoinm.py +0 -0
  143. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/binanceus.py +0 -0
  144. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/binanceusdm.py +0 -0
  145. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bit2c.py +0 -0
  146. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitbank.py +0 -0
  147. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitbay.py +0 -0
  148. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitbns.py +0 -0
  149. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitcoincom.py +0 -0
  150. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitfinex.py +0 -0
  151. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitfinex2.py +0 -0
  152. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitflyer.py +0 -0
  153. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitforex.py +0 -0
  154. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitget.py +0 -0
  155. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bithumb.py +0 -0
  156. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitmart.py +0 -0
  157. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitopro.py +0 -0
  158. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitpanda.py +0 -0
  159. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitrue.py +0 -0
  160. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitso.py +0 -0
  161. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitstamp.py +0 -0
  162. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitteam.py +0 -0
  163. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bitvavo.py +0 -0
  164. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bl3p.py +0 -0
  165. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/blockchaincom.py +0 -0
  166. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/btcalpha.py +0 -0
  167. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/btcbox.py +0 -0
  168. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/btcmarkets.py +0 -0
  169. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/btcturk.py +0 -0
  170. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/bybit.py +0 -0
  171. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/cex.py +0 -0
  172. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinbase.py +0 -0
  173. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinbasepro.py +0 -0
  174. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coincheck.py +0 -0
  175. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinex.py +0 -0
  176. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinlist.py +0 -0
  177. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinmate.py +0 -0
  178. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinsph.py +0 -0
  179. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/coinspot.py +0 -0
  180. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/cryptocom.py +0 -0
  181. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/currencycom.py +0 -0
  182. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/delta.py +0 -0
  183. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/deribit.py +0 -0
  184. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/digifinex.py +0 -0
  185. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/exmo.py +0 -0
  186. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/flowbtc.py +0 -0
  187. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/fmfwio.py +0 -0
  188. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/gate.py +0 -0
  189. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/gateio.py +0 -0
  190. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/gemini.py +0 -0
  191. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/hitbtc.py +0 -0
  192. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/hitbtc3.py +0 -0
  193. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/hollaex.py +0 -0
  194. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/htx.py +0 -0
  195. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/huobi.py +0 -0
  196. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/huobijp.py +0 -0
  197. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/idex.py +0 -0
  198. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/independentreserve.py +0 -0
  199. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/indodax.py +0 -0
  200. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/kraken.py +0 -0
  201. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/krakenfutures.py +0 -0
  202. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/kucoin.py +0 -0
  203. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/kucoinfutures.py +0 -0
  204. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/kuna.py +0 -0
  205. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/latoken.py +0 -0
  206. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/lbank.py +0 -0
  207. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/luno.py +0 -0
  208. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/lykke.py +0 -0
  209. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/mercado.py +0 -0
  210. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/mexc.py +0 -0
  211. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/ndax.py +0 -0
  212. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/novadax.py +0 -0
  213. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/oceanex.py +0 -0
  214. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/okcoin.py +0 -0
  215. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/okx.py +0 -0
  216. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/p2b.py +0 -0
  217. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/paymium.py +0 -0
  218. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/poloniex.py +0 -0
  219. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/poloniexfutures.py +0 -0
  220. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/probit.py +0 -0
  221. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/timex.py +0 -0
  222. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/tokocrypto.py +0 -0
  223. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/upbit.py +0 -0
  224. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/wavesexchange.py +0 -0
  225. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/wazirx.py +0 -0
  226. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/whitebit.py +0 -0
  227. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/woo.py +0 -0
  228. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/yobit.py +0 -0
  229. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/zaif.py +0 -0
  230. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/async_support/zonda.py +0 -0
  231. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/base/__init__.py +0 -0
  232. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/base/decimal_to_precision.py +0 -0
  233. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/base/errors.py +0 -0
  234. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/base/precise.py +0 -0
  235. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/base/types.py +0 -0
  236. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bequant.py +0 -0
  237. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bigone.py +0 -0
  238. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/binance.py +0 -0
  239. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/binancecoinm.py +0 -0
  240. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/binanceus.py +0 -0
  241. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/binanceusdm.py +0 -0
  242. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bit2c.py +0 -0
  243. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitbank.py +0 -0
  244. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitbay.py +0 -0
  245. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitbns.py +0 -0
  246. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitcoincom.py +0 -0
  247. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitfinex.py +0 -0
  248. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitfinex2.py +0 -0
  249. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitflyer.py +0 -0
  250. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitforex.py +0 -0
  251. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitget.py +0 -0
  252. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bithumb.py +0 -0
  253. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitmart.py +0 -0
  254. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitopro.py +0 -0
  255. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitpanda.py +0 -0
  256. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitrue.py +0 -0
  257. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitso.py +0 -0
  258. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitstamp.py +0 -0
  259. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitteam.py +0 -0
  260. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bitvavo.py +0 -0
  261. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bl3p.py +0 -0
  262. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/blockchaincom.py +0 -0
  263. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/btcalpha.py +0 -0
  264. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/btcbox.py +0 -0
  265. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/btcmarkets.py +0 -0
  266. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/btcturk.py +0 -0
  267. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/bybit.py +0 -0
  268. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/cex.py +0 -0
  269. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinbase.py +0 -0
  270. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinbasepro.py +0 -0
  271. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coincheck.py +0 -0
  272. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinex.py +0 -0
  273. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinlist.py +0 -0
  274. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinmate.py +0 -0
  275. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinsph.py +0 -0
  276. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/coinspot.py +0 -0
  277. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/cryptocom.py +0 -0
  278. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/currencycom.py +0 -0
  279. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/delta.py +0 -0
  280. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/deribit.py +0 -0
  281. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/digifinex.py +0 -0
  282. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/exmo.py +0 -0
  283. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/flowbtc.py +0 -0
  284. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/fmfwio.py +0 -0
  285. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/gate.py +0 -0
  286. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/gateio.py +0 -0
  287. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/gemini.py +0 -0
  288. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/hitbtc.py +0 -0
  289. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/hitbtc3.py +0 -0
  290. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/hollaex.py +0 -0
  291. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/htx.py +0 -0
  292. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/huobi.py +0 -0
  293. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/huobijp.py +0 -0
  294. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/idex.py +0 -0
  295. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/independentreserve.py +0 -0
  296. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/indodax.py +0 -0
  297. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/kraken.py +0 -0
  298. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/krakenfutures.py +0 -0
  299. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/kucoin.py +0 -0
  300. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/kucoinfutures.py +0 -0
  301. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/kuna.py +0 -0
  302. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/latoken.py +0 -0
  303. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/lbank.py +0 -0
  304. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/luno.py +0 -0
  305. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/lykke.py +0 -0
  306. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/mercado.py +0 -0
  307. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/mexc.py +0 -0
  308. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/ndax.py +0 -0
  309. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/novadax.py +0 -0
  310. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/oceanex.py +0 -0
  311. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/okcoin.py +0 -0
  312. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/okx.py +0 -0
  313. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/p2b.py +0 -0
  314. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/paymium.py +0 -0
  315. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/poloniex.py +0 -0
  316. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/poloniexfutures.py +0 -0
  317. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/alpaca.py +0 -0
  318. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/ascendex.py +0 -0
  319. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bequant.py +0 -0
  320. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/binance.py +0 -0
  321. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/binancecoinm.py +0 -0
  322. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/binanceus.py +0 -0
  323. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/binanceusdm.py +0 -0
  324. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bingx.py +0 -0
  325. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitcoincom.py +0 -0
  326. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitfinex.py +0 -0
  327. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitfinex2.py +0 -0
  328. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitget.py +0 -0
  329. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitmart.py +0 -0
  330. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitmex.py +0 -0
  331. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitopro.py +0 -0
  332. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitpanda.py +0 -0
  333. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitrue.py +0 -0
  334. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitstamp.py +0 -0
  335. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bitvavo.py +0 -0
  336. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/blockchaincom.py +0 -0
  337. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/bybit.py +0 -0
  338. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/cex.py +0 -0
  339. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/coinbase.py +0 -0
  340. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/coinbasepro.py +0 -0
  341. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/coinex.py +0 -0
  342. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/cryptocom.py +0 -0
  343. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/currencycom.py +0 -0
  344. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/deribit.py +0 -0
  345. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/exmo.py +0 -0
  346. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/gate.py +0 -0
  347. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/gateio.py +0 -0
  348. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/gemini.py +0 -0
  349. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/hitbtc.py +0 -0
  350. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/hollaex.py +0 -0
  351. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/htx.py +0 -0
  352. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/huobi.py +0 -0
  353. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/huobijp.py +0 -0
  354. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/idex.py +0 -0
  355. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/independentreserve.py +0 -0
  356. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/kraken.py +0 -0
  357. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/kucoin.py +0 -0
  358. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/kucoinfutures.py +0 -0
  359. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/luno.py +0 -0
  360. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/mexc.py +0 -0
  361. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/ndax.py +0 -0
  362. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/okcoin.py +0 -0
  363. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/okx.py +0 -0
  364. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/phemex.py +0 -0
  365. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/poloniex.py +0 -0
  366. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/poloniexfutures.py +0 -0
  367. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/probit.py +0 -0
  368. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/upbit.py +0 -0
  369. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/wazirx.py +0 -0
  370. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/whitebit.py +0 -0
  371. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/pro/woo.py +0 -0
  372. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/probit.py +0 -0
  373. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/__init__.py +0 -0
  374. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  375. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  376. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  377. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/der.py +0 -0
  378. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  379. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  380. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  381. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  382. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  383. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/util.py +0 -0
  384. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/keccak/__init__.py +0 -0
  385. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/static_dependencies/keccak/keccak.py +0 -0
  386. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/__init__.py +0 -0
  387. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/__init__.py +0 -0
  388. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_account.py +0 -0
  389. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_balance.py +0 -0
  390. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_borrow_interest.py +0 -0
  391. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_borrow_rate.py +0 -0
  392. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_calculate_fee.py +0 -0
  393. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_crypto.py +0 -0
  394. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_currency.py +0 -0
  395. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_datetime.py +0 -0
  396. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_decimal_to_precision.py +0 -0
  397. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_deep_extend.py +0 -0
  398. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
  399. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
  400. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_funding_rate_history.py +0 -0
  401. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_last_price.py +0 -0
  402. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_ledger_entry.py +0 -0
  403. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_ledger_item.py +0 -0
  404. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_leverage_tier.py +0 -0
  405. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_margin_modification.py +0 -0
  406. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_market.py +0 -0
  407. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_number.py +0 -0
  408. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_ohlcv.py +0 -0
  409. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_open_interest.py +0 -0
  410. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_order.py +0 -0
  411. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_order_book.py +0 -0
  412. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_position.py +0 -0
  413. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_shared_methods.py +0 -0
  414. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_status.py +0 -0
  415. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_throttle.py +0 -0
  416. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_ticker.py +0 -0
  417. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_trade.py +0 -0
  418. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_trading_fee.py +0 -0
  419. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/base/test_transaction.py +0 -0
  420. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/test_async.py +0 -0
  421. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/test/test_sync.py +0 -0
  422. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/timex.py +0 -0
  423. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/tokocrypto.py +0 -0
  424. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/upbit.py +0 -0
  425. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/wavesexchange.py +0 -0
  426. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/wazirx.py +0 -0
  427. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/whitebit.py +0 -0
  428. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/woo.py +0 -0
  429. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/yobit.py +0 -0
  430. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/zaif.py +0 -0
  431. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt/zonda.py +0 -0
  432. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt.egg-info/dependency_links.txt +0 -0
  433. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt.egg-info/requires.txt +0 -0
  434. {ccxt-4.2.15 → ccxt-4.2.16}/ccxt.egg-info/top_level.txt +0 -0
  435. {ccxt-4.2.15 → ccxt-4.2.16}/setup.cfg +0 -0
  436. {ccxt-4.2.15 → ccxt-4.2.16}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.2.15
3
+ Version: 4.2.16
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.15/dist/ccxt.browser.js
226
- * unpkg: https://unpkg.com/ccxt@4.2.15/dist/ccxt.browser.js
225
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.16/dist/ccxt.browser.js
226
+ * unpkg: https://unpkg.com/ccxt@4.2.16/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.15/dist/ccxt.browser.js"></script>
231
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.16/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.15'
25
+ __version__ = '4.2.16'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -800,12 +800,14 @@ class ascendex(Exchange, ImplicitAPI):
800
800
  """
801
801
  self.load_markets()
802
802
  self.load_accounts()
803
- query = None
804
803
  marketType = None
805
- marketType, query = self.handle_market_type_and_params('fetchBalance', None, params)
804
+ marginMode = None
805
+ marketType, params = self.handle_market_type_and_params('fetchBalance', None, params)
806
+ marginMode, params = self.handle_margin_mode_and_params('fetchBalance', params)
806
807
  isMargin = self.safe_value(params, 'margin', False)
807
- marketType = 'margin' if isMargin else marketType
808
- query = self.omit(query, 'margin')
808
+ isCross = marginMode == 'cross'
809
+ marketType = 'margin' if (isMargin or isCross) else marketType
810
+ params = self.omit(params, 'margin')
809
811
  accountsByType = self.safe_value(self.options, 'accountsByType', {})
810
812
  accountCategory = self.safe_string(accountsByType, marketType, 'cash')
811
813
  account = self.safe_value(self.accounts, 0, {})
@@ -813,13 +815,15 @@ class ascendex(Exchange, ImplicitAPI):
813
815
  request = {
814
816
  'account-group': accountGroup,
815
817
  }
818
+ if (marginMode == 'isolated') and (marketType != 'swap'):
819
+ raise BadRequest(self.id + ' does not supported isolated margin trading')
816
820
  if (accountCategory == 'cash') or (accountCategory == 'margin'):
817
821
  request['account-category'] = accountCategory
818
822
  response = None
819
823
  if (marketType == 'spot') or (marketType == 'margin'):
820
- response = self.v1PrivateAccountCategoryGetBalance(self.extend(request, query))
824
+ response = self.v1PrivateAccountCategoryGetBalance(self.extend(request, params))
821
825
  elif marketType == 'swap':
822
- response = self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request, query))
826
+ response = self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request, params))
823
827
  else:
824
828
  raise NotSupported(self.id + ' fetchBalance() is not currently supported for ' + marketType + ' markets')
825
829
  #
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.15'
7
+ __version__ = '4.2.16'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -800,12 +800,14 @@ class ascendex(Exchange, ImplicitAPI):
800
800
  """
801
801
  await self.load_markets()
802
802
  await self.load_accounts()
803
- query = None
804
803
  marketType = None
805
- marketType, query = self.handle_market_type_and_params('fetchBalance', None, params)
804
+ marginMode = None
805
+ marketType, params = self.handle_market_type_and_params('fetchBalance', None, params)
806
+ marginMode, params = self.handle_margin_mode_and_params('fetchBalance', params)
806
807
  isMargin = self.safe_value(params, 'margin', False)
807
- marketType = 'margin' if isMargin else marketType
808
- query = self.omit(query, 'margin')
808
+ isCross = marginMode == 'cross'
809
+ marketType = 'margin' if (isMargin or isCross) else marketType
810
+ params = self.omit(params, 'margin')
809
811
  accountsByType = self.safe_value(self.options, 'accountsByType', {})
810
812
  accountCategory = self.safe_string(accountsByType, marketType, 'cash')
811
813
  account = self.safe_value(self.accounts, 0, {})
@@ -813,13 +815,15 @@ class ascendex(Exchange, ImplicitAPI):
813
815
  request = {
814
816
  'account-group': accountGroup,
815
817
  }
818
+ if (marginMode == 'isolated') and (marketType != 'swap'):
819
+ raise BadRequest(self.id + ' does not supported isolated margin trading')
816
820
  if (accountCategory == 'cash') or (accountCategory == 'margin'):
817
821
  request['account-category'] = accountCategory
818
822
  response = None
819
823
  if (marketType == 'spot') or (marketType == 'margin'):
820
- response = await self.v1PrivateAccountCategoryGetBalance(self.extend(request, query))
824
+ response = await self.v1PrivateAccountCategoryGetBalance(self.extend(request, params))
821
825
  elif marketType == 'swap':
822
- response = await self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request, query))
826
+ response = await self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request, params))
823
827
  else:
824
828
  raise NotSupported(self.id + ' fetchBalance() is not currently supported for ' + marketType + ' markets')
825
829
  #
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.2.15'
5
+ __version__ = '4.2.16'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -18,6 +18,7 @@ from ccxt.base.errors import BadRequest
18
18
  from ccxt.base.errors import BadSymbol
19
19
  from ccxt.base.errors import InsufficientFunds
20
20
  from ccxt.base.errors import OrderNotFound
21
+ from ccxt.base.errors import NotSupported
21
22
  from ccxt.base.errors import DDoSProtection
22
23
  from ccxt.base.errors import ExchangeNotAvailable
23
24
  from ccxt.base.errors import AuthenticationError
@@ -40,7 +41,7 @@ class bingx(Exchange, ImplicitAPI):
40
41
  'has': {
41
42
  'CORS': None,
42
43
  'spot': True,
43
- 'margin': True,
44
+ 'margin': False,
44
45
  'swap': True,
45
46
  'future': False,
46
47
  'option': False,
@@ -103,6 +104,9 @@ class bingx(Exchange, ImplicitAPI):
103
104
  'account': 'https://open-api.{hostname}/openApi',
104
105
  'copyTrading': 'https://open-api.{hostname}/openApi',
105
106
  },
107
+ 'test': {
108
+ 'swap': 'https://open-api-vst.{hostname}/openApi', # only swap is really "test" but since the API keys are the same, we want to keep all the functionalities when the user enables the sandboxmode
109
+ },
106
110
  'www': 'https://bingx.com/',
107
111
  'doc': 'https://bingx-api.github.io/docs/',
108
112
  'referral': 'https://bingx.com/invite/OHETOM',
@@ -432,6 +436,9 @@ class bingx(Exchange, ImplicitAPI):
432
436
  """
433
437
  if not self.check_required_credentials(False):
434
438
  return None
439
+ isSandbox = self.safe_value(self.options, 'sandboxMode', False)
440
+ if isSandbox:
441
+ return None
435
442
  response = await self.walletsV1PrivateGetCapitalConfigGetall(params)
436
443
  #
437
444
  # {
@@ -663,7 +670,10 @@ class bingx(Exchange, ImplicitAPI):
663
670
  :param dict [params]: extra parameters specific to the exchange API endpoint
664
671
  :returns dict[]: an array of objects representing market data
665
672
  """
666
- requests = [self.fetch_spot_markets(params), self.fetch_swap_markets(params)]
673
+ requests = [self.fetch_swap_markets(params)]
674
+ isSandbox = self.safe_value(self.options, 'sandboxMode', False)
675
+ if not isSandbox:
676
+ requests.append(self.fetch_spot_markets(params)) # sandbox is swap only
667
677
  promises = await asyncio.gather(*requests)
668
678
  spotMarkets = self.safe_value(promises, 0, [])
669
679
  swapMarkets = self.safe_value(promises, 1, [])
@@ -2908,6 +2918,21 @@ class bingx(Exchange, ImplicitAPI):
2908
2918
  # "txId": "0xb5ef8c13b968a406cc62a93a8bd80f9e9a906ef1b3fcf20a2e48573c17659268"
2909
2919
  # }
2910
2920
  #
2921
+ # withdraw
2922
+ #
2923
+ # {
2924
+ # "code":0,
2925
+ # "timestamp":1705274263621,
2926
+ # "data":{
2927
+ # "id":"1264246141278773252"
2928
+ # }
2929
+ # }
2930
+ #
2931
+ # parse withdraw-type output first...
2932
+ #
2933
+ data = self.safe_value(transaction, 'data')
2934
+ dataId = None if (data is None) else self.safe_string(data, 'id')
2935
+ id = self.safe_string(transaction, 'id', dataId)
2911
2936
  address = self.safe_string(transaction, 'address')
2912
2937
  tag = self.safe_string(transaction, 'addressTag')
2913
2938
  timestamp = self.safe_integer(transaction, 'insertTime')
@@ -2925,7 +2950,7 @@ class bingx(Exchange, ImplicitAPI):
2925
2950
  type = 'deposit' if (rawType == '0') else 'withdrawal'
2926
2951
  return {
2927
2952
  'info': transaction,
2928
- 'id': self.safe_string(transaction, 'id'),
2953
+ 'id': id,
2929
2954
  'txid': self.safe_string(transaction, 'txId'),
2930
2955
  'type': type,
2931
2956
  'currency': code,
@@ -3506,6 +3531,9 @@ class bingx(Exchange, ImplicitAPI):
3506
3531
  type = section[0]
3507
3532
  version = section[1]
3508
3533
  access = section[2]
3534
+ isSandbox = self.safe_value(self.options, 'sandboxMode', False)
3535
+ if isSandbox and (type != 'swap'):
3536
+ raise NotSupported(self.id + ' does not have a testnet/sandbox URL for ' + type + ' endpoints')
3509
3537
  url = self.implode_hostname(self.urls['api'][type])
3510
3538
  if type == 'spot' and version == 'v3':
3511
3539
  url += '/api'
@@ -3541,6 +3569,10 @@ class bingx(Exchange, ImplicitAPI):
3541
3569
  def nonce(self):
3542
3570
  return self.milliseconds()
3543
3571
 
3572
+ def set_sandbox_mode(self, enable):
3573
+ super(bingx, self).set_sandbox_mode(enable)
3574
+ self.options['sandboxMode'] = enable
3575
+
3544
3576
  def handle_errors(self, httpCode, reason, url, method, headers, body, response, requestHeaders, requestBody):
3545
3577
  if response is None:
3546
3578
  return None # fallback to default error handler
@@ -1428,8 +1428,8 @@ class bitmex(Exchange, ImplicitAPI):
1428
1428
  timestamp = since
1429
1429
  if fetchOHLCVOpenTimestamp:
1430
1430
  timestamp = self.sum(timestamp, duration)
1431
- ymdhms = self.ymdhms(timestamp)
1432
- request['startTime'] = ymdhms # starting date filter for results
1431
+ startTime = self.iso8601(timestamp)
1432
+ request['startTime'] = startTime # starting date filter for results
1433
1433
  else:
1434
1434
  request['reverse'] = True
1435
1435
  response = await self.publicGetTradeBucketed(self.extend(request, params))
@@ -2441,12 +2441,9 @@ class bitmex(Exchange, ImplicitAPI):
2441
2441
  if networkCode is None:
2442
2442
  raise ArgumentsRequired(self.id + ' fetchDepositAddress requires params["network"]')
2443
2443
  currency = self.currency(code)
2444
- currencyId = currency['id']
2445
- idLength = len(currencyId)
2446
- currencyId = currencyId[0:idLength - 1] + currencyId[idLength - 1:idLength].lower() # make the last letter lowercase
2447
2444
  params = self.omit(params, 'network')
2448
2445
  request = {
2449
- 'currency': currencyId,
2446
+ 'currency': currency['id'],
2450
2447
  'network': self.network_code_to_id(networkCode, currency['code']),
2451
2448
  }
2452
2449
  response = await self.privateGetUserDepositAddress(self.extend(request, params))
@@ -83,7 +83,7 @@ class coinone(Exchange, ImplicitAPI):
83
83
  'setLeverage': False,
84
84
  'setMarginMode': False,
85
85
  'setPositionMode': False,
86
- 'ws': False,
86
+ 'ws': True,
87
87
  },
88
88
  'urls': {
89
89
  'logo': 'https://user-images.githubusercontent.com/1294454/38003300-adc12fba-323f-11e8-8525-725f53c4a659.jpg',
@@ -2785,12 +2785,14 @@ class phemex(Exchange, ImplicitAPI):
2785
2785
  fetch all unfilled currently open orders
2786
2786
  :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryopenorder
2787
2787
  :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md
2788
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotListAllOpenOrder
2788
2789
  :param str symbol: unified market symbol
2789
2790
  :param int [since]: the earliest time in ms to fetch open orders for
2790
2791
  :param int [limit]: the maximum number of open order structures to retrieve
2791
2792
  :param dict [params]: extra parameters specific to the exchange API endpoint
2792
2793
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2793
2794
  """
2795
+ await self.load_markets()
2794
2796
  if symbol is None:
2795
2797
  raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
2796
2798
  await self.load_markets()
@@ -2821,26 +2823,31 @@ class phemex(Exchange, ImplicitAPI):
2821
2823
  """
2822
2824
  fetches information on multiple closed orders made by the user
2823
2825
  :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2826
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#queryorder
2827
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedgedd-Perpetual-API.md#query-closed-orders-by-symbol
2828
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataOrdersByIds
2824
2829
  :param str symbol: unified market symbol of the market orders were made in
2825
2830
  :param int [since]: the earliest time in ms to fetch orders for
2826
2831
  :param int [limit]: the maximum number of order structures to retrieve
2827
2832
  :param dict [params]: extra parameters specific to the exchange API endpoint
2833
+ :param str [params.settle]: the settlement currency to fetch orders for
2828
2834
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2829
2835
  """
2830
- if symbol is None:
2831
- raise ArgumentsRequired(self.id + ' fetchClosedOrders() requires a symbol argument')
2832
2836
  await self.load_markets()
2833
- market = self.market(symbol)
2837
+ market = None
2838
+ if symbol is not None:
2839
+ market = self.market(symbol)
2834
2840
  request = {
2835
- 'symbol': market['id'],
2836
2841
  }
2842
+ if market is not None:
2843
+ request['symbol'] = market['id']
2837
2844
  if since is not None:
2838
2845
  request['start'] = since
2839
2846
  if limit is not None:
2840
2847
  request['limit'] = limit
2841
2848
  response = None
2842
- if market['settle'] == 'USDT':
2843
- request['currency'] = market['settle']
2849
+ if (symbol is None) or (self.safe_string(market, 'settle') == 'USDT'):
2850
+ request['currency'] = self.safe_string(params, 'settle', 'USDT')
2844
2851
  response = await self.privateGetExchangeOrderV2OrderList(self.extend(request, params))
2845
2852
  elif market['swap']:
2846
2853
  response = await self.privateGetExchangeOrderList(self.extend(request, params))
@@ -2894,21 +2901,23 @@ class phemex(Exchange, ImplicitAPI):
2894
2901
  fetch all trades made by the user
2895
2902
  :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-user-trade
2896
2903
  :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-user-trade
2904
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataTradesHist
2897
2905
  :param str symbol: unified market symbol
2898
2906
  :param int [since]: the earliest time in ms to fetch trades for
2899
2907
  :param int [limit]: the maximum number of trades structures to retrieve
2900
2908
  :param dict [params]: extra parameters specific to the exchange API endpoint
2901
2909
  :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
2902
2910
  """
2903
- if symbol is None:
2904
- raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
2905
2911
  await self.load_markets()
2906
- market = self.market(symbol)
2912
+ market = None
2913
+ if symbol is not None:
2914
+ market = self.market(symbol)
2907
2915
  request = {}
2908
2916
  if limit is not None:
2909
2917
  limit = min(200, limit)
2910
2918
  request['limit'] = limit
2911
- if market['settle'] == 'USDT':
2919
+ isUSDTSettled = (symbol is None) or (self.safe_string(market, 'settle') == 'USDT')
2920
+ if isUSDTSettled:
2912
2921
  request['currency'] = 'USDT'
2913
2922
  request['offset'] = 0
2914
2923
  if limit is None:
@@ -2917,15 +2926,11 @@ class phemex(Exchange, ImplicitAPI):
2917
2926
  request['symbol'] = market['id']
2918
2927
  if since is not None:
2919
2928
  request['start'] = since
2920
- if market['swap'] and (limit is not None):
2921
- request['limit'] = limit
2922
- isUSDTSettled = market['settle'] == 'USDT'
2923
2929
  response = None
2924
- if market['swap']:
2925
- if isUSDTSettled:
2926
- response = await self.privateGetExchangeOrderV2TradingList(self.extend(request, params))
2927
- else:
2928
- response = await self.privateGetExchangeOrderTrade(self.extend(request, params))
2930
+ if isUSDTSettled:
2931
+ response = await self.privateGetExchangeOrderV2TradingList(self.extend(request, params))
2932
+ elif market['swap']:
2933
+ response = await self.privateGetExchangeOrderTrade(self.extend(request, params))
2929
2934
  else:
2930
2935
  response = await self.privateGetExchangeSpotOrderTrades(self.extend(request, params))
2931
2936
  #
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.15'
7
+ __version__ = '4.2.16'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -1789,10 +1789,10 @@ class Exchange(object):
1789
1789
  httpsProxy = None
1790
1790
  socksProxy = None
1791
1791
  # httpProxy
1792
- if self.httpProxy is not None:
1792
+ if self.valueIsDefined(self.httpProxy):
1793
1793
  usedProxies.append('httpProxy')
1794
1794
  httpProxy = self.httpProxy
1795
- if self.http_proxy is not None:
1795
+ if self.valueIsDefined(self.http_proxy):
1796
1796
  usedProxies.append('http_proxy')
1797
1797
  httpProxy = self.http_proxy
1798
1798
  if self.httpProxyCallback is not None:
@@ -1802,10 +1802,10 @@ class Exchange(object):
1802
1802
  usedProxies.append('http_proxy_callback')
1803
1803
  httpProxy = self.http_proxy_callback(url, method, headers, body)
1804
1804
  # httpsProxy
1805
- if self.httpsProxy is not None:
1805
+ if self.valueIsDefined(self.httpsProxy):
1806
1806
  usedProxies.append('httpsProxy')
1807
1807
  httpsProxy = self.httpsProxy
1808
- if self.https_proxy is not None:
1808
+ if self.valueIsDefined(self.https_proxy):
1809
1809
  usedProxies.append('https_proxy')
1810
1810
  httpsProxy = self.https_proxy
1811
1811
  if self.httpsProxyCallback is not None:
@@ -1815,10 +1815,10 @@ class Exchange(object):
1815
1815
  usedProxies.append('https_proxy_callback')
1816
1816
  httpsProxy = self.https_proxy_callback(url, method, headers, body)
1817
1817
  # socksProxy
1818
- if self.socksProxy is not None:
1818
+ if self.valueIsDefined(self.socksProxy):
1819
1819
  usedProxies.append('socksProxy')
1820
1820
  socksProxy = self.socksProxy
1821
- if self.socks_proxy is not None:
1821
+ if self.valueIsDefined(self.socks_proxy):
1822
1822
  usedProxies.append('socks_proxy')
1823
1823
  socksProxy = self.socks_proxy
1824
1824
  if self.socksProxyCallback is not None:
@@ -1840,24 +1840,24 @@ class Exchange(object):
1840
1840
  wssProxy = None
1841
1841
  wsSocksProxy = None
1842
1842
  # ws proxy
1843
- if self.wsProxy is not None:
1843
+ if self.valueIsDefined(self.wsProxy):
1844
1844
  usedProxies.append('wsProxy')
1845
1845
  wsProxy = self.wsProxy
1846
- if self.ws_proxy is not None:
1846
+ if self.valueIsDefined(self.ws_proxy):
1847
1847
  usedProxies.append('ws_proxy')
1848
1848
  wsProxy = self.ws_proxy
1849
1849
  # wss proxy
1850
- if self.wssProxy is not None:
1850
+ if self.valueIsDefined(self.wssProxy):
1851
1851
  usedProxies.append('wssProxy')
1852
1852
  wssProxy = self.wssProxy
1853
- if self.wss_proxy is not None:
1853
+ if self.valueIsDefined(self.wss_proxy):
1854
1854
  usedProxies.append('wss_proxy')
1855
1855
  wssProxy = self.wss_proxy
1856
1856
  # ws socks proxy
1857
- if self.wsSocksProxy is not None:
1857
+ if self.valueIsDefined(self.wsSocksProxy):
1858
1858
  usedProxies.append('wsSocksProxy')
1859
1859
  wsSocksProxy = self.wsSocksProxy
1860
- if self.ws_socks_proxy is not None:
1860
+ if self.valueIsDefined(self.ws_socks_proxy):
1861
1861
  usedProxies.append('ws_socks_proxy')
1862
1862
  wsSocksProxy = self.ws_socks_proxy
1863
1863
  # check
@@ -17,6 +17,7 @@ from ccxt.base.errors import BadRequest
17
17
  from ccxt.base.errors import BadSymbol
18
18
  from ccxt.base.errors import InsufficientFunds
19
19
  from ccxt.base.errors import OrderNotFound
20
+ from ccxt.base.errors import NotSupported
20
21
  from ccxt.base.errors import DDoSProtection
21
22
  from ccxt.base.errors import ExchangeNotAvailable
22
23
  from ccxt.base.errors import AuthenticationError
@@ -39,7 +40,7 @@ class bingx(Exchange, ImplicitAPI):
39
40
  'has': {
40
41
  'CORS': None,
41
42
  'spot': True,
42
- 'margin': True,
43
+ 'margin': False,
43
44
  'swap': True,
44
45
  'future': False,
45
46
  'option': False,
@@ -102,6 +103,9 @@ class bingx(Exchange, ImplicitAPI):
102
103
  'account': 'https://open-api.{hostname}/openApi',
103
104
  'copyTrading': 'https://open-api.{hostname}/openApi',
104
105
  },
106
+ 'test': {
107
+ 'swap': 'https://open-api-vst.{hostname}/openApi', # only swap is really "test" but since the API keys are the same, we want to keep all the functionalities when the user enables the sandboxmode
108
+ },
105
109
  'www': 'https://bingx.com/',
106
110
  'doc': 'https://bingx-api.github.io/docs/',
107
111
  'referral': 'https://bingx.com/invite/OHETOM',
@@ -431,6 +435,9 @@ class bingx(Exchange, ImplicitAPI):
431
435
  """
432
436
  if not self.check_required_credentials(False):
433
437
  return None
438
+ isSandbox = self.safe_value(self.options, 'sandboxMode', False)
439
+ if isSandbox:
440
+ return None
434
441
  response = self.walletsV1PrivateGetCapitalConfigGetall(params)
435
442
  #
436
443
  # {
@@ -662,7 +669,10 @@ class bingx(Exchange, ImplicitAPI):
662
669
  :param dict [params]: extra parameters specific to the exchange API endpoint
663
670
  :returns dict[]: an array of objects representing market data
664
671
  """
665
- requests = [self.fetch_spot_markets(params), self.fetch_swap_markets(params)]
672
+ requests = [self.fetch_swap_markets(params)]
673
+ isSandbox = self.safe_value(self.options, 'sandboxMode', False)
674
+ if not isSandbox:
675
+ requests.append(self.fetch_spot_markets(params)) # sandbox is swap only
666
676
  promises = requests
667
677
  spotMarkets = self.safe_value(promises, 0, [])
668
678
  swapMarkets = self.safe_value(promises, 1, [])
@@ -2907,6 +2917,21 @@ class bingx(Exchange, ImplicitAPI):
2907
2917
  # "txId": "0xb5ef8c13b968a406cc62a93a8bd80f9e9a906ef1b3fcf20a2e48573c17659268"
2908
2918
  # }
2909
2919
  #
2920
+ # withdraw
2921
+ #
2922
+ # {
2923
+ # "code":0,
2924
+ # "timestamp":1705274263621,
2925
+ # "data":{
2926
+ # "id":"1264246141278773252"
2927
+ # }
2928
+ # }
2929
+ #
2930
+ # parse withdraw-type output first...
2931
+ #
2932
+ data = self.safe_value(transaction, 'data')
2933
+ dataId = None if (data is None) else self.safe_string(data, 'id')
2934
+ id = self.safe_string(transaction, 'id', dataId)
2910
2935
  address = self.safe_string(transaction, 'address')
2911
2936
  tag = self.safe_string(transaction, 'addressTag')
2912
2937
  timestamp = self.safe_integer(transaction, 'insertTime')
@@ -2924,7 +2949,7 @@ class bingx(Exchange, ImplicitAPI):
2924
2949
  type = 'deposit' if (rawType == '0') else 'withdrawal'
2925
2950
  return {
2926
2951
  'info': transaction,
2927
- 'id': self.safe_string(transaction, 'id'),
2952
+ 'id': id,
2928
2953
  'txid': self.safe_string(transaction, 'txId'),
2929
2954
  'type': type,
2930
2955
  'currency': code,
@@ -3505,6 +3530,9 @@ class bingx(Exchange, ImplicitAPI):
3505
3530
  type = section[0]
3506
3531
  version = section[1]
3507
3532
  access = section[2]
3533
+ isSandbox = self.safe_value(self.options, 'sandboxMode', False)
3534
+ if isSandbox and (type != 'swap'):
3535
+ raise NotSupported(self.id + ' does not have a testnet/sandbox URL for ' + type + ' endpoints')
3508
3536
  url = self.implode_hostname(self.urls['api'][type])
3509
3537
  if type == 'spot' and version == 'v3':
3510
3538
  url += '/api'
@@ -3540,6 +3568,10 @@ class bingx(Exchange, ImplicitAPI):
3540
3568
  def nonce(self):
3541
3569
  return self.milliseconds()
3542
3570
 
3571
+ def set_sandbox_mode(self, enable):
3572
+ super(bingx, self).set_sandbox_mode(enable)
3573
+ self.options['sandboxMode'] = enable
3574
+
3543
3575
  def handle_errors(self, httpCode, reason, url, method, headers, body, response, requestHeaders, requestBody):
3544
3576
  if response is None:
3545
3577
  return None # fallback to default error handler
@@ -1428,8 +1428,8 @@ class bitmex(Exchange, ImplicitAPI):
1428
1428
  timestamp = since
1429
1429
  if fetchOHLCVOpenTimestamp:
1430
1430
  timestamp = self.sum(timestamp, duration)
1431
- ymdhms = self.ymdhms(timestamp)
1432
- request['startTime'] = ymdhms # starting date filter for results
1431
+ startTime = self.iso8601(timestamp)
1432
+ request['startTime'] = startTime # starting date filter for results
1433
1433
  else:
1434
1434
  request['reverse'] = True
1435
1435
  response = self.publicGetTradeBucketed(self.extend(request, params))
@@ -2441,12 +2441,9 @@ class bitmex(Exchange, ImplicitAPI):
2441
2441
  if networkCode is None:
2442
2442
  raise ArgumentsRequired(self.id + ' fetchDepositAddress requires params["network"]')
2443
2443
  currency = self.currency(code)
2444
- currencyId = currency['id']
2445
- idLength = len(currencyId)
2446
- currencyId = currencyId[0:idLength - 1] + currencyId[idLength - 1:idLength].lower() # make the last letter lowercase
2447
2444
  params = self.omit(params, 'network')
2448
2445
  request = {
2449
- 'currency': currencyId,
2446
+ 'currency': currency['id'],
2450
2447
  'network': self.network_code_to_id(networkCode, currency['code']),
2451
2448
  }
2452
2449
  response = self.privateGetUserDepositAddress(self.extend(request, params))
@@ -83,7 +83,7 @@ class coinone(Exchange, ImplicitAPI):
83
83
  'setLeverage': False,
84
84
  'setMarginMode': False,
85
85
  'setPositionMode': False,
86
- 'ws': False,
86
+ 'ws': True,
87
87
  },
88
88
  'urls': {
89
89
  'logo': 'https://user-images.githubusercontent.com/1294454/38003300-adc12fba-323f-11e8-8525-725f53c4a659.jpg',