ccxt 4.2.12__tar.gz → 4.2.14__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 (435) hide show
  1. {ccxt-4.2.12/ccxt.egg-info → ccxt-4.2.14}/PKG-INFO +4 -4
  2. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/__init__.py +1 -1
  3. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bigone.py +1 -0
  4. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bingx.py +2 -0
  5. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/kucoin.py +4 -0
  6. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/kucoinfutures.py +4 -0
  7. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/okx.py +1 -0
  8. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/__init__.py +1 -1
  9. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/exchange.py +119 -2
  10. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bigone.py +120 -53
  11. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/binance.py +129 -22
  12. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/binanceus.py +8 -0
  13. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bingx.py +102 -34
  14. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitget.py +12 -4
  15. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitmart.py +2 -2
  16. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bybit.py +4 -0
  17. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinbase.py +168 -26
  18. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinex.py +3 -0
  19. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinlist.py +1 -1
  20. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinone.py +1 -1
  21. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/delta.py +5 -1
  22. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/gate.py +79 -56
  23. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/gemini.py +1 -1
  24. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/htx.py +140 -0
  25. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/independentreserve.py +6 -5
  26. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/kraken.py +15 -11
  27. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/kucoin.py +5 -0
  28. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/kucoinfutures.py +123 -75
  29. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/lbank.py +52 -33
  30. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/oceanex.py +1 -1
  31. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/okx.py +10 -8
  32. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/phemex.py +7 -2
  33. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/probit.py +3 -2
  34. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/wavesexchange.py +1 -1
  35. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/woo.py +46 -0
  36. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/base/exchange.py +120 -2
  37. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bigone.py +119 -53
  38. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/binance.py +129 -22
  39. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/binanceus.py +8 -0
  40. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bingx.py +102 -34
  41. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitget.py +12 -4
  42. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitmart.py +2 -2
  43. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bybit.py +4 -0
  44. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinbase.py +168 -26
  45. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinex.py +3 -0
  46. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinlist.py +1 -1
  47. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinone.py +1 -1
  48. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/delta.py +5 -1
  49. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/gate.py +79 -56
  50. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/gemini.py +1 -1
  51. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/htx.py +140 -0
  52. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/independentreserve.py +6 -5
  53. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/kraken.py +15 -11
  54. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/kucoin.py +5 -0
  55. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/kucoinfutures.py +123 -75
  56. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/lbank.py +52 -33
  57. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/oceanex.py +1 -1
  58. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/okx.py +10 -8
  59. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/phemex.py +7 -2
  60. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/__init__.py +1 -1
  61. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/kraken.py +1 -1
  62. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/okx.py +47 -2
  63. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/probit.py +3 -2
  64. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/__init__.py +1 -0
  65. ccxt-4.2.14/ccxt/test/base/test_last_price.py +32 -0
  66. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/test_async.py +12 -4
  67. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/test_sync.py +12 -4
  68. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/wavesexchange.py +1 -1
  69. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/woo.py +46 -0
  70. {ccxt-4.2.12 → ccxt-4.2.14/ccxt.egg-info}/PKG-INFO +4 -4
  71. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt.egg-info/SOURCES.txt +1 -0
  72. {ccxt-4.2.12 → ccxt-4.2.14}/package.json +1 -1
  73. {ccxt-4.2.12 → ccxt-4.2.14}/LICENSE.txt +0 -0
  74. {ccxt-4.2.12 → ccxt-4.2.14}/MANIFEST.in +0 -0
  75. {ccxt-4.2.12 → ccxt-4.2.14}/README.rst +0 -0
  76. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/__init__.py +0 -0
  77. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/ace.py +0 -0
  78. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/alpaca.py +0 -0
  79. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/ascendex.py +0 -0
  80. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bequant.py +0 -0
  81. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/binance.py +0 -0
  82. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/binancecoinm.py +0 -0
  83. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/binanceus.py +0 -0
  84. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/binanceusdm.py +0 -0
  85. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bit2c.py +0 -0
  86. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitbank.py +0 -0
  87. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitbay.py +0 -0
  88. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitbns.py +0 -0
  89. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitcoincom.py +0 -0
  90. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitfinex.py +0 -0
  91. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitfinex2.py +0 -0
  92. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitflyer.py +0 -0
  93. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitforex.py +0 -0
  94. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitget.py +0 -0
  95. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bithumb.py +0 -0
  96. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitmart.py +0 -0
  97. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitmex.py +0 -0
  98. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitopro.py +0 -0
  99. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitpanda.py +0 -0
  100. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitrue.py +0 -0
  101. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitso.py +0 -0
  102. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitstamp.py +0 -0
  103. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitteam.py +0 -0
  104. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bitvavo.py +0 -0
  105. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bl3p.py +0 -0
  106. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/blockchaincom.py +0 -0
  107. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/btcalpha.py +0 -0
  108. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/btcbox.py +0 -0
  109. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/btcmarkets.py +0 -0
  110. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/btcturk.py +0 -0
  111. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/bybit.py +0 -0
  112. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/cex.py +0 -0
  113. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinbase.py +0 -0
  114. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinbasepro.py +0 -0
  115. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coincheck.py +0 -0
  116. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinex.py +0 -0
  117. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinlist.py +0 -0
  118. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinmate.py +0 -0
  119. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinone.py +0 -0
  120. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinsph.py +0 -0
  121. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/coinspot.py +0 -0
  122. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/cryptocom.py +0 -0
  123. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/currencycom.py +0 -0
  124. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/delta.py +0 -0
  125. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/deribit.py +0 -0
  126. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/digifinex.py +0 -0
  127. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/exmo.py +0 -0
  128. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/fmfwio.py +0 -0
  129. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/gate.py +0 -0
  130. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/gateio.py +0 -0
  131. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/gemini.py +0 -0
  132. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/hitbtc.py +0 -0
  133. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/hitbtc3.py +0 -0
  134. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/hollaex.py +0 -0
  135. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/htx.py +0 -0
  136. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/huobi.py +0 -0
  137. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/huobijp.py +0 -0
  138. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/idex.py +0 -0
  139. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/independentreserve.py +0 -0
  140. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/indodax.py +0 -0
  141. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/kraken.py +0 -0
  142. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/krakenfutures.py +0 -0
  143. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/kuna.py +0 -0
  144. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/latoken.py +0 -0
  145. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/lbank.py +0 -0
  146. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/luno.py +0 -0
  147. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/lykke.py +0 -0
  148. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/mercado.py +0 -0
  149. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/mexc.py +0 -0
  150. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/ndax.py +0 -0
  151. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/novadax.py +0 -0
  152. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/oceanex.py +0 -0
  153. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/okcoin.py +0 -0
  154. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/p2b.py +0 -0
  155. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/paymium.py +0 -0
  156. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/phemex.py +0 -0
  157. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/poloniex.py +0 -0
  158. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/poloniexfutures.py +0 -0
  159. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/probit.py +0 -0
  160. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/timex.py +0 -0
  161. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/tokocrypto.py +0 -0
  162. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/upbit.py +0 -0
  163. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/wavesexchange.py +0 -0
  164. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/wazirx.py +0 -0
  165. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/whitebit.py +0 -0
  166. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/woo.py +0 -0
  167. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/yobit.py +0 -0
  168. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/zaif.py +0 -0
  169. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/abstract/zonda.py +0 -0
  170. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/ace.py +0 -0
  171. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/alpaca.py +0 -0
  172. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/ascendex.py +0 -0
  173. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/ace.py +0 -0
  174. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/alpaca.py +0 -0
  175. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/ascendex.py +0 -0
  176. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/__init__.py +0 -0
  177. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/throttler.py +0 -0
  178. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/__init__.py +0 -0
  179. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
  180. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/cache.py +0 -0
  181. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/client.py +0 -0
  182. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/fast_client.py +0 -0
  183. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/functions.py +0 -0
  184. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/future.py +0 -0
  185. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/order_book.py +0 -0
  186. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/base/ws/order_book_side.py +0 -0
  187. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bequant.py +0 -0
  188. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/binancecoinm.py +0 -0
  189. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/binanceusdm.py +0 -0
  190. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bit2c.py +0 -0
  191. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitbank.py +0 -0
  192. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitbay.py +0 -0
  193. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitbns.py +0 -0
  194. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitcoincom.py +0 -0
  195. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitfinex.py +0 -0
  196. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitfinex2.py +0 -0
  197. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitflyer.py +0 -0
  198. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitforex.py +0 -0
  199. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bithumb.py +0 -0
  200. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitmex.py +0 -0
  201. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitopro.py +0 -0
  202. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitpanda.py +0 -0
  203. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitrue.py +0 -0
  204. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitso.py +0 -0
  205. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitstamp.py +0 -0
  206. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitteam.py +0 -0
  207. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bitvavo.py +0 -0
  208. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/bl3p.py +0 -0
  209. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/blockchaincom.py +0 -0
  210. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/btcalpha.py +0 -0
  211. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/btcbox.py +0 -0
  212. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/btcmarkets.py +0 -0
  213. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/btcturk.py +0 -0
  214. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/cex.py +0 -0
  215. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinbasepro.py +0 -0
  216. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coincheck.py +0 -0
  217. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinmate.py +0 -0
  218. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinsph.py +0 -0
  219. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/coinspot.py +0 -0
  220. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/cryptocom.py +0 -0
  221. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/currencycom.py +0 -0
  222. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/deribit.py +0 -0
  223. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/digifinex.py +0 -0
  224. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/exmo.py +0 -0
  225. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/flowbtc.py +0 -0
  226. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/fmfwio.py +0 -0
  227. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/gateio.py +0 -0
  228. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/hitbtc.py +0 -0
  229. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/hitbtc3.py +0 -0
  230. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/hollaex.py +0 -0
  231. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/huobi.py +0 -0
  232. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/huobijp.py +0 -0
  233. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/idex.py +0 -0
  234. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/indodax.py +0 -0
  235. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/krakenfutures.py +0 -0
  236. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/kuna.py +0 -0
  237. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/latoken.py +0 -0
  238. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/luno.py +0 -0
  239. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/lykke.py +0 -0
  240. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/mercado.py +0 -0
  241. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/mexc.py +0 -0
  242. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/ndax.py +0 -0
  243. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/novadax.py +0 -0
  244. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/okcoin.py +0 -0
  245. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/p2b.py +0 -0
  246. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/paymium.py +0 -0
  247. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/poloniex.py +0 -0
  248. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/poloniexfutures.py +0 -0
  249. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/timex.py +0 -0
  250. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/tokocrypto.py +0 -0
  251. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/upbit.py +0 -0
  252. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/wazirx.py +0 -0
  253. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/whitebit.py +0 -0
  254. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/yobit.py +0 -0
  255. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/zaif.py +0 -0
  256. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/async_support/zonda.py +0 -0
  257. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/base/__init__.py +0 -0
  258. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/base/decimal_to_precision.py +0 -0
  259. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/base/errors.py +0 -0
  260. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/base/precise.py +0 -0
  261. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/base/types.py +0 -0
  262. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bequant.py +0 -0
  263. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/binancecoinm.py +0 -0
  264. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/binanceusdm.py +0 -0
  265. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bit2c.py +0 -0
  266. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitbank.py +0 -0
  267. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitbay.py +0 -0
  268. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitbns.py +0 -0
  269. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitcoincom.py +0 -0
  270. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitfinex.py +0 -0
  271. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitfinex2.py +0 -0
  272. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitflyer.py +0 -0
  273. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitforex.py +0 -0
  274. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bithumb.py +0 -0
  275. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitmex.py +0 -0
  276. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitopro.py +0 -0
  277. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitpanda.py +0 -0
  278. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitrue.py +0 -0
  279. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitso.py +0 -0
  280. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitstamp.py +0 -0
  281. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitteam.py +0 -0
  282. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bitvavo.py +0 -0
  283. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/bl3p.py +0 -0
  284. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/blockchaincom.py +0 -0
  285. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/btcalpha.py +0 -0
  286. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/btcbox.py +0 -0
  287. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/btcmarkets.py +0 -0
  288. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/btcturk.py +0 -0
  289. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/cex.py +0 -0
  290. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinbasepro.py +0 -0
  291. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coincheck.py +0 -0
  292. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinmate.py +0 -0
  293. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinsph.py +0 -0
  294. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/coinspot.py +0 -0
  295. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/cryptocom.py +0 -0
  296. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/currencycom.py +0 -0
  297. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/deribit.py +0 -0
  298. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/digifinex.py +0 -0
  299. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/exmo.py +0 -0
  300. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/flowbtc.py +0 -0
  301. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/fmfwio.py +0 -0
  302. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/gateio.py +0 -0
  303. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/hitbtc.py +0 -0
  304. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/hitbtc3.py +0 -0
  305. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/hollaex.py +0 -0
  306. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/huobi.py +0 -0
  307. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/huobijp.py +0 -0
  308. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/idex.py +0 -0
  309. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/indodax.py +0 -0
  310. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/krakenfutures.py +0 -0
  311. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/kuna.py +0 -0
  312. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/latoken.py +0 -0
  313. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/luno.py +0 -0
  314. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/lykke.py +0 -0
  315. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/mercado.py +0 -0
  316. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/mexc.py +0 -0
  317. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/ndax.py +0 -0
  318. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/novadax.py +0 -0
  319. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/okcoin.py +0 -0
  320. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/p2b.py +0 -0
  321. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/paymium.py +0 -0
  322. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/poloniex.py +0 -0
  323. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/poloniexfutures.py +0 -0
  324. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/alpaca.py +0 -0
  325. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/ascendex.py +0 -0
  326. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bequant.py +0 -0
  327. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/binance.py +0 -0
  328. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/binancecoinm.py +0 -0
  329. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/binanceus.py +0 -0
  330. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/binanceusdm.py +0 -0
  331. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bingx.py +0 -0
  332. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitcoincom.py +0 -0
  333. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitfinex.py +0 -0
  334. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitfinex2.py +0 -0
  335. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitget.py +0 -0
  336. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitmart.py +0 -0
  337. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitmex.py +0 -0
  338. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitopro.py +0 -0
  339. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitpanda.py +0 -0
  340. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitrue.py +0 -0
  341. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitstamp.py +0 -0
  342. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bitvavo.py +0 -0
  343. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/blockchaincom.py +0 -0
  344. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/bybit.py +0 -0
  345. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/cex.py +0 -0
  346. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/coinbase.py +0 -0
  347. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/coinbasepro.py +0 -0
  348. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/coinex.py +0 -0
  349. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/cryptocom.py +0 -0
  350. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/currencycom.py +0 -0
  351. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/deribit.py +0 -0
  352. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/exmo.py +0 -0
  353. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/gate.py +0 -0
  354. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/gateio.py +0 -0
  355. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/gemini.py +0 -0
  356. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/hitbtc.py +0 -0
  357. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/hollaex.py +0 -0
  358. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/htx.py +0 -0
  359. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/huobi.py +0 -0
  360. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/huobijp.py +0 -0
  361. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/idex.py +0 -0
  362. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/independentreserve.py +0 -0
  363. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/krakenfutures.py +0 -0
  364. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/kucoin.py +0 -0
  365. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/kucoinfutures.py +0 -0
  366. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/luno.py +0 -0
  367. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/mexc.py +0 -0
  368. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/ndax.py +0 -0
  369. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/okcoin.py +0 -0
  370. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/phemex.py +0 -0
  371. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/poloniex.py +0 -0
  372. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/poloniexfutures.py +0 -0
  373. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/probit.py +0 -0
  374. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/upbit.py +0 -0
  375. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/wazirx.py +0 -0
  376. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/whitebit.py +0 -0
  377. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/pro/woo.py +0 -0
  378. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/__init__.py +0 -0
  379. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
  380. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
  381. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
  382. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/der.py +0 -0
  383. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
  384. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
  385. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
  386. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
  387. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
  388. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/ecdsa/util.py +0 -0
  389. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/keccak/__init__.py +0 -0
  390. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/static_dependencies/keccak/keccak.py +0 -0
  391. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/__init__.py +0 -0
  392. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_account.py +0 -0
  393. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_balance.py +0 -0
  394. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_borrow_interest.py +0 -0
  395. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_borrow_rate.py +0 -0
  396. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_calculate_fee.py +0 -0
  397. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_crypto.py +0 -0
  398. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_currency.py +0 -0
  399. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_datetime.py +0 -0
  400. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_decimal_to_precision.py +0 -0
  401. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_deep_extend.py +0 -0
  402. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
  403. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
  404. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_funding_rate_history.py +0 -0
  405. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_ledger_entry.py +0 -0
  406. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_ledger_item.py +0 -0
  407. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_leverage_tier.py +0 -0
  408. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_margin_modification.py +0 -0
  409. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_market.py +0 -0
  410. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_number.py +0 -0
  411. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_ohlcv.py +0 -0
  412. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_open_interest.py +0 -0
  413. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_order.py +0 -0
  414. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_order_book.py +0 -0
  415. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_position.py +0 -0
  416. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_shared_methods.py +0 -0
  417. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_status.py +0 -0
  418. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_throttle.py +0 -0
  419. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_ticker.py +0 -0
  420. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_trade.py +0 -0
  421. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_trading_fee.py +0 -0
  422. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/test/base/test_transaction.py +0 -0
  423. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/timex.py +0 -0
  424. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/tokocrypto.py +0 -0
  425. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/upbit.py +0 -0
  426. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/wazirx.py +0 -0
  427. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/whitebit.py +0 -0
  428. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/yobit.py +0 -0
  429. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/zaif.py +0 -0
  430. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt/zonda.py +0 -0
  431. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt.egg-info/dependency_links.txt +0 -0
  432. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt.egg-info/requires.txt +0 -0
  433. {ccxt-4.2.12 → ccxt-4.2.14}/ccxt.egg-info/top_level.txt +0 -0
  434. {ccxt-4.2.12 → ccxt-4.2.14}/setup.cfg +0 -0
  435. {ccxt-4.2.12 → ccxt-4.2.14}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.2.12
3
+ Version: 4.2.14
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.12/dist/ccxt.browser.js
226
- * unpkg: https://unpkg.com/ccxt@4.2.12/dist/ccxt.browser.js
225
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.14/dist/ccxt.browser.js
226
+ * unpkg: https://unpkg.com/ccxt@4.2.14/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.12/dist/ccxt.browser.js"></script>
231
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.14/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.12'
25
+ __version__ = '4.2.14'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -23,6 +23,7 @@ class ImplicitAPI:
23
23
  private_post_orders_cancel = privatePostOrdersCancel = Entry('orders/cancel', 'private', 'POST', {})
24
24
  private_post_withdrawals = privatePostWithdrawals = Entry('withdrawals', 'private', 'POST', {})
25
25
  private_post_transfer = privatePostTransfer = Entry('transfer', 'private', 'POST', {})
26
+ contractpublic_get_symbols = contractPublicGetSymbols = Entry('symbols', 'contractPublic', 'GET', {})
26
27
  contractpublic_get_instruments = contractPublicGetInstruments = Entry('instruments', 'contractPublic', 'GET', {})
27
28
  contractpublic_get_depth_symbol_snapshot = contractPublicGetDepthSymbolSnapshot = Entry('depth@{symbol}/snapshot', 'contractPublic', 'GET', {})
28
29
  contractpublic_get_instruments_difference = contractPublicGetInstrumentsDifference = Entry('instruments/difference', 'contractPublic', 'GET', {})
@@ -10,6 +10,7 @@ class ImplicitAPI:
10
10
  spot_v1_private_get_trade_query = spotV1PrivateGetTradeQuery = Entry('trade/query', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
11
11
  spot_v1_private_get_trade_openorders = spotV1PrivateGetTradeOpenOrders = Entry('trade/openOrders', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
12
12
  spot_v1_private_get_trade_historyorders = spotV1PrivateGetTradeHistoryOrders = Entry('trade/historyOrders', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
13
+ spot_v1_private_get_trade_mytrades = spotV1PrivateGetTradeMyTrades = Entry('trade/myTrades', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
13
14
  spot_v1_private_get_user_commissionrate = spotV1PrivateGetUserCommissionRate = Entry('user/commissionRate', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
14
15
  spot_v1_private_get_account_balance = spotV1PrivateGetAccountBalance = Entry('account/balance', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
15
16
  spot_v1_private_post_trade_order = spotV1PrivatePostTradeOrder = Entry('trade/order', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
@@ -39,6 +40,7 @@ class ImplicitAPI:
39
40
  swap_v2_private_get_user_positions = swapV2PrivateGetUserPositions = Entry('user/positions', ['swap', 'v2', 'private'], 'GET', {'cost': 3})
40
41
  swap_v2_private_get_user_income = swapV2PrivateGetUserIncome = Entry('user/income', ['swap', 'v2', 'private'], 'GET', {'cost': 3})
41
42
  swap_v2_private_get_trade_openorders = swapV2PrivateGetTradeOpenOrders = Entry('trade/openOrders', ['swap', 'v2', 'private'], 'GET', {'cost': 3})
43
+ swap_v2_private_get_trade_openorder = swapV2PrivateGetTradeOpenOrder = Entry('trade/openOrder', ['swap', 'v2', 'private'], 'GET', {'cost': 3})
42
44
  swap_v2_private_get_trade_order = swapV2PrivateGetTradeOrder = Entry('trade/order', ['swap', 'v2', 'private'], 'GET', {'cost': 3})
43
45
  swap_v2_private_get_trade_margintype = swapV2PrivateGetTradeMarginType = Entry('trade/marginType', ['swap', 'v2', 'private'], 'GET', {'cost': 3})
44
46
  swap_v2_private_get_trade_leverage = swapV2PrivateGetTradeLeverage = Entry('trade/leverage', ['swap', 'v2', 'private'], 'GET', {'cost': 3})
@@ -150,6 +150,7 @@ class ImplicitAPI:
150
150
  futurespublic_get_premium_query = futuresPublicGetPremiumQuery = Entry('premium/query', 'futuresPublic', 'GET', {'cost': 4.5})
151
151
  futurespublic_get_trade_statistics = futuresPublicGetTradeStatistics = Entry('trade-statistics', 'futuresPublic', 'GET', {'cost': 4.5})
152
152
  futurespublic_get_funding_rate_symbol_current = futuresPublicGetFundingRateSymbolCurrent = Entry('funding-rate/{symbol}/current', 'futuresPublic', 'GET', {'cost': 3})
153
+ futurespublic_get_contract_funding_rates = futuresPublicGetContractFundingRates = Entry('contract/funding-rates', 'futuresPublic', 'GET', {'cost': 7.5})
153
154
  futurespublic_get_timestamp = futuresPublicGetTimestamp = Entry('timestamp', 'futuresPublic', 'GET', {'cost': 3})
154
155
  futurespublic_get_status = futuresPublicGetStatus = Entry('status', 'futuresPublic', 'GET', {'cost': 6})
155
156
  futurespublic_get_level2_message_query = futuresPublicGetLevel2MessageQuery = Entry('level2/message/query', 'futuresPublic', 'GET', {'cost': 1.3953})
@@ -168,13 +169,16 @@ class ImplicitAPI:
168
169
  futuresprivate_get_openorderstatistics = futuresPrivateGetOpenOrderStatistics = Entry('openOrderStatistics', 'futuresPrivate', 'GET', {'cost': 15})
169
170
  futuresprivate_get_position = futuresPrivateGetPosition = Entry('position', 'futuresPrivate', 'GET', {'cost': 3})
170
171
  futuresprivate_get_positions = futuresPrivateGetPositions = Entry('positions', 'futuresPrivate', 'GET', {'cost': 3})
172
+ futuresprivate_get_margin_maxwithdrawmargin = futuresPrivateGetMarginMaxWithdrawMargin = Entry('margin/maxWithdrawMargin', 'futuresPrivate', 'GET', {'cost': 15})
171
173
  futuresprivate_get_contracts_risk_limit_symbol = futuresPrivateGetContractsRiskLimitSymbol = Entry('contracts/risk-limit/{symbol}', 'futuresPrivate', 'GET', {'cost': 7.5})
172
174
  futuresprivate_get_funding_history = futuresPrivateGetFundingHistory = Entry('funding-history', 'futuresPrivate', 'GET', {'cost': 7.5})
173
175
  futuresprivate_post_transfer_out = futuresPrivatePostTransferOut = Entry('transfer-out', 'futuresPrivate', 'POST', {'cost': 30})
174
176
  futuresprivate_post_transfer_in = futuresPrivatePostTransferIn = Entry('transfer-in', 'futuresPrivate', 'POST', {'cost': 30})
175
177
  futuresprivate_post_orders = futuresPrivatePostOrders = Entry('orders', 'futuresPrivate', 'POST', {'cost': 3})
176
178
  futuresprivate_post_orders_test = futuresPrivatePostOrdersTest = Entry('orders/test', 'futuresPrivate', 'POST', {'cost': 3})
179
+ futuresprivate_post_orders_multi = futuresPrivatePostOrdersMulti = Entry('orders/multi', 'futuresPrivate', 'POST', {'cost': 4.5})
177
180
  futuresprivate_post_position_margin_auto_deposit_status = futuresPrivatePostPositionMarginAutoDepositStatus = Entry('position/margin/auto-deposit-status', 'futuresPrivate', 'POST', {'cost': 6})
181
+ futuresprivate_post_margin_withdrawmargin = futuresPrivatePostMarginWithdrawMargin = Entry('margin/withdrawMargin', 'futuresPrivate', 'POST', {'cost': 15})
178
182
  futuresprivate_post_position_margin_deposit_margin = futuresPrivatePostPositionMarginDepositMargin = Entry('position/margin/deposit-margin', 'futuresPrivate', 'POST', {'cost': 6})
179
183
  futuresprivate_post_position_risk_limit_level_change = futuresPrivatePostPositionRiskLimitLevelChange = Entry('position/risk-limit-level/change', 'futuresPrivate', 'POST', {'cost': 6})
180
184
  futuresprivate_post_bullet_private = futuresPrivatePostBulletPrivate = Entry('bullet-private', 'futuresPrivate', 'POST', {'cost': 15})
@@ -150,6 +150,7 @@ class ImplicitAPI:
150
150
  futurespublic_get_premium_query = futuresPublicGetPremiumQuery = Entry('premium/query', 'futuresPublic', 'GET', {'cost': 1})
151
151
  futurespublic_get_trade_statistics = futuresPublicGetTradeStatistics = Entry('trade-statistics', 'futuresPublic', 'GET', {'cost': 4.5})
152
152
  futurespublic_get_funding_rate_symbol_current = futuresPublicGetFundingRateSymbolCurrent = Entry('funding-rate/{symbol}/current', 'futuresPublic', 'GET', {'cost': 1})
153
+ futurespublic_get_contract_funding_rates = futuresPublicGetContractFundingRates = Entry('contract/funding-rates', 'futuresPublic', 'GET', {'cost': 7.5})
153
154
  futurespublic_get_timestamp = futuresPublicGetTimestamp = Entry('timestamp', 'futuresPublic', 'GET', {'cost': 1})
154
155
  futurespublic_get_status = futuresPublicGetStatus = Entry('status', 'futuresPublic', 'GET', {'cost': 1})
155
156
  futurespublic_get_level2_message_query = futuresPublicGetLevel2MessageQuery = Entry('level2/message/query', 'futuresPublic', 'GET', {'cost': 1})
@@ -172,6 +173,7 @@ class ImplicitAPI:
172
173
  futuresprivate_get_openorderstatistics = futuresPrivateGetOpenOrderStatistics = Entry('openOrderStatistics', 'futuresPrivate', 'GET', {'cost': 1})
173
174
  futuresprivate_get_position = futuresPrivateGetPosition = Entry('position', 'futuresPrivate', 'GET', {'cost': 1})
174
175
  futuresprivate_get_positions = futuresPrivateGetPositions = Entry('positions', 'futuresPrivate', 'GET', {'cost': 4.44})
176
+ futuresprivate_get_margin_maxwithdrawmargin = futuresPrivateGetMarginMaxWithdrawMargin = Entry('margin/maxWithdrawMargin', 'futuresPrivate', 'GET', {'cost': 15})
175
177
  futuresprivate_get_contracts_risk_limit_symbol = futuresPrivateGetContractsRiskLimitSymbol = Entry('contracts/risk-limit/{symbol}', 'futuresPrivate', 'GET', {'cost': 7.5})
176
178
  futuresprivate_get_funding_history = futuresPrivateGetFundingHistory = Entry('funding-history', 'futuresPrivate', 'GET', {'cost': 4.44})
177
179
  futuresprivate_get_deposit_address = futuresPrivateGetDepositAddress = Entry('deposit-address', 'futuresPrivate', 'GET', {'cost': 1})
@@ -184,7 +186,9 @@ class ImplicitAPI:
184
186
  futuresprivate_post_transfer_in = futuresPrivatePostTransferIn = Entry('transfer-in', 'futuresPrivate', 'POST', {'cost': 1})
185
187
  futuresprivate_post_orders = futuresPrivatePostOrders = Entry('orders', 'futuresPrivate', 'POST', {'cost': 1.33})
186
188
  futuresprivate_post_orders_test = futuresPrivatePostOrdersTest = Entry('orders/test', 'futuresPrivate', 'POST', {'cost': 1.33})
189
+ futuresprivate_post_orders_multi = futuresPrivatePostOrdersMulti = Entry('orders/multi', 'futuresPrivate', 'POST', {'cost': 4.5})
187
190
  futuresprivate_post_position_margin_auto_deposit_status = futuresPrivatePostPositionMarginAutoDepositStatus = Entry('position/margin/auto-deposit-status', 'futuresPrivate', 'POST', {'cost': 1})
191
+ futuresprivate_post_margin_withdrawmargin = futuresPrivatePostMarginWithdrawMargin = Entry('margin/withdrawMargin', 'futuresPrivate', 'POST', {'cost': 15})
188
192
  futuresprivate_post_position_margin_deposit_margin = futuresPrivatePostPositionMarginDepositMargin = Entry('position/margin/deposit-margin', 'futuresPrivate', 'POST', {'cost': 1})
189
193
  futuresprivate_post_position_risk_limit_level_change = futuresPrivatePostPositionRiskLimitLevelChange = Entry('position/risk-limit-level/change', 'futuresPrivate', 'POST', {'cost': 1})
190
194
  futuresprivate_post_bullet_private = futuresPrivatePostBulletPrivate = Entry('bullet-private', 'futuresPrivate', 'POST', {'cost': 1})
@@ -82,6 +82,7 @@ class ImplicitAPI:
82
82
  private_get_sprd_order = privateGetSprdOrder = Entry('sprd/order', 'private', 'GET', {'cost': 0.3333333333333333})
83
83
  private_get_sprd_orders_pending = privateGetSprdOrdersPending = Entry('sprd/orders-pending', 'private', 'GET', {'cost': 0.3333333333333333})
84
84
  private_get_sprd_orders_history = privateGetSprdOrdersHistory = Entry('sprd/orders-history', 'private', 'GET', {'cost': 0.5})
85
+ private_get_sprd_orders_history_archive = privateGetSprdOrdersHistoryArchive = Entry('sprd/orders-history-archive', 'private', 'GET', {'cost': 0.5})
85
86
  private_get_sprd_trades = privateGetSprdTrades = Entry('sprd/trades', 'private', 'GET', {'cost': 0.3333333333333333})
86
87
  private_get_trade_order = privateGetTradeOrder = Entry('trade/order', 'private', 'GET', {'cost': 0.3333333333333333})
87
88
  private_get_trade_orders_pending = privateGetTradeOrdersPending = Entry('trade/orders-pending', 'private', 'GET', {'cost': 0.3333333333333333})
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.12'
7
+ __version__ = '4.2.14'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.2.12'
5
+ __version__ = '4.2.14'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -1008,10 +1008,127 @@ class Exchange(BaseExchange):
1008
1008
  :param dict [params]: extra parameters specific to the exchange API endpoint
1009
1009
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1010
1010
  """
1011
- if self.options['createMarketSellOrderRequiresPrice'] or self.options['createMarketSellOrderWithCost']:
1011
+ if self.options['createMarketSellOrderRequiresPrice'] or self.has['createMarketSellOrderWithCost']:
1012
1012
  return await self.create_order(symbol, 'market', 'sell', cost, 1, params)
1013
1013
  raise NotSupported(self.id + ' createMarketSellOrderWithCost() is not supported yet')
1014
1014
 
1015
+ async def create_trigger_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, triggerPrice=None, params={}):
1016
+ """
1017
+ create a trigger stop order(type 1)
1018
+ :param str symbol: unified symbol of the market to create an order in
1019
+ :param str type: 'market' or 'limit'
1020
+ :param str side: 'buy' or 'sell'
1021
+ :param float amount: how much you want to trade in units of the base currency or the number of contracts
1022
+ :param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
1023
+ :param float triggerPrice: the price to trigger the stop order, in units of the quote currency
1024
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1025
+ :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1026
+ """
1027
+ if triggerPrice is None:
1028
+ raise ArgumentsRequired(self.id + ' createTriggerOrder() requires a triggerPrice argument')
1029
+ params['triggerPrice'] = triggerPrice
1030
+ if self.has['createTriggerOrder']:
1031
+ return await self.create_order(symbol, type, side, amount, price, params)
1032
+ raise NotSupported(self.id + ' createTriggerOrder() is not supported yet')
1033
+
1034
+ async def create_stop_loss_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, stopLossPrice=None, params={}):
1035
+ """
1036
+ create a trigger stop loss order(type 2)
1037
+ :param str symbol: unified symbol of the market to create an order in
1038
+ :param str type: 'market' or 'limit'
1039
+ :param str side: 'buy' or 'sell'
1040
+ :param float amount: how much you want to trade in units of the base currency or the number of contracts
1041
+ :param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
1042
+ :param float stopLossPrice: the price to trigger the stop loss order, in units of the quote currency
1043
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1044
+ :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1045
+ """
1046
+ if stopLossPrice is None:
1047
+ raise ArgumentsRequired(self.id + ' createStopLossOrder() requires a stopLossPrice argument')
1048
+ params['stopLossPrice'] = stopLossPrice
1049
+ if self.has['createStopLossOrder']:
1050
+ return await self.create_order(symbol, type, side, amount, price, params)
1051
+ raise NotSupported(self.id + ' createStopLossOrder() is not supported yet')
1052
+
1053
+ async def create_take_profit_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, takeProfitPrice=None, params={}):
1054
+ """
1055
+ create a trigger take profit order(type 2)
1056
+ :param str symbol: unified symbol of the market to create an order in
1057
+ :param str type: 'market' or 'limit'
1058
+ :param str side: 'buy' or 'sell'
1059
+ :param float amount: how much you want to trade in units of the base currency or the number of contracts
1060
+ :param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
1061
+ :param float takeProfitPrice: the price to trigger the take profit order, in units of the quote currency
1062
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1063
+ :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1064
+ """
1065
+ if takeProfitPrice is None:
1066
+ raise ArgumentsRequired(self.id + ' createTakeProfitOrder() requires a takeProfitPrice argument')
1067
+ params['takeProfitPrice'] = takeProfitPrice
1068
+ if self.has['createTakeProfitOrder']:
1069
+ return await self.create_order(symbol, type, side, amount, price, params)
1070
+ raise NotSupported(self.id + ' createTakeProfitOrder() is not supported yet')
1071
+
1072
+ async def create_order_with_take_profit_and_stop_loss(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, takeProfit=None, stopLoss=None, params={}):
1073
+ """
1074
+ create an order with a stop loss or take profit attached(type 3)
1075
+ :param str symbol: unified symbol of the market to create an order in
1076
+ :param str type: 'market' or 'limit'
1077
+ :param str side: 'buy' or 'sell'
1078
+ :param float amount: how much you want to trade in units of the base currency or the number of contracts
1079
+ :param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
1080
+ :param float [takeProfit]: the take profit price, in units of the quote currency
1081
+ :param float [stopLoss]: the stop loss price, in units of the quote currency
1082
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1083
+ :param str [params.takeProfitType]: *not available on all exchanges* 'limit' or 'market'
1084
+ :param str [params.stopLossType]: *not available on all exchanges* 'limit' or 'market'
1085
+ :param str [params.takeProfitPriceType]: *not available on all exchanges* 'last', 'mark' or 'index'
1086
+ :param str [params.stopLossPriceType]: *not available on all exchanges* 'last', 'mark' or 'index'
1087
+ :param float [params.takeProfitLimitPrice]: *not available on all exchanges* limit price for a limit take profit order
1088
+ :param float [params.stopLossLimitPrice]: *not available on all exchanges* stop loss for a limit stop loss order
1089
+ :param float [params.takeProfitAmount]: *not available on all exchanges* the amount for a take profit
1090
+ :param float [params.stopLossAmount]: *not available on all exchanges* the amount for a stop loss
1091
+ :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1092
+ """
1093
+ if (takeProfit is None) and (stopLoss is None):
1094
+ raise ArgumentsRequired(self.id + ' createOrderWithTakeProfitAndStopLoss() requires either a takeProfit or stopLoss argument')
1095
+ if takeProfit is not None:
1096
+ params['takeProfit'] = {
1097
+ 'triggerPrice': takeProfit,
1098
+ }
1099
+ if stopLoss is not None:
1100
+ params['stopLoss'] = {
1101
+ 'triggerPrice': stopLoss,
1102
+ }
1103
+ takeProfitType = self.safe_string(params, 'takeProfitType')
1104
+ takeProfitPriceType = self.safe_string(params, 'takeProfitPriceType')
1105
+ takeProfitLimitPrice = self.safe_string(params, 'takeProfitLimitPrice')
1106
+ takeProfitAmount = self.safe_string(params, 'takeProfitAmount')
1107
+ stopLossType = self.safe_string(params, 'stopLossType')
1108
+ stopLossPriceType = self.safe_string(params, 'stopLossPriceType')
1109
+ stopLossLimitPrice = self.safe_string(params, 'stopLossLimitPrice')
1110
+ stopLossAmount = self.safe_string(params, 'stopLossAmount')
1111
+ if takeProfitType is not None:
1112
+ params['takeProfit']['type'] = takeProfitType
1113
+ if takeProfitPriceType is not None:
1114
+ params['takeProfit']['priceType'] = takeProfitPriceType
1115
+ if takeProfitLimitPrice is not None:
1116
+ params['takeProfit']['price'] = self.parse_to_numeric(takeProfitLimitPrice)
1117
+ if takeProfitAmount is not None:
1118
+ params['takeProfit']['amount'] = self.parse_to_numeric(takeProfitAmount)
1119
+ if stopLossType is not None:
1120
+ params['stopLoss']['type'] = stopLossType
1121
+ if stopLossPriceType is not None:
1122
+ params['stopLoss']['priceType'] = stopLossPriceType
1123
+ if stopLossLimitPrice is not None:
1124
+ params['stopLoss']['price'] = self.parse_to_numeric(stopLossLimitPrice)
1125
+ if stopLossAmount is not None:
1126
+ params['stopLoss']['amount'] = self.parse_to_numeric(stopLossAmount)
1127
+ params = self.omit(params, ['takeProfitType', 'takeProfitPriceType', 'takeProfitLimitPrice', 'takeProfitAmount', 'stopLossType', 'stopLossPriceType', 'stopLossLimitPrice', 'stopLossAmount'])
1128
+ if self.has['createOrderWithTakeProfitAndStopLoss']:
1129
+ return await self.create_order(symbol, type, side, amount, price, params)
1130
+ raise NotSupported(self.id + ' createOrderWithTakeProfitAndStopLoss() is not supported yet')
1131
+
1015
1132
  async def create_orders(self, orders: List[OrderRequest], params={}):
1016
1133
  raise NotSupported(self.id + ' createOrders() is not supported yet')
1017
1134
 
@@ -5,6 +5,7 @@
5
5
 
6
6
  from ccxt.async_support.base.exchange import Exchange
7
7
  from ccxt.abstract.bigone import ImplicitAPI
8
+ import asyncio
8
9
  from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Bool, Strings, Ticker, Tickers, Trade, Transaction
9
10
  from typing import List
10
11
  from ccxt.base.errors import ExchangeError
@@ -133,6 +134,7 @@ class bigone(Exchange, ImplicitAPI):
133
134
  },
134
135
  'contractPublic': {
135
136
  'get': [
137
+ 'symbols',
136
138
  'instruments',
137
139
  'depth@{symbol}/snapshot',
138
140
  'instruments/difference',
@@ -522,7 +524,10 @@ class bigone(Exchange, ImplicitAPI):
522
524
  :param dict [params]: extra parameters specific to the exchange API endpoint
523
525
  :returns dict[]: an array of objects representing market data
524
526
  """
525
- response = await self.publicGetAssetPairs(params)
527
+ promises = [self.publicGetAssetPairs(params), self.contractPublicGetSymbols(params)]
528
+ promisesResult = await asyncio.gather(*promises)
529
+ response = promisesResult[0]
530
+ contractResponse = promisesResult[1]
526
531
  #
527
532
  # {
528
533
  # "code":0,
@@ -548,29 +553,30 @@ class bigone(Exchange, ImplicitAPI):
548
553
  # ]
549
554
  # }
550
555
  #
551
- contractResponse = await self.contractPublicGetInstruments(params)
552
556
  #
553
557
  # [
554
558
  # {
555
- # "usdtPrice": 1.00031998,
559
+ # "baseCurrency": "BTC",
560
+ # "multiplier": 1,
561
+ # "enable": True,
562
+ # "priceStep": 0.5,
563
+ # "maxRiskLimit": 1000,
564
+ # "pricePrecision": 1,
565
+ # "maintenanceMargin": 0.00500,
556
566
  # "symbol": "BTCUSD",
557
- # "btcPrice": 34700.4,
558
- # "ethPrice": 1787.83,
559
- # "nextFundingRate": 0.00010,
560
- # "fundingRate": 0.00010,
561
- # "latestPrice": 34708.5,
562
- # "last24hPriceChange": 0.0321,
563
- # "indexPrice": 34700.4,
564
- # "volume24h": 261319063,
565
- # "turnover24h": 8204.129380685496,
566
- # "nextFundingTime": 1698285600000,
567
- # "markPrice": 34702.4646738,
568
- # "last24hMaxPrice": 35127.5,
569
- # "volume24hInUsd": 0.0,
570
- # "openValue": 32.88054722085945,
571
- # "last24hMinPrice": 33552.0,
572
- # "openInterest": 1141372.0
573
- # }
567
+ # "valuePrecision": 4,
568
+ # "minRiskLimit": 100,
569
+ # "riskLimit": 100,
570
+ # "isInverse": True,
571
+ # "riskStep": 1,
572
+ # "settleCurrency": "BTC",
573
+ # "baseName": "Bitcoin",
574
+ # "feePrecision": 8,
575
+ # "priceMin": 0.5,
576
+ # "priceMax": 1E+6,
577
+ # "initialMargin": 0.01000,
578
+ # "quoteCurrency": "USD"
579
+ # },
574
580
  # ...
575
581
  # ]
576
582
  #
@@ -636,15 +642,14 @@ class bigone(Exchange, ImplicitAPI):
636
642
  }))
637
643
  for i in range(0, len(contractResponse)):
638
644
  market = contractResponse[i]
645
+ baseId = self.safe_string(market, 'baseCurrency')
646
+ quoteId = self.safe_string(market, 'quoteCurrency')
647
+ settleId = self.safe_string(market, 'settleCurrency')
639
648
  marketId = self.safe_string(market, 'symbol')
640
- index = marketId.find('USD')
641
- baseId = marketId[0:index]
642
- quoteId = marketId[index:]
643
- inverse = (quoteId == 'USD')
644
- settleId = baseId if inverse else quoteId
645
649
  base = self.safe_currency_code(baseId)
646
650
  quote = self.safe_currency_code(quoteId)
647
651
  settle = self.safe_currency_code(settleId)
652
+ inverse = self.safe_value(market, 'isInverse')
648
653
  result.append(self.safe_market_structure({
649
654
  'id': marketId,
650
655
  'symbol': base + '/' + quote + ':' + settle,
@@ -660,18 +665,18 @@ class bigone(Exchange, ImplicitAPI):
660
665
  'swap': True,
661
666
  'future': False,
662
667
  'option': False,
663
- 'active': True,
668
+ 'active': self.safe_value(market, 'enable'),
664
669
  'contract': True,
665
670
  'linear': not inverse,
666
671
  'inverse': inverse,
667
- 'contractSize': 1,
672
+ 'contractSize': self.safe_number(market, 'multiplier'),
668
673
  'expiry': None,
669
674
  'expiryDatetime': None,
670
675
  'strike': None,
671
676
  'optionType': None,
672
677
  'precision': {
673
- 'amount': None,
674
- 'price': None,
678
+ 'amount': self.parse_number(self.parse_precision(self.safe_string(market, 'valuePrecision'))),
679
+ 'price': self.parse_number(self.parse_precision(self.safe_string(market, 'pricePrecision'))),
675
680
  },
676
681
  'limits': {
677
682
  'leverage': {
@@ -683,11 +688,11 @@ class bigone(Exchange, ImplicitAPI):
683
688
  'max': None,
684
689
  },
685
690
  'price': {
686
- 'min': None,
687
- 'max': None,
691
+ 'min': self.safe_number(market, 'priceMin'),
692
+ 'max': self.safe_number(market, 'priceMax'),
688
693
  },
689
694
  'cost': {
690
- 'min': None,
695
+ 'min': self.safe_number(market, 'initialMargin'),
691
696
  'max': None,
692
697
  },
693
698
  },
@@ -918,28 +923,86 @@ class bigone(Exchange, ImplicitAPI):
918
923
  """
919
924
  await self.load_markets()
920
925
  market = self.market(symbol)
921
- request = {
922
- 'asset_pair_name': market['id'],
926
+ response = None
927
+ if market['contract']:
928
+ request = {
929
+ 'symbol': market['id'],
930
+ }
931
+ response = await self.contractPublicGetDepthSymbolSnapshot(self.extend(request, params))
932
+ #
933
+ # {
934
+ # bids: {
935
+ # '20000': '20',
936
+ # ...
937
+ # '34552': '64851',
938
+ # '34526.5': '59594',
939
+ # ...
940
+ # '34551.5': '29711'
941
+ # },
942
+ # asks: {
943
+ # '34557': '34395',
944
+ # ...
945
+ # '40000': '20',
946
+ # '34611.5': '56024',
947
+ # ...
948
+ # '34578.5': '66367'
949
+ # },
950
+ # to: '59737174',
951
+ # lastPrice: '34554.5',
952
+ # bestPrices: {
953
+ # ask: '34557.0',
954
+ # bid: '34552.0'
955
+ # },
956
+ # from: '0'
957
+ # }
958
+ #
959
+ return self.parse_contract_order_book(response, market['symbol'], limit)
960
+ else:
961
+ request = {
962
+ 'asset_pair_name': market['id'],
963
+ }
964
+ if limit is not None:
965
+ request['limit'] = limit # default 50, max 200
966
+ response = await self.publicGetAssetPairsAssetPairNameDepth(self.extend(request, params))
967
+ #
968
+ # {
969
+ # "code":0,
970
+ # "data": {
971
+ # "asset_pair_name": "EOS-BTC",
972
+ # "bids": [
973
+ # {"price": "42", "order_count": 4, "quantity": "23.33363711"}
974
+ # ],
975
+ # "asks": [
976
+ # {"price": "45", "order_count": 2, "quantity": "4193.3283464"}
977
+ # ]
978
+ # }
979
+ # }
980
+ #
981
+ orderbook = self.safe_value(response, 'data', {})
982
+ return self.parse_order_book(orderbook, market['symbol'], None, 'bids', 'asks', 'price', 'quantity')
983
+
984
+ def parse_contract_bids_asks(self, bidsAsks):
985
+ bidsAsksKeys = list(bidsAsks.keys())
986
+ result = []
987
+ for i in range(0, len(bidsAsksKeys)):
988
+ price = bidsAsksKeys[i]
989
+ amount = bidsAsks[price]
990
+ result.append([self.parse_number(price), self.parse_number(amount)])
991
+ return result
992
+
993
+ def parse_contract_order_book(self, orderbook: object, symbol: str, limit: Int = None) -> OrderBook:
994
+ responseBids = self.safe_value(orderbook, 'bids')
995
+ responseAsks = self.safe_value(orderbook, 'asks')
996
+ bids = self.parse_contract_bids_asks(responseBids)
997
+ asks = self.parse_contract_bids_asks(responseAsks)
998
+ return {
999
+ 'symbol': symbol,
1000
+ 'bids': self.filter_by_limit(self.sort_by(bids, 0, True), limit),
1001
+ 'asks': self.filter_by_limit(self.sort_by(asks, 0), limit),
1002
+ 'timestamp': None,
1003
+ 'datetime': None,
1004
+ 'nonce': None,
923
1005
  }
924
- if limit is not None:
925
- request['limit'] = limit # default 50, max 200
926
- response = await self.publicGetAssetPairsAssetPairNameDepth(self.extend(request, params))
927
- #
928
- # {
929
- # "code":0,
930
- # "data": {
931
- # "asset_pair_name": "EOS-BTC",
932
- # "bids": [
933
- # {"price": "42", "order_count": 4, "quantity": "23.33363711"}
934
- # ],
935
- # "asks": [
936
- # {"price": "45", "order_count": 2, "quantity": "4193.3283464"}
937
- # ]
938
- # }
939
- # }
940
- #
941
- orderbook = self.safe_value(response, 'data', {})
942
- return self.parse_order_book(orderbook, market['symbol'], None, 'bids', 'asks', 'price', 'quantity')
943
1006
 
944
1007
  def parse_trade(self, trade, market: Market = None) -> Trade:
945
1008
  #
@@ -1075,6 +1138,8 @@ class bigone(Exchange, ImplicitAPI):
1075
1138
  """
1076
1139
  await self.load_markets()
1077
1140
  market = self.market(symbol)
1141
+ if market['contract']:
1142
+ raise BadRequest(self.id + ' fetchTrades() can only fetch trades for spot markets')
1078
1143
  request = {
1079
1144
  'asset_pair_name': market['id'],
1080
1145
  }
@@ -1135,6 +1200,8 @@ class bigone(Exchange, ImplicitAPI):
1135
1200
  """
1136
1201
  await self.load_markets()
1137
1202
  market = self.market(symbol)
1203
+ if market['contract']:
1204
+ raise BadRequest(self.id + ' fetchOHLCV() can only fetch ohlcvs for spot markets')
1138
1205
  if limit is None:
1139
1206
  limit = 100 # default 100, max 500
1140
1207
  request = {