ccxt 4.2.1__tar.gz → 4.2.2__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.1/ccxt.egg-info → ccxt-4.2.2}/PKG-INFO +4 -4
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/__init__.py +1 -1
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bingx.py +2 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/__init__.py +1 -1
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/exchange.py +1 -1
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/binance.py +1 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bingx.py +72 -36
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitstamp.py +29 -12
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/lykke.py +10 -3
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/poloniexfutures.py +18 -11
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/base/exchange.py +1 -1
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/binance.py +1 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bingx.py +72 -36
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitstamp.py +29 -12
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/lykke.py +10 -3
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/poloniexfutures.py +18 -11
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/__init__.py +1 -1
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/binance.py +18 -17
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bybit.py +5 -2
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/test_async.py +4 -3
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/test_sync.py +4 -3
- {ccxt-4.2.1 → ccxt-4.2.2/ccxt.egg-info}/PKG-INFO +4 -4
- {ccxt-4.2.1 → ccxt-4.2.2}/package.json +1 -1
- {ccxt-4.2.1 → ccxt-4.2.2}/LICENSE.txt +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/MANIFEST.in +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/README.rst +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bigone.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitmart.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitteam.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/bybit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/kucoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/kucoinfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/ace.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/alpaca.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/ascendex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/alpaca.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/ascendex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bigone.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitget.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitmex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitteam.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bl3p.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/btcalpha.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/bybit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/cex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinone.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinsph.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/cryptocom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/delta.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/deribit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/gate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/htx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/kraken.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/kucoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/kucoinfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/ndax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/okx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/phemex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/woo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/base/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/base/errors.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/base/precise.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/base/types.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bequant.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bigone.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/binanceus.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bit2c.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitbank.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitbay.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitbns.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitfinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitflyer.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitforex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitget.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bithumb.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitmart.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitmex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitopro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitpanda.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitrue.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitso.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitteam.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bitvavo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bl3p.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/btcalpha.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/btcbox.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/btcturk.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/bybit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/cex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinbase.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coincheck.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinlist.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinmate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinone.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinsph.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/coinspot.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/cryptocom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/currencycom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/delta.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/deribit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/digifinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/exmo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/flowbtc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/fmfwio.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/gate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/gateio.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/gemini.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/hitbtc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/hollaex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/htx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/huobi.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/huobijp.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/idex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/independentreserve.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/indodax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/kraken.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/kucoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/kucoinfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/kuna.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/latoken.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/lbank.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/luno.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/mercado.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/mexc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/ndax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/novadax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/oceanex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/okcoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/okx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/p2b.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/paymium.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/phemex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/poloniex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bingx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitmart.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/blockchaincom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/cex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/coinbasepro.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/cryptocom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/gate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/htx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/idex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/krakenfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/luno.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/okx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/probit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/pro/woo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/probit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/__init__.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/timex.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/upbit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/wazirx.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/whitebit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/woo.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/yobit.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/zaif.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt/zonda.py +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt.egg-info/SOURCES.txt +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/setup.cfg +0 -0
- {ccxt-4.2.1 → ccxt-4.2.2}/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.2
|
|
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.2/dist/ccxt.browser.js
|
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.2.2/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.2/dist/ccxt.browser.js"></script>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Creates a global `ccxt` object:
|
|
@@ -10,11 +10,13 @@ class ImplicitAPI:
|
|
|
10
10
|
spot_v1_private_get_trade_query = spotV1PrivateGetTradeQuery = Entry('trade/query', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
|
|
11
11
|
spot_v1_private_get_trade_openorders = spotV1PrivateGetTradeOpenOrders = Entry('trade/openOrders', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
|
|
12
12
|
spot_v1_private_get_trade_historyorders = spotV1PrivateGetTradeHistoryOrders = Entry('trade/historyOrders', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
|
|
13
|
+
spot_v1_private_get_user_commissionrate = spotV1PrivateGetUserCommissionRate = Entry('user/commissionRate', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
|
|
13
14
|
spot_v1_private_get_account_balance = spotV1PrivateGetAccountBalance = Entry('account/balance', ['spot', 'v1', 'private'], 'GET', {'cost': 3})
|
|
14
15
|
spot_v1_private_post_trade_order = spotV1PrivatePostTradeOrder = Entry('trade/order', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
|
|
15
16
|
spot_v1_private_post_trade_cancel = spotV1PrivatePostTradeCancel = Entry('trade/cancel', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
|
|
16
17
|
spot_v1_private_post_trade_batchorders = spotV1PrivatePostTradeBatchOrders = Entry('trade/batchOrders', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
|
|
17
18
|
spot_v1_private_post_trade_cancelorders = spotV1PrivatePostTradeCancelOrders = Entry('trade/cancelOrders', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
|
|
19
|
+
spot_v1_private_post_trade_cancelopenorders = spotV1PrivatePostTradeCancelOpenOrders = Entry('trade/cancelOpenOrders', ['spot', 'v1', 'private'], 'POST', {'cost': 3})
|
|
18
20
|
spot_v3_private_get_get_asset_transfer = spotV3PrivateGetGetAssetTransfer = Entry('get/asset/transfer', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
|
|
19
21
|
spot_v3_private_get_asset_transfer = spotV3PrivateGetAssetTransfer = Entry('asset/transfer', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
|
|
20
22
|
spot_v3_private_get_capital_deposit_hisrec = spotV3PrivateGetCapitalDepositHisrec = Entry('capital/deposit/hisrec', ['spot', 'v3', 'private'], 'GET', {'cost': 3})
|
|
@@ -1614,6 +1614,7 @@ class binance(Exchange, ImplicitAPI):
|
|
|
1614
1614
|
'-4046': AuthenticationError, # {"code":-4046,"msg":"Agreement not confirmed."}
|
|
1615
1615
|
'-4047': BadRequest, # {"code":-4047,"msg":"Time interval must be within 0-90 days"}
|
|
1616
1616
|
'-4054': BadRequest, # {"code":-4054,"msg":"Cannot add position margin: position is 0."}
|
|
1617
|
+
'-4164': InvalidOrder, # {"code":-4164,"msg":"Order's notional must be no smaller than 5(unless you choose reduce only)."}
|
|
1617
1618
|
'-5001': BadRequest, # {"code":-5001,"msg":"Don't allow transfer to micro assets."}
|
|
1618
1619
|
'-5002': InsufficientFunds, # {"code":-5002,"msg":"You have insufficient balance."}
|
|
1619
1620
|
'-5003': InsufficientFunds, # {"code":-5003,"msg":"You don't have self asset."}
|
|
@@ -133,6 +133,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
133
133
|
'trade/query': 3,
|
|
134
134
|
'trade/openOrders': 3,
|
|
135
135
|
'trade/historyOrders': 3,
|
|
136
|
+
'user/commissionRate': 3,
|
|
136
137
|
'account/balance': 3,
|
|
137
138
|
},
|
|
138
139
|
'post': {
|
|
@@ -140,6 +141,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
140
141
|
'trade/cancel': 3,
|
|
141
142
|
'trade/batchOrders': 3,
|
|
142
143
|
'trade/cancelOrders': 3,
|
|
144
|
+
'trade/cancelOpenOrders': 3,
|
|
143
145
|
},
|
|
144
146
|
},
|
|
145
147
|
},
|
|
@@ -1272,22 +1274,29 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1272
1274
|
# }
|
|
1273
1275
|
#
|
|
1274
1276
|
marketId = self.safe_string(ticker, 'symbol')
|
|
1275
|
-
# change = self.safe_string(ticker, 'priceChange') # self is not ccxt's change because it does high-low instead of last-open
|
|
1276
1277
|
lastQty = self.safe_string(ticker, 'lastQty')
|
|
1277
1278
|
# in spot markets, lastQty is not present
|
|
1278
1279
|
# it's(bad, but) the only way we can check the tickers origin
|
|
1279
1280
|
type = 'spot' if (lastQty is None) else 'swap'
|
|
1280
|
-
|
|
1281
|
+
market = self.safe_market(marketId, market, None, type)
|
|
1282
|
+
symbol = market['symbol']
|
|
1281
1283
|
open = self.safe_string(ticker, 'openPrice')
|
|
1282
1284
|
high = self.safe_string(ticker, 'highPrice')
|
|
1283
1285
|
low = self.safe_string(ticker, 'lowPrice')
|
|
1284
1286
|
close = self.safe_string(ticker, 'lastPrice')
|
|
1285
1287
|
quoteVolume = self.safe_string(ticker, 'quoteVolume')
|
|
1286
1288
|
baseVolume = self.safe_string(ticker, 'volume')
|
|
1289
|
+
percentage = None
|
|
1290
|
+
change = None
|
|
1291
|
+
if market['swap']:
|
|
1292
|
+
# right now only swap uses the 24h change, spot will be added soon
|
|
1293
|
+
percentage = self.safe_string(ticker, 'priceChangePercent')
|
|
1294
|
+
change = self.safe_string(ticker, 'priceChange')
|
|
1287
1295
|
# percentage = self.safe_string(ticker, 'priceChangePercent')
|
|
1288
1296
|
# if percentage is not None:
|
|
1289
1297
|
# percentage = percentage.replace('%', '')
|
|
1290
1298
|
# } similarly to change, it's not ccxt's percentage because it does priceChange/open, and priceChange is high-low
|
|
1299
|
+
# change = self.safe_string(ticker, 'priceChange') # self is not ccxt's change because it does high-low instead of last-open
|
|
1291
1300
|
ts = self.safe_integer(ticker, 'closeTime')
|
|
1292
1301
|
datetime = self.iso8601(ts)
|
|
1293
1302
|
bid = self.safe_string(ticker, 'bidPrice')
|
|
@@ -1309,8 +1318,8 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1309
1318
|
'close': close,
|
|
1310
1319
|
'last': None,
|
|
1311
1320
|
'previousClose': None,
|
|
1312
|
-
'change':
|
|
1313
|
-
'percentage':
|
|
1321
|
+
'change': change,
|
|
1322
|
+
'percentage': percentage,
|
|
1314
1323
|
'average': None,
|
|
1315
1324
|
'baseVolume': baseVolume,
|
|
1316
1325
|
'quoteVolume': quoteVolume,
|
|
@@ -2087,6 +2096,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2087
2096
|
async def cancel_all_orders(self, symbol: Str = None, params={}):
|
|
2088
2097
|
"""
|
|
2089
2098
|
cancel all open orders
|
|
2099
|
+
:see: https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Cancel%20orders%20by%20symbol
|
|
2090
2100
|
:see: https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20All%20Orders
|
|
2091
2101
|
:param str [symbol]: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
|
2092
2102
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
@@ -2096,41 +2106,67 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2096
2106
|
raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
|
|
2097
2107
|
await self.load_markets()
|
|
2098
2108
|
market = self.market(symbol)
|
|
2099
|
-
if market['type'] != 'swap':
|
|
2100
|
-
raise BadRequest(self.id + ' cancelAllOrders is only supported for swap markets.')
|
|
2101
2109
|
request = {
|
|
2102
2110
|
'symbol': market['id'],
|
|
2103
2111
|
}
|
|
2104
|
-
response =
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2112
|
+
response = None
|
|
2113
|
+
if market['spot']:
|
|
2114
|
+
response = await self.spotV1PrivatePostTradeCancelOpenOrders(self.extend(request, params))
|
|
2115
|
+
#
|
|
2116
|
+
# {
|
|
2117
|
+
# "code": 0,
|
|
2118
|
+
# "msg": "",
|
|
2119
|
+
# "debugMsg": "",
|
|
2120
|
+
# "data": {
|
|
2121
|
+
# "orders": [{
|
|
2122
|
+
# "symbol": "ADA-USDT",
|
|
2123
|
+
# "orderId": 1740659971369992192,
|
|
2124
|
+
# "transactTime": 1703840651730,
|
|
2125
|
+
# "price": 5,
|
|
2126
|
+
# "stopPrice": 0,
|
|
2127
|
+
# "origQty": 10,
|
|
2128
|
+
# "executedQty": 0,
|
|
2129
|
+
# "cummulativeQuoteQty": 0,
|
|
2130
|
+
# "status": "CANCELED",
|
|
2131
|
+
# "type": "LIMIT",
|
|
2132
|
+
# "side": "SELL"
|
|
2133
|
+
# }]
|
|
2134
|
+
# }
|
|
2135
|
+
# }
|
|
2136
|
+
#
|
|
2137
|
+
elif market['swap']:
|
|
2138
|
+
response = await self.swapV2PrivateDeleteTradeAllOpenOrders(self.extend(request, params))
|
|
2139
|
+
#
|
|
2140
|
+
# {
|
|
2141
|
+
# "code": 0,
|
|
2142
|
+
# "msg": "",
|
|
2143
|
+
# "data": {
|
|
2144
|
+
# "success": [
|
|
2145
|
+
# {
|
|
2146
|
+
# "symbol": "LINK-USDT",
|
|
2147
|
+
# "orderId": 1597783835095859200,
|
|
2148
|
+
# "side": "BUY",
|
|
2149
|
+
# "positionSide": "LONG",
|
|
2150
|
+
# "type": "TRIGGER_LIMIT",
|
|
2151
|
+
# "origQty": "5.0",
|
|
2152
|
+
# "price": "9.0000",
|
|
2153
|
+
# "executedQty": "0.0",
|
|
2154
|
+
# "avgPrice": "0.0000",
|
|
2155
|
+
# "cumQuote": "0",
|
|
2156
|
+
# "stopPrice": "9.5000",
|
|
2157
|
+
# "profit": "",
|
|
2158
|
+
# "commission": "",
|
|
2159
|
+
# "status": "NEW",
|
|
2160
|
+
# "time": 1669776326000,
|
|
2161
|
+
# "updateTime": 1669776326000
|
|
2162
|
+
# }
|
|
2163
|
+
# ],
|
|
2164
|
+
# "failed": null
|
|
2165
|
+
# }
|
|
2166
|
+
# }
|
|
2167
|
+
#
|
|
2168
|
+
else:
|
|
2169
|
+
raise BadRequest(self.id + ' cancelAllOrders is only supported for spot and swap markets.')
|
|
2134
2170
|
return response
|
|
2135
2171
|
|
|
2136
2172
|
async def cancel_orders(self, ids: List[Int], symbol: Str = None, params={}):
|
|
@@ -1270,6 +1270,12 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
|
1270
1270
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
|
1271
1271
|
"""
|
|
1272
1272
|
create a trade order
|
|
1273
|
+
:see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenInstantBuyOrder
|
|
1274
|
+
:see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenMarketBuyOrder
|
|
1275
|
+
:see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenLimitBuyOrder
|
|
1276
|
+
:see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenInstantSellOrder
|
|
1277
|
+
:see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenMarketSellOrder
|
|
1278
|
+
:see: https://www.bitstamp.net/api/#tag/Orders/operation/OpenLimitSellOrder
|
|
1273
1279
|
:param str symbol: unified symbol of the market to create an order in
|
|
1274
1280
|
:param str type: 'market' or 'limit'
|
|
1275
1281
|
:param str side: 'buy' or 'sell'
|
|
@@ -1280,23 +1286,32 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
|
1280
1286
|
"""
|
|
1281
1287
|
await self.load_markets()
|
|
1282
1288
|
market = self.market(symbol)
|
|
1283
|
-
method = 'privatePost' + self.capitalize(side)
|
|
1284
1289
|
request = {
|
|
1285
1290
|
'pair': market['id'],
|
|
1286
1291
|
'amount': self.amount_to_precision(symbol, amount),
|
|
1287
1292
|
}
|
|
1293
|
+
clientOrderId = self.safe_string_2(params, 'client_order_id', 'clientOrderId')
|
|
1294
|
+
if clientOrderId is not None:
|
|
1295
|
+
request['client_order_id'] = clientOrderId
|
|
1296
|
+
params = self.omit(params, ['clientOrderId'])
|
|
1297
|
+
response = None
|
|
1298
|
+
capitalizedSide = self.capitalize(side)
|
|
1288
1299
|
if type == 'market':
|
|
1289
|
-
|
|
1300
|
+
if capitalizedSide == 'Buy':
|
|
1301
|
+
response = await self.privatePostBuyMarketPair(self.extend(request, params))
|
|
1302
|
+
else:
|
|
1303
|
+
response = await self.privatePostSellMarketPair(self.extend(request, params))
|
|
1290
1304
|
elif type == 'instant':
|
|
1291
|
-
|
|
1305
|
+
if capitalizedSide == 'Buy':
|
|
1306
|
+
response = await self.privatePostBuyInstantPair(self.extend(request, params))
|
|
1307
|
+
else:
|
|
1308
|
+
response = await self.privatePostSellInstantPair(self.extend(request, params))
|
|
1292
1309
|
else:
|
|
1293
1310
|
request['price'] = self.price_to_precision(symbol, price)
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
params = self.omit(params, ['client_order_id', 'clientOrderId'])
|
|
1299
|
-
response = await getattr(self, method)(self.extend(request, params))
|
|
1311
|
+
if capitalizedSide == 'Buy':
|
|
1312
|
+
response = await self.privatePostBuyPair(self.extend(request, params))
|
|
1313
|
+
else:
|
|
1314
|
+
response = await self.privatePostSellPair(self.extend(request, params))
|
|
1300
1315
|
order = self.parse_order(response, market)
|
|
1301
1316
|
order['type'] = type
|
|
1302
1317
|
return order
|
|
@@ -1325,12 +1340,14 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
|
1325
1340
|
await self.load_markets()
|
|
1326
1341
|
market = None
|
|
1327
1342
|
request = {}
|
|
1328
|
-
|
|
1343
|
+
response = None
|
|
1329
1344
|
if symbol is not None:
|
|
1330
1345
|
market = self.market(symbol)
|
|
1331
1346
|
request['pair'] = market['id']
|
|
1332
|
-
|
|
1333
|
-
|
|
1347
|
+
response = await self.privatePostCancelAllOrdersPair(self.extend(request, params))
|
|
1348
|
+
else:
|
|
1349
|
+
response = await self.privatePostCancelAllOrders(self.extend(request, params))
|
|
1350
|
+
return response
|
|
1334
1351
|
|
|
1335
1352
|
def parse_order_status(self, status):
|
|
1336
1353
|
statuses = {
|
|
@@ -432,7 +432,11 @@ class lykke(Exchange, ImplicitAPI):
|
|
|
432
432
|
}
|
|
433
433
|
# publicGetTickers or publicGetPrices
|
|
434
434
|
method = self.safe_string(self.options, 'fetchTickerMethod', 'publicGetTickers')
|
|
435
|
-
response =
|
|
435
|
+
response = None
|
|
436
|
+
if method == 'publicGetPrices':
|
|
437
|
+
response = await self.publicGetPrices(self.extend(request, params))
|
|
438
|
+
else:
|
|
439
|
+
response = await self.publicGetTickers(self.extend(request, params))
|
|
436
440
|
ticker = self.safe_value(response, 'payload', [])
|
|
437
441
|
#
|
|
438
442
|
# publicGetTickers
|
|
@@ -771,8 +775,11 @@ class lykke(Exchange, ImplicitAPI):
|
|
|
771
775
|
}
|
|
772
776
|
if type == 'limit':
|
|
773
777
|
query['price'] = float(self.price_to_precision(market['symbol'], price))
|
|
774
|
-
|
|
775
|
-
|
|
778
|
+
result = None
|
|
779
|
+
if self.capitalize(type) == 'Market':
|
|
780
|
+
result = await self.privatePostOrdersMarket(self.extend(query, params))
|
|
781
|
+
else:
|
|
782
|
+
result = await self.privatePostOrdersLimit(self.extend(query, params))
|
|
776
783
|
#
|
|
777
784
|
# market
|
|
778
785
|
#
|
|
@@ -1139,9 +1139,13 @@ class poloniexfutures(Exchange, ImplicitAPI):
|
|
|
1139
1139
|
request = {}
|
|
1140
1140
|
if symbol is not None:
|
|
1141
1141
|
request['symbol'] = self.market_id(symbol)
|
|
1142
|
-
stop = self.
|
|
1143
|
-
|
|
1144
|
-
response =
|
|
1142
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
1143
|
+
params = self.omit(params, ['stop', 'trigger'])
|
|
1144
|
+
response = None
|
|
1145
|
+
if stop:
|
|
1146
|
+
response = await self.privateDeleteStopOrders(self.extend(request, params))
|
|
1147
|
+
else:
|
|
1148
|
+
response = await self.privateDeleteOrders(self.extend(request, params))
|
|
1145
1149
|
#
|
|
1146
1150
|
# {
|
|
1147
1151
|
# "code": "200000",
|
|
@@ -1200,9 +1204,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
|
|
|
1200
1204
|
:returns: An `array of order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1201
1205
|
"""
|
|
1202
1206
|
await self.load_markets()
|
|
1203
|
-
stop = self.
|
|
1207
|
+
stop = self.safe_value_2(params, 'stop', 'trigger')
|
|
1204
1208
|
until = self.safe_integer_2(params, 'until', 'till')
|
|
1205
|
-
params = self.omit(params, ['stop', 'until', 'till'])
|
|
1209
|
+
params = self.omit(params, ['triger', 'stop', 'until', 'till'])
|
|
1206
1210
|
if status == 'closed':
|
|
1207
1211
|
status = 'done'
|
|
1208
1212
|
request = {}
|
|
@@ -1218,8 +1222,11 @@ class poloniexfutures(Exchange, ImplicitAPI):
|
|
|
1218
1222
|
request['startAt'] = since
|
|
1219
1223
|
if until is not None:
|
|
1220
1224
|
request['endAt'] = until
|
|
1221
|
-
|
|
1222
|
-
|
|
1225
|
+
response = None
|
|
1226
|
+
if stop:
|
|
1227
|
+
response = await self.privateGetStopOrders(self.extend(request, params))
|
|
1228
|
+
else:
|
|
1229
|
+
response = await self.privateGetOrders(self.extend(request, params))
|
|
1223
1230
|
#
|
|
1224
1231
|
# {
|
|
1225
1232
|
# "code": "200000",
|
|
@@ -1321,17 +1328,17 @@ class poloniexfutures(Exchange, ImplicitAPI):
|
|
|
1321
1328
|
"""
|
|
1322
1329
|
await self.load_markets()
|
|
1323
1330
|
request = {}
|
|
1324
|
-
|
|
1331
|
+
response = None
|
|
1325
1332
|
if id is None:
|
|
1326
1333
|
clientOrderId = self.safe_string_2(params, 'clientOid', 'clientOrderId')
|
|
1327
1334
|
if clientOrderId is None:
|
|
1328
1335
|
raise InvalidOrder(self.id + ' fetchOrder() requires parameter id or params.clientOid')
|
|
1329
1336
|
request['clientOid'] = clientOrderId
|
|
1330
|
-
method = 'privateGetOrdersByClientOid'
|
|
1331
1337
|
params = self.omit(params, ['clientOid', 'clientOrderId'])
|
|
1338
|
+
response = await self.privateGetClientOrderIdClientOid(self.extend(request, params))
|
|
1332
1339
|
else:
|
|
1333
1340
|
request['order-id'] = id
|
|
1334
|
-
|
|
1341
|
+
response = await self.privateGetOrdersOrderId(self.extend(request, params))
|
|
1335
1342
|
#
|
|
1336
1343
|
# {
|
|
1337
1344
|
# "code": "200000",
|
|
@@ -1638,7 +1645,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
|
|
|
1638
1645
|
version = self.safe_string(params, 'version', defaultVersion)
|
|
1639
1646
|
tail = '/api/' + version + '/' + self.implode_params(path, params)
|
|
1640
1647
|
url += tail
|
|
1641
|
-
query = self.omit(params, path)
|
|
1648
|
+
query = self.omit(params, self.extract_params(path))
|
|
1642
1649
|
queryLength = query
|
|
1643
1650
|
if api == 'public':
|
|
1644
1651
|
if queryLength:
|
|
@@ -1613,6 +1613,7 @@ class binance(Exchange, ImplicitAPI):
|
|
|
1613
1613
|
'-4046': AuthenticationError, # {"code":-4046,"msg":"Agreement not confirmed."}
|
|
1614
1614
|
'-4047': BadRequest, # {"code":-4047,"msg":"Time interval must be within 0-90 days"}
|
|
1615
1615
|
'-4054': BadRequest, # {"code":-4054,"msg":"Cannot add position margin: position is 0."}
|
|
1616
|
+
'-4164': InvalidOrder, # {"code":-4164,"msg":"Order's notional must be no smaller than 5(unless you choose reduce only)."}
|
|
1616
1617
|
'-5001': BadRequest, # {"code":-5001,"msg":"Don't allow transfer to micro assets."}
|
|
1617
1618
|
'-5002': InsufficientFunds, # {"code":-5002,"msg":"You have insufficient balance."}
|
|
1618
1619
|
'-5003': InsufficientFunds, # {"code":-5003,"msg":"You don't have self asset."}
|
|
@@ -132,6 +132,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
132
132
|
'trade/query': 3,
|
|
133
133
|
'trade/openOrders': 3,
|
|
134
134
|
'trade/historyOrders': 3,
|
|
135
|
+
'user/commissionRate': 3,
|
|
135
136
|
'account/balance': 3,
|
|
136
137
|
},
|
|
137
138
|
'post': {
|
|
@@ -139,6 +140,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
139
140
|
'trade/cancel': 3,
|
|
140
141
|
'trade/batchOrders': 3,
|
|
141
142
|
'trade/cancelOrders': 3,
|
|
143
|
+
'trade/cancelOpenOrders': 3,
|
|
142
144
|
},
|
|
143
145
|
},
|
|
144
146
|
},
|
|
@@ -1271,22 +1273,29 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1271
1273
|
# }
|
|
1272
1274
|
#
|
|
1273
1275
|
marketId = self.safe_string(ticker, 'symbol')
|
|
1274
|
-
# change = self.safe_string(ticker, 'priceChange') # self is not ccxt's change because it does high-low instead of last-open
|
|
1275
1276
|
lastQty = self.safe_string(ticker, 'lastQty')
|
|
1276
1277
|
# in spot markets, lastQty is not present
|
|
1277
1278
|
# it's(bad, but) the only way we can check the tickers origin
|
|
1278
1279
|
type = 'spot' if (lastQty is None) else 'swap'
|
|
1279
|
-
|
|
1280
|
+
market = self.safe_market(marketId, market, None, type)
|
|
1281
|
+
symbol = market['symbol']
|
|
1280
1282
|
open = self.safe_string(ticker, 'openPrice')
|
|
1281
1283
|
high = self.safe_string(ticker, 'highPrice')
|
|
1282
1284
|
low = self.safe_string(ticker, 'lowPrice')
|
|
1283
1285
|
close = self.safe_string(ticker, 'lastPrice')
|
|
1284
1286
|
quoteVolume = self.safe_string(ticker, 'quoteVolume')
|
|
1285
1287
|
baseVolume = self.safe_string(ticker, 'volume')
|
|
1288
|
+
percentage = None
|
|
1289
|
+
change = None
|
|
1290
|
+
if market['swap']:
|
|
1291
|
+
# right now only swap uses the 24h change, spot will be added soon
|
|
1292
|
+
percentage = self.safe_string(ticker, 'priceChangePercent')
|
|
1293
|
+
change = self.safe_string(ticker, 'priceChange')
|
|
1286
1294
|
# percentage = self.safe_string(ticker, 'priceChangePercent')
|
|
1287
1295
|
# if percentage is not None:
|
|
1288
1296
|
# percentage = percentage.replace('%', '')
|
|
1289
1297
|
# } similarly to change, it's not ccxt's percentage because it does priceChange/open, and priceChange is high-low
|
|
1298
|
+
# change = self.safe_string(ticker, 'priceChange') # self is not ccxt's change because it does high-low instead of last-open
|
|
1290
1299
|
ts = self.safe_integer(ticker, 'closeTime')
|
|
1291
1300
|
datetime = self.iso8601(ts)
|
|
1292
1301
|
bid = self.safe_string(ticker, 'bidPrice')
|
|
@@ -1308,8 +1317,8 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1308
1317
|
'close': close,
|
|
1309
1318
|
'last': None,
|
|
1310
1319
|
'previousClose': None,
|
|
1311
|
-
'change':
|
|
1312
|
-
'percentage':
|
|
1320
|
+
'change': change,
|
|
1321
|
+
'percentage': percentage,
|
|
1313
1322
|
'average': None,
|
|
1314
1323
|
'baseVolume': baseVolume,
|
|
1315
1324
|
'quoteVolume': quoteVolume,
|
|
@@ -2086,6 +2095,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2086
2095
|
def cancel_all_orders(self, symbol: Str = None, params={}):
|
|
2087
2096
|
"""
|
|
2088
2097
|
cancel all open orders
|
|
2098
|
+
:see: https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Cancel%20orders%20by%20symbol
|
|
2089
2099
|
:see: https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20All%20Orders
|
|
2090
2100
|
:param str [symbol]: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
|
2091
2101
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
@@ -2095,41 +2105,67 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2095
2105
|
raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
|
|
2096
2106
|
self.load_markets()
|
|
2097
2107
|
market = self.market(symbol)
|
|
2098
|
-
if market['type'] != 'swap':
|
|
2099
|
-
raise BadRequest(self.id + ' cancelAllOrders is only supported for swap markets.')
|
|
2100
2108
|
request = {
|
|
2101
2109
|
'symbol': market['id'],
|
|
2102
2110
|
}
|
|
2103
|
-
response =
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2111
|
+
response = None
|
|
2112
|
+
if market['spot']:
|
|
2113
|
+
response = self.spotV1PrivatePostTradeCancelOpenOrders(self.extend(request, params))
|
|
2114
|
+
#
|
|
2115
|
+
# {
|
|
2116
|
+
# "code": 0,
|
|
2117
|
+
# "msg": "",
|
|
2118
|
+
# "debugMsg": "",
|
|
2119
|
+
# "data": {
|
|
2120
|
+
# "orders": [{
|
|
2121
|
+
# "symbol": "ADA-USDT",
|
|
2122
|
+
# "orderId": 1740659971369992192,
|
|
2123
|
+
# "transactTime": 1703840651730,
|
|
2124
|
+
# "price": 5,
|
|
2125
|
+
# "stopPrice": 0,
|
|
2126
|
+
# "origQty": 10,
|
|
2127
|
+
# "executedQty": 0,
|
|
2128
|
+
# "cummulativeQuoteQty": 0,
|
|
2129
|
+
# "status": "CANCELED",
|
|
2130
|
+
# "type": "LIMIT",
|
|
2131
|
+
# "side": "SELL"
|
|
2132
|
+
# }]
|
|
2133
|
+
# }
|
|
2134
|
+
# }
|
|
2135
|
+
#
|
|
2136
|
+
elif market['swap']:
|
|
2137
|
+
response = self.swapV2PrivateDeleteTradeAllOpenOrders(self.extend(request, params))
|
|
2138
|
+
#
|
|
2139
|
+
# {
|
|
2140
|
+
# "code": 0,
|
|
2141
|
+
# "msg": "",
|
|
2142
|
+
# "data": {
|
|
2143
|
+
# "success": [
|
|
2144
|
+
# {
|
|
2145
|
+
# "symbol": "LINK-USDT",
|
|
2146
|
+
# "orderId": 1597783835095859200,
|
|
2147
|
+
# "side": "BUY",
|
|
2148
|
+
# "positionSide": "LONG",
|
|
2149
|
+
# "type": "TRIGGER_LIMIT",
|
|
2150
|
+
# "origQty": "5.0",
|
|
2151
|
+
# "price": "9.0000",
|
|
2152
|
+
# "executedQty": "0.0",
|
|
2153
|
+
# "avgPrice": "0.0000",
|
|
2154
|
+
# "cumQuote": "0",
|
|
2155
|
+
# "stopPrice": "9.5000",
|
|
2156
|
+
# "profit": "",
|
|
2157
|
+
# "commission": "",
|
|
2158
|
+
# "status": "NEW",
|
|
2159
|
+
# "time": 1669776326000,
|
|
2160
|
+
# "updateTime": 1669776326000
|
|
2161
|
+
# }
|
|
2162
|
+
# ],
|
|
2163
|
+
# "failed": null
|
|
2164
|
+
# }
|
|
2165
|
+
# }
|
|
2166
|
+
#
|
|
2167
|
+
else:
|
|
2168
|
+
raise BadRequest(self.id + ' cancelAllOrders is only supported for spot and swap markets.')
|
|
2133
2169
|
return response
|
|
2134
2170
|
|
|
2135
2171
|
def cancel_orders(self, ids: List[Int], symbol: Str = None, params={}):
|