ccxt 4.2.9__tar.gz → 4.2.11__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.9/ccxt.egg-info → ccxt-4.2.11}/PKG-INFO +4 -4
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/__init__.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bybit.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/__init__.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/exchange.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/binance.py +5 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bingx.py +0 -10
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitget.py +11 -5
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bl3p.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/btcalpha.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bybit.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/cryptocom.py +3 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/deribit.py +34 -18
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/kraken.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/kucoin.py +24 -5
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/lykke.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/ndax.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/base/exchange.py +43 -9
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/binance.py +5 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bingx.py +0 -10
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitget.py +11 -5
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bl3p.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/btcalpha.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bybit.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/cryptocom.py +3 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/deribit.py +34 -18
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/kraken.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/kucoin.py +24 -5
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/lykke.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/ndax.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/__init__.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitmart.py +43 -23
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/blockchaincom.py +3 -28
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/coinbasepro.py +9 -14
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/cryptocom.py +104 -28
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/luno.py +6 -6
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/test_async.py +6 -4
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/test_sync.py +6 -4
- {ccxt-4.2.9 → ccxt-4.2.11/ccxt.egg-info}/PKG-INFO +4 -4
- {ccxt-4.2.9 → ccxt-4.2.11}/package.json +11 -11
- {ccxt-4.2.9 → ccxt-4.2.11}/LICENSE.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/MANIFEST.in +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/README.rst +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bigone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bingx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitmart.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitteam.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/kucoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/ace.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bigone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitteam.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinsph.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/delta.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/base/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/base/errors.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/base/precise.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/base/types.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bigone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bit2c.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitbay.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitbns.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitflyer.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitforex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bithumb.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitmart.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitso.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitteam.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/btcbox.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/btcturk.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coincheck.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinlist.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinmate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinsph.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/coinspot.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/delta.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/digifinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/flowbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/fmfwio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/indodax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/kuna.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/latoken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/lbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/luno.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/mercado.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/novadax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/oceanex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/p2b.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/paymium.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/binance.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bingx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/bybit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/pro/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/timex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/yobit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/zaif.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt/zonda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt.egg-info/SOURCES.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/setup.cfg +0 -0
- {ccxt-4.2.9 → ccxt-4.2.11}/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.11
|
|
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.11/dist/ccxt.browser.js
|
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.2.11/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.11/dist/ccxt.browser.js"></script>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Creates a global `ccxt` object:
|
|
@@ -147,7 +147,7 @@ class ImplicitAPI:
|
|
|
147
147
|
private_get_v5_asset_deposit_query_internal_record = privateGetV5AssetDepositQueryInternalRecord = Entry('v5/asset/deposit/query-internal-record', 'private', 'GET', {'cost': 5})
|
|
148
148
|
private_get_v5_asset_deposit_query_address = privateGetV5AssetDepositQueryAddress = Entry('v5/asset/deposit/query-address', 'private', 'GET', {'cost': 10})
|
|
149
149
|
private_get_v5_asset_deposit_query_sub_member_address = privateGetV5AssetDepositQuerySubMemberAddress = Entry('v5/asset/deposit/query-sub-member-address', 'private', 'GET', {'cost': 10})
|
|
150
|
-
private_get_v5_asset_coin_query_info = privateGetV5AssetCoinQueryInfo = Entry('v5/asset/coin/query-info', 'private', 'GET', {'cost':
|
|
150
|
+
private_get_v5_asset_coin_query_info = privateGetV5AssetCoinQueryInfo = Entry('v5/asset/coin/query-info', 'private', 'GET', {'cost': 28})
|
|
151
151
|
private_get_v5_asset_withdraw_query_record = privateGetV5AssetWithdrawQueryRecord = Entry('v5/asset/withdraw/query-record', 'private', 'GET', {'cost': 10})
|
|
152
152
|
private_get_v5_asset_withdraw_withdrawable_amount = privateGetV5AssetWithdrawWithdrawableAmount = Entry('v5/asset/withdraw/withdrawable-amount', 'private', 'GET', {'cost': 5})
|
|
153
153
|
private_get_v5_user_query_sub_members = privateGetV5UserQuerySubMembers = Entry('v5/user/query-sub-members', 'private', 'GET', {'cost': 5})
|
|
@@ -3046,7 +3046,11 @@ class binance(Exchange, ImplicitAPI):
|
|
|
3046
3046
|
elif self.is_inverse(type, subType):
|
|
3047
3047
|
response = await self.dapiPublicGetTickerBookTicker(params)
|
|
3048
3048
|
else:
|
|
3049
|
-
|
|
3049
|
+
request = {}
|
|
3050
|
+
if symbols is not None:
|
|
3051
|
+
marketIds = self.market_ids(symbols)
|
|
3052
|
+
request['symbols'] = self.json(marketIds)
|
|
3053
|
+
response = await self.publicGetTickerBookTicker(self.extend(request, params))
|
|
3050
3054
|
return self.parse_tickers(response, symbols)
|
|
3051
3055
|
|
|
3052
3056
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
|
@@ -1804,16 +1804,6 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1804
1804
|
order = self.safe_value(data, 'order', data)
|
|
1805
1805
|
return self.parse_order(order, market)
|
|
1806
1806
|
|
|
1807
|
-
def fix_stringified_json_members(self, content):
|
|
1808
|
-
# when stringified json has members with their values also stringified, like:
|
|
1809
|
-
# '{"code":0, "data":{"order":{"orderId":1742968678528512345,"symbol":"BTC-USDT", "takeProfit":"{\"type\":\"TAKE_PROFIT\",\"stopPrice\":43320.1}","reduceOnly":false}}}'
|
|
1810
|
-
# we can fix with below manipulations
|
|
1811
|
-
# @ts-ignore
|
|
1812
|
-
modifiedContent = content.replace('\\', '')
|
|
1813
|
-
modifiedContent = modifiedContent.replace('"{', '{')
|
|
1814
|
-
modifiedContent = modifiedContent.replace('}"', '}')
|
|
1815
|
-
return modifiedContent
|
|
1816
|
-
|
|
1817
1807
|
async def create_orders(self, orders: List[OrderRequest], params={}):
|
|
1818
1808
|
"""
|
|
1819
1809
|
create a list of trade orders
|
|
@@ -3854,6 +3854,7 @@ class bitget(Exchange, ImplicitAPI):
|
|
|
3854
3854
|
:param str [params.trailingPercent]: *swap and future only* the percent to trail away from the current market price, rate can not be greater than 10
|
|
3855
3855
|
:param str [params.trailingTriggerPrice]: *swap and future only* the price to trigger a trailing stop order, default uses the price argument
|
|
3856
3856
|
:param str [params.triggerType]: *swap and future only* 'fill_price', 'mark_price' or 'index_price'
|
|
3857
|
+
:param boolean [params.oneWayMode]: *swap and future only* required to set self to True in one_way_mode and you can leave self in hedge_mode, can adjust the mode using the setPositionMode() method
|
|
3857
3858
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
3858
3859
|
"""
|
|
3859
3860
|
await self.load_markets()
|
|
@@ -4013,14 +4014,19 @@ class bitget(Exchange, ImplicitAPI):
|
|
|
4013
4014
|
marginMode = 'cross'
|
|
4014
4015
|
marginModeRequest = 'crossed' if (marginMode == 'cross') else 'isolated'
|
|
4015
4016
|
request['marginMode'] = marginModeRequest
|
|
4017
|
+
oneWayMode = self.safe_value(params, 'oneWayMode', False)
|
|
4018
|
+
params = self.omit(params, 'oneWayMode')
|
|
4016
4019
|
requestSide = side
|
|
4017
4020
|
if reduceOnly:
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4021
|
+
if oneWayMode:
|
|
4022
|
+
request['reduceOnly'] = 'YES'
|
|
4023
|
+
else:
|
|
4024
|
+
# on bitget hedge mode if the position is long the side is always buy, and if the position is short the side is always sell
|
|
4025
|
+
requestSide = 'sell' if (side == 'buy') else 'buy'
|
|
4026
|
+
request['tradeSide'] = 'Close'
|
|
4022
4027
|
else:
|
|
4023
|
-
|
|
4028
|
+
if not oneWayMode:
|
|
4029
|
+
request['tradeSide'] = 'Open'
|
|
4024
4030
|
request['side'] = requestSide
|
|
4025
4031
|
elif marketType == 'spot':
|
|
4026
4032
|
if isStopLossOrTakeProfitTrigger or isStopLossOrTakeProfit:
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from ccxt.async_support.base.exchange import Exchange
|
|
7
7
|
from ccxt.abstract.bl3p import ImplicitAPI
|
|
8
8
|
import hashlib
|
|
9
|
-
from ccxt.base.types import Balances, Int, Market, OrderBook, OrderSide, OrderType, Str, Ticker, Trade
|
|
9
|
+
from ccxt.base.types import Balances, Int, Market, OrderBook, OrderSide, OrderType, IndexType, Str, Ticker, Trade
|
|
10
10
|
from typing import List
|
|
11
11
|
from ccxt.base.decimal_to_precision import TICK_SIZE
|
|
12
12
|
from ccxt.base.precise import Precise
|
|
@@ -145,7 +145,7 @@ class bl3p(Exchange, ImplicitAPI):
|
|
|
145
145
|
response = await self.privatePostGENMKTMoneyInfo(params)
|
|
146
146
|
return self.parse_balance(response)
|
|
147
147
|
|
|
148
|
-
def parse_bid_ask(self, bidask, priceKey=0, amountKey=1):
|
|
148
|
+
def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
149
149
|
price = self.safe_string(bidask, priceKey)
|
|
150
150
|
size = self.safe_string(bidask, amountKey)
|
|
151
151
|
return [
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from ccxt.async_support.base.exchange import Exchange
|
|
7
7
|
from ccxt.abstract.btcalpha import ImplicitAPI
|
|
8
8
|
import hashlib
|
|
9
|
-
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
9
|
+
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
10
10
|
from typing import List
|
|
11
11
|
from ccxt.base.errors import ExchangeError
|
|
12
12
|
from ccxt.base.errors import InsufficientFunds
|
|
@@ -356,7 +356,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
|
356
356
|
response = await self.publicGetOrderbookPairName(self.extend(request, params))
|
|
357
357
|
return self.parse_order_book(response, market['symbol'], None, 'buy', 'sell', 'price', 'amount')
|
|
358
358
|
|
|
359
|
-
def parse_bids_asks(self, bidasks, priceKey=0, amountKey=1):
|
|
359
|
+
def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
360
360
|
result = []
|
|
361
361
|
for i in range(0, len(bidasks)):
|
|
362
362
|
bidask = bidasks[i]
|
|
@@ -332,7 +332,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
|
332
332
|
'v5/asset/deposit/query-internal-record': 5,
|
|
333
333
|
'v5/asset/deposit/query-address': 10, # 5/s => cost = 50 / 5 = 10
|
|
334
334
|
'v5/asset/deposit/query-sub-member-address': 10, # 5/s => cost = 50 / 5 = 10
|
|
335
|
-
'v5/asset/coin/query-info':
|
|
335
|
+
'v5/asset/coin/query-info': 28, # should be 25 but exceeds ratelimit unless the weight is 28 or higher
|
|
336
336
|
'v5/asset/withdraw/query-record': 10, # 5/s => cost = 50 / 5 = 10
|
|
337
337
|
'v5/asset/withdraw/withdrawable-amount': 5,
|
|
338
338
|
# user
|
|
@@ -757,6 +757,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
|
757
757
|
# "p": "26386.00",
|
|
758
758
|
# "q": "0.00453",
|
|
759
759
|
# "t": 1686944282062,
|
|
760
|
+
# "tn" : 1704476468851524373,
|
|
760
761
|
# "d": "4611686018455979970",
|
|
761
762
|
# "i": "BTC_USD"
|
|
762
763
|
# },
|
|
@@ -1793,7 +1794,8 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
|
1793
1794
|
# "s": "sell",
|
|
1794
1795
|
# "p": "26386.00",
|
|
1795
1796
|
# "q": "0.00453",
|
|
1796
|
-
# "
|
|
1797
|
+
# "tn": 1686944282062,
|
|
1798
|
+
# "tn": 1704476468851524373,
|
|
1797
1799
|
# "d": "4611686018455979970",
|
|
1798
1800
|
# "i": "BTC_USD"
|
|
1799
1801
|
# }
|
|
@@ -1665,24 +1665,18 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1665
1665
|
:param str symbol: unified symbol of the market to create an order in
|
|
1666
1666
|
:param str type: 'market' or 'limit'
|
|
1667
1667
|
:param str side: 'buy' or 'sell'
|
|
1668
|
-
:param float amount: how much
|
|
1668
|
+
:param float amount: how much you want to trade in units of the base currency. For inverse perpetual and futures the amount is in the quote currency USD. For options it is in the underlying assets base currency.
|
|
1669
1669
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1670
1670
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1671
|
+
:param str [params.trigger]: the trigger type 'index_price', 'mark_price', or 'last_price', default is 'last_price'
|
|
1672
|
+
:param float [params.trailingAmount]: the quote amount to trail away from the current market price
|
|
1671
1673
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1672
1674
|
"""
|
|
1673
1675
|
await self.load_markets()
|
|
1674
1676
|
market = self.market(symbol)
|
|
1675
|
-
if market['inverse']:
|
|
1676
|
-
amount = self.amount_to_precision(symbol, amount)
|
|
1677
|
-
elif market['settle'] == 'USDC':
|
|
1678
|
-
amount = self.amount_to_precision(symbol, amount)
|
|
1679
|
-
else:
|
|
1680
|
-
amount = self.currency_to_precision(symbol, amount)
|
|
1681
1677
|
request = {
|
|
1682
1678
|
'instrument_name': market['id'],
|
|
1683
|
-
|
|
1684
|
-
# for options it is in corresponding cryptocurrency contracts, e.g., BTC or ETH
|
|
1685
|
-
'amount': amount,
|
|
1679
|
+
'amount': self.amount_to_precision(symbol, amount),
|
|
1686
1680
|
'type': type, # limit, stop_limit, market, stop_market, default is limit
|
|
1687
1681
|
# 'label': 'string', # user-defined label for the order(maximum 64 characters)
|
|
1688
1682
|
# 'price': self.price_to_precision(symbol, 123.45), # only for limit and stop_limit orders
|
|
@@ -1695,12 +1689,15 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1695
1689
|
# 'trigger': 'index_price', # mark_price, last_price, required for stop_limit orders
|
|
1696
1690
|
# 'advanced': 'usd', # 'implv', advanced option order type, options only
|
|
1697
1691
|
}
|
|
1692
|
+
trigger = self.safe_string(params, 'trigger', 'last_price')
|
|
1698
1693
|
timeInForce = self.safe_string_upper(params, 'timeInForce')
|
|
1699
1694
|
reduceOnly = self.safe_value_2(params, 'reduceOnly', 'reduce_only')
|
|
1700
1695
|
# only stop loss sell orders are allowed when price crossed from above
|
|
1701
1696
|
stopLossPrice = self.safe_value(params, 'stopLossPrice')
|
|
1702
1697
|
# only take profit buy orders are allowed when price crossed from below
|
|
1703
1698
|
takeProfitPrice = self.safe_value(params, 'takeProfitPrice')
|
|
1699
|
+
trailingAmount = self.safe_string_2(params, 'trailingAmount', 'trigger_offset')
|
|
1700
|
+
isTrailingAmountOrder = trailingAmount is not None
|
|
1704
1701
|
isStopLimit = type == 'stop_limit'
|
|
1705
1702
|
isStopMarket = type == 'stop_market'
|
|
1706
1703
|
isTakeLimit = type == 'take_limit'
|
|
@@ -1719,10 +1716,14 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1719
1716
|
request['price'] = self.price_to_precision(symbol, price)
|
|
1720
1717
|
else:
|
|
1721
1718
|
request['type'] = 'market'
|
|
1722
|
-
if
|
|
1719
|
+
if isTrailingAmountOrder:
|
|
1720
|
+
request['trigger'] = trigger
|
|
1721
|
+
request['type'] = 'trailing_stop'
|
|
1722
|
+
request['trigger_offset'] = self.parse_to_numeric(trailingAmount)
|
|
1723
|
+
elif isStopOrder:
|
|
1723
1724
|
triggerPrice = stopLossPrice if (stopLossPrice is not None) else takeProfitPrice
|
|
1724
1725
|
request['trigger_price'] = self.price_to_precision(symbol, triggerPrice)
|
|
1725
|
-
request['trigger'] =
|
|
1726
|
+
request['trigger'] = trigger
|
|
1726
1727
|
if isStopLossOrder:
|
|
1727
1728
|
if isMarketOrder:
|
|
1728
1729
|
# stop_market(sell only)
|
|
@@ -1749,7 +1750,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1749
1750
|
request['time_in_force'] = 'immediate_or_cancel'
|
|
1750
1751
|
if timeInForce == 'FOK':
|
|
1751
1752
|
request['time_in_force'] = 'fill_or_kill'
|
|
1752
|
-
params = self.omit(params, ['timeInForce', 'stopLossPrice', 'takeProfitPrice', 'postOnly', 'reduceOnly'])
|
|
1753
|
+
params = self.omit(params, ['timeInForce', 'stopLossPrice', 'takeProfitPrice', 'postOnly', 'reduceOnly', 'trailingAmount'])
|
|
1753
1754
|
response = None
|
|
1754
1755
|
if self.capitalize(side) == 'Buy':
|
|
1755
1756
|
response = await self.privateGetBuy(self.extend(request, params))
|
|
@@ -1814,23 +1815,38 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1814
1815
|
return self.parse_order(order, market)
|
|
1815
1816
|
|
|
1816
1817
|
async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
|
|
1818
|
+
"""
|
|
1819
|
+
edit a trade order
|
|
1820
|
+
:see: https://docs.deribit.com/#private-edit
|
|
1821
|
+
:param str id: edit order id
|
|
1822
|
+
:param str [symbol]: unified symbol of the market to edit an order in
|
|
1823
|
+
:param str [type]: 'market' or 'limit'
|
|
1824
|
+
:param str [side]: 'buy' or 'sell'
|
|
1825
|
+
:param float amount: how much you want to trade in units of the base currency, inverse swap and future use the quote currency
|
|
1826
|
+
:param float [price]: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
|
|
1827
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1828
|
+
:param float [params.trailingAmount]: the quote amount to trail away from the current market price
|
|
1829
|
+
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1830
|
+
"""
|
|
1817
1831
|
if amount is None:
|
|
1818
1832
|
raise ArgumentsRequired(self.id + ' editOrder() requires an amount argument')
|
|
1819
|
-
if price is None:
|
|
1820
|
-
raise ArgumentsRequired(self.id + ' editOrder() requires a price argument')
|
|
1821
1833
|
await self.load_markets()
|
|
1822
1834
|
request = {
|
|
1823
1835
|
'order_id': id,
|
|
1824
|
-
# for perpetual and futures the amount is in USD
|
|
1825
|
-
# for options it is in corresponding cryptocurrency contracts, e.g., BTC or ETH
|
|
1826
1836
|
'amount': self.amount_to_precision(symbol, amount),
|
|
1827
|
-
'price': self.price_to_precision(symbol, price), # required
|
|
1828
1837
|
# 'post_only': False, # if the new price would cause the order to be filled immediately(as taker), the price will be changed to be just below the spread.
|
|
1829
1838
|
# 'reject_post_only': False, # if True the order is put to order book unmodified or request is rejected
|
|
1830
1839
|
# 'reduce_only': False, # if True, the order is intended to only reduce a current position
|
|
1831
1840
|
# 'stop_price': False, # stop price, required for stop_limit orders
|
|
1832
1841
|
# 'advanced': 'usd', # 'implv', advanced option order type, options only
|
|
1833
1842
|
}
|
|
1843
|
+
if price is not None:
|
|
1844
|
+
request['price'] = self.price_to_precision(symbol, price)
|
|
1845
|
+
trailingAmount = self.safe_string_2(params, 'trailingAmount', 'trigger_offset')
|
|
1846
|
+
isTrailingAmountOrder = trailingAmount is not None
|
|
1847
|
+
if isTrailingAmountOrder:
|
|
1848
|
+
request['trigger_offset'] = self.parse_to_numeric(trailingAmount)
|
|
1849
|
+
params = self.omit(params, 'trigger_offset')
|
|
1834
1850
|
response = await self.privateGetEdit(self.extend(request, params))
|
|
1835
1851
|
result = self.safe_value(response, 'result', {})
|
|
1836
1852
|
order = self.safe_value(result, 'order')
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from ccxt.async_support.base.exchange import Exchange
|
|
7
7
|
from ccxt.abstract.kraken import ImplicitAPI
|
|
8
8
|
import hashlib
|
|
9
|
-
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
9
|
+
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
10
10
|
from typing import List
|
|
11
11
|
from ccxt.base.errors import ExchangeError
|
|
12
12
|
from ccxt.base.errors import PermissionDenied
|
|
@@ -754,7 +754,7 @@ class kraken(Exchange, ImplicitAPI):
|
|
|
754
754
|
'tierBased': True,
|
|
755
755
|
}
|
|
756
756
|
|
|
757
|
-
def parse_bid_ask(self, bidask, priceKey=0, amountKey=1):
|
|
757
|
+
def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
758
758
|
price = self.safe_number(bidask, priceKey)
|
|
759
759
|
amount = self.safe_number(bidask, amountKey)
|
|
760
760
|
timestamp = self.safe_integer(bidask, 2)
|
|
@@ -2296,7 +2296,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
2296
2296
|
# }
|
|
2297
2297
|
# }
|
|
2298
2298
|
responseData = self.safe_value(response, 'data', {})
|
|
2299
|
-
orders = self.safe_value(responseData, 'items',
|
|
2299
|
+
orders = self.safe_value(responseData, 'items', responseData)
|
|
2300
2300
|
return self.parse_orders(orders, market, since, limit)
|
|
2301
2301
|
|
|
2302
2302
|
async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
|
@@ -3235,10 +3235,12 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
3235
3235
|
"""
|
|
3236
3236
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
|
3237
3237
|
:see: https://docs.kucoin.com/#list-accounts
|
|
3238
|
+
:see: https://www.kucoin.com/docs/rest/account/basic-info/get-account-list-spot-margin-trade_hf
|
|
3238
3239
|
:see: https://docs.kucoin.com/#query-isolated-margin-account-info
|
|
3239
3240
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
3240
3241
|
:param dict [params.marginMode]: 'cross' or 'isolated', margin type for fetching margin balance
|
|
3241
3242
|
:param dict [params.type]: extra parameters specific to the exchange API endpoint
|
|
3243
|
+
:param dict [params.hf]: *default if False* if True, the result includes the balance of the high frequency account
|
|
3242
3244
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
|
3243
3245
|
"""
|
|
3244
3246
|
await self.load_markets()
|
|
@@ -3251,6 +3253,10 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
3251
3253
|
accountsByType = self.safe_value(self.options, 'accountsByType')
|
|
3252
3254
|
type = self.safe_string(accountsByType, requestedType, requestedType)
|
|
3253
3255
|
params = self.omit(params, 'type')
|
|
3256
|
+
isHf = self.safe_value(params, 'hf', False)
|
|
3257
|
+
if isHf:
|
|
3258
|
+
type = 'trade_hf'
|
|
3259
|
+
params = self.omit(params, 'hf')
|
|
3254
3260
|
marginMode, query = self.handle_margin_mode_and_params('fetchBalance', params)
|
|
3255
3261
|
response = None
|
|
3256
3262
|
request = {}
|
|
@@ -3327,7 +3333,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
3327
3333
|
'datetime': None,
|
|
3328
3334
|
}
|
|
3329
3335
|
if isolated:
|
|
3330
|
-
assets = self.safe_value(data, 'assets',
|
|
3336
|
+
assets = self.safe_value(data, 'assets', data)
|
|
3331
3337
|
for i in range(0, len(assets)):
|
|
3332
3338
|
entry = assets[i]
|
|
3333
3339
|
marketId = self.safe_string(entry, 'symbol')
|
|
@@ -3633,12 +3639,14 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
3633
3639
|
async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
|
|
3634
3640
|
"""
|
|
3635
3641
|
:see: https://docs.kucoin.com/#get-account-ledgers
|
|
3642
|
+
:see: https://www.kucoin.com/docs/rest/account/basic-info/get-account-ledgers-trade_hf
|
|
3643
|
+
:see: https://www.kucoin.com/docs/rest/account/basic-info/get-account-ledgers-margin_hf
|
|
3636
3644
|
fetch the history of changes, actions done by the user or operations that altered balance of the user
|
|
3637
|
-
:see: https://docs.kucoin.com/#get-account-ledgers
|
|
3638
3645
|
:param str code: unified currency code, default is None
|
|
3639
3646
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
|
3640
3647
|
:param int [limit]: max number of ledger entrys to return, default is None
|
|
3641
3648
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
3649
|
+
:param boolean [params.hf]: default False, when True will fetch ledger entries for the high frequency trading account
|
|
3642
3650
|
:param int [params.until]: the latest time in ms to fetch entries for
|
|
3643
3651
|
:param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3644
3652
|
:returns dict: a `ledger structure <https://docs.ccxt.com/#/?id=ledger-structure>`
|
|
@@ -3647,6 +3655,8 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
3647
3655
|
await self.load_accounts()
|
|
3648
3656
|
paginate = False
|
|
3649
3657
|
paginate, params = self.handle_option_and_params(params, 'fetchLedger', 'paginate')
|
|
3658
|
+
isHf = self.safe_value(params, 'hf')
|
|
3659
|
+
params = self.omit(params, 'hf')
|
|
3650
3660
|
if paginate:
|
|
3651
3661
|
return await self.fetch_paginated_call_dynamic('fetchLedger', code, since, limit, params)
|
|
3652
3662
|
request = {
|
|
@@ -3664,7 +3674,16 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
3664
3674
|
currency = self.currency(code)
|
|
3665
3675
|
request['currency'] = currency['id']
|
|
3666
3676
|
request, params = self.handle_until_option('endAt', request, params)
|
|
3667
|
-
|
|
3677
|
+
marginMode = None
|
|
3678
|
+
marginMode, params = self.handle_margin_mode_and_params('fetchLedger', params)
|
|
3679
|
+
response = None
|
|
3680
|
+
if isHf:
|
|
3681
|
+
if marginMode is not None:
|
|
3682
|
+
response = await self.privateGetHfMarginAccountLedgers(self.extend(request, params))
|
|
3683
|
+
else:
|
|
3684
|
+
response = await self.privateGetHfAccountsLedgers(self.extend(request, params))
|
|
3685
|
+
else:
|
|
3686
|
+
response = await self.privateGetAccountsLedgers(self.extend(request, params))
|
|
3668
3687
|
#
|
|
3669
3688
|
# {
|
|
3670
3689
|
# "code":"200000",
|
|
@@ -3703,7 +3722,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
3703
3722
|
# }
|
|
3704
3723
|
#
|
|
3705
3724
|
data = self.safe_value(response, 'data')
|
|
3706
|
-
items = self.safe_value(data, 'items')
|
|
3725
|
+
items = self.safe_value(data, 'items', data)
|
|
3707
3726
|
return self.parse_ledger(items, currency, since, limit)
|
|
3708
3727
|
|
|
3709
3728
|
def calculate_rate_limiter_cost(self, api, method, path, params, config={}):
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
from ccxt.async_support.base.exchange import Exchange
|
|
7
7
|
from ccxt.abstract.lykke import ImplicitAPI
|
|
8
|
-
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
8
|
+
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
9
9
|
from typing import List
|
|
10
10
|
from ccxt.base.errors import ExchangeError
|
|
11
11
|
from ccxt.base.errors import BadRequest
|
|
@@ -1038,7 +1038,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
|
1038
1038
|
#
|
|
1039
1039
|
return self.parse_trades(payload, market, since, limit)
|
|
1040
1040
|
|
|
1041
|
-
def parse_bid_ask(self, bidask, priceKey=0, amountKey=1):
|
|
1041
|
+
def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
1042
1042
|
price = self.safe_string(bidask, priceKey)
|
|
1043
1043
|
amount = Precise.string_abs(self.safe_string(bidask, amountKey))
|
|
1044
1044
|
return [self.parse_number(price), self.parse_number(amount)]
|
|
@@ -7,7 +7,7 @@ from ccxt.async_support.base.exchange import Exchange
|
|
|
7
7
|
from ccxt.abstract.ndax import ImplicitAPI
|
|
8
8
|
import hashlib
|
|
9
9
|
import json
|
|
10
|
-
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Ticker, Trade, Transaction
|
|
10
|
+
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, IndexType, Str, Ticker, Trade, Transaction
|
|
11
11
|
from typing import List
|
|
12
12
|
from ccxt.base.errors import ExchangeError
|
|
13
13
|
from ccxt.base.errors import BadSymbol
|
|
@@ -512,7 +512,7 @@ class ndax(Exchange, ImplicitAPI):
|
|
|
512
512
|
'info': market,
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
def parse_order_book(self, orderbook, symbol, timestamp=None, bidsKey='bids', asksKey='asks', priceKey=6, amountKey=8):
|
|
515
|
+
def parse_order_book(self, orderbook, symbol, timestamp=None, bidsKey='bids', asksKey='asks', priceKey: IndexType = 6, amountKey: IndexType = 8, countOrIdKey: IndexType = 2):
|
|
516
516
|
nonce = None
|
|
517
517
|
result = {
|
|
518
518
|
'symbol': symbol,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# -----------------------------------------------------------------------------
|
|
6
6
|
|
|
7
|
-
__version__ = '4.2.
|
|
7
|
+
__version__ = '4.2.11'
|
|
8
8
|
|
|
9
9
|
# -----------------------------------------------------------------------------
|
|
10
10
|
|
|
@@ -1684,6 +1684,16 @@ class Exchange(object):
|
|
|
1684
1684
|
def un_camel_case(self, str):
|
|
1685
1685
|
return re.sub('(?!^)([A-Z]+)', r'_\1', str).lower()
|
|
1686
1686
|
|
|
1687
|
+
def fix_stringified_json_members(self, content):
|
|
1688
|
+
# when stringified json has members with their values also stringified, like:
|
|
1689
|
+
# '{"code":0, "data":{"order":{"orderId":1742968678528512345,"symbol":"BTC-USDT", "takeProfit":"{\"type\":\"TAKE_PROFIT\",\"stopPrice\":43320.1}","reduceOnly":false}}}'
|
|
1690
|
+
# we can fix with below manipulations
|
|
1691
|
+
# @ts-ignore
|
|
1692
|
+
modifiedContent = content.replace('\\', '')
|
|
1693
|
+
modifiedContent = modifiedContent.replace('"{', '{')
|
|
1694
|
+
modifiedContent = modifiedContent.replace('}"', '}')
|
|
1695
|
+
return modifiedContent
|
|
1696
|
+
|
|
1687
1697
|
# ########################################################################
|
|
1688
1698
|
# ########################################################################
|
|
1689
1699
|
# ########################################################################
|
|
@@ -3018,11 +3028,11 @@ class Exchange(object):
|
|
|
3018
3028
|
result.append(self.common_currency_code(codes[i]))
|
|
3019
3029
|
return result
|
|
3020
3030
|
|
|
3021
|
-
def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1):
|
|
3031
|
+
def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
3022
3032
|
bidasks = self.to_array(bidasks)
|
|
3023
3033
|
result = []
|
|
3024
3034
|
for i in range(0, len(bidasks)):
|
|
3025
|
-
result.append(self.parse_bid_ask(bidasks[i], priceKey, amountKey))
|
|
3035
|
+
result.append(self.parse_bid_ask(bidasks[i], priceKey, amountKey, countOrIdKey))
|
|
3026
3036
|
return result
|
|
3027
3037
|
|
|
3028
3038
|
def fetch_l2_order_book(self, symbol: str, limit: Int = None, params={}):
|
|
@@ -3161,9 +3171,9 @@ class Exchange(object):
|
|
|
3161
3171
|
value = self.safe_string_2(dictionary, key1, key2)
|
|
3162
3172
|
return self.parse_number(value, d)
|
|
3163
3173
|
|
|
3164
|
-
def parse_order_book(self, orderbook: object, symbol: str, timestamp: Int = None, bidsKey='bids', asksKey='asks', priceKey: IndexType = 0, amountKey: IndexType = 1):
|
|
3165
|
-
bids = self.parse_bids_asks(self.safe_value(orderbook, bidsKey, []), priceKey, amountKey)
|
|
3166
|
-
asks = self.parse_bids_asks(self.safe_value(orderbook, asksKey, []), priceKey, amountKey)
|
|
3174
|
+
def parse_order_book(self, orderbook: object, symbol: str, timestamp: Int = None, bidsKey='bids', asksKey='asks', priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
3175
|
+
bids = self.parse_bids_asks(self.safe_value(orderbook, bidsKey, []), priceKey, amountKey, countOrIdKey)
|
|
3176
|
+
asks = self.parse_bids_asks(self.safe_value(orderbook, asksKey, []), priceKey, amountKey, countOrIdKey)
|
|
3167
3177
|
return {
|
|
3168
3178
|
'symbol': symbol,
|
|
3169
3179
|
'bids': self.sort_by(bids, 0, True),
|
|
@@ -3444,10 +3454,14 @@ class Exchange(object):
|
|
|
3444
3454
|
def fetch_bids_asks(self, symbols: List[str] = None, params={}):
|
|
3445
3455
|
raise NotSupported(self.id + ' fetchBidsAsks() is not supported yet')
|
|
3446
3456
|
|
|
3447
|
-
def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1):
|
|
3457
|
+
def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
3448
3458
|
price = self.safe_number(bidask, priceKey)
|
|
3449
3459
|
amount = self.safe_number(bidask, amountKey)
|
|
3450
|
-
|
|
3460
|
+
countOrId = self.safe_integer(bidask, countOrIdKey)
|
|
3461
|
+
bidAsk = [price, amount]
|
|
3462
|
+
if countOrId is not None:
|
|
3463
|
+
bidAsk.append(countOrId)
|
|
3464
|
+
return bidAsk
|
|
3451
3465
|
|
|
3452
3466
|
def safe_currency(self, currencyId: Str, currency: Currency = None):
|
|
3453
3467
|
if (currencyId is None) and (currency is not None):
|
|
@@ -3484,7 +3498,7 @@ class Exchange(object):
|
|
|
3484
3498
|
currentMarket = markets[i]
|
|
3485
3499
|
if currentMarket[marketType]:
|
|
3486
3500
|
return currentMarket
|
|
3487
|
-
elif delimiter is not None:
|
|
3501
|
+
elif delimiter is not None and delimiter != '':
|
|
3488
3502
|
parts = marketId.split(delimiter)
|
|
3489
3503
|
partsLength = len(parts)
|
|
3490
3504
|
if partsLength == 2:
|
|
@@ -3620,6 +3634,26 @@ class Exchange(object):
|
|
|
3620
3634
|
value = value if (value is not None) else defaultValue
|
|
3621
3635
|
return [value, params]
|
|
3622
3636
|
|
|
3637
|
+
def handle_option_and_params_2(self, params, methodName, methodName2, optionName, defaultValue=None):
|
|
3638
|
+
# This method can be used to obtain method specific properties, i.e: self.handle_option_and_params(params, 'fetchPosition', 'marginMode', 'isolated')
|
|
3639
|
+
defaultOptionName = 'default' + self.capitalize(optionName) # we also need to check the 'defaultXyzWhatever'
|
|
3640
|
+
# check if params contain the key
|
|
3641
|
+
value = self.safe_value_2(params, optionName, defaultOptionName)
|
|
3642
|
+
if value is not None:
|
|
3643
|
+
params = self.omit(params, [optionName, defaultOptionName])
|
|
3644
|
+
else:
|
|
3645
|
+
# check if exchange has properties for self method
|
|
3646
|
+
exchangeWideMethodOptions = self.safe_value_2(self.options, methodName, methodName2)
|
|
3647
|
+
if exchangeWideMethodOptions is not None:
|
|
3648
|
+
# check if the option is defined inside self method's props
|
|
3649
|
+
value = self.safe_value_2(exchangeWideMethodOptions, optionName, defaultOptionName)
|
|
3650
|
+
if value is None:
|
|
3651
|
+
# if it's still None, check if global exchange-wide option exists
|
|
3652
|
+
value = self.safe_value_2(self.options, optionName, defaultOptionName)
|
|
3653
|
+
# if it's still None, use the default value
|
|
3654
|
+
value = value if (value is not None) else defaultValue
|
|
3655
|
+
return [value, params]
|
|
3656
|
+
|
|
3623
3657
|
def handle_option(self, methodName, optionName, defaultValue=None):
|
|
3624
3658
|
# eslint-disable-next-line no-unused-vars
|
|
3625
3659
|
result, empty = self.handle_option_and_params({}, methodName, optionName, defaultValue)
|
|
@@ -3045,7 +3045,11 @@ class binance(Exchange, ImplicitAPI):
|
|
|
3045
3045
|
elif self.is_inverse(type, subType):
|
|
3046
3046
|
response = self.dapiPublicGetTickerBookTicker(params)
|
|
3047
3047
|
else:
|
|
3048
|
-
|
|
3048
|
+
request = {}
|
|
3049
|
+
if symbols is not None:
|
|
3050
|
+
marketIds = self.market_ids(symbols)
|
|
3051
|
+
request['symbols'] = self.json(marketIds)
|
|
3052
|
+
response = self.publicGetTickerBookTicker(self.extend(request, params))
|
|
3049
3053
|
return self.parse_tickers(response, symbols)
|
|
3050
3054
|
|
|
3051
3055
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
|
@@ -1803,16 +1803,6 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1803
1803
|
order = self.safe_value(data, 'order', data)
|
|
1804
1804
|
return self.parse_order(order, market)
|
|
1805
1805
|
|
|
1806
|
-
def fix_stringified_json_members(self, content):
|
|
1807
|
-
# when stringified json has members with their values also stringified, like:
|
|
1808
|
-
# '{"code":0, "data":{"order":{"orderId":1742968678528512345,"symbol":"BTC-USDT", "takeProfit":"{\"type\":\"TAKE_PROFIT\",\"stopPrice\":43320.1}","reduceOnly":false}}}'
|
|
1809
|
-
# we can fix with below manipulations
|
|
1810
|
-
# @ts-ignore
|
|
1811
|
-
modifiedContent = content.replace('\\', '')
|
|
1812
|
-
modifiedContent = modifiedContent.replace('"{', '{')
|
|
1813
|
-
modifiedContent = modifiedContent.replace('}"', '}')
|
|
1814
|
-
return modifiedContent
|
|
1815
|
-
|
|
1816
1806
|
def create_orders(self, orders: List[OrderRequest], params={}):
|
|
1817
1807
|
"""
|
|
1818
1808
|
create a list of trade orders
|