ccxt 4.2.13__tar.gz → 4.2.15__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.13/ccxt.egg-info → ccxt-4.2.15}/PKG-INFO +4 -4
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/__init__.py +1 -1
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bigone.py +1 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/kucoin.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/kucoinfutures.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/__init__.py +1 -1
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/exchange.py +119 -2
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bigone.py +37 -32
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/binance.py +102 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/binanceus.py +8 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bingx.py +5 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitget.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bybit.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinex.py +3 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/delta.py +5 -1
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/gate.py +5 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/htx.py +119 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/kraken.py +35 -8
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/kucoin.py +5 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/kucoinfutures.py +123 -75
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/okx.py +9 -8
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/woo.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/base/exchange.py +120 -2
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bigone.py +36 -32
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/binance.py +102 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/binanceus.py +8 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bingx.py +5 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitget.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bybit.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinex.py +3 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/delta.py +5 -1
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/gate.py +5 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/htx.py +119 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/kraken.py +35 -8
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/kucoin.py +5 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/kucoinfutures.py +123 -75
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/okx.py +9 -8
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/__init__.py +1 -1
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/htx.py +6 -1
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/woo.py +114 -2
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/__init__.py +1 -0
- ccxt-4.2.15/ccxt/test/base/test_last_price.py +32 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/test_async.py +7 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/test_sync.py +7 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/woo.py +4 -0
- {ccxt-4.2.13 → ccxt-4.2.15/ccxt.egg-info}/PKG-INFO +4 -4
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt.egg-info/SOURCES.txt +1 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/package.json +1 -1
- {ccxt-4.2.13 → ccxt-4.2.15}/LICENSE.txt +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/MANIFEST.in +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/README.rst +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bingx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitmart.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitteam.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/bybit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/ace.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/alpaca.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/ascendex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/alpaca.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/ascendex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitmex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitstamp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitteam.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/bl3p.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/btcalpha.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/cex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinone.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinsph.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/cryptocom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/deribit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/lykke.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/ndax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/phemex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/base/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/base/errors.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/base/precise.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/base/types.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bequant.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bit2c.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitbank.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitbay.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitbns.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitfinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitflyer.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitforex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bithumb.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitmart.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitmex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitopro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitpanda.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitrue.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitso.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitstamp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitteam.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bitvavo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/bl3p.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/btcalpha.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/btcbox.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/btcturk.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/cex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinbase.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coincheck.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinlist.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinmate.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinone.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinsph.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/coinspot.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/cryptocom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/currencycom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/deribit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/digifinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/exmo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/flowbtc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/fmfwio.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/gateio.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/gemini.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/hitbtc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/hollaex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/huobi.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/huobijp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/idex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/independentreserve.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/indodax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/kuna.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/latoken.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/lbank.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/luno.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/lykke.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/mercado.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/mexc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/ndax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/novadax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/oceanex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/okcoin.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/p2b.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/paymium.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/phemex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/poloniex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/poloniexfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/binance.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bingx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitmart.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/blockchaincom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/bybit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/cex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/coinbasepro.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/cryptocom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/gate.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/idex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/krakenfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/luno.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/okx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/probit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/probit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/__init__.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/timex.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/upbit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/wazirx.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/whitebit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/yobit.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/zaif.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt/zonda.py +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/setup.cfg +0 -0
- {ccxt-4.2.13 → ccxt-4.2.15}/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.15
|
|
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.15/dist/ccxt.browser.js
|
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.2.15/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.15/dist/ccxt.browser.js"></script>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Creates a global `ccxt` object:
|
|
@@ -23,6 +23,7 @@ class ImplicitAPI:
|
|
|
23
23
|
private_post_orders_cancel = privatePostOrdersCancel = Entry('orders/cancel', 'private', 'POST', {})
|
|
24
24
|
private_post_withdrawals = privatePostWithdrawals = Entry('withdrawals', 'private', 'POST', {})
|
|
25
25
|
private_post_transfer = privatePostTransfer = Entry('transfer', 'private', 'POST', {})
|
|
26
|
+
contractpublic_get_symbols = contractPublicGetSymbols = Entry('symbols', 'contractPublic', 'GET', {})
|
|
26
27
|
contractpublic_get_instruments = contractPublicGetInstruments = Entry('instruments', 'contractPublic', 'GET', {})
|
|
27
28
|
contractpublic_get_depth_symbol_snapshot = contractPublicGetDepthSymbolSnapshot = Entry('depth@{symbol}/snapshot', 'contractPublic', 'GET', {})
|
|
28
29
|
contractpublic_get_instruments_difference = contractPublicGetInstrumentsDifference = Entry('instruments/difference', 'contractPublic', 'GET', {})
|
|
@@ -150,6 +150,7 @@ class ImplicitAPI:
|
|
|
150
150
|
futurespublic_get_premium_query = futuresPublicGetPremiumQuery = Entry('premium/query', 'futuresPublic', 'GET', {'cost': 4.5})
|
|
151
151
|
futurespublic_get_trade_statistics = futuresPublicGetTradeStatistics = Entry('trade-statistics', 'futuresPublic', 'GET', {'cost': 4.5})
|
|
152
152
|
futurespublic_get_funding_rate_symbol_current = futuresPublicGetFundingRateSymbolCurrent = Entry('funding-rate/{symbol}/current', 'futuresPublic', 'GET', {'cost': 3})
|
|
153
|
+
futurespublic_get_contract_funding_rates = futuresPublicGetContractFundingRates = Entry('contract/funding-rates', 'futuresPublic', 'GET', {'cost': 7.5})
|
|
153
154
|
futurespublic_get_timestamp = futuresPublicGetTimestamp = Entry('timestamp', 'futuresPublic', 'GET', {'cost': 3})
|
|
154
155
|
futurespublic_get_status = futuresPublicGetStatus = Entry('status', 'futuresPublic', 'GET', {'cost': 6})
|
|
155
156
|
futurespublic_get_level2_message_query = futuresPublicGetLevel2MessageQuery = Entry('level2/message/query', 'futuresPublic', 'GET', {'cost': 1.3953})
|
|
@@ -168,13 +169,16 @@ class ImplicitAPI:
|
|
|
168
169
|
futuresprivate_get_openorderstatistics = futuresPrivateGetOpenOrderStatistics = Entry('openOrderStatistics', 'futuresPrivate', 'GET', {'cost': 15})
|
|
169
170
|
futuresprivate_get_position = futuresPrivateGetPosition = Entry('position', 'futuresPrivate', 'GET', {'cost': 3})
|
|
170
171
|
futuresprivate_get_positions = futuresPrivateGetPositions = Entry('positions', 'futuresPrivate', 'GET', {'cost': 3})
|
|
172
|
+
futuresprivate_get_margin_maxwithdrawmargin = futuresPrivateGetMarginMaxWithdrawMargin = Entry('margin/maxWithdrawMargin', 'futuresPrivate', 'GET', {'cost': 15})
|
|
171
173
|
futuresprivate_get_contracts_risk_limit_symbol = futuresPrivateGetContractsRiskLimitSymbol = Entry('contracts/risk-limit/{symbol}', 'futuresPrivate', 'GET', {'cost': 7.5})
|
|
172
174
|
futuresprivate_get_funding_history = futuresPrivateGetFundingHistory = Entry('funding-history', 'futuresPrivate', 'GET', {'cost': 7.5})
|
|
173
175
|
futuresprivate_post_transfer_out = futuresPrivatePostTransferOut = Entry('transfer-out', 'futuresPrivate', 'POST', {'cost': 30})
|
|
174
176
|
futuresprivate_post_transfer_in = futuresPrivatePostTransferIn = Entry('transfer-in', 'futuresPrivate', 'POST', {'cost': 30})
|
|
175
177
|
futuresprivate_post_orders = futuresPrivatePostOrders = Entry('orders', 'futuresPrivate', 'POST', {'cost': 3})
|
|
176
178
|
futuresprivate_post_orders_test = futuresPrivatePostOrdersTest = Entry('orders/test', 'futuresPrivate', 'POST', {'cost': 3})
|
|
179
|
+
futuresprivate_post_orders_multi = futuresPrivatePostOrdersMulti = Entry('orders/multi', 'futuresPrivate', 'POST', {'cost': 4.5})
|
|
177
180
|
futuresprivate_post_position_margin_auto_deposit_status = futuresPrivatePostPositionMarginAutoDepositStatus = Entry('position/margin/auto-deposit-status', 'futuresPrivate', 'POST', {'cost': 6})
|
|
181
|
+
futuresprivate_post_margin_withdrawmargin = futuresPrivatePostMarginWithdrawMargin = Entry('margin/withdrawMargin', 'futuresPrivate', 'POST', {'cost': 15})
|
|
178
182
|
futuresprivate_post_position_margin_deposit_margin = futuresPrivatePostPositionMarginDepositMargin = Entry('position/margin/deposit-margin', 'futuresPrivate', 'POST', {'cost': 6})
|
|
179
183
|
futuresprivate_post_position_risk_limit_level_change = futuresPrivatePostPositionRiskLimitLevelChange = Entry('position/risk-limit-level/change', 'futuresPrivate', 'POST', {'cost': 6})
|
|
180
184
|
futuresprivate_post_bullet_private = futuresPrivatePostBulletPrivate = Entry('bullet-private', 'futuresPrivate', 'POST', {'cost': 15})
|
|
@@ -150,6 +150,7 @@ class ImplicitAPI:
|
|
|
150
150
|
futurespublic_get_premium_query = futuresPublicGetPremiumQuery = Entry('premium/query', 'futuresPublic', 'GET', {'cost': 1})
|
|
151
151
|
futurespublic_get_trade_statistics = futuresPublicGetTradeStatistics = Entry('trade-statistics', 'futuresPublic', 'GET', {'cost': 4.5})
|
|
152
152
|
futurespublic_get_funding_rate_symbol_current = futuresPublicGetFundingRateSymbolCurrent = Entry('funding-rate/{symbol}/current', 'futuresPublic', 'GET', {'cost': 1})
|
|
153
|
+
futurespublic_get_contract_funding_rates = futuresPublicGetContractFundingRates = Entry('contract/funding-rates', 'futuresPublic', 'GET', {'cost': 7.5})
|
|
153
154
|
futurespublic_get_timestamp = futuresPublicGetTimestamp = Entry('timestamp', 'futuresPublic', 'GET', {'cost': 1})
|
|
154
155
|
futurespublic_get_status = futuresPublicGetStatus = Entry('status', 'futuresPublic', 'GET', {'cost': 1})
|
|
155
156
|
futurespublic_get_level2_message_query = futuresPublicGetLevel2MessageQuery = Entry('level2/message/query', 'futuresPublic', 'GET', {'cost': 1})
|
|
@@ -172,6 +173,7 @@ class ImplicitAPI:
|
|
|
172
173
|
futuresprivate_get_openorderstatistics = futuresPrivateGetOpenOrderStatistics = Entry('openOrderStatistics', 'futuresPrivate', 'GET', {'cost': 1})
|
|
173
174
|
futuresprivate_get_position = futuresPrivateGetPosition = Entry('position', 'futuresPrivate', 'GET', {'cost': 1})
|
|
174
175
|
futuresprivate_get_positions = futuresPrivateGetPositions = Entry('positions', 'futuresPrivate', 'GET', {'cost': 4.44})
|
|
176
|
+
futuresprivate_get_margin_maxwithdrawmargin = futuresPrivateGetMarginMaxWithdrawMargin = Entry('margin/maxWithdrawMargin', 'futuresPrivate', 'GET', {'cost': 15})
|
|
175
177
|
futuresprivate_get_contracts_risk_limit_symbol = futuresPrivateGetContractsRiskLimitSymbol = Entry('contracts/risk-limit/{symbol}', 'futuresPrivate', 'GET', {'cost': 7.5})
|
|
176
178
|
futuresprivate_get_funding_history = futuresPrivateGetFundingHistory = Entry('funding-history', 'futuresPrivate', 'GET', {'cost': 4.44})
|
|
177
179
|
futuresprivate_get_deposit_address = futuresPrivateGetDepositAddress = Entry('deposit-address', 'futuresPrivate', 'GET', {'cost': 1})
|
|
@@ -184,7 +186,9 @@ class ImplicitAPI:
|
|
|
184
186
|
futuresprivate_post_transfer_in = futuresPrivatePostTransferIn = Entry('transfer-in', 'futuresPrivate', 'POST', {'cost': 1})
|
|
185
187
|
futuresprivate_post_orders = futuresPrivatePostOrders = Entry('orders', 'futuresPrivate', 'POST', {'cost': 1.33})
|
|
186
188
|
futuresprivate_post_orders_test = futuresPrivatePostOrdersTest = Entry('orders/test', 'futuresPrivate', 'POST', {'cost': 1.33})
|
|
189
|
+
futuresprivate_post_orders_multi = futuresPrivatePostOrdersMulti = Entry('orders/multi', 'futuresPrivate', 'POST', {'cost': 4.5})
|
|
187
190
|
futuresprivate_post_position_margin_auto_deposit_status = futuresPrivatePostPositionMarginAutoDepositStatus = Entry('position/margin/auto-deposit-status', 'futuresPrivate', 'POST', {'cost': 1})
|
|
191
|
+
futuresprivate_post_margin_withdrawmargin = futuresPrivatePostMarginWithdrawMargin = Entry('margin/withdrawMargin', 'futuresPrivate', 'POST', {'cost': 15})
|
|
188
192
|
futuresprivate_post_position_margin_deposit_margin = futuresPrivatePostPositionMarginDepositMargin = Entry('position/margin/deposit-margin', 'futuresPrivate', 'POST', {'cost': 1})
|
|
189
193
|
futuresprivate_post_position_risk_limit_level_change = futuresPrivatePostPositionRiskLimitLevelChange = Entry('position/risk-limit-level/change', 'futuresPrivate', 'POST', {'cost': 1})
|
|
190
194
|
futuresprivate_post_bullet_private = futuresPrivatePostBulletPrivate = Entry('bullet-private', 'futuresPrivate', 'POST', {'cost': 1})
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# -----------------------------------------------------------------------------
|
|
4
4
|
|
|
5
|
-
__version__ = '4.2.
|
|
5
|
+
__version__ = '4.2.15'
|
|
6
6
|
|
|
7
7
|
# -----------------------------------------------------------------------------
|
|
8
8
|
|
|
@@ -1008,10 +1008,127 @@ class Exchange(BaseExchange):
|
|
|
1008
1008
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1009
1009
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1010
1010
|
"""
|
|
1011
|
-
if self.options['createMarketSellOrderRequiresPrice'] or self.
|
|
1011
|
+
if self.options['createMarketSellOrderRequiresPrice'] or self.has['createMarketSellOrderWithCost']:
|
|
1012
1012
|
return await self.create_order(symbol, 'market', 'sell', cost, 1, params)
|
|
1013
1013
|
raise NotSupported(self.id + ' createMarketSellOrderWithCost() is not supported yet')
|
|
1014
1014
|
|
|
1015
|
+
async def create_trigger_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, triggerPrice=None, params={}):
|
|
1016
|
+
"""
|
|
1017
|
+
create a trigger stop order(type 1)
|
|
1018
|
+
:param str symbol: unified symbol of the market to create an order in
|
|
1019
|
+
:param str type: 'market' or 'limit'
|
|
1020
|
+
:param str side: 'buy' or 'sell'
|
|
1021
|
+
:param float amount: how much you want to trade in units of the base currency or the number of contracts
|
|
1022
|
+
:param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
|
|
1023
|
+
:param float triggerPrice: the price to trigger the stop order, in units of the quote currency
|
|
1024
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1025
|
+
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1026
|
+
"""
|
|
1027
|
+
if triggerPrice is None:
|
|
1028
|
+
raise ArgumentsRequired(self.id + ' createTriggerOrder() requires a triggerPrice argument')
|
|
1029
|
+
params['triggerPrice'] = triggerPrice
|
|
1030
|
+
if self.has['createTriggerOrder']:
|
|
1031
|
+
return await self.create_order(symbol, type, side, amount, price, params)
|
|
1032
|
+
raise NotSupported(self.id + ' createTriggerOrder() is not supported yet')
|
|
1033
|
+
|
|
1034
|
+
async def create_stop_loss_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, stopLossPrice=None, params={}):
|
|
1035
|
+
"""
|
|
1036
|
+
create a trigger stop loss order(type 2)
|
|
1037
|
+
:param str symbol: unified symbol of the market to create an order in
|
|
1038
|
+
:param str type: 'market' or 'limit'
|
|
1039
|
+
:param str side: 'buy' or 'sell'
|
|
1040
|
+
:param float amount: how much you want to trade in units of the base currency or the number of contracts
|
|
1041
|
+
:param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
|
|
1042
|
+
:param float stopLossPrice: the price to trigger the stop loss order, in units of the quote currency
|
|
1043
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1044
|
+
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1045
|
+
"""
|
|
1046
|
+
if stopLossPrice is None:
|
|
1047
|
+
raise ArgumentsRequired(self.id + ' createStopLossOrder() requires a stopLossPrice argument')
|
|
1048
|
+
params['stopLossPrice'] = stopLossPrice
|
|
1049
|
+
if self.has['createStopLossOrder']:
|
|
1050
|
+
return await self.create_order(symbol, type, side, amount, price, params)
|
|
1051
|
+
raise NotSupported(self.id + ' createStopLossOrder() is not supported yet')
|
|
1052
|
+
|
|
1053
|
+
async def create_take_profit_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, takeProfitPrice=None, params={}):
|
|
1054
|
+
"""
|
|
1055
|
+
create a trigger take profit order(type 2)
|
|
1056
|
+
:param str symbol: unified symbol of the market to create an order in
|
|
1057
|
+
:param str type: 'market' or 'limit'
|
|
1058
|
+
:param str side: 'buy' or 'sell'
|
|
1059
|
+
:param float amount: how much you want to trade in units of the base currency or the number of contracts
|
|
1060
|
+
:param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
|
|
1061
|
+
:param float takeProfitPrice: the price to trigger the take profit order, in units of the quote currency
|
|
1062
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1063
|
+
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1064
|
+
"""
|
|
1065
|
+
if takeProfitPrice is None:
|
|
1066
|
+
raise ArgumentsRequired(self.id + ' createTakeProfitOrder() requires a takeProfitPrice argument')
|
|
1067
|
+
params['takeProfitPrice'] = takeProfitPrice
|
|
1068
|
+
if self.has['createTakeProfitOrder']:
|
|
1069
|
+
return await self.create_order(symbol, type, side, amount, price, params)
|
|
1070
|
+
raise NotSupported(self.id + ' createTakeProfitOrder() is not supported yet')
|
|
1071
|
+
|
|
1072
|
+
async def create_order_with_take_profit_and_stop_loss(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, takeProfit=None, stopLoss=None, params={}):
|
|
1073
|
+
"""
|
|
1074
|
+
create an order with a stop loss or take profit attached(type 3)
|
|
1075
|
+
:param str symbol: unified symbol of the market to create an order in
|
|
1076
|
+
:param str type: 'market' or 'limit'
|
|
1077
|
+
:param str side: 'buy' or 'sell'
|
|
1078
|
+
:param float amount: how much you want to trade in units of the base currency or the number of contracts
|
|
1079
|
+
:param float [price]: the price to fulfill the order, in units of the quote currency, ignored in market orders
|
|
1080
|
+
:param float [takeProfit]: the take profit price, in units of the quote currency
|
|
1081
|
+
:param float [stopLoss]: the stop loss price, in units of the quote currency
|
|
1082
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1083
|
+
:param str [params.takeProfitType]: *not available on all exchanges* 'limit' or 'market'
|
|
1084
|
+
:param str [params.stopLossType]: *not available on all exchanges* 'limit' or 'market'
|
|
1085
|
+
:param str [params.takeProfitPriceType]: *not available on all exchanges* 'last', 'mark' or 'index'
|
|
1086
|
+
:param str [params.stopLossPriceType]: *not available on all exchanges* 'last', 'mark' or 'index'
|
|
1087
|
+
:param float [params.takeProfitLimitPrice]: *not available on all exchanges* limit price for a limit take profit order
|
|
1088
|
+
:param float [params.stopLossLimitPrice]: *not available on all exchanges* stop loss for a limit stop loss order
|
|
1089
|
+
:param float [params.takeProfitAmount]: *not available on all exchanges* the amount for a take profit
|
|
1090
|
+
:param float [params.stopLossAmount]: *not available on all exchanges* the amount for a stop loss
|
|
1091
|
+
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1092
|
+
"""
|
|
1093
|
+
if (takeProfit is None) and (stopLoss is None):
|
|
1094
|
+
raise ArgumentsRequired(self.id + ' createOrderWithTakeProfitAndStopLoss() requires either a takeProfit or stopLoss argument')
|
|
1095
|
+
if takeProfit is not None:
|
|
1096
|
+
params['takeProfit'] = {
|
|
1097
|
+
'triggerPrice': takeProfit,
|
|
1098
|
+
}
|
|
1099
|
+
if stopLoss is not None:
|
|
1100
|
+
params['stopLoss'] = {
|
|
1101
|
+
'triggerPrice': stopLoss,
|
|
1102
|
+
}
|
|
1103
|
+
takeProfitType = self.safe_string(params, 'takeProfitType')
|
|
1104
|
+
takeProfitPriceType = self.safe_string(params, 'takeProfitPriceType')
|
|
1105
|
+
takeProfitLimitPrice = self.safe_string(params, 'takeProfitLimitPrice')
|
|
1106
|
+
takeProfitAmount = self.safe_string(params, 'takeProfitAmount')
|
|
1107
|
+
stopLossType = self.safe_string(params, 'stopLossType')
|
|
1108
|
+
stopLossPriceType = self.safe_string(params, 'stopLossPriceType')
|
|
1109
|
+
stopLossLimitPrice = self.safe_string(params, 'stopLossLimitPrice')
|
|
1110
|
+
stopLossAmount = self.safe_string(params, 'stopLossAmount')
|
|
1111
|
+
if takeProfitType is not None:
|
|
1112
|
+
params['takeProfit']['type'] = takeProfitType
|
|
1113
|
+
if takeProfitPriceType is not None:
|
|
1114
|
+
params['takeProfit']['priceType'] = takeProfitPriceType
|
|
1115
|
+
if takeProfitLimitPrice is not None:
|
|
1116
|
+
params['takeProfit']['price'] = self.parse_to_numeric(takeProfitLimitPrice)
|
|
1117
|
+
if takeProfitAmount is not None:
|
|
1118
|
+
params['takeProfit']['amount'] = self.parse_to_numeric(takeProfitAmount)
|
|
1119
|
+
if stopLossType is not None:
|
|
1120
|
+
params['stopLoss']['type'] = stopLossType
|
|
1121
|
+
if stopLossPriceType is not None:
|
|
1122
|
+
params['stopLoss']['priceType'] = stopLossPriceType
|
|
1123
|
+
if stopLossLimitPrice is not None:
|
|
1124
|
+
params['stopLoss']['price'] = self.parse_to_numeric(stopLossLimitPrice)
|
|
1125
|
+
if stopLossAmount is not None:
|
|
1126
|
+
params['stopLoss']['amount'] = self.parse_to_numeric(stopLossAmount)
|
|
1127
|
+
params = self.omit(params, ['takeProfitType', 'takeProfitPriceType', 'takeProfitLimitPrice', 'takeProfitAmount', 'stopLossType', 'stopLossPriceType', 'stopLossLimitPrice', 'stopLossAmount'])
|
|
1128
|
+
if self.has['createOrderWithTakeProfitAndStopLoss']:
|
|
1129
|
+
return await self.create_order(symbol, type, side, amount, price, params)
|
|
1130
|
+
raise NotSupported(self.id + ' createOrderWithTakeProfitAndStopLoss() is not supported yet')
|
|
1131
|
+
|
|
1015
1132
|
async def create_orders(self, orders: List[OrderRequest], params={}):
|
|
1016
1133
|
raise NotSupported(self.id + ' createOrders() is not supported yet')
|
|
1017
1134
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
from ccxt.async_support.base.exchange import Exchange
|
|
7
7
|
from ccxt.abstract.bigone import ImplicitAPI
|
|
8
|
+
import asyncio
|
|
8
9
|
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderSide, OrderType, Str, Bool, Strings, Ticker, Tickers, Trade, Transaction
|
|
9
10
|
from typing import List
|
|
10
11
|
from ccxt.base.errors import ExchangeError
|
|
@@ -133,6 +134,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
133
134
|
},
|
|
134
135
|
'contractPublic': {
|
|
135
136
|
'get': [
|
|
137
|
+
'symbols',
|
|
136
138
|
'instruments',
|
|
137
139
|
'depth@{symbol}/snapshot',
|
|
138
140
|
'instruments/difference',
|
|
@@ -522,7 +524,10 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
522
524
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
523
525
|
:returns dict[]: an array of objects representing market data
|
|
524
526
|
"""
|
|
525
|
-
|
|
527
|
+
promises = [self.publicGetAssetPairs(params), self.contractPublicGetSymbols(params)]
|
|
528
|
+
promisesResult = await asyncio.gather(*promises)
|
|
529
|
+
response = promisesResult[0]
|
|
530
|
+
contractResponse = promisesResult[1]
|
|
526
531
|
#
|
|
527
532
|
# {
|
|
528
533
|
# "code":0,
|
|
@@ -548,29 +553,30 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
548
553
|
# ]
|
|
549
554
|
# }
|
|
550
555
|
#
|
|
551
|
-
contractResponse = await self.contractPublicGetInstruments(params)
|
|
552
556
|
#
|
|
553
557
|
# [
|
|
554
558
|
# {
|
|
555
|
-
# "
|
|
559
|
+
# "baseCurrency": "BTC",
|
|
560
|
+
# "multiplier": 1,
|
|
561
|
+
# "enable": True,
|
|
562
|
+
# "priceStep": 0.5,
|
|
563
|
+
# "maxRiskLimit": 1000,
|
|
564
|
+
# "pricePrecision": 1,
|
|
565
|
+
# "maintenanceMargin": 0.00500,
|
|
556
566
|
# "symbol": "BTCUSD",
|
|
557
|
-
# "
|
|
558
|
-
# "
|
|
559
|
-
# "
|
|
560
|
-
# "
|
|
561
|
-
# "
|
|
562
|
-
# "
|
|
563
|
-
# "
|
|
564
|
-
# "
|
|
565
|
-
# "
|
|
566
|
-
# "
|
|
567
|
-
# "
|
|
568
|
-
# "
|
|
569
|
-
#
|
|
570
|
-
# "openValue": 32.88054722085945,
|
|
571
|
-
# "last24hMinPrice": 33552.0,
|
|
572
|
-
# "openInterest": 1141372.0
|
|
573
|
-
# }
|
|
567
|
+
# "valuePrecision": 4,
|
|
568
|
+
# "minRiskLimit": 100,
|
|
569
|
+
# "riskLimit": 100,
|
|
570
|
+
# "isInverse": True,
|
|
571
|
+
# "riskStep": 1,
|
|
572
|
+
# "settleCurrency": "BTC",
|
|
573
|
+
# "baseName": "Bitcoin",
|
|
574
|
+
# "feePrecision": 8,
|
|
575
|
+
# "priceMin": 0.5,
|
|
576
|
+
# "priceMax": 1E+6,
|
|
577
|
+
# "initialMargin": 0.01000,
|
|
578
|
+
# "quoteCurrency": "USD"
|
|
579
|
+
# },
|
|
574
580
|
# ...
|
|
575
581
|
# ]
|
|
576
582
|
#
|
|
@@ -636,15 +642,14 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
636
642
|
}))
|
|
637
643
|
for i in range(0, len(contractResponse)):
|
|
638
644
|
market = contractResponse[i]
|
|
645
|
+
baseId = self.safe_string(market, 'baseCurrency')
|
|
646
|
+
quoteId = self.safe_string(market, 'quoteCurrency')
|
|
647
|
+
settleId = self.safe_string(market, 'settleCurrency')
|
|
639
648
|
marketId = self.safe_string(market, 'symbol')
|
|
640
|
-
index = marketId.find('USD')
|
|
641
|
-
baseId = marketId[0:index]
|
|
642
|
-
quoteId = marketId[index:]
|
|
643
|
-
inverse = (quoteId == 'USD')
|
|
644
|
-
settleId = baseId if inverse else quoteId
|
|
645
649
|
base = self.safe_currency_code(baseId)
|
|
646
650
|
quote = self.safe_currency_code(quoteId)
|
|
647
651
|
settle = self.safe_currency_code(settleId)
|
|
652
|
+
inverse = self.safe_value(market, 'isInverse')
|
|
648
653
|
result.append(self.safe_market_structure({
|
|
649
654
|
'id': marketId,
|
|
650
655
|
'symbol': base + '/' + quote + ':' + settle,
|
|
@@ -660,18 +665,18 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
660
665
|
'swap': True,
|
|
661
666
|
'future': False,
|
|
662
667
|
'option': False,
|
|
663
|
-
'active':
|
|
668
|
+
'active': self.safe_value(market, 'enable'),
|
|
664
669
|
'contract': True,
|
|
665
670
|
'linear': not inverse,
|
|
666
671
|
'inverse': inverse,
|
|
667
|
-
'contractSize':
|
|
672
|
+
'contractSize': self.safe_number(market, 'multiplier'),
|
|
668
673
|
'expiry': None,
|
|
669
674
|
'expiryDatetime': None,
|
|
670
675
|
'strike': None,
|
|
671
676
|
'optionType': None,
|
|
672
677
|
'precision': {
|
|
673
|
-
'amount':
|
|
674
|
-
'price':
|
|
678
|
+
'amount': self.parse_number(self.parse_precision(self.safe_string(market, 'valuePrecision'))),
|
|
679
|
+
'price': self.parse_number(self.parse_precision(self.safe_string(market, 'pricePrecision'))),
|
|
675
680
|
},
|
|
676
681
|
'limits': {
|
|
677
682
|
'leverage': {
|
|
@@ -683,11 +688,11 @@ class bigone(Exchange, ImplicitAPI):
|
|
|
683
688
|
'max': None,
|
|
684
689
|
},
|
|
685
690
|
'price': {
|
|
686
|
-
'min':
|
|
687
|
-
'max':
|
|
691
|
+
'min': self.safe_number(market, 'priceMin'),
|
|
692
|
+
'max': self.safe_number(market, 'priceMax'),
|
|
688
693
|
},
|
|
689
694
|
'cost': {
|
|
690
|
-
'min':
|
|
695
|
+
'min': self.safe_number(market, 'initialMargin'),
|
|
691
696
|
'max': None,
|
|
692
697
|
},
|
|
693
698
|
},
|
|
@@ -71,9 +71,12 @@ class binance(Exchange, ImplicitAPI):
|
|
|
71
71
|
'createPostOnlyOrder': True,
|
|
72
72
|
'createReduceOnlyOrder': True,
|
|
73
73
|
'createStopLimitOrder': True,
|
|
74
|
+
'createStopLossOrder': True,
|
|
74
75
|
'createStopMarketOrder': False,
|
|
75
76
|
'createStopOrder': True,
|
|
77
|
+
'createTakeProfitOrder': True,
|
|
76
78
|
'createTrailingPercentOrder': True,
|
|
79
|
+
'createTriggerOrder': True,
|
|
77
80
|
'editOrder': True,
|
|
78
81
|
'fetchAccounts': None,
|
|
79
82
|
'fetchBalance': True,
|
|
@@ -104,6 +107,7 @@ class binance(Exchange, ImplicitAPI):
|
|
|
104
107
|
'fetchIsolatedBorrowRate': False,
|
|
105
108
|
'fetchIsolatedBorrowRates': False,
|
|
106
109
|
'fetchL3OrderBook': False,
|
|
110
|
+
'fetchLastPrices': True,
|
|
107
111
|
'fetchLedger': True,
|
|
108
112
|
'fetchLeverage': False,
|
|
109
113
|
'fetchLeverageTiers': True,
|
|
@@ -3056,6 +3060,104 @@ class binance(Exchange, ImplicitAPI):
|
|
|
3056
3060
|
response = await self.publicGetTickerBookTicker(self.extend(request, params))
|
|
3057
3061
|
return self.parse_tickers(response, symbols)
|
|
3058
3062
|
|
|
3063
|
+
async def fetch_last_prices(self, symbols: Strings = None, params={}):
|
|
3064
|
+
"""
|
|
3065
|
+
fetches the last price for multiple markets
|
|
3066
|
+
:see: https://binance-docs.github.io/apidocs/spot/en/#symbol-price-ticker # spot
|
|
3067
|
+
:see: https://binance-docs.github.io/apidocs/future/en/#symbol-price-ticker # swap
|
|
3068
|
+
:see: https://binance-docs.github.io/apidocs/delivery/en/#symbol-price-ticker # future
|
|
3069
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the last prices
|
|
3070
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
3071
|
+
:returns dict: a dictionary of lastprices structures
|
|
3072
|
+
"""
|
|
3073
|
+
await self.load_markets()
|
|
3074
|
+
symbols = self.market_symbols(symbols)
|
|
3075
|
+
market = self.get_market_from_symbols(symbols)
|
|
3076
|
+
type = None
|
|
3077
|
+
subType = None
|
|
3078
|
+
subType, params = self.handle_sub_type_and_params('fetchLastPrices', market, params)
|
|
3079
|
+
type, params = self.handle_market_type_and_params('fetchLastPrices', market, params)
|
|
3080
|
+
response = None
|
|
3081
|
+
if self.is_linear(type, subType):
|
|
3082
|
+
response = await self.fapiPublicV2GetTickerPrice(params)
|
|
3083
|
+
#
|
|
3084
|
+
# [
|
|
3085
|
+
# {
|
|
3086
|
+
# "symbol": "LTCBTC",
|
|
3087
|
+
# "price": "4.00000200"
|
|
3088
|
+
# "time": 1589437530011
|
|
3089
|
+
# },
|
|
3090
|
+
# ...
|
|
3091
|
+
# ]
|
|
3092
|
+
#
|
|
3093
|
+
elif self.is_inverse(type, subType):
|
|
3094
|
+
response = await self.dapiPublicGetTickerPrice(params)
|
|
3095
|
+
#
|
|
3096
|
+
# [
|
|
3097
|
+
# {
|
|
3098
|
+
# "symbol": "BTCUSD_200626",
|
|
3099
|
+
# "ps": "9647.8",
|
|
3100
|
+
# "price": "9647.8",
|
|
3101
|
+
# "time": 1591257246176
|
|
3102
|
+
# }
|
|
3103
|
+
# ]
|
|
3104
|
+
#
|
|
3105
|
+
elif type == 'spot':
|
|
3106
|
+
response = await self.publicGetTickerPrice(params)
|
|
3107
|
+
#
|
|
3108
|
+
# [
|
|
3109
|
+
# {
|
|
3110
|
+
# "symbol": "LTCBTC",
|
|
3111
|
+
# "price": "4.00000200"
|
|
3112
|
+
# },
|
|
3113
|
+
# ...
|
|
3114
|
+
# ]
|
|
3115
|
+
#
|
|
3116
|
+
else:
|
|
3117
|
+
raise NotSupported(self.id + ' fetchLastPrices() does not support ' + type + ' markets yet')
|
|
3118
|
+
return self.parse_last_prices(response, symbols)
|
|
3119
|
+
|
|
3120
|
+
def parse_last_price(self, entry, market: Market = None):
|
|
3121
|
+
#
|
|
3122
|
+
# spot
|
|
3123
|
+
#
|
|
3124
|
+
# {
|
|
3125
|
+
# "symbol": "LTCBTC",
|
|
3126
|
+
# "price": "4.00000200"
|
|
3127
|
+
# }
|
|
3128
|
+
#
|
|
3129
|
+
# usdm(swap/future)
|
|
3130
|
+
#
|
|
3131
|
+
# {
|
|
3132
|
+
# "symbol": "BTCUSDT",
|
|
3133
|
+
# "price": "6000.01",
|
|
3134
|
+
# "time": 1589437530011 # Transaction time
|
|
3135
|
+
# }
|
|
3136
|
+
#
|
|
3137
|
+
#
|
|
3138
|
+
# coinm(swap/future)
|
|
3139
|
+
#
|
|
3140
|
+
# {
|
|
3141
|
+
# "symbol": "BTCUSD_200626", # symbol("BTCUSD_200626", "BTCUSD_PERP", etc..)
|
|
3142
|
+
# "ps": "BTCUSD", # pair
|
|
3143
|
+
# "price": "9647.8",
|
|
3144
|
+
# "time": 1591257246176
|
|
3145
|
+
# }
|
|
3146
|
+
#
|
|
3147
|
+
timestamp = self.safe_integer(entry, 'time')
|
|
3148
|
+
type = 'spot' if (timestamp is None) else 'swap'
|
|
3149
|
+
marketId = self.safe_string(entry, 'symbol')
|
|
3150
|
+
market = self.safe_market(marketId, market, None, type)
|
|
3151
|
+
price = self.safe_number(entry, 'price')
|
|
3152
|
+
return {
|
|
3153
|
+
'symbol': market['symbol'],
|
|
3154
|
+
'timestamp': timestamp,
|
|
3155
|
+
'datetime': self.iso8601(timestamp),
|
|
3156
|
+
'price': price,
|
|
3157
|
+
'side': None,
|
|
3158
|
+
'info': entry,
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3059
3161
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
|
3060
3162
|
"""
|
|
3061
3163
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
@@ -14,6 +14,7 @@ class binanceus(binance, ImplicitAPI):
|
|
|
14
14
|
'id': 'binanceus',
|
|
15
15
|
'name': 'Binance US',
|
|
16
16
|
'countries': ['US'], # US
|
|
17
|
+
'rateLimit': 50, # 1200 req per min
|
|
17
18
|
'certified': False,
|
|
18
19
|
'pro': True,
|
|
19
20
|
'urls': {
|
|
@@ -81,4 +82,11 @@ class binanceus(binance, ImplicitAPI):
|
|
|
81
82
|
'setMarginMode': False,
|
|
82
83
|
'setPositionMode': False,
|
|
83
84
|
},
|
|
85
|
+
'api': {
|
|
86
|
+
'public': {
|
|
87
|
+
'get': {
|
|
88
|
+
'ticker/price': {'cost': 1, 'noSymbol': 2},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
84
92
|
})
|
|
@@ -54,8 +54,12 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
54
54
|
'createMarketSellOrderWithCost': True,
|
|
55
55
|
'createOrder': True,
|
|
56
56
|
'createOrders': True,
|
|
57
|
+
'createOrderWithTakeProfitAndStopLoss': True,
|
|
58
|
+
'createStopLossOrder': True,
|
|
59
|
+
'createTakeProfitOrder': True,
|
|
57
60
|
'createTrailingAmountOrder': True,
|
|
58
61
|
'createTrailingPercentOrder': True,
|
|
62
|
+
'createTriggerOrder': True,
|
|
59
63
|
'fetchBalance': True,
|
|
60
64
|
'fetchClosedOrders': True,
|
|
61
65
|
'fetchCurrencies': True,
|
|
@@ -375,6 +379,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
375
379
|
'80016': OrderNotFound,
|
|
376
380
|
'80017': OrderNotFound,
|
|
377
381
|
'100414': AccountSuspended, # {"code":100414,"msg":"Code: 100414, Msg: risk control check fail,code(1)","debugMsg":""}
|
|
382
|
+
'100419': PermissionDenied, # {"code":100419,"msg":"IP does not match IP whitelist","success":false,"timestamp":1705274099347}
|
|
378
383
|
'100437': BadRequest, # {"code":100437,"msg":"The withdrawal amount is lower than the minimum limit, please re-enter.","timestamp":1689258588845}
|
|
379
384
|
},
|
|
380
385
|
'broad': {},
|
|
@@ -64,8 +64,12 @@ class bitget(Exchange, ImplicitAPI):
|
|
|
64
64
|
'createMarketSellOrderWithCost': False,
|
|
65
65
|
'createOrder': True,
|
|
66
66
|
'createOrders': True,
|
|
67
|
+
'createOrderWithTakeProfitAndStopLoss': True,
|
|
67
68
|
'createReduceOnlyOrder': False,
|
|
69
|
+
'createStopLossOrder': True,
|
|
70
|
+
'createTakeProfitOrder': True,
|
|
68
71
|
'createTrailingPercentOrder': True,
|
|
72
|
+
'createTriggerOrder': True,
|
|
69
73
|
'editOrder': True,
|
|
70
74
|
'fetchAccounts': False,
|
|
71
75
|
'fetchBalance': True,
|
|
@@ -57,12 +57,16 @@ class bybit(Exchange, ImplicitAPI):
|
|
|
57
57
|
'createMarketSellOrderWithCost': False,
|
|
58
58
|
'createOrder': True,
|
|
59
59
|
'createOrders': True,
|
|
60
|
+
'createOrderWithTakeProfitAndStopLoss': True,
|
|
60
61
|
'createPostOnlyOrder': True,
|
|
61
62
|
'createReduceOnlyOrder': True,
|
|
62
63
|
'createStopLimitOrder': True,
|
|
64
|
+
'createStopLossOrder': True,
|
|
63
65
|
'createStopMarketOrder': True,
|
|
64
66
|
'createStopOrder': True,
|
|
67
|
+
'createTakeProfitOrder': True,
|
|
65
68
|
'createTrailingAmountOrder': True,
|
|
69
|
+
'createTriggerOrder': True,
|
|
66
70
|
'editOrder': True,
|
|
67
71
|
'fetchBalance': True,
|
|
68
72
|
'fetchBorrowInterest': False, # temporarily disabled, doesn't work
|
|
@@ -64,6 +64,9 @@ class coinex(Exchange, ImplicitAPI):
|
|
|
64
64
|
'createOrder': True,
|
|
65
65
|
'createOrders': True,
|
|
66
66
|
'createReduceOnlyOrder': True,
|
|
67
|
+
'createStopLossOrder': True,
|
|
68
|
+
'createTakeProfitOrder': True,
|
|
69
|
+
'createTriggerOrder': True,
|
|
67
70
|
'editOrder': True,
|
|
68
71
|
'fetchBalance': True,
|
|
69
72
|
'fetchBorrowInterest': True,
|
|
@@ -1996,7 +1996,11 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1996
1996
|
request['start_time'] = str(since) + '000'
|
|
1997
1997
|
if limit is not None:
|
|
1998
1998
|
request['page_size'] = limit
|
|
1999
|
-
response =
|
|
1999
|
+
response = None
|
|
2000
|
+
if method == 'privateGetOrders':
|
|
2001
|
+
response = await self.privateGetOrders(self.extend(request, params))
|
|
2002
|
+
elif method == 'privateGetOrdersHistory':
|
|
2003
|
+
response = await self.privateGetOrdersHistory(self.extend(request, params))
|
|
2000
2004
|
#
|
|
2001
2005
|
# {
|
|
2002
2006
|
# "success": True,
|
|
@@ -108,8 +108,11 @@ class gate(Exchange, ImplicitAPI):
|
|
|
108
108
|
'createPostOnlyOrder': True,
|
|
109
109
|
'createReduceOnlyOrder': True,
|
|
110
110
|
'createStopLimitOrder': True,
|
|
111
|
+
'createStopLossOrder': True,
|
|
111
112
|
'createStopMarketOrder': False,
|
|
112
113
|
'createStopOrder': True,
|
|
114
|
+
'createTakeProfitOrder': True,
|
|
115
|
+
'createTriggerOrder': True,
|
|
113
116
|
'editOrder': True,
|
|
114
117
|
'fetchBalance': True,
|
|
115
118
|
'fetchBorrowRateHistories': False,
|
|
@@ -3561,6 +3564,8 @@ class gate(Exchange, ImplicitAPI):
|
|
|
3561
3564
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
3562
3565
|
:param float [params.stopPrice]: The price at which a trigger order is triggered at
|
|
3563
3566
|
:param str [params.timeInForce]: "GTC", "IOC", or "PO"
|
|
3567
|
+
:param float [params.stopLossPrice]: The price at which a stop loss order is triggered at
|
|
3568
|
+
:param float [params.takeProfitPrice]: The price at which a take profit order is triggered at
|
|
3564
3569
|
:param str [params.marginMode]: 'cross' or 'isolated' - marginMode for margin trading if not provided self.options['defaultMarginMode'] is used
|
|
3565
3570
|
:param int [params.iceberg]: Amount to display for the iceberg order, Null or 0 for normal orders, Set to -1 to hide the order completely
|
|
3566
3571
|
:param str [params.text]: User defined information
|