ccxt 4.2.2__tar.gz → 4.2.4__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.
- {ccxt-4.2.2/ccxt.egg-info → ccxt-4.2.4}/PKG-INFO +4 -4
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/__init__.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bingx.py +1 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitmart.py +1 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/alpaca.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/__init__.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/alpaca.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/exchange.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bingx.py +98 -7
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitget.py +4 -4
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitmart.py +18 -10
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bybit.py +2 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinsph.py +14 -2
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/htx.py +28 -3
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/kucoinfutures.py +6 -6
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/okcoin.py +2 -2
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/okx.py +15 -9
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/phemex.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/base/exchange.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bingx.py +98 -7
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitget.py +4 -4
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitmart.py +18 -10
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bybit.py +2 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinsph.py +14 -2
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/htx.py +28 -3
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/kucoinfutures.py +6 -6
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/okcoin.py +2 -2
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/okx.py +15 -9
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/phemex.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/__init__.py +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bingx.py +2 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bybit.py +3 -11
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/test_async.py +75 -62
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/test_sync.py +75 -62
- {ccxt-4.2.2 → ccxt-4.2.4/ccxt.egg-info}/PKG-INFO +4 -4
- {ccxt-4.2.2 → ccxt-4.2.4}/package.json +1 -1
- {ccxt-4.2.2 → ccxt-4.2.4}/LICENSE.txt +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/MANIFEST.in +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/README.rst +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bigone.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitteam.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/bybit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/kucoin.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/kucoinfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/ace.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/ascendex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/ascendex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bigone.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/binance.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitmex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitstamp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitteam.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/bl3p.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/btcalpha.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/cex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinone.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/cryptocom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/delta.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/deribit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/gate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/kraken.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/kucoin.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/lykke.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/ndax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/woo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/base/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/base/errors.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/base/precise.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/base/types.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bequant.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bigone.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/binance.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/binanceus.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bit2c.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitbank.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitbay.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitbns.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitfinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitflyer.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitforex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bithumb.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitmex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitopro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitpanda.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitrue.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitso.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitstamp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitteam.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bitvavo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/bl3p.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/btcalpha.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/btcbox.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/btcturk.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/cex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinbase.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coincheck.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinlist.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinmate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinone.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/coinspot.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/cryptocom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/currencycom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/delta.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/deribit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/digifinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/exmo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/flowbtc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/fmfwio.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/gate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/gateio.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/gemini.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/hitbtc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/hollaex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/huobi.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/huobijp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/idex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/independentreserve.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/indodax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/kraken.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/kucoin.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/kuna.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/latoken.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/lbank.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/luno.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/lykke.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/mercado.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/mexc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/ndax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/novadax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/oceanex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/p2b.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/paymium.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/poloniex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/poloniexfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/binance.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitmart.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/blockchaincom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/cex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/coinbasepro.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/cryptocom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/gate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/htx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/idex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/krakenfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/luno.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/okx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/probit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/pro/woo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/probit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/__init__.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/timex.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/upbit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/wazirx.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/whitebit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/woo.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/yobit.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/zaif.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt/zonda.py +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt.egg-info/SOURCES.txt +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/setup.cfg +0 -0
- {ccxt-4.2.2 → ccxt-4.2.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ccxt
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.4
|
|
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.
|
|
226
|
-
* unpkg: https://unpkg.com/ccxt@4.2.
|
|
225
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.4/dist/ccxt.browser.js
|
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.2.4/dist/ccxt.browser.js
|
|
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.
|
|
231
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.4/dist/ccxt.browser.js"></script>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Creates a global `ccxt` object:
|
|
@@ -83,6 +83,7 @@ class ImplicitAPI:
|
|
|
83
83
|
account_v1_private_get_uid = accountV1PrivateGetUid = Entry('uid', ['account', 'v1', 'private'], 'GET', {'cost': 1})
|
|
84
84
|
account_v1_private_post_innertransfer_authorizesubaccount = accountV1PrivatePostInnerTransferAuthorizeSubAccount = Entry('innerTransfer/authorizeSubAccount', ['account', 'v1', 'private'], 'POST', {'cost': 3})
|
|
85
85
|
user_auth_private_post_userdatastream = userAuthPrivatePostUserDataStream = Entry('userDataStream', ['user', 'auth', 'private'], 'POST', {'cost': 1})
|
|
86
|
+
user_auth_private_put_userdatastream = userAuthPrivatePutUserDataStream = Entry('userDataStream', ['user', 'auth', 'private'], 'PUT', {'cost': 1})
|
|
86
87
|
copytrading_v1_private_get_swap_trace_currenttrack = copyTradingV1PrivateGetSwapTraceCurrentTrack = Entry('swap/trace/currentTrack', ['copyTrading', 'v1', 'private'], 'GET', {'cost': 1})
|
|
87
88
|
copytrading_v1_private_post_swap_trace_closetrackorder = copyTradingV1PrivatePostSwapTraceCloseTrackOrder = Entry('swap/trace/closeTrackOrder', ['copyTrading', 'v1', 'private'], 'POST', {'cost': 1})
|
|
88
89
|
copytrading_v1_private_post_swap_trace_settpsl = copyTradingV1PrivatePostSwapTraceSetTPSL = Entry('swap/trace/setTPSL', ['copyTrading', 'v1', 'private'], 'POST', {'cost': 1})
|
|
@@ -59,6 +59,7 @@ class ImplicitAPI:
|
|
|
59
59
|
private_get_contract_private_order_history = privateGetContractPrivateOrderHistory = Entry('contract/private/order-history', 'private', 'GET', {'cost': 10})
|
|
60
60
|
private_get_contract_private_position = privateGetContractPrivatePosition = Entry('contract/private/position', 'private', 'GET', {'cost': 10})
|
|
61
61
|
private_get_contract_private_get_open_orders = privateGetContractPrivateGetOpenOrders = Entry('contract/private/get-open-orders', 'private', 'GET', {'cost': 1.2})
|
|
62
|
+
private_get_contract_private_current_plan_order = privateGetContractPrivateCurrentPlanOrder = Entry('contract/private/current-plan-order', 'private', 'GET', {'cost': 1.2})
|
|
62
63
|
private_get_contract_private_trades = privateGetContractPrivateTrades = Entry('contract/private/trades', 'private', 'GET', {'cost': 10})
|
|
63
64
|
private_post_account_sub_account_main_v1_sub_to_main = privatePostAccountSubAccountMainV1SubToMain = Entry('account/sub-account/main/v1/sub-to-main', 'private', 'POST', {'cost': 30})
|
|
64
65
|
private_post_account_sub_account_sub_v1_sub_to_main = privatePostAccountSubAccountSubV1SubToMain = Entry('account/sub-account/sub/v1/sub-to-main', 'private', 'POST', {'cost': 30})
|
|
@@ -7,6 +7,8 @@ from ccxt.async_support.base.exchange import Exchange
|
|
|
7
7
|
from ccxt.abstract.bingx import ImplicitAPI
|
|
8
8
|
import asyncio
|
|
9
9
|
import hashlib
|
|
10
|
+
import json
|
|
11
|
+
import numbers
|
|
10
12
|
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderRequest, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
11
13
|
from typing import List
|
|
12
14
|
from ccxt.base.errors import ExchangeError
|
|
@@ -293,6 +295,9 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
293
295
|
'post': {
|
|
294
296
|
'userDataStream': 1,
|
|
295
297
|
},
|
|
298
|
+
'put': {
|
|
299
|
+
'userDataStream': 1,
|
|
300
|
+
},
|
|
296
301
|
},
|
|
297
302
|
},
|
|
298
303
|
},
|
|
@@ -1643,6 +1648,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1643
1648
|
isTrailingAmountOrder = trailingAmount is not None
|
|
1644
1649
|
isTrailingPercentOrder = trailingPercent is not None
|
|
1645
1650
|
isTrailing = isTrailingAmountOrder or isTrailingPercentOrder
|
|
1651
|
+
stopLoss = self.safe_value(params, 'stopLoss')
|
|
1652
|
+
takeProfit = self.safe_value(params, 'takeProfit')
|
|
1653
|
+
isStopLoss = stopLoss is not None
|
|
1654
|
+
isTakeProfit = takeProfit is not None
|
|
1646
1655
|
if ((type == 'LIMIT') or (type == 'TRIGGER_LIMIT') or (type == 'STOP') or (type == 'TAKE_PROFIT')) and not isTrailing:
|
|
1647
1656
|
request['price'] = self.parse_to_numeric(self.price_to_precision(symbol, price))
|
|
1648
1657
|
reduceOnly = self.safe_value(params, 'reduceOnly', False)
|
|
@@ -1674,6 +1683,37 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1674
1683
|
elif isTrailingPercentOrder:
|
|
1675
1684
|
requestTrailingPercent = Precise.string_div(trailingPercent, '100')
|
|
1676
1685
|
request['priceRate'] = self.parse_to_numeric(requestTrailingPercent)
|
|
1686
|
+
if isStopLoss or isTakeProfit:
|
|
1687
|
+
if isStopLoss:
|
|
1688
|
+
slTriggerPrice = self.safe_string_2(stopLoss, 'triggerPrice', 'stopPrice', stopLoss)
|
|
1689
|
+
slWorkingType = self.safe_string(stopLoss, 'workingType', 'MARK_PRICE')
|
|
1690
|
+
slType = self.safe_string(stopLoss, 'type', 'STOP_MARKET')
|
|
1691
|
+
slRequest = {
|
|
1692
|
+
'stopPrice': self.parse_to_numeric(self.price_to_precision(symbol, slTriggerPrice)),
|
|
1693
|
+
'workingType': slWorkingType,
|
|
1694
|
+
'type': slType,
|
|
1695
|
+
}
|
|
1696
|
+
slPrice = self.safe_string(stopLoss, 'price')
|
|
1697
|
+
if slPrice is not None:
|
|
1698
|
+
slRequest['price'] = self.parse_to_numeric(self.price_to_precision(symbol, slPrice))
|
|
1699
|
+
slQuantity = self.safe_string(stopLoss, 'quantity', amount)
|
|
1700
|
+
slRequest['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, slQuantity))
|
|
1701
|
+
request['stopLoss'] = self.json(slRequest)
|
|
1702
|
+
if isTakeProfit:
|
|
1703
|
+
tkTriggerPrice = self.safe_string_2(takeProfit, 'triggerPrice', 'stopPrice', takeProfit)
|
|
1704
|
+
tkWorkingType = self.safe_string(takeProfit, 'workingType', 'MARK_PRICE')
|
|
1705
|
+
tpType = self.safe_string(takeProfit, 'type', 'TAKE_PROFIT_MARKET')
|
|
1706
|
+
tpRequest = {
|
|
1707
|
+
'stopPrice': self.parse_to_numeric(self.price_to_precision(symbol, tkTriggerPrice)),
|
|
1708
|
+
'workingType': tkWorkingType,
|
|
1709
|
+
'type': tpType,
|
|
1710
|
+
}
|
|
1711
|
+
slPrice = self.safe_string(takeProfit, 'price')
|
|
1712
|
+
if slPrice is not None:
|
|
1713
|
+
tpRequest['price'] = self.parse_to_numeric(self.price_to_precision(symbol, slPrice))
|
|
1714
|
+
tkQuantity = self.safe_string(takeProfit, 'quantity', amount)
|
|
1715
|
+
tpRequest['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, tkQuantity))
|
|
1716
|
+
request['takeProfit'] = self.json(tpRequest)
|
|
1677
1717
|
positionSide = None
|
|
1678
1718
|
if reduceOnly:
|
|
1679
1719
|
positionSide = 'SHORT' if (side == 'buy') else 'LONG'
|
|
@@ -1681,13 +1721,14 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1681
1721
|
positionSide = 'LONG' if (side == 'buy') else 'SHORT'
|
|
1682
1722
|
request['positionSide'] = positionSide
|
|
1683
1723
|
request['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, amount))
|
|
1684
|
-
params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent'])
|
|
1724
|
+
params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent', 'takeProfit', 'stopLoss'])
|
|
1685
1725
|
return self.extend(request, params)
|
|
1686
1726
|
|
|
1687
1727
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
|
1688
1728
|
"""
|
|
1689
1729
|
create a trade order
|
|
1690
1730
|
:see: https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Trade%20order
|
|
1731
|
+
:see: https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Create%20an%20Order
|
|
1691
1732
|
:param str symbol: unified symbol of the market to create an order in
|
|
1692
1733
|
:param str type: 'market' or 'limit'
|
|
1693
1734
|
:param str side: 'buy' or 'sell'
|
|
@@ -1703,6 +1744,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1703
1744
|
:param float [params.cost]: the quote quantity that can be used alternative for the amount
|
|
1704
1745
|
:param float [params.trailingAmount]: *swap only* the quote amount to trail away from the current market price
|
|
1705
1746
|
:param float [params.trailingPercent]: *swap only* the percent to trail away from the current market price
|
|
1747
|
+
:param dict [params.takeProfit]: *takeProfit object in params* containing the triggerPrice at which the attached take profit order will be triggered
|
|
1748
|
+
:param float [params.takeProfit.triggerPrice]: take profit trigger price
|
|
1749
|
+
:param dict [params.stopLoss]: *stopLoss object in params* containing the triggerPrice at which the attached stop loss order will be triggered
|
|
1750
|
+
:param float [params.stopLoss.triggerPrice]: stop loss trigger price
|
|
1706
1751
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1707
1752
|
"""
|
|
1708
1753
|
await self.load_markets()
|
|
@@ -1751,6 +1796,8 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1751
1796
|
# }
|
|
1752
1797
|
# }
|
|
1753
1798
|
#
|
|
1799
|
+
if isinstance(response, str):
|
|
1800
|
+
response = json.loads(response)
|
|
1754
1801
|
data = self.safe_value(response, 'data', {})
|
|
1755
1802
|
order = self.safe_value(data, 'order', data)
|
|
1756
1803
|
return self.parse_order(order, market)
|
|
@@ -1947,6 +1994,24 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1947
1994
|
# "orderType": "",
|
|
1948
1995
|
# "workingType": "MARK_PRICE"
|
|
1949
1996
|
# }
|
|
1997
|
+
# with tp and sl
|
|
1998
|
+
# {
|
|
1999
|
+
# orderId: 1741440894764281900,
|
|
2000
|
+
# symbol: 'LTC-USDT',
|
|
2001
|
+
# positionSide: 'LONG',
|
|
2002
|
+
# side: 'BUY',
|
|
2003
|
+
# type: 'MARKET',
|
|
2004
|
+
# price: 0,
|
|
2005
|
+
# quantity: 1,
|
|
2006
|
+
# stopPrice: 0,
|
|
2007
|
+
# workingType: 'MARK_PRICE',
|
|
2008
|
+
# clientOrderID: '',
|
|
2009
|
+
# timeInForce: 'GTC',
|
|
2010
|
+
# priceRate: 0,
|
|
2011
|
+
# stopLoss: '{"stopPrice":50,"workingType":"MARK_PRICE","type":"STOP_MARKET","quantity":1}',
|
|
2012
|
+
# takeProfit: '{"stopPrice":150,"workingType":"MARK_PRICE","type":"TAKE_PROFIT_MARKET","quantity":1}',
|
|
2013
|
+
# reduceOnly: False
|
|
2014
|
+
# }
|
|
1950
2015
|
#
|
|
1951
2016
|
positionSide = self.safe_string_2(order, 'positionSide', 'ps')
|
|
1952
2017
|
marketType = 'spot' if (positionSide is None) else 'swap'
|
|
@@ -1979,6 +2044,24 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1979
2044
|
'cost': Precise.string_abs(feeCost),
|
|
1980
2045
|
}
|
|
1981
2046
|
clientOrderId = self.safe_string_2(order, 'clientOrderId', 'c')
|
|
2047
|
+
stopLoss = self.safe_value(order, 'stopLoss')
|
|
2048
|
+
stopLossPrice = None
|
|
2049
|
+
if stopLoss is not None:
|
|
2050
|
+
stopLossPrice = self.safe_number(stopLoss, 'stopLoss')
|
|
2051
|
+
if (stopLoss is not None) and ((not isinstance(stopLoss, numbers.Real))):
|
|
2052
|
+
# stopLoss: '{"stopPrice":50,"workingType":"MARK_PRICE","type":"STOP_MARKET","quantity":1}',
|
|
2053
|
+
if isinstance(stopLoss, str):
|
|
2054
|
+
stopLoss = json.loads(stopLoss)
|
|
2055
|
+
stopLossPrice = self.safe_number(stopLoss, 'stopPrice')
|
|
2056
|
+
takeProfit = self.safe_value(order, 'takeProfit')
|
|
2057
|
+
takeProfitPrice = None
|
|
2058
|
+
if takeProfit is not None:
|
|
2059
|
+
takeProfitPrice = self.safe_number(takeProfit, 'takeProfit')
|
|
2060
|
+
if (takeProfit is not None) and ((not isinstance(takeProfit, numbers.Real))):
|
|
2061
|
+
# takeProfit: '{"stopPrice":150,"workingType":"MARK_PRICE","type":"TAKE_PROFIT_MARKET","quantity":1}',
|
|
2062
|
+
if isinstance(takeProfit, str):
|
|
2063
|
+
takeProfit = json.loads(takeProfit)
|
|
2064
|
+
takeProfitPrice = self.safe_number(takeProfit, 'stopPrice')
|
|
1982
2065
|
return self.safe_order({
|
|
1983
2066
|
'info': order,
|
|
1984
2067
|
'id': orderId,
|
|
@@ -1995,8 +2078,8 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1995
2078
|
'price': price,
|
|
1996
2079
|
'stopPrice': self.safe_number(order, 'stopPrice'),
|
|
1997
2080
|
'triggerPrice': self.safe_number(order, 'stopPrice'),
|
|
1998
|
-
'stopLossPrice':
|
|
1999
|
-
'takeProfitPrice':
|
|
2081
|
+
'stopLossPrice': stopLossPrice,
|
|
2082
|
+
'takeProfitPrice': takeProfitPrice,
|
|
2000
2083
|
'average': average,
|
|
2001
2084
|
'cost': None,
|
|
2002
2085
|
'amount': amount,
|
|
@@ -2177,6 +2260,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2177
2260
|
:param str[] ids: order ids
|
|
2178
2261
|
:param str symbol: unified market symbol, default is None
|
|
2179
2262
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
2263
|
+
:param str[] [params.clientOrderIds]: client order ids
|
|
2180
2264
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
2181
2265
|
"""
|
|
2182
2266
|
if symbol is None:
|
|
@@ -2186,17 +2270,24 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2186
2270
|
request = {
|
|
2187
2271
|
'symbol': market['id'],
|
|
2188
2272
|
}
|
|
2273
|
+
clientOrderIds = self.safe_value(params, 'clientOrderIds')
|
|
2274
|
+
idsToParse = ids
|
|
2275
|
+
areClientOrderIds = (clientOrderIds is not None)
|
|
2276
|
+
if areClientOrderIds:
|
|
2277
|
+
idsToParse = clientOrderIds
|
|
2189
2278
|
parsedIds = []
|
|
2190
|
-
for i in range(0, len(
|
|
2191
|
-
id =
|
|
2279
|
+
for i in range(0, len(idsToParse)):
|
|
2280
|
+
id = idsToParse[i]
|
|
2192
2281
|
stringId = str(id)
|
|
2193
2282
|
parsedIds.append(stringId)
|
|
2194
2283
|
response = None
|
|
2195
2284
|
if market['spot']:
|
|
2196
|
-
|
|
2285
|
+
spotReqKey = 'clientOrderIds' if areClientOrderIds else 'orderIds'
|
|
2286
|
+
request[spotReqKey] = ','.join(parsedIds)
|
|
2197
2287
|
response = await self.spotV1PrivatePostTradeCancelOrders(self.extend(request, params))
|
|
2198
2288
|
else:
|
|
2199
|
-
|
|
2289
|
+
swapReqKey = 'ClientOrderIDList' if areClientOrderIds else 'orderIdList'
|
|
2290
|
+
request[swapReqKey] = parsedIds
|
|
2200
2291
|
response = await self.swapV2PrivateDeleteTradeBatchOrders(self.extend(request, params))
|
|
2201
2292
|
#
|
|
2202
2293
|
# {
|
|
@@ -4461,8 +4461,8 @@ class bitget(Exchange, ImplicitAPI):
|
|
|
4461
4461
|
market = self.market(symbol)
|
|
4462
4462
|
marginMode = None
|
|
4463
4463
|
marginMode, params = self.handle_margin_mode_and_params('cancelOrders', params)
|
|
4464
|
-
stop = self.
|
|
4465
|
-
params = self.omit(params, 'stop')
|
|
4464
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
4465
|
+
params = self.omit(params, ['stop', 'trigger'])
|
|
4466
4466
|
orderIdList = []
|
|
4467
4467
|
for i in range(0, len(ids)):
|
|
4468
4468
|
individualId = ids[i]
|
|
@@ -4542,8 +4542,8 @@ class bitget(Exchange, ImplicitAPI):
|
|
|
4542
4542
|
request = {
|
|
4543
4543
|
'symbol': market['id'],
|
|
4544
4544
|
}
|
|
4545
|
-
stop = self.
|
|
4546
|
-
params = self.omit(params, 'stop')
|
|
4545
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
4546
|
+
params = self.omit(params, ['stop', 'trigger'])
|
|
4547
4547
|
response = None
|
|
4548
4548
|
if market['spot']:
|
|
4549
4549
|
if marginMode is not None:
|
|
@@ -213,6 +213,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
|
213
213
|
'contract/private/order-history': 10,
|
|
214
214
|
'contract/private/position': 10,
|
|
215
215
|
'contract/private/get-open-orders': 1.2,
|
|
216
|
+
'contract/private/current-plan-order': 1.2,
|
|
216
217
|
'contract/private/trades': 10,
|
|
217
218
|
},
|
|
218
219
|
'post': {
|
|
@@ -2369,8 +2370,8 @@ class bitmart(Exchange, ImplicitAPI):
|
|
|
2369
2370
|
if market['spot']:
|
|
2370
2371
|
response = await self.privatePostSpotV3CancelOrder(self.extend(request, params))
|
|
2371
2372
|
else:
|
|
2372
|
-
stop = self.
|
|
2373
|
-
params = self.omit(params, ['stop'])
|
|
2373
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
2374
|
+
params = self.omit(params, ['stop', 'trigger'])
|
|
2374
2375
|
if not stop:
|
|
2375
2376
|
response = await self.privatePostContractPrivateCancelOrder(self.extend(request, params))
|
|
2376
2377
|
else:
|
|
@@ -2517,6 +2518,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
|
2517
2518
|
"""
|
|
2518
2519
|
:see: https://developer-pro.bitmart.com/en/spot/#current-open-orders-v4-signed
|
|
2519
2520
|
:see: https://developer-pro.bitmart.com/en/futures/#get-all-open-orders-keyed
|
|
2521
|
+
:see: https://developer-pro.bitmart.com/en/futures/#get-all-current-plan-orders-keyed
|
|
2520
2522
|
fetch all unfilled currently open orders
|
|
2521
2523
|
:param str symbol: unified market symbol
|
|
2522
2524
|
:param int [since]: the earliest time in ms to fetch open orders for
|
|
@@ -2528,6 +2530,7 @@ class bitmart(Exchange, ImplicitAPI):
|
|
|
2528
2530
|
:param str [params.order_state]: *swap* the order state, 'all' or 'partially_filled', default is 'all'
|
|
2529
2531
|
:param str [params.orderType]: *swap only* 'limit', 'market', or 'trailing'
|
|
2530
2532
|
:param boolean [params.trailing]: *swap only* set to True if you want to fetch trailing orders
|
|
2533
|
+
:param boolean [params.trigger]: *swap only* set to True if you want to fetch trigger orders
|
|
2531
2534
|
:returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
2532
2535
|
"""
|
|
2533
2536
|
await self.load_markets()
|
|
@@ -2554,14 +2557,19 @@ class bitmart(Exchange, ImplicitAPI):
|
|
|
2554
2557
|
request['endTime'] = until
|
|
2555
2558
|
response = await self.privatePostSpotV4QueryOpenOrders(self.extend(request, params))
|
|
2556
2559
|
elif type == 'swap':
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2560
|
+
isStop = self.safe_value_2(params, 'stop', 'trigger')
|
|
2561
|
+
params = self.omit(params, ['stop', 'trigger'])
|
|
2562
|
+
if isStop:
|
|
2563
|
+
response = await self.privateGetContractPrivateCurrentPlanOrder(self.extend(request, params))
|
|
2564
|
+
else:
|
|
2565
|
+
trailing = self.safe_value(params, 'trailing', False)
|
|
2566
|
+
orderType = self.safe_string(params, 'orderType')
|
|
2567
|
+
params = self.omit(params, ['orderType', 'trailing'])
|
|
2568
|
+
if trailing:
|
|
2569
|
+
orderType = 'trailing'
|
|
2570
|
+
if orderType is not None:
|
|
2571
|
+
request['type'] = orderType
|
|
2572
|
+
response = await self.privateGetContractPrivateGetOpenOrders(self.extend(request, params))
|
|
2565
2573
|
else:
|
|
2566
2574
|
raise NotSupported(self.id + ' fetchOpenOrders() does not support ' + type + ' orders, only spot and swap orders are accepted')
|
|
2567
2575
|
#
|
|
@@ -642,6 +642,8 @@ class bybit(Exchange, ImplicitAPI):
|
|
|
642
642
|
'131215': BadRequest, # Amount error
|
|
643
643
|
'131216': ExchangeError, # Query balance error
|
|
644
644
|
'131217': ExchangeError, # Risk check error
|
|
645
|
+
'131231': NotSupported, # Transfers into self account are not supported
|
|
646
|
+
'131232': NotSupported, # Transfers out self account are not supported
|
|
645
647
|
'131002': BadRequest, # Parameter error
|
|
646
648
|
'131003': ExchangeError, # Interal error
|
|
647
649
|
'131004': AuthenticationError, # KYC needed
|
|
@@ -628,7 +628,13 @@ class coinsph(Exchange, ImplicitAPI):
|
|
|
628
628
|
defaultMethod = 'publicGetOpenapiQuoteV1Ticker24hr'
|
|
629
629
|
options = self.safe_value(self.options, 'fetchTickers', {})
|
|
630
630
|
method = self.safe_string(options, 'method', defaultMethod)
|
|
631
|
-
tickers =
|
|
631
|
+
tickers = None
|
|
632
|
+
if method == 'publicGetOpenapiQuoteV1TickerPrice':
|
|
633
|
+
tickers = await self.publicGetOpenapiQuoteV1TickerPrice(self.extend(request, params))
|
|
634
|
+
elif method == 'publicGetOpenapiQuoteV1TickerBookTicker':
|
|
635
|
+
tickers = await self.publicGetOpenapiQuoteV1TickerBookTicker(self.extend(request, params))
|
|
636
|
+
else:
|
|
637
|
+
tickers = await self.publicGetOpenapiQuoteV1Ticker24hr(self.extend(request, params))
|
|
632
638
|
return self.parse_tickers(tickers, symbols, params)
|
|
633
639
|
|
|
634
640
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
|
@@ -646,7 +652,13 @@ class coinsph(Exchange, ImplicitAPI):
|
|
|
646
652
|
defaultMethod = 'publicGetOpenapiQuoteV1Ticker24hr'
|
|
647
653
|
options = self.safe_value(self.options, 'fetchTicker', {})
|
|
648
654
|
method = self.safe_string(options, 'method', defaultMethod)
|
|
649
|
-
ticker =
|
|
655
|
+
ticker = None
|
|
656
|
+
if method == 'publicGetOpenapiQuoteV1TickerPrice':
|
|
657
|
+
ticker = await self.publicGetOpenapiQuoteV1TickerPrice(self.extend(request, params))
|
|
658
|
+
elif method == 'publicGetOpenapiQuoteV1TickerBookTicker':
|
|
659
|
+
ticker = await self.publicGetOpenapiQuoteV1TickerBookTicker(self.extend(request, params))
|
|
660
|
+
else:
|
|
661
|
+
ticker = await self.publicGetOpenapiQuoteV1Ticker24hr(self.extend(request, params))
|
|
650
662
|
return self.parse_ticker(ticker, market)
|
|
651
663
|
|
|
652
664
|
def parse_ticker(self, ticker, market: Market = None) -> Ticker:
|
|
@@ -4675,6 +4675,8 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4675
4675
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
4676
4676
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
4677
4677
|
:param str [params.timeInForce]: supports 'IOC' and 'FOK'
|
|
4678
|
+
:param float [params.trailingPercent]: *contract only* the percent to trail away from the current market price
|
|
4679
|
+
:param float [params.trailingTriggerPrice]: *contract only* the price to trigger a trailing order, default uses the price argument
|
|
4678
4680
|
:returns dict: request to be sent to the exchange
|
|
4679
4681
|
"""
|
|
4680
4682
|
market = self.market(symbol)
|
|
@@ -4695,6 +4697,9 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4695
4697
|
triggerPrice = self.safe_number_2(params, 'stopPrice', 'trigger_price')
|
|
4696
4698
|
stopLossTriggerPrice = self.safe_number_2(params, 'stopLossPrice', 'sl_trigger_price')
|
|
4697
4699
|
takeProfitTriggerPrice = self.safe_number_2(params, 'takeProfitPrice', 'tp_trigger_price')
|
|
4700
|
+
trailingPercent = self.safe_string_2(params, 'trailingPercent', 'callback_rate')
|
|
4701
|
+
trailingTriggerPrice = self.safe_number(params, 'trailingTriggerPrice', price)
|
|
4702
|
+
isTrailingPercentOrder = trailingPercent is not None
|
|
4698
4703
|
isStop = triggerPrice is not None
|
|
4699
4704
|
isStopLossTriggerOrder = stopLossTriggerPrice is not None
|
|
4700
4705
|
isTakeProfitTriggerOrder = takeProfitTriggerPrice is not None
|
|
@@ -4715,6 +4720,11 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4715
4720
|
request['tp_trigger_price'] = self.price_to_precision(symbol, takeProfitTriggerPrice)
|
|
4716
4721
|
if price is not None:
|
|
4717
4722
|
request['tp_order_price'] = self.price_to_precision(symbol, price)
|
|
4723
|
+
elif isTrailingPercentOrder:
|
|
4724
|
+
trailingPercentString = Precise.string_div(trailingPercent, '100')
|
|
4725
|
+
request['callback_rate'] = self.parse_to_numeric(trailingPercentString)
|
|
4726
|
+
request['active_price'] = trailingTriggerPrice
|
|
4727
|
+
request['order_price_type'] = self.safe_string(params, 'order_price_type', 'formula_price')
|
|
4718
4728
|
else:
|
|
4719
4729
|
clientOrderId = self.safe_integer_2(params, 'client_order_id', 'clientOrderId')
|
|
4720
4730
|
if clientOrderId is not None:
|
|
@@ -4723,7 +4733,7 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4723
4733
|
if type == 'limit' or type == 'ioc' or type == 'fok' or type == 'post_only':
|
|
4724
4734
|
request['price'] = self.price_to_precision(symbol, price)
|
|
4725
4735
|
if not isStopLossTriggerOrder and not isTakeProfitTriggerOrder:
|
|
4726
|
-
leverRate = self.
|
|
4736
|
+
leverRate = self.safe_integer_n(params, ['leverRate', 'lever_rate', 'leverage'], 1)
|
|
4727
4737
|
reduceOnly = self.safe_value_2(params, 'reduceOnly', 'reduce_only', False)
|
|
4728
4738
|
openOrClose = 'close' if (reduceOnly) else 'open'
|
|
4729
4739
|
offset = self.safe_string(params, 'offset', openOrClose)
|
|
@@ -4731,11 +4741,12 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4731
4741
|
if reduceOnly:
|
|
4732
4742
|
request['reduce_only'] = 1
|
|
4733
4743
|
request['lever_rate'] = leverRate
|
|
4734
|
-
|
|
4744
|
+
if not isTrailingPercentOrder:
|
|
4745
|
+
request['order_price_type'] = type
|
|
4735
4746
|
broker = self.safe_value(self.options, 'broker', {})
|
|
4736
4747
|
brokerId = self.safe_string(broker, 'id')
|
|
4737
4748
|
request['channel_code'] = brokerId
|
|
4738
|
-
params = self.omit(params, ['reduceOnly', 'stopPrice', 'stopLossPrice', 'takeProfitPrice', 'triggerType', 'leverRate', 'timeInForce'])
|
|
4749
|
+
params = self.omit(params, ['reduceOnly', 'stopPrice', 'stopLossPrice', 'takeProfitPrice', 'triggerType', 'leverRate', 'timeInForce', 'leverage', 'trailingPercent', 'trailingTriggerPrice'])
|
|
4739
4750
|
return self.extend(request, params)
|
|
4740
4751
|
|
|
4741
4752
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
|
@@ -4766,6 +4777,8 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4766
4777
|
:param int [params.leverRate]: *contract only* required for all contract orders except tpsl, leverage greater than 20x requires prior approval of high-leverage agreement
|
|
4767
4778
|
:param str [params.timeInForce]: supports 'IOC' and 'FOK'
|
|
4768
4779
|
:param float [params.cost]: *spot market buy only* the quote quantity that can be used alternative for the amount
|
|
4780
|
+
:param float [params.trailingPercent]: *contract only* the percent to trail away from the current market price
|
|
4781
|
+
:param float [params.trailingTriggerPrice]: *contract only* the price to trigger a trailing order, default uses the price argument
|
|
4769
4782
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
4770
4783
|
"""
|
|
4771
4784
|
await self.load_markets()
|
|
@@ -4773,11 +4786,15 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4773
4786
|
triggerPrice = self.safe_number_2(params, 'stopPrice', 'trigger_price')
|
|
4774
4787
|
stopLossTriggerPrice = self.safe_number_2(params, 'stopLossPrice', 'sl_trigger_price')
|
|
4775
4788
|
takeProfitTriggerPrice = self.safe_number_2(params, 'takeProfitPrice', 'tp_trigger_price')
|
|
4789
|
+
trailingPercent = self.safe_number(params, 'trailingPercent')
|
|
4790
|
+
isTrailingPercentOrder = trailingPercent is not None
|
|
4776
4791
|
isStop = triggerPrice is not None
|
|
4777
4792
|
isStopLossTriggerOrder = stopLossTriggerPrice is not None
|
|
4778
4793
|
isTakeProfitTriggerOrder = takeProfitTriggerPrice is not None
|
|
4779
4794
|
response = None
|
|
4780
4795
|
if market['spot']:
|
|
4796
|
+
if isTrailingPercentOrder:
|
|
4797
|
+
raise NotSupported(self.id + ' createOrder() does not support trailing orders for spot markets')
|
|
4781
4798
|
spotRequest = await self.create_spot_order_request(symbol, type, side, amount, price, params)
|
|
4782
4799
|
response = await self.spotPrivatePostV1OrderOrdersPlace(spotRequest)
|
|
4783
4800
|
else:
|
|
@@ -4791,6 +4808,8 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4791
4808
|
response = await self.contractPrivatePostLinearSwapApiV1SwapTriggerOrder(contractRequest)
|
|
4792
4809
|
elif isStopLossTriggerOrder or isTakeProfitTriggerOrder:
|
|
4793
4810
|
response = await self.contractPrivatePostLinearSwapApiV1SwapTpslOrder(contractRequest)
|
|
4811
|
+
elif isTrailingPercentOrder:
|
|
4812
|
+
response = await self.contractPrivatePostLinearSwapApiV1SwapTrackOrder(contractRequest)
|
|
4794
4813
|
else:
|
|
4795
4814
|
response = await self.contractPrivatePostLinearSwapApiV1SwapOrder(contractRequest)
|
|
4796
4815
|
elif marginMode == 'cross':
|
|
@@ -4798,6 +4817,8 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4798
4817
|
response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTriggerOrder(contractRequest)
|
|
4799
4818
|
elif isStopLossTriggerOrder or isTakeProfitTriggerOrder:
|
|
4800
4819
|
response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTpslOrder(contractRequest)
|
|
4820
|
+
elif isTrailingPercentOrder:
|
|
4821
|
+
response = await self.contractPrivatePostLinearSwapApiV1SwapCrossTrackOrder(contractRequest)
|
|
4801
4822
|
else:
|
|
4802
4823
|
response = await self.contractPrivatePostLinearSwapApiV1SwapCrossOrder(contractRequest)
|
|
4803
4824
|
elif market['inverse']:
|
|
@@ -4806,6 +4827,8 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4806
4827
|
response = await self.contractPrivatePostSwapApiV1SwapTriggerOrder(contractRequest)
|
|
4807
4828
|
elif isStopLossTriggerOrder or isTakeProfitTriggerOrder:
|
|
4808
4829
|
response = await self.contractPrivatePostSwapApiV1SwapTpslOrder(contractRequest)
|
|
4830
|
+
elif isTrailingPercentOrder:
|
|
4831
|
+
response = await self.contractPrivatePostSwapApiV1SwapTrackOrder(contractRequest)
|
|
4809
4832
|
else:
|
|
4810
4833
|
response = await self.contractPrivatePostSwapApiV1SwapOrder(contractRequest)
|
|
4811
4834
|
elif market['future']:
|
|
@@ -4813,6 +4836,8 @@ class htx(Exchange, ImplicitAPI):
|
|
|
4813
4836
|
response = await self.contractPrivatePostApiV1ContractTriggerOrder(contractRequest)
|
|
4814
4837
|
elif isStopLossTriggerOrder or isTakeProfitTriggerOrder:
|
|
4815
4838
|
response = await self.contractPrivatePostApiV1ContractTpslOrder(contractRequest)
|
|
4839
|
+
elif isTrailingPercentOrder:
|
|
4840
|
+
response = await self.contractPrivatePostApiV1ContractTrackOrder(contractRequest)
|
|
4816
4841
|
else:
|
|
4817
4842
|
response = await self.contractPrivatePostApiV1ContractOrder(contractRequest)
|
|
4818
4843
|
#
|
|
@@ -1228,15 +1228,15 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
|
1228
1228
|
:see: https://www.kucoin.com/docs/rest/futures-trading/orders/cancel-multiple-futures-stop-orders
|
|
1229
1229
|
:param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
|
1230
1230
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1231
|
-
:param dict [params.
|
|
1231
|
+
:param dict [params.trigger]: When True, all the trigger orders will be cancelled
|
|
1232
1232
|
:returns: Response from the exchange
|
|
1233
1233
|
"""
|
|
1234
1234
|
await self.load_markets()
|
|
1235
1235
|
request = {}
|
|
1236
1236
|
if symbol is not None:
|
|
1237
1237
|
request['symbol'] = self.market_id(symbol)
|
|
1238
|
-
stop = self.
|
|
1239
|
-
params = self.omit(params, 'stop')
|
|
1238
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
1239
|
+
params = self.omit(params, ['stop', 'trigger'])
|
|
1240
1240
|
response = None
|
|
1241
1241
|
if stop:
|
|
1242
1242
|
response = await self.futuresPrivateDeleteStopOrders(self.extend(request, params))
|
|
@@ -1399,7 +1399,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
|
1399
1399
|
:param int [since]: timestamp in ms of the earliest order to retrieve
|
|
1400
1400
|
:param int [limit]: The maximum number of orders to retrieve
|
|
1401
1401
|
:param dict [params]: exchange specific parameters
|
|
1402
|
-
:param bool [params.
|
|
1402
|
+
:param bool [params.trigger]: set to True to retrieve untriggered stop orders
|
|
1403
1403
|
:param int [params.until]: End time in ms
|
|
1404
1404
|
:param str [params.side]: buy or sell
|
|
1405
1405
|
:param str [params.type]: limit or market
|
|
@@ -1411,9 +1411,9 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
|
1411
1411
|
paginate, params = self.handle_option_and_params(params, 'fetchOrdersByStatus', 'paginate')
|
|
1412
1412
|
if paginate:
|
|
1413
1413
|
return await self.fetch_paginated_call_dynamic('fetchOrdersByStatus', symbol, since, limit, params)
|
|
1414
|
-
stop = self.
|
|
1414
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
1415
1415
|
until = self.safe_integer_2(params, 'until', 'till')
|
|
1416
|
-
params = self.omit(params, ['stop', 'until', 'till'])
|
|
1416
|
+
params = self.omit(params, ['stop', 'until', 'till', 'trigger'])
|
|
1417
1417
|
if status == 'closed':
|
|
1418
1418
|
status = 'done'
|
|
1419
1419
|
elif status == 'open':
|
|
@@ -1848,7 +1848,7 @@ class okcoin(Exchange, ImplicitAPI):
|
|
|
1848
1848
|
# 'ordId': id,
|
|
1849
1849
|
}
|
|
1850
1850
|
clientOrderId = self.safe_string_2(params, 'clOrdId', 'clientOrderId')
|
|
1851
|
-
stop = self.
|
|
1851
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
1852
1852
|
if stop:
|
|
1853
1853
|
if clientOrderId is not None:
|
|
1854
1854
|
request['algoClOrdId'] = clientOrderId
|
|
@@ -1859,7 +1859,7 @@ class okcoin(Exchange, ImplicitAPI):
|
|
|
1859
1859
|
request['clOrdId'] = clientOrderId
|
|
1860
1860
|
else:
|
|
1861
1861
|
request['ordId'] = id
|
|
1862
|
-
query = self.omit(params, ['clientOrderId', 'stop'])
|
|
1862
|
+
query = self.omit(params, ['clientOrderId', 'stop', 'trigger'])
|
|
1863
1863
|
response = None
|
|
1864
1864
|
if stop:
|
|
1865
1865
|
response = await self.privateGetTradeOrderAlgo(self.extend(request, query))
|