ccxt 4.2.9__tar.gz → 4.2.10__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.10}/PKG-INFO +4 -4
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/__init__.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/__init__.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/exchange.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/binance.py +5 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bl3p.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/btcalpha.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/cryptocom.py +3 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/deribit.py +34 -18
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/kraken.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/kucoin.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/lykke.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/ndax.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/base/exchange.py +33 -9
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/binance.py +5 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bl3p.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/btcalpha.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/cryptocom.py +3 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/deribit.py +34 -18
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/kraken.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/kucoin.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/lykke.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/ndax.py +2 -2
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/__init__.py +1 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitmart.py +43 -23
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/blockchaincom.py +3 -28
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/coinbasepro.py +9 -14
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/cryptocom.py +104 -28
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/luno.py +6 -6
- {ccxt-4.2.9 → ccxt-4.2.10/ccxt.egg-info}/PKG-INFO +4 -4
- {ccxt-4.2.9 → ccxt-4.2.10}/package.json +1 -1
- {ccxt-4.2.9 → ccxt-4.2.10}/LICENSE.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/MANIFEST.in +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/README.rst +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bigone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bingx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitmart.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitteam.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/bybit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/kucoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/ace.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bigone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bingx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitget.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitteam.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/bybit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinsph.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/delta.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/base/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/base/errors.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/base/precise.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/base/types.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bigone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bingx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bit2c.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitbay.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitbns.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitflyer.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitforex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitget.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bithumb.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitmart.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitso.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitteam.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/btcbox.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/btcturk.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/bybit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coincheck.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinlist.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinmate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinone.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinsph.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/coinspot.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/delta.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/digifinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/flowbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/fmfwio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/indodax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/kuna.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/latoken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/lbank.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/luno.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/mercado.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/novadax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/oceanex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/p2b.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/paymium.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/binance.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bingx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/bybit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/cex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/gate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/htx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/idex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/krakenfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/okx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/pro/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/probit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/__init__.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/test_async.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/test/test_sync.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/timex.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/upbit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/wazirx.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/whitebit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/woo.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/yobit.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/zaif.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt/zonda.py +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt.egg-info/SOURCES.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/setup.cfg +0 -0
- {ccxt-4.2.9 → ccxt-4.2.10}/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.10
|
|
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.10/dist/ccxt.browser.js
|
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.2.10/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.10/dist/ccxt.browser.js"></script>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Creates a global `ccxt` object:
|
|
@@ -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:
|
|
@@ -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]
|
|
@@ -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]:
|
|
@@ -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.10'
|
|
8
8
|
|
|
9
9
|
# -----------------------------------------------------------------------------
|
|
10
10
|
|
|
@@ -3018,11 +3018,11 @@ class Exchange(object):
|
|
|
3018
3018
|
result.append(self.common_currency_code(codes[i]))
|
|
3019
3019
|
return result
|
|
3020
3020
|
|
|
3021
|
-
def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1):
|
|
3021
|
+
def parse_bids_asks(self, bidasks, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
3022
3022
|
bidasks = self.to_array(bidasks)
|
|
3023
3023
|
result = []
|
|
3024
3024
|
for i in range(0, len(bidasks)):
|
|
3025
|
-
result.append(self.parse_bid_ask(bidasks[i], priceKey, amountKey))
|
|
3025
|
+
result.append(self.parse_bid_ask(bidasks[i], priceKey, amountKey, countOrIdKey))
|
|
3026
3026
|
return result
|
|
3027
3027
|
|
|
3028
3028
|
def fetch_l2_order_book(self, symbol: str, limit: Int = None, params={}):
|
|
@@ -3161,9 +3161,9 @@ class Exchange(object):
|
|
|
3161
3161
|
value = self.safe_string_2(dictionary, key1, key2)
|
|
3162
3162
|
return self.parse_number(value, d)
|
|
3163
3163
|
|
|
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)
|
|
3164
|
+
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):
|
|
3165
|
+
bids = self.parse_bids_asks(self.safe_value(orderbook, bidsKey, []), priceKey, amountKey, countOrIdKey)
|
|
3166
|
+
asks = self.parse_bids_asks(self.safe_value(orderbook, asksKey, []), priceKey, amountKey, countOrIdKey)
|
|
3167
3167
|
return {
|
|
3168
3168
|
'symbol': symbol,
|
|
3169
3169
|
'bids': self.sort_by(bids, 0, True),
|
|
@@ -3444,10 +3444,14 @@ class Exchange(object):
|
|
|
3444
3444
|
def fetch_bids_asks(self, symbols: List[str] = None, params={}):
|
|
3445
3445
|
raise NotSupported(self.id + ' fetchBidsAsks() is not supported yet')
|
|
3446
3446
|
|
|
3447
|
-
def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1):
|
|
3447
|
+
def parse_bid_ask(self, bidask, priceKey: IndexType = 0, amountKey: IndexType = 1, countOrIdKey: IndexType = 2):
|
|
3448
3448
|
price = self.safe_number(bidask, priceKey)
|
|
3449
3449
|
amount = self.safe_number(bidask, amountKey)
|
|
3450
|
-
|
|
3450
|
+
countOrId = self.safe_integer(bidask, countOrIdKey)
|
|
3451
|
+
bidAsk = [price, amount]
|
|
3452
|
+
if countOrId is not None:
|
|
3453
|
+
bidAsk.append(countOrId)
|
|
3454
|
+
return bidAsk
|
|
3451
3455
|
|
|
3452
3456
|
def safe_currency(self, currencyId: Str, currency: Currency = None):
|
|
3453
3457
|
if (currencyId is None) and (currency is not None):
|
|
@@ -3484,7 +3488,7 @@ class Exchange(object):
|
|
|
3484
3488
|
currentMarket = markets[i]
|
|
3485
3489
|
if currentMarket[marketType]:
|
|
3486
3490
|
return currentMarket
|
|
3487
|
-
elif delimiter is not None:
|
|
3491
|
+
elif delimiter is not None and delimiter != '':
|
|
3488
3492
|
parts = marketId.split(delimiter)
|
|
3489
3493
|
partsLength = len(parts)
|
|
3490
3494
|
if partsLength == 2:
|
|
@@ -3620,6 +3624,26 @@ class Exchange(object):
|
|
|
3620
3624
|
value = value if (value is not None) else defaultValue
|
|
3621
3625
|
return [value, params]
|
|
3622
3626
|
|
|
3627
|
+
def handle_option_and_params_2(self, params, methodName, methodName2, optionName, defaultValue=None):
|
|
3628
|
+
# This method can be used to obtain method specific properties, i.e: self.handle_option_and_params(params, 'fetchPosition', 'marginMode', 'isolated')
|
|
3629
|
+
defaultOptionName = 'default' + self.capitalize(optionName) # we also need to check the 'defaultXyzWhatever'
|
|
3630
|
+
# check if params contain the key
|
|
3631
|
+
value = self.safe_value_2(params, optionName, defaultOptionName)
|
|
3632
|
+
if value is not None:
|
|
3633
|
+
params = self.omit(params, [optionName, defaultOptionName])
|
|
3634
|
+
else:
|
|
3635
|
+
# check if exchange has properties for self method
|
|
3636
|
+
exchangeWideMethodOptions = self.safe_value_2(self.options, methodName, methodName2)
|
|
3637
|
+
if exchangeWideMethodOptions is not None:
|
|
3638
|
+
# check if the option is defined inside self method's props
|
|
3639
|
+
value = self.safe_value_2(exchangeWideMethodOptions, optionName, defaultOptionName)
|
|
3640
|
+
if value is None:
|
|
3641
|
+
# if it's still None, check if global exchange-wide option exists
|
|
3642
|
+
value = self.safe_value_2(self.options, optionName, defaultOptionName)
|
|
3643
|
+
# if it's still None, use the default value
|
|
3644
|
+
value = value if (value is not None) else defaultValue
|
|
3645
|
+
return [value, params]
|
|
3646
|
+
|
|
3623
3647
|
def handle_option(self, methodName, optionName, defaultValue=None):
|
|
3624
3648
|
# eslint-disable-next-line no-unused-vars
|
|
3625
3649
|
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:
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from ccxt.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 = 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.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 = 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]
|
|
@@ -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
|
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 = 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
|
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
|
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 = 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.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)
|
|
@@ -2295,7 +2295,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
|
2295
2295
|
# }
|
|
2296
2296
|
# }
|
|
2297
2297
|
responseData = self.safe_value(response, 'data', {})
|
|
2298
|
-
orders = self.safe_value(responseData, 'items',
|
|
2298
|
+
orders = self.safe_value(responseData, 'items', responseData)
|
|
2299
2299
|
return self.parse_orders(orders, market, since, limit)
|
|
2300
2300
|
|
|
2301
2301
|
def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
from ccxt.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)]
|