ccxt 4.2.4__tar.gz → 4.2.6__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.4/ccxt.egg-info → ccxt-4.2.6}/PKG-INFO +5 -5
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/__init__.py +2 -1
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bybit.py +2 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/alpaca.py +5 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/__init__.py +2 -1
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/alpaca.py +5 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/exchange.py +2 -2
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/aiohttp_client.py +9 -2
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/fast_client.py +5 -2
- ccxt-4.2.6/ccxt/async_support/base/ws/future.py +54 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/binance.py +1 -1
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bingx.py +23 -20
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitmex.py +51 -19
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bybit.py +2 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/delta.py +2 -2
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/htx.py +174 -10
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/phemex.py +1 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/woo.py +51 -11
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/base/errors.py +7 -1
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/base/exchange.py +1 -1
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/binance.py +1 -1
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bingx.py +23 -20
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitmex.py +51 -19
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bybit.py +2 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/delta.py +2 -2
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/htx.py +174 -10
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/phemex.py +1 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/__init__.py +1 -1
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/woo.py +51 -11
- {ccxt-4.2.4 → ccxt-4.2.6/ccxt.egg-info}/PKG-INFO +5 -5
- {ccxt-4.2.4 → ccxt-4.2.6}/package.json +1 -1
- ccxt-4.2.4/ccxt/async_support/base/ws/future.py +0 -29
- {ccxt-4.2.4 → ccxt-4.2.6}/LICENSE.txt +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/MANIFEST.in +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/README.rst +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bigone.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bingx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitmart.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitteam.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/kucoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/kucoinfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/ace.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/ascendex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/ascendex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bigone.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitget.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitstamp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitteam.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/bl3p.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/btcalpha.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/cex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinone.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinsph.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/cryptocom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/deribit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/gate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/kraken.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/kucoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/kucoinfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/lykke.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/ndax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/okx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/base/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/base/precise.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/base/types.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bequant.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bigone.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/binanceus.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bit2c.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitbank.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitbay.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitbns.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitfinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitflyer.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitforex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitget.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bithumb.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitmart.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitopro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitpanda.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitrue.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitso.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitstamp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitteam.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bitvavo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/bl3p.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/btcalpha.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/btcbox.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/btcturk.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/cex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinbase.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coincheck.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinlist.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinmate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinone.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinsph.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/coinspot.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/cryptocom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/currencycom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/deribit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/digifinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/exmo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/flowbtc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/fmfwio.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/gate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/gateio.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/gemini.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/hitbtc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/hollaex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/huobi.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/huobijp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/idex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/independentreserve.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/indodax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/kraken.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/kucoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/kucoinfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/kuna.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/latoken.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/lbank.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/luno.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/lykke.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/mercado.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/mexc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/ndax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/novadax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/oceanex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/okcoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/okx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/p2b.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/paymium.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/poloniex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/poloniexfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/binance.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bingx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitmart.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/blockchaincom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/bybit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/cex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/coinbasepro.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/cryptocom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/gate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/htx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/idex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/krakenfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/luno.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/okx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/probit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/pro/woo.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/probit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/__init__.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/test_async.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/test/test_sync.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/timex.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/upbit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/wazirx.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/whitebit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/yobit.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/zaif.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt/zonda.py +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt.egg-info/SOURCES.txt +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/setup.cfg +0 -0
- {ccxt-4.2.4 → ccxt-4.2.6}/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.6
|
|
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
|
|
@@ -34,7 +34,7 @@ Description: # CCXT – CryptoCurrency eXchange Trading Library
|
|
|
34
34
|
|
|
35
35
|
## Sponsored Promotion
|
|
36
36
|
|
|
37
|
-
[](https://x.woo.org/en/ccxt-competition-1)
|
|
38
38
|
|
|
39
39
|
## See Also
|
|
40
40
|
|
|
@@ -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.6/dist/ccxt.browser.js
|
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.2.6/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.6/dist/ccxt.browser.js"></script>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Creates a global `ccxt` object:
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
# ----------------------------------------------------------------------------
|
|
24
24
|
|
|
25
|
-
__version__ = '4.2.
|
|
25
|
+
__version__ = '4.2.6'
|
|
26
26
|
|
|
27
27
|
# ----------------------------------------------------------------------------
|
|
28
28
|
|
|
@@ -76,6 +76,7 @@ from ccxt.base.errors import ExchangeNotAvailable # noqa: F4
|
|
|
76
76
|
from ccxt.base.errors import OnMaintenance # noqa: F401
|
|
77
77
|
from ccxt.base.errors import InvalidNonce # noqa: F401
|
|
78
78
|
from ccxt.base.errors import RequestTimeout # noqa: F401
|
|
79
|
+
from ccxt.base.errors import ExchangeClosedByUser # noqa: F401
|
|
79
80
|
from ccxt.base.errors import error_hierarchy # noqa: F401
|
|
80
81
|
|
|
81
82
|
from ccxt.ace import ace # noqa: F401
|
|
@@ -114,6 +114,7 @@ class ImplicitAPI:
|
|
|
114
114
|
private_get_v5_position_list = privateGetV5PositionList = Entry('v5/position/list', 'private', 'GET', {'cost': 5})
|
|
115
115
|
private_get_v5_execution_list = privateGetV5ExecutionList = Entry('v5/execution/list', 'private', 'GET', {'cost': 5})
|
|
116
116
|
private_get_v5_position_closed_pnl = privateGetV5PositionClosedPnl = Entry('v5/position/closed-pnl', 'private', 'GET', {'cost': 5})
|
|
117
|
+
private_get_v5_position_move_history = privateGetV5PositionMoveHistory = Entry('v5/position/move-history', 'private', 'GET', {'cost': 5})
|
|
117
118
|
private_get_v5_pre_upgrade_order_history = privateGetV5PreUpgradeOrderHistory = Entry('v5/pre-upgrade/order/history', 'private', 'GET', {'cost': 5})
|
|
118
119
|
private_get_v5_pre_upgrade_execution_list = privateGetV5PreUpgradeExecutionList = Entry('v5/pre-upgrade/execution/list', 'private', 'GET', {'cost': 5})
|
|
119
120
|
private_get_v5_pre_upgrade_position_closed_pnl = privateGetV5PreUpgradePositionClosedPnl = Entry('v5/pre-upgrade/position/closed-pnl', 'private', 'GET', {'cost': 5})
|
|
@@ -257,6 +258,7 @@ class ImplicitAPI:
|
|
|
257
258
|
private_post_v5_position_trading_stop = privatePostV5PositionTradingStop = Entry('v5/position/trading-stop', 'private', 'POST', {'cost': 5})
|
|
258
259
|
private_post_v5_position_set_auto_add_margin = privatePostV5PositionSetAutoAddMargin = Entry('v5/position/set-auto-add-margin', 'private', 'POST', {'cost': 5})
|
|
259
260
|
private_post_v5_position_add_margin = privatePostV5PositionAddMargin = Entry('v5/position/add-margin', 'private', 'POST', {'cost': 5})
|
|
261
|
+
private_post_v5_position_move_positions = privatePostV5PositionMovePositions = Entry('v5/position/move-positions', 'private', 'POST', {'cost': 5})
|
|
260
262
|
private_post_v5_position_confirm_pending_mmr = privatePostV5PositionConfirmPendingMmr = Entry('v5/position/confirm-pending-mmr', 'private', 'POST', {'cost': 5})
|
|
261
263
|
private_post_v5_account_upgrade_to_uta = privatePostV5AccountUpgradeToUta = Entry('v5/account/upgrade-to-uta', 'private', 'POST', {'cost': 5})
|
|
262
264
|
private_post_v5_account_quick_repayment = privatePostV5AccountQuickRepayment = Entry('v5/account/quick-repayment', 'private', 'POST', {'cost': 5})
|
|
@@ -355,10 +355,15 @@ class alpaca(Exchange, ImplicitAPI):
|
|
|
355
355
|
#
|
|
356
356
|
marketId = self.safe_string(asset, 'symbol')
|
|
357
357
|
parts = marketId.split('/')
|
|
358
|
+
assetClass = self.safe_string(asset, 'class')
|
|
358
359
|
baseId = self.safe_string(parts, 0)
|
|
359
360
|
quoteId = self.safe_string(parts, 1)
|
|
360
361
|
base = self.safe_currency_code(baseId)
|
|
361
362
|
quote = self.safe_currency_code(quoteId)
|
|
363
|
+
# Us equity markets do not include quote in symbol.
|
|
364
|
+
# We can safely coerce us_equity quote to USD
|
|
365
|
+
if quote is None and assetClass == 'us_equity':
|
|
366
|
+
quote = 'USD'
|
|
362
367
|
symbol = base + '/' + quote
|
|
363
368
|
status = self.safe_string(asset, 'status')
|
|
364
369
|
active = (status == 'active')
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# -----------------------------------------------------------------------------
|
|
6
6
|
|
|
7
|
-
__version__ = '4.2.
|
|
7
|
+
__version__ = '4.2.6'
|
|
8
8
|
|
|
9
9
|
# -----------------------------------------------------------------------------
|
|
10
10
|
|
|
@@ -55,6 +55,7 @@ from ccxt.base.errors import ExchangeNotAvailable # noqa: F4
|
|
|
55
55
|
from ccxt.base.errors import OnMaintenance # noqa: F401
|
|
56
56
|
from ccxt.base.errors import InvalidNonce # noqa: F401
|
|
57
57
|
from ccxt.base.errors import RequestTimeout # noqa: F401
|
|
58
|
+
from ccxt.base.errors import ExchangeClosedByUser # noqa: F401
|
|
58
59
|
from ccxt.base.errors import error_hierarchy # noqa: F401
|
|
59
60
|
|
|
60
61
|
|
|
@@ -355,10 +355,15 @@ class alpaca(Exchange, ImplicitAPI):
|
|
|
355
355
|
#
|
|
356
356
|
marketId = self.safe_string(asset, 'symbol')
|
|
357
357
|
parts = marketId.split('/')
|
|
358
|
+
assetClass = self.safe_string(asset, 'class')
|
|
358
359
|
baseId = self.safe_string(parts, 0)
|
|
359
360
|
quoteId = self.safe_string(parts, 1)
|
|
360
361
|
base = self.safe_currency_code(baseId)
|
|
361
362
|
quote = self.safe_currency_code(quoteId)
|
|
363
|
+
# Us equity markets do not include quote in symbol.
|
|
364
|
+
# We can safely coerce us_equity quote to USD
|
|
365
|
+
if quote is None and assetClass == 'us_equity':
|
|
366
|
+
quote = 'USD'
|
|
362
367
|
symbol = base + '/' + quote
|
|
363
368
|
status = self.safe_string(asset, 'status')
|
|
364
369
|
active = (status == 'active')
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# -----------------------------------------------------------------------------
|
|
4
4
|
|
|
5
|
-
__version__ = '4.2.
|
|
5
|
+
__version__ = '4.2.6'
|
|
6
6
|
|
|
7
7
|
# -----------------------------------------------------------------------------
|
|
8
8
|
|
|
@@ -488,7 +488,7 @@ class Exchange(BaseExchange):
|
|
|
488
488
|
|
|
489
489
|
def on_close(self, client, error):
|
|
490
490
|
if client.error:
|
|
491
|
-
# connection closed due to an error
|
|
491
|
+
# connection closed by the user or due to an error
|
|
492
492
|
pass
|
|
493
493
|
else:
|
|
494
494
|
# server disconnected a working connection
|
|
@@ -6,7 +6,7 @@ from aiohttp import WSMsgType
|
|
|
6
6
|
from .functions import milliseconds, iso8601, is_json_encoded_object
|
|
7
7
|
from ccxt.async_support.base.ws.client import Client
|
|
8
8
|
from ccxt.async_support.base.ws.functions import gunzip, inflate
|
|
9
|
-
from ccxt import NetworkError, RequestTimeout
|
|
9
|
+
from ccxt import NetworkError, RequestTimeout, ExchangeClosedByUser
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class AiohttpClient(Client):
|
|
@@ -92,7 +92,14 @@ class AiohttpClient(Client):
|
|
|
92
92
|
if self.ping_looper:
|
|
93
93
|
self.ping_looper.cancel()
|
|
94
94
|
if self.receive_looper:
|
|
95
|
-
self.receive_looper.cancel()
|
|
95
|
+
self.receive_looper.cancel() # cancel all pending futures stored in self.futures
|
|
96
|
+
for key in self.futures:
|
|
97
|
+
future = self.futures[key]
|
|
98
|
+
if not future.done():
|
|
99
|
+
if future.is_race_future:
|
|
100
|
+
future.cancel() # this is an "internal" future so we want to cancel it silently
|
|
101
|
+
else:
|
|
102
|
+
future.reject(ExchangeClosedByUser('Connection closed by the user'))
|
|
96
103
|
|
|
97
104
|
async def ping_loop(self):
|
|
98
105
|
if self.verbose:
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import asyncio
|
|
4
4
|
import socket
|
|
5
5
|
import collections
|
|
6
|
-
from ccxt import NetworkError
|
|
7
6
|
from ccxt.async_support.base.ws.aiohttp_client import AiohttpClient
|
|
8
7
|
|
|
9
8
|
|
|
@@ -36,7 +35,10 @@ class FastClient(AiohttpClient):
|
|
|
36
35
|
self.stack.append(message)
|
|
37
36
|
|
|
38
37
|
def feed_eof():
|
|
39
|
-
self.
|
|
38
|
+
if self._close_code == 1000: # OK close
|
|
39
|
+
self.on_close(1000)
|
|
40
|
+
else:
|
|
41
|
+
self.on_error(1006) # ABNORMAL_CLOSURE
|
|
40
42
|
|
|
41
43
|
def wrapper(func):
|
|
42
44
|
def parse_frame(buf):
|
|
@@ -56,6 +58,7 @@ class FastClient(AiohttpClient):
|
|
|
56
58
|
try:
|
|
57
59
|
await _self._writer.close(code, message)
|
|
58
60
|
_self._response.close()
|
|
61
|
+
self._close_code = 1000
|
|
59
62
|
except asyncio.CancelledError:
|
|
60
63
|
_self._response.close()
|
|
61
64
|
_self._close_code = 1006
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import asyncio
|
|
2
|
+
from ccxt import ExchangeClosedByUser
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Future(asyncio.Future):
|
|
6
|
+
|
|
7
|
+
is_race_future = False
|
|
8
|
+
|
|
9
|
+
def resolve(self, result=None):
|
|
10
|
+
if not self.done():
|
|
11
|
+
self.set_result(result)
|
|
12
|
+
|
|
13
|
+
def reject(self, error=None):
|
|
14
|
+
if not self.done():
|
|
15
|
+
self.set_exception(error)
|
|
16
|
+
|
|
17
|
+
@classmethod
|
|
18
|
+
def race(cls, futures):
|
|
19
|
+
future = Future()
|
|
20
|
+
for f in futures:
|
|
21
|
+
f.is_race_future = True
|
|
22
|
+
coro = asyncio.wait(futures, return_when=asyncio.FIRST_COMPLETED)
|
|
23
|
+
task = asyncio.create_task(coro)
|
|
24
|
+
|
|
25
|
+
def callback(done):
|
|
26
|
+
exception = done.exception()
|
|
27
|
+
if exception is None:
|
|
28
|
+
complete, _ = done.result()
|
|
29
|
+
# check for exceptions
|
|
30
|
+
exceptions = []
|
|
31
|
+
for f in complete:
|
|
32
|
+
if f._state == 'CANCELLED':
|
|
33
|
+
continue # was canceled internally
|
|
34
|
+
err = f.exception()
|
|
35
|
+
if err:
|
|
36
|
+
exceptions.append(err)
|
|
37
|
+
# if any exceptions return with first exception
|
|
38
|
+
if len (exceptions) > 0:
|
|
39
|
+
future.set_exception(exceptions[0])
|
|
40
|
+
return
|
|
41
|
+
# else return first result
|
|
42
|
+
else:
|
|
43
|
+
futures_list = list(complete)
|
|
44
|
+
are_all_canceled = all(f._state == 'CANCELLED' for f in futures_list)
|
|
45
|
+
if are_all_canceled and future._state == 'PENDING':
|
|
46
|
+
future.set_exception(ExchangeClosedByUser('Connection closed by the user'))
|
|
47
|
+
return
|
|
48
|
+
first = futures_list[0]
|
|
49
|
+
first_result = first.result()
|
|
50
|
+
future.set_result(first_result)
|
|
51
|
+
else:
|
|
52
|
+
future.set_exception(exception)
|
|
53
|
+
task.add_done_callback(callback)
|
|
54
|
+
return future
|
|
@@ -4830,7 +4830,7 @@ class binance(Exchange, ImplicitAPI):
|
|
|
4830
4830
|
else:
|
|
4831
4831
|
return response
|
|
4832
4832
|
|
|
4833
|
-
async def cancel_orders(self, ids: List[
|
|
4833
|
+
async def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
|
|
4834
4834
|
"""
|
|
4835
4835
|
cancel multiple orders
|
|
4836
4836
|
:see: https://binance-docs.github.io/apidocs/futures/en/#cancel-multiple-orders-trade
|
|
@@ -7,7 +7,6 @@ from ccxt.async_support.base.exchange import Exchange
|
|
|
7
7
|
from ccxt.abstract.bingx import ImplicitAPI
|
|
8
8
|
import asyncio
|
|
9
9
|
import hashlib
|
|
10
|
-
import json
|
|
11
10
|
import numbers
|
|
12
11
|
from ccxt.base.types import Balances, Currency, Int, Market, Order, OrderBook, OrderRequest, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade, Transaction
|
|
13
12
|
from typing import List
|
|
@@ -1291,17 +1290,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1291
1290
|
close = self.safe_string(ticker, 'lastPrice')
|
|
1292
1291
|
quoteVolume = self.safe_string(ticker, 'quoteVolume')
|
|
1293
1292
|
baseVolume = self.safe_string(ticker, 'volume')
|
|
1294
|
-
percentage =
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
percentage = self.safe_string(ticker, 'priceChangePercent')
|
|
1299
|
-
change = self.safe_string(ticker, 'priceChange')
|
|
1300
|
-
# percentage = self.safe_string(ticker, 'priceChangePercent')
|
|
1301
|
-
# if percentage is not None:
|
|
1302
|
-
# percentage = percentage.replace('%', '')
|
|
1303
|
-
# } similarly to change, it's not ccxt's percentage because it does priceChange/open, and priceChange is high-low
|
|
1304
|
-
# change = self.safe_string(ticker, 'priceChange') # self is not ccxt's change because it does high-low instead of last-open
|
|
1293
|
+
percentage = self.safe_string(ticker, 'priceChangePercent')
|
|
1294
|
+
if percentage is not None:
|
|
1295
|
+
percentage = percentage.replace('%', '')
|
|
1296
|
+
change = self.safe_string(ticker, 'priceChange')
|
|
1305
1297
|
ts = self.safe_integer(ticker, 'closeTime')
|
|
1306
1298
|
datetime = self.iso8601(ts)
|
|
1307
1299
|
bid = self.safe_string(ticker, 'bidPrice')
|
|
@@ -1609,6 +1601,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1609
1601
|
}
|
|
1610
1602
|
isMarketOrder = type == 'MARKET'
|
|
1611
1603
|
isSpot = marketType == 'spot'
|
|
1604
|
+
exchangeClientOrderId = 'newClientOrderId' if isSpot else 'clientOrderID'
|
|
1605
|
+
clientOrderId = self.safe_string_2(params, exchangeClientOrderId, 'clientOrderId')
|
|
1606
|
+
if clientOrderId is not None:
|
|
1607
|
+
request[exchangeClientOrderId] = clientOrderId
|
|
1612
1608
|
timeInForce = self.safe_string_upper(params, 'timeInForce')
|
|
1613
1609
|
if timeInForce == 'IOC':
|
|
1614
1610
|
request['timeInForce'] = 'IOC'
|
|
@@ -1721,7 +1717,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1721
1717
|
positionSide = 'LONG' if (side == 'buy') else 'SHORT'
|
|
1722
1718
|
request['positionSide'] = positionSide
|
|
1723
1719
|
request['quantity'] = self.parse_to_numeric(self.amount_to_precision(symbol, amount))
|
|
1724
|
-
params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent', 'takeProfit', 'stopLoss'])
|
|
1720
|
+
params = self.omit(params, ['reduceOnly', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'trailingAmount', 'trailingPercent', 'takeProfit', 'stopLoss', 'clientOrderId'])
|
|
1725
1721
|
return self.extend(request, params)
|
|
1726
1722
|
|
|
1727
1723
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
|
@@ -1735,6 +1731,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1735
1731
|
:param float amount: how much you want to trade in units of the base currency
|
|
1736
1732
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1737
1733
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1734
|
+
:param str [params.clientOrderId]: a unique id for the order
|
|
1738
1735
|
:param bool [params.postOnly]: True to place a post only order
|
|
1739
1736
|
:param str [params.timeInForce]: spot supports 'PO' and 'IOC', swap supports 'PO', 'GTC', 'IOC' and 'FOK'
|
|
1740
1737
|
:param bool [params.reduceOnly]: *swap only* True or False whether the order is reduce only
|
|
@@ -1797,7 +1794,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
1797
1794
|
# }
|
|
1798
1795
|
#
|
|
1799
1796
|
if isinstance(response, str):
|
|
1800
|
-
response =
|
|
1797
|
+
response = self.parse_json(response)
|
|
1801
1798
|
data = self.safe_value(response, 'data', {})
|
|
1802
1799
|
order = self.safe_value(data, 'order', data)
|
|
1803
1800
|
return self.parse_order(order, market)
|
|
@@ -2043,7 +2040,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2043
2040
|
'currency': feeCurrencyCode,
|
|
2044
2041
|
'cost': Precise.string_abs(feeCost),
|
|
2045
2042
|
}
|
|
2046
|
-
clientOrderId = self.
|
|
2043
|
+
clientOrderId = self.safe_string_n(order, ['clientOrderID', 'origClientOrderId', 'c'])
|
|
2047
2044
|
stopLoss = self.safe_value(order, 'stopLoss')
|
|
2048
2045
|
stopLossPrice = None
|
|
2049
2046
|
if stopLoss is not None:
|
|
@@ -2051,7 +2048,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2051
2048
|
if (stopLoss is not None) and ((not isinstance(stopLoss, numbers.Real))):
|
|
2052
2049
|
# stopLoss: '{"stopPrice":50,"workingType":"MARK_PRICE","type":"STOP_MARKET","quantity":1}',
|
|
2053
2050
|
if isinstance(stopLoss, str):
|
|
2054
|
-
stopLoss =
|
|
2051
|
+
stopLoss = self.parse_json(stopLoss)
|
|
2055
2052
|
stopLossPrice = self.safe_number(stopLoss, 'stopPrice')
|
|
2056
2053
|
takeProfit = self.safe_value(order, 'takeProfit')
|
|
2057
2054
|
takeProfitPrice = None
|
|
@@ -2060,7 +2057,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2060
2057
|
if (takeProfit is not None) and ((not isinstance(takeProfit, numbers.Real))):
|
|
2061
2058
|
# takeProfit: '{"stopPrice":150,"workingType":"MARK_PRICE","type":"TAKE_PROFIT_MARKET","quantity":1}',
|
|
2062
2059
|
if isinstance(takeProfit, str):
|
|
2063
|
-
takeProfit =
|
|
2060
|
+
takeProfit = self.parse_json(takeProfit)
|
|
2064
2061
|
takeProfitPrice = self.safe_number(takeProfit, 'stopPrice')
|
|
2065
2062
|
return self.safe_order({
|
|
2066
2063
|
'info': order,
|
|
@@ -2110,6 +2107,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2110
2107
|
:param str id: order id
|
|
2111
2108
|
:param str symbol: unified symbol of the market the order was made in
|
|
2112
2109
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
2110
|
+
:param str [params.clientOrderId]: a unique id for the order
|
|
2113
2111
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
|
2114
2112
|
"""
|
|
2115
2113
|
if symbol is None:
|
|
@@ -2118,8 +2116,13 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2118
2116
|
market = self.market(symbol)
|
|
2119
2117
|
request = {
|
|
2120
2118
|
'symbol': market['id'],
|
|
2121
|
-
'orderId': id,
|
|
2122
2119
|
}
|
|
2120
|
+
clientOrderId = self.safe_string_2(params, 'clientOrderId', 'clientOrderID')
|
|
2121
|
+
params = self.omit(params, ['clientOrderId'])
|
|
2122
|
+
if clientOrderId is not None:
|
|
2123
|
+
request['clientOrderID'] = clientOrderId
|
|
2124
|
+
else:
|
|
2125
|
+
request['orderId'] = id
|
|
2123
2126
|
response = None
|
|
2124
2127
|
marketType, query = self.handle_market_type_and_params('cancelOrder', market, params)
|
|
2125
2128
|
if marketType == 'spot':
|
|
@@ -2252,7 +2255,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2252
2255
|
raise BadRequest(self.id + ' cancelAllOrders is only supported for spot and swap markets.')
|
|
2253
2256
|
return response
|
|
2254
2257
|
|
|
2255
|
-
async def cancel_orders(self, ids: List[
|
|
2258
|
+
async def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
|
|
2256
2259
|
"""
|
|
2257
2260
|
cancel multiple orders
|
|
2258
2261
|
:see: https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20a%20Batch%20of%20Orders
|
|
@@ -2282,7 +2285,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2282
2285
|
parsedIds.append(stringId)
|
|
2283
2286
|
response = None
|
|
2284
2287
|
if market['spot']:
|
|
2285
|
-
spotReqKey = '
|
|
2288
|
+
spotReqKey = 'clientOrderIDs' if areClientOrderIds else 'orderIds'
|
|
2286
2289
|
request[spotReqKey] = ','.join(parsedIds)
|
|
2287
2290
|
response = await self.spotV1PrivatePostTradeCancelOrders(self.extend(request, params))
|
|
2288
2291
|
else:
|
|
@@ -1733,6 +1733,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
1733
1733
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
1734
1734
|
:param dict [params.triggerPrice]: the price at which a trigger order is triggered at
|
|
1735
1735
|
:param dict [params.triggerDirection]: the direction whenever the trigger happens with relation to price - 'above' or 'below'
|
|
1736
|
+
:param float [params.trailingAmount]: the quote amount to trail away from the current market price
|
|
1736
1737
|
:returns dict: an `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
|
1737
1738
|
"""
|
|
1738
1739
|
await self.load_markets()
|
|
@@ -1740,7 +1741,7 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
1740
1741
|
orderType = self.capitalize(type)
|
|
1741
1742
|
reduceOnly = self.safe_value(params, 'reduceOnly')
|
|
1742
1743
|
if reduceOnly is not None:
|
|
1743
|
-
if (market['
|
|
1744
|
+
if (not market['swap']) and (not market['future']):
|
|
1744
1745
|
raise InvalidOrder(self.id + ' createOrder() does not support reduceOnly for ' + market['type'] + ' orders, reduceOnly orders are supported for swap and future markets only')
|
|
1745
1746
|
brokerId = self.safe_string(self.options, 'brokerId', 'CCXT')
|
|
1746
1747
|
qty = self.parse_to_int(self.amount_to_precision(symbol, amount))
|
|
@@ -1751,35 +1752,42 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
1751
1752
|
'ordType': orderType,
|
|
1752
1753
|
'text': brokerId,
|
|
1753
1754
|
}
|
|
1754
|
-
customTriggerType = (orderType == 'Stop') or (orderType == 'StopLimit') or (orderType == 'MarketIfTouched') or (orderType == 'LimitIfTouched')
|
|
1755
1755
|
# support for unified trigger format
|
|
1756
1756
|
triggerPrice = self.safe_number_n(params, ['triggerPrice', 'stopPx', 'stopPrice'])
|
|
1757
|
-
|
|
1758
|
-
|
|
1757
|
+
trailingAmount = self.safe_string_2(params, 'trailingAmount', 'pegOffsetValue')
|
|
1758
|
+
isTriggerOrder = triggerPrice is not None
|
|
1759
|
+
isTrailingAmountOrder = trailingAmount is not None
|
|
1760
|
+
if isTriggerOrder or isTrailingAmountOrder:
|
|
1759
1761
|
triggerDirection = self.safe_string(params, 'triggerDirection')
|
|
1760
|
-
params = self.omit(params, ['triggerPrice', 'stopPrice', 'stopPx', 'triggerDirection'])
|
|
1761
1762
|
triggerAbove = (triggerDirection == 'above')
|
|
1762
|
-
|
|
1763
|
-
|
|
1763
|
+
if (type == 'limit') or (type == 'market'):
|
|
1764
|
+
self.check_required_argument('createOrder', triggerDirection, 'triggerDirection', ['above', 'below'])
|
|
1764
1765
|
if type == 'limit':
|
|
1765
|
-
request['price'] = float(self.price_to_precision(symbol, price))
|
|
1766
1766
|
if side == 'buy':
|
|
1767
|
-
|
|
1767
|
+
orderType = 'StopLimit' if triggerAbove else 'LimitIfTouched'
|
|
1768
1768
|
else:
|
|
1769
|
-
|
|
1769
|
+
orderType = 'LimitIfTouched' if triggerAbove else 'StopLimit'
|
|
1770
1770
|
elif type == 'market':
|
|
1771
1771
|
if side == 'buy':
|
|
1772
|
-
|
|
1772
|
+
orderType = 'Stop' if triggerAbove else 'MarketIfTouched'
|
|
1773
1773
|
else:
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1774
|
+
orderType = 'MarketIfTouched' if triggerAbove else 'Stop'
|
|
1775
|
+
if isTrailingAmountOrder:
|
|
1776
|
+
isStopSellOrder = (side == 'sell') and ((orderType == 'Stop') or (orderType == 'StopLimit'))
|
|
1777
|
+
isBuyIfTouchedOrder = (side == 'buy') and ((orderType == 'MarketIfTouched') or (orderType == 'LimitIfTouched'))
|
|
1778
|
+
if isStopSellOrder or isBuyIfTouchedOrder:
|
|
1779
|
+
trailingAmount = '-' + trailingAmount
|
|
1780
|
+
request['pegOffsetValue'] = self.parse_to_numeric(trailingAmount)
|
|
1781
|
+
request['pegPriceType'] = 'TrailingStopPeg'
|
|
1782
|
+
else:
|
|
1783
|
+
if triggerPrice is None:
|
|
1784
|
+
# if exchange specific trigger types were provided
|
|
1785
|
+
raise ArgumentsRequired(self.id + ' createOrder() requires a triggerPrice(stopPx|stopPrice) parameter for the ' + orderType + ' order type')
|
|
1786
|
+
request['stopPx'] = self.parse_to_numeric(self.price_to_precision(symbol, triggerPrice))
|
|
1787
|
+
request['ordType'] = orderType
|
|
1788
|
+
params = self.omit(params, ['triggerPrice', 'stopPrice', 'stopPx', 'triggerDirection', 'trailingAmount'])
|
|
1781
1789
|
if (orderType == 'Limit') or (orderType == 'StopLimit') or (orderType == 'LimitIfTouched'):
|
|
1782
|
-
request['price'] =
|
|
1790
|
+
request['price'] = self.parse_to_numeric(self.price_to_precision(symbol, price))
|
|
1783
1791
|
clientOrderId = self.safe_string_2(params, 'clOrdID', 'clientOrderId')
|
|
1784
1792
|
if clientOrderId is not None:
|
|
1785
1793
|
request['clOrdID'] = clientOrderId
|
|
@@ -1790,6 +1798,30 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
1790
1798
|
async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
|
|
1791
1799
|
await self.load_markets()
|
|
1792
1800
|
request = {}
|
|
1801
|
+
trailingAmount = self.safe_string_2(params, 'trailingAmount', 'pegOffsetValue')
|
|
1802
|
+
isTrailingAmountOrder = trailingAmount is not None
|
|
1803
|
+
if isTrailingAmountOrder:
|
|
1804
|
+
triggerDirection = self.safe_string(params, 'triggerDirection')
|
|
1805
|
+
triggerAbove = (triggerDirection == 'above')
|
|
1806
|
+
if (type == 'limit') or (type == 'market'):
|
|
1807
|
+
self.check_required_argument('createOrder', triggerDirection, 'triggerDirection', ['above', 'below'])
|
|
1808
|
+
orderType = None
|
|
1809
|
+
if type == 'limit':
|
|
1810
|
+
if side == 'buy':
|
|
1811
|
+
orderType = 'StopLimit' if triggerAbove else 'LimitIfTouched'
|
|
1812
|
+
else:
|
|
1813
|
+
orderType = 'LimitIfTouched' if triggerAbove else 'StopLimit'
|
|
1814
|
+
elif type == 'market':
|
|
1815
|
+
if side == 'buy':
|
|
1816
|
+
orderType = 'Stop' if triggerAbove else 'MarketIfTouched'
|
|
1817
|
+
else:
|
|
1818
|
+
orderType = 'MarketIfTouched' if triggerAbove else 'Stop'
|
|
1819
|
+
isStopSellOrder = (side == 'sell') and ((orderType == 'Stop') or (orderType == 'StopLimit'))
|
|
1820
|
+
isBuyIfTouchedOrder = (side == 'buy') and ((orderType == 'MarketIfTouched') or (orderType == 'LimitIfTouched'))
|
|
1821
|
+
if isStopSellOrder or isBuyIfTouchedOrder:
|
|
1822
|
+
trailingAmount = '-' + trailingAmount
|
|
1823
|
+
request['pegOffsetValue'] = self.parse_to_numeric(trailingAmount)
|
|
1824
|
+
params = self.omit(params, ['triggerDirection', 'trailingAmount'])
|
|
1793
1825
|
origClOrdID = self.safe_string_2(params, 'origClOrdID', 'clientOrderId')
|
|
1794
1826
|
if origClOrdID is not None:
|
|
1795
1827
|
request['origClOrdID'] = origClOrdID
|
|
@@ -296,6 +296,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
|
296
296
|
'v5/position/list': 5, # 10/s => cost = 50 / 10 = 5
|
|
297
297
|
'v5/execution/list': 5, # 10/s => cost = 50 / 10 = 5
|
|
298
298
|
'v5/position/closed-pnl': 5, # 10/s => cost = 50 / 10 = 5
|
|
299
|
+
'v5/position/move-history': 5, # 10/s => cost = 50 / 10 = 5
|
|
299
300
|
# pre-upgrade
|
|
300
301
|
'v5/pre-upgrade/order/history': 5,
|
|
301
302
|
'v5/pre-upgrade/execution/list': 5,
|
|
@@ -460,6 +461,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
|
460
461
|
'v5/position/trading-stop': 5, # 10/s => cost = 50 / 10 = 5
|
|
461
462
|
'v5/position/set-auto-add-margin': 5,
|
|
462
463
|
'v5/position/add-margin': 5,
|
|
464
|
+
'v5/position/move-positions': 5,
|
|
463
465
|
'v5/position/confirm-pending-mmr': 5,
|
|
464
466
|
# account
|
|
465
467
|
'v5/account/upgrade-to-uta': 5,
|
|
@@ -333,12 +333,12 @@ class delta(Exchange, ImplicitAPI):
|
|
|
333
333
|
elif symbol in self.markets_by_id:
|
|
334
334
|
markets = self.markets_by_id[symbol]
|
|
335
335
|
return markets[0]
|
|
336
|
-
elif (symbol.
|
|
336
|
+
elif (symbol.endswith('-C')) or (symbol.endswith('-P')) or (symbol.startswith('C-')) or (symbol.startswith('P-')):
|
|
337
337
|
return self.create_expired_option_market(symbol)
|
|
338
338
|
raise BadSymbol(self.id + ' does not have market symbol ' + symbol)
|
|
339
339
|
|
|
340
340
|
def safe_market(self, marketId=None, market=None, delimiter=None, marketType=None):
|
|
341
|
-
isOption = (marketId is not None) and ((marketId.
|
|
341
|
+
isOption = (marketId is not None) and ((marketId.endswith('-C')) or (marketId.endswith('-P')) or (marketId.startswith('C-')) or (marketId.startswith('P-')))
|
|
342
342
|
if isOption and not (marketId in self.markets_by_id):
|
|
343
343
|
# handle expired option contracts
|
|
344
344
|
return self.create_expired_option_market(marketId)
|