ccxt 4.1.82__tar.gz → 4.1.84__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.1.82/ccxt.egg-info → ccxt-4.1.84}/PKG-INFO +4 -4
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/__init__.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/__init__.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/exchange.py +2 -2
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/binance.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bingx.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitget.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bybit.py +3 -2
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/cex.py +27 -12
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinsph.py +18 -9
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/cryptocom.py +43 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/htx.py +33 -4
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/huobijp.py +31 -5
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/okx.py +62 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/base/exchange.py +2 -2
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/binance.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bingx.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitget.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bybit.py +3 -2
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/cex.py +27 -12
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinsph.py +18 -9
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/cryptocom.py +43 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/htx.py +33 -4
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/huobijp.py +31 -5
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/okx.py +62 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/__init__.py +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84/ccxt.egg-info}/PKG-INFO +4 -4
- {ccxt-4.1.82 → ccxt-4.1.84}/package.json +1 -1
- {ccxt-4.1.82 → ccxt-4.1.84}/LICENSE.txt +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/MANIFEST.in +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/README.rst +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bigone.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bingx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitmart.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bittrex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/bybit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinbaseprime.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/kucoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/kucoinfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/ace.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/alpaca.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/ascendex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/alpaca.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/ascendex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bigone.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitmex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitstamp.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bittrex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/bl3p.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/btcalpha.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinbaseprime.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinone.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/delta.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/deribit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/gate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/kraken.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/kucoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/kucoinfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/lykke.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/ndax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/phemex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/woo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/base/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/base/errors.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/base/precise.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/base/types.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bequant.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bigone.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/binanceus.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bit2c.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitbank.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitbay.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitbns.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitfinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitflyer.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitforex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bithumb.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitmart.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitmex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitopro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitpanda.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitrue.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitso.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitstamp.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bittrex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bitvavo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/bl3p.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/btcalpha.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/btcbox.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/btcturk.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinbase.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinbaseprime.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coincheck.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinlist.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinmate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinone.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/coinspot.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/currencycom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/delta.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/deribit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/digifinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/exmo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/flowbtc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/fmfwio.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/gate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/gateio.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/gemini.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/hitbtc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/hollaex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/huobi.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/idex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/independentreserve.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/indodax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/kraken.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/kucoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/kucoinfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/kuna.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/latoken.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/lbank.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/luno.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/lykke.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/mercado.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/mexc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/ndax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/novadax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/oceanex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/okcoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/p2b.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/paymium.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/phemex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/poloniex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/poloniexfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/binance.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bingx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitmart.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bittrex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/blockchaincom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/bybit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/cex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/coinbaseprime.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/coinbasepro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/cryptocom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/gate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/htx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/huobipro.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/idex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/krakenfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/luno.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/mexc3.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/okex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/okx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/probit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/pro/woo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/probit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/__init__.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/test_async.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/test/test_sync.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/timex.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/upbit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/wazirx.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/whitebit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/woo.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/yobit.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/zaif.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt/zonda.py +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt.egg-info/SOURCES.txt +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/setup.cfg +0 -0
- {ccxt-4.1.82 → ccxt-4.1.84}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version: 4.1.
|
3
|
+
Version: 4.1.84
|
4
4
|
Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ 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.1.
|
226
|
-
* unpkg: https://unpkg.com/ccxt@4.1.
|
225
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.84/dist/ccxt.browser.js
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.1.84/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.1.
|
231
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.1.84/dist/ccxt.browser.js"></script>
|
232
232
|
```
|
233
233
|
|
234
234
|
Creates a global `ccxt` object:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# -----------------------------------------------------------------------------
|
4
4
|
|
5
|
-
__version__ = '4.1.
|
5
|
+
__version__ = '4.1.84'
|
6
6
|
|
7
7
|
# -----------------------------------------------------------------------------
|
8
8
|
|
@@ -1010,7 +1010,7 @@ class Exchange(BaseExchange):
|
|
1010
1010
|
async def fetch_funding_history(self, symbol: str = None, since: Int = None, limit: Int = None, params={}):
|
1011
1011
|
raise NotSupported(self.id + ' fetchFundingHistory() is not supported yet')
|
1012
1012
|
|
1013
|
-
async def close_position(self, symbol: str, side: OrderSide = None,
|
1013
|
+
async def close_position(self, symbol: str, side: OrderSide = None, params={}):
|
1014
1014
|
raise NotSupported(self.id + ' closePositions() is not supported yet')
|
1015
1015
|
|
1016
1016
|
async def close_all_positions(self, params={}):
|
@@ -7939,7 +7939,7 @@ class binance(Exchange, ImplicitAPI):
|
|
7939
7939
|
extendedParams = self.omit(extendedParams, ['orderidlist', 'origclientorderidlist'])
|
7940
7940
|
query = self.rawencode(extendedParams)
|
7941
7941
|
orderidlistLength = len(orderidlist)
|
7942
|
-
origclientorderidlistLength = len(
|
7942
|
+
origclientorderidlistLength = len(origclientorderidlist)
|
7943
7943
|
if orderidlistLength > 0:
|
7944
7944
|
query = query + '&' + 'orderidlist=[' + ','.join(orderidlist) + ']'
|
7945
7945
|
if origclientorderidlistLength > 0:
|
@@ -3172,7 +3172,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
3172
3172
|
:see: https://bitgetlimited.github.io/apidoc/en/mix/#close-all-position
|
3173
3173
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
3174
3174
|
:param str [params.recvWindow]: request valid time window value
|
3175
|
-
:returns [
|
3175
|
+
:returns dict[]: `A list of position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
3176
3176
|
"""
|
3177
3177
|
await self.load_markets()
|
3178
3178
|
defaultRecvWindow = self.safe_integer(self.options, 'recvWindow')
|
@@ -6555,7 +6555,7 @@ class bitget(Exchange, ImplicitAPI):
|
|
6555
6555
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
6556
6556
|
:param str [params.subType]: 'linear' or 'inverse'
|
6557
6557
|
:param str [params.settle]: *required and only valid when params.subType == "linear"* 'USDT' or 'USDC'
|
6558
|
-
:returns [
|
6558
|
+
:returns dict[]: `A list of position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
6559
6559
|
"""
|
6560
6560
|
await self.load_markets()
|
6561
6561
|
subType = None
|
@@ -5367,8 +5367,10 @@ class bybit(Exchange, ImplicitAPI):
|
|
5367
5367
|
raise ArgumentsRequired(self.id + ' fetchPositions() does not accept an array with more than one symbol')
|
5368
5368
|
elif symbolsLength == 1:
|
5369
5369
|
symbol = symbols[0]
|
5370
|
+
symbols = self.market_symbols(symbols)
|
5370
5371
|
elif symbols is not None:
|
5371
5372
|
symbol = symbols
|
5373
|
+
symbols = [self.symbol(symbol)]
|
5372
5374
|
await self.load_markets()
|
5373
5375
|
enableUnifiedMargin, enableUnifiedAccount = await self.is_unified_enabled()
|
5374
5376
|
isUnifiedAccount = (enableUnifiedMargin or enableUnifiedAccount)
|
@@ -5377,12 +5379,11 @@ class bybit(Exchange, ImplicitAPI):
|
|
5377
5379
|
isUsdcSettled = False
|
5378
5380
|
if symbol is not None:
|
5379
5381
|
market = self.market(symbol)
|
5382
|
+
symbol = market['symbol']
|
5380
5383
|
request['symbol'] = market['id']
|
5381
5384
|
isUsdcSettled = market['settle'] == 'USDC'
|
5382
5385
|
type = None
|
5383
5386
|
type, params = self.get_bybit_type('fetchPositions', market, params)
|
5384
|
-
if type == 'spot':
|
5385
|
-
raise NotSupported(self.id + ' fetchPositions() not support spot market')
|
5386
5387
|
if type == 'linear' or type == 'inverse':
|
5387
5388
|
baseCoin = self.safe_string(params, 'baseCoin')
|
5388
5389
|
if type == 'linear':
|
@@ -45,6 +45,9 @@ class cex(Exchange, ImplicitAPI):
|
|
45
45
|
'cancelOrder': True,
|
46
46
|
'cancelOrders': False,
|
47
47
|
'createDepositAddress': False,
|
48
|
+
'createMarketBuyOrderWithCost': True,
|
49
|
+
'createMarketOrderWithCost': False,
|
50
|
+
'createMarketSellOrderWithCost': False,
|
48
51
|
'createOrder': True,
|
49
52
|
'createStopLimitOrder': False,
|
50
53
|
'createStopMarketOrder': False,
|
@@ -728,27 +731,39 @@ class cex(Exchange, ImplicitAPI):
|
|
728
731
|
:param float amount: how much of currency you want to trade in units of base currency
|
729
732
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
730
733
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
734
|
+
:param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
|
731
735
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
732
736
|
"""
|
733
|
-
# for market buy it requires the amount of quote currency to spend
|
734
|
-
if (type == 'market') and (side == 'buy'):
|
735
|
-
if self.options['createMarketBuyOrderRequiresPrice']:
|
736
|
-
if price is None:
|
737
|
-
raise InvalidOrder(self.id + " createOrder() requires the price argument with market buy orders to calculate total order cost(amount to spend), where cost = amount * price. Supply a price argument to createOrder() call if you want the cost to be calculated for you from price and amount, or, alternatively, add .options['createMarketBuyOrderRequiresPrice'] = False to supply the cost in the amount argument(the exchange-specific behaviour)")
|
738
|
-
else:
|
739
|
-
amountString = self.number_to_string(amount)
|
740
|
-
priceString = self.number_to_string(price)
|
741
|
-
baseAmount = Precise.string_mul(amountString, priceString)
|
742
|
-
amount = self.parse_number(baseAmount)
|
743
737
|
await self.load_markets()
|
744
738
|
market = self.market(symbol)
|
745
739
|
request = {
|
746
740
|
'pair': market['id'],
|
747
741
|
'type': side,
|
748
|
-
'amount': amount,
|
749
742
|
}
|
743
|
+
# for market buy it requires the amount of quote currency to spend
|
744
|
+
if (type == 'market') and (side == 'buy'):
|
745
|
+
quoteAmount = None
|
746
|
+
createMarketBuyOrderRequiresPrice = True
|
747
|
+
createMarketBuyOrderRequiresPrice, params = self.handle_option_and_params(params, 'createOrder', 'createMarketBuyOrderRequiresPrice', True)
|
748
|
+
cost = self.safe_string(params, 'cost')
|
749
|
+
params = self.omit(params, 'cost')
|
750
|
+
if cost is not None:
|
751
|
+
quoteAmount = self.cost_to_precision(symbol, cost)
|
752
|
+
elif createMarketBuyOrderRequiresPrice:
|
753
|
+
if price is None:
|
754
|
+
raise InvalidOrder(self.id + ' createOrder() requires the price argument for market buy orders to calculate the total cost to spend(amount * price), alternatively set the createMarketBuyOrderRequiresPrice option or param to False and pass the cost to spend in the amount argument')
|
755
|
+
else:
|
756
|
+
amountString = self.number_to_string(amount)
|
757
|
+
priceString = self.number_to_string(price)
|
758
|
+
costRequest = Precise.string_mul(amountString, priceString)
|
759
|
+
quoteAmount = self.cost_to_precision(symbol, costRequest)
|
760
|
+
else:
|
761
|
+
quoteAmount = self.cost_to_precision(symbol, amount)
|
762
|
+
request['amount'] = quoteAmount
|
763
|
+
else:
|
764
|
+
request['amount'] = self.amount_to_precision(symbol, amount)
|
750
765
|
if type == 'limit':
|
751
|
-
request['price'] = price
|
766
|
+
request['price'] = self.number_to_string(price)
|
752
767
|
else:
|
753
768
|
request['order_type'] = type
|
754
769
|
response = await self.privatePostPlaceOrderPair(self.extend(request, params))
|
@@ -54,6 +54,9 @@ class coinsph(Exchange, ImplicitAPI):
|
|
54
54
|
'closeAllPositions': False,
|
55
55
|
'closePosition': False,
|
56
56
|
'createDepositAddress': False,
|
57
|
+
'createMarketBuyOrderWithCost': True,
|
58
|
+
'createMarketOrderWithCost': False,
|
59
|
+
'createMarketSellOrderWithCost': False,
|
57
60
|
'createOrder': True,
|
58
61
|
'createPostOnlyOrder': False,
|
59
62
|
'createReduceOnlyOrder': False,
|
@@ -1028,12 +1031,14 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1028
1031
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1029
1032
|
"""
|
1030
1033
|
create a trade order
|
1034
|
+
:see: https://coins-docs.github.io/rest-api/#new-order--trade
|
1031
1035
|
:param str symbol: unified symbol of the market to create an order in
|
1032
1036
|
:param str type: 'market', 'limit', 'stop_loss', 'take_profit', 'stop_loss_limit', 'take_profit_limit' or 'limit_maker'
|
1033
1037
|
:param str side: 'buy' or 'sell'
|
1034
1038
|
:param float amount: how much of currency you want to trade in units of base currency
|
1035
1039
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
1036
1040
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1041
|
+
:param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
|
1037
1042
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1038
1043
|
"""
|
1039
1044
|
# todo: add test order low priority
|
@@ -1065,20 +1070,24 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1065
1070
|
if orderSide == 'SELL':
|
1066
1071
|
request['quantity'] = self.amount_to_precision(symbol, amount)
|
1067
1072
|
elif orderSide == 'BUY':
|
1068
|
-
|
1069
|
-
createMarketBuyOrderRequiresPrice =
|
1070
|
-
|
1071
|
-
|
1073
|
+
quoteAmount = None
|
1074
|
+
createMarketBuyOrderRequiresPrice = True
|
1075
|
+
createMarketBuyOrderRequiresPrice, params = self.handle_option_and_params(params, 'createOrder', 'createMarketBuyOrderRequiresPrice', True)
|
1076
|
+
cost = self.safe_number_2(params, 'cost', 'quoteOrderQty')
|
1077
|
+
params = self.omit(params, 'cost')
|
1078
|
+
if cost is not None:
|
1079
|
+
quoteAmount = self.cost_to_precision(symbol, cost)
|
1072
1080
|
elif createMarketBuyOrderRequiresPrice:
|
1073
1081
|
if price is None:
|
1074
|
-
raise InvalidOrder(self.id +
|
1082
|
+
raise InvalidOrder(self.id + ' createOrder() requires the price argument for market buy orders to calculate the total cost to spend(amount * price), alternatively set the createMarketBuyOrderRequiresPrice option or param to False and pass the cost to spend in the amount argument')
|
1075
1083
|
else:
|
1076
1084
|
amountString = self.number_to_string(amount)
|
1077
1085
|
priceString = self.number_to_string(price)
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1086
|
+
costRequest = Precise.string_mul(amountString, priceString)
|
1087
|
+
quoteAmount = self.cost_to_precision(symbol, costRequest)
|
1088
|
+
else:
|
1089
|
+
quoteAmount = self.cost_to_precision(symbol, amount)
|
1090
|
+
request['quoteOrderQty'] = quoteAmount
|
1082
1091
|
if orderType == 'STOP_LOSS' or orderType == 'STOP_LOSS_LIMIT' or orderType == 'TAKE_PROFIT' or orderType == 'TAKE_PROFIT_LIMIT':
|
1083
1092
|
stopPrice = self.safe_string_2(params, 'triggerPrice', 'stopPrice')
|
1084
1093
|
if stopPrice is None:
|
@@ -48,6 +48,8 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
48
48
|
'cancelAllOrders': True,
|
49
49
|
'cancelOrder': True,
|
50
50
|
'cancelOrders': True,
|
51
|
+
'closeAllPositions': False,
|
52
|
+
'closePosition': True,
|
51
53
|
'createOrder': True,
|
52
54
|
'createOrders': True,
|
53
55
|
'fetchAccounts': True,
|
@@ -2683,6 +2685,47 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2683
2685
|
returnString += str(value)
|
2684
2686
|
return returnString
|
2685
2687
|
|
2688
|
+
async def close_position(self, symbol: str, side: OrderSide = None, params={}) -> Order:
|
2689
|
+
"""
|
2690
|
+
closes open positions for a market
|
2691
|
+
:see: https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-close-position
|
2692
|
+
:param str symbol: Unified CCXT market symbol
|
2693
|
+
:param str [marginMode]: not used by cryptocom.closePositions
|
2694
|
+
:param str [side]: not used by cryptocom.closePositions
|
2695
|
+
:param dict [params]: extra parameters specific to the okx api endpoint
|
2696
|
+
*
|
2697
|
+
* EXCHANGE SPECIFIC PARAMETERS
|
2698
|
+
:param str [params.type]: LIMIT or MARKET
|
2699
|
+
:param number [params.price]: for limit orders only
|
2700
|
+
:returns dict[]: `A list of position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
2701
|
+
"""
|
2702
|
+
await self.load_markets()
|
2703
|
+
market = self.market(symbol)
|
2704
|
+
request = {
|
2705
|
+
'instrument_name': market['id'],
|
2706
|
+
'type': 'MARKET',
|
2707
|
+
}
|
2708
|
+
type = self.safe_string_upper(params, 'type')
|
2709
|
+
price = self.safe_string(params, 'price')
|
2710
|
+
if type is not None:
|
2711
|
+
request['type'] = type
|
2712
|
+
if price is not None:
|
2713
|
+
request['price'] = self.price_to_precision(market['symbol'], price)
|
2714
|
+
response = await self.v1PrivatePostPrivateClosePosition(self.extend(request, params))
|
2715
|
+
#
|
2716
|
+
# {
|
2717
|
+
# "id" : 1700830813298,
|
2718
|
+
# "method" : "private/close-position",
|
2719
|
+
# "code" : 0,
|
2720
|
+
# "result" : {
|
2721
|
+
# "client_oid" : "179a909d-5614-655b-0d0e-9e85c9a25c85",
|
2722
|
+
# "order_id" : "6142909897021751347"
|
2723
|
+
# }
|
2724
|
+
# }
|
2725
|
+
#
|
2726
|
+
result = self.safe_value(response, 'result')
|
2727
|
+
return self.parse_order(result, market)
|
2728
|
+
|
2686
2729
|
def sign(self, path, api='public', method='GET', params={}, headers=None, body=None):
|
2687
2730
|
type = self.safe_string(api, 0)
|
2688
2731
|
access = self.safe_string(api, 1)
|
@@ -57,6 +57,9 @@ class htx(Exchange, ImplicitAPI):
|
|
57
57
|
'cancelOrder': True,
|
58
58
|
'cancelOrders': True,
|
59
59
|
'createDepositAddress': None,
|
60
|
+
'createMarketBuyOrderWithCost': True,
|
61
|
+
'createMarketOrderWithCost': False,
|
62
|
+
'createMarketSellOrderWithCost': False,
|
60
63
|
'createOrder': True,
|
61
64
|
'createOrders': True,
|
62
65
|
'createReduceOnlyOrder': False,
|
@@ -4536,6 +4539,22 @@ class htx(Exchange, ImplicitAPI):
|
|
4536
4539
|
'trades': trades,
|
4537
4540
|
}, market)
|
4538
4541
|
|
4542
|
+
async def create_market_buy_order_with_cost(self, symbol: str, cost, params={}):
|
4543
|
+
"""
|
4544
|
+
create a market buy order by providing the symbol and cost
|
4545
|
+
:see: https://www.htx.com/en-us/opend/newApiPages/?id=7ec4ee16-7773-11ed-9966-0242ac110003
|
4546
|
+
:param str symbol: unified symbol of the market to create an order in
|
4547
|
+
:param float cost: how much you want to trade in units of the quote currency
|
4548
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
4549
|
+
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
4550
|
+
"""
|
4551
|
+
await self.load_markets()
|
4552
|
+
market = self.market(symbol)
|
4553
|
+
if not market['spot']:
|
4554
|
+
raise NotSupported(self.id + ' createMarketBuyOrderWithCost() supports spot orders only')
|
4555
|
+
params['createMarketBuyOrderRequiresPrice'] = False
|
4556
|
+
return await self.create_order(symbol, 'market', 'buy', cost, None, params)
|
4557
|
+
|
4539
4558
|
async def create_spot_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
4540
4559
|
"""
|
4541
4560
|
* @ignore
|
@@ -4547,6 +4566,7 @@ class htx(Exchange, ImplicitAPI):
|
|
4547
4566
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
4548
4567
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
4549
4568
|
:param str [params.timeInForce]: supports 'IOC' and 'FOK'
|
4569
|
+
:param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
|
4550
4570
|
:returns dict: request to be sent to the exchange
|
4551
4571
|
"""
|
4552
4572
|
await self.load_markets()
|
@@ -4608,9 +4628,16 @@ class htx(Exchange, ImplicitAPI):
|
|
4608
4628
|
elif marginMode == 'c2c':
|
4609
4629
|
request['source'] = 'c2c-margin-api'
|
4610
4630
|
if (orderType == 'market') and (side == 'buy'):
|
4611
|
-
|
4631
|
+
quoteAmount = None
|
4632
|
+
createMarketBuyOrderRequiresPrice = True
|
4633
|
+
createMarketBuyOrderRequiresPrice, params = self.handle_option_and_params(params, 'createOrder', 'createMarketBuyOrderRequiresPrice', True)
|
4634
|
+
cost = self.safe_number(params, 'cost')
|
4635
|
+
params = self.omit(params, 'cost')
|
4636
|
+
if cost is not None:
|
4637
|
+
quoteAmount = self.amount_to_precision(symbol, cost)
|
4638
|
+
elif createMarketBuyOrderRequiresPrice:
|
4612
4639
|
if price is None:
|
4613
|
-
raise InvalidOrder(self.id +
|
4640
|
+
raise InvalidOrder(self.id + ' createOrder() requires the price argument for market buy orders to calculate the total cost to spend(amount * price), alternatively set the createMarketBuyOrderRequiresPrice option or param to False and pass the cost to spend in the amount argument')
|
4614
4641
|
else:
|
4615
4642
|
# despite that cost = amount * price is in quote currency and should have quote precision
|
4616
4643
|
# the exchange API requires the cost supplied in 'amount' to be of base precision
|
@@ -4620,9 +4647,10 @@ class htx(Exchange, ImplicitAPI):
|
|
4620
4647
|
# we use amountToPrecision here because the exchange requires cost in base precision
|
4621
4648
|
amountString = self.number_to_string(amount)
|
4622
4649
|
priceString = self.number_to_string(price)
|
4623
|
-
|
4650
|
+
quoteAmount = self.amount_to_precision(symbol, Precise.string_mul(amountString, priceString))
|
4624
4651
|
else:
|
4625
|
-
|
4652
|
+
quoteAmount = self.amount_to_precision(symbol, amount)
|
4653
|
+
request['amount'] = quoteAmount
|
4626
4654
|
else:
|
4627
4655
|
request['amount'] = self.amount_to_precision(symbol, amount)
|
4628
4656
|
limitOrderTypes = self.safe_value(options, 'limitOrderTypes', {})
|
@@ -4732,6 +4760,7 @@ class htx(Exchange, ImplicitAPI):
|
|
4732
4760
|
:param bool [params.postOnly]: *contract only* True or False
|
4733
4761
|
:param int [params.leverRate]: *contract only* required for all contract orders except tpsl, leverage greater than 20x requires prior approval of high-leverage agreement
|
4734
4762
|
:param str [params.timeInForce]: supports 'IOC' and 'FOK'
|
4763
|
+
:param float [params.cost]: *spot market buy only* the quote quantity that can be used alternative for the amount
|
4735
4764
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
4736
4765
|
"""
|
4737
4766
|
await self.load_markets()
|
@@ -16,6 +16,7 @@ from ccxt.base.errors import BadSymbol
|
|
16
16
|
from ccxt.base.errors import InsufficientFunds
|
17
17
|
from ccxt.base.errors import InvalidOrder
|
18
18
|
from ccxt.base.errors import OrderNotFound
|
19
|
+
from ccxt.base.errors import NotSupported
|
19
20
|
from ccxt.base.errors import NetworkError
|
20
21
|
from ccxt.base.errors import ExchangeNotAvailable
|
21
22
|
from ccxt.base.errors import OnMaintenance
|
@@ -49,6 +50,9 @@ class huobijp(Exchange, ImplicitAPI):
|
|
49
50
|
'cancelAllOrders': True,
|
50
51
|
'cancelOrder': True,
|
51
52
|
'cancelOrders': True,
|
53
|
+
'createMarketBuyOrderWithCost': True,
|
54
|
+
'createMarketOrderWithCost': False,
|
55
|
+
'createMarketSellOrderWithCost': False,
|
52
56
|
'createOrder': True,
|
53
57
|
'createStopLimitOrder': False,
|
54
58
|
'createStopMarketOrder': False,
|
@@ -1301,6 +1305,21 @@ class huobijp(Exchange, ImplicitAPI):
|
|
1301
1305
|
'trades': None,
|
1302
1306
|
}, market)
|
1303
1307
|
|
1308
|
+
async def create_market_buy_order_with_cost(self, symbol: str, cost, params={}):
|
1309
|
+
"""
|
1310
|
+
create a market buy order by providing the symbol and cost
|
1311
|
+
:param str symbol: unified symbol of the market to create an order in
|
1312
|
+
:param float cost: how much you want to trade in units of the quote currency
|
1313
|
+
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1314
|
+
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1315
|
+
"""
|
1316
|
+
await self.load_markets()
|
1317
|
+
market = self.market(symbol)
|
1318
|
+
if not market['spot']:
|
1319
|
+
raise NotSupported(self.id + ' createMarketBuyOrderWithCost() supports spot orders only')
|
1320
|
+
params['createMarketBuyOrderRequiresPrice'] = False
|
1321
|
+
return await self.create_order(symbol, 'market', 'buy', cost, None, params)
|
1322
|
+
|
1304
1323
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1305
1324
|
"""
|
1306
1325
|
create a trade order
|
@@ -1329,9 +1348,16 @@ class huobijp(Exchange, ImplicitAPI):
|
|
1329
1348
|
request['client-order-id'] = clientOrderId
|
1330
1349
|
params = self.omit(params, ['clientOrderId', 'client-order-id'])
|
1331
1350
|
if (type == 'market') and (side == 'buy'):
|
1332
|
-
|
1351
|
+
quoteAmount = None
|
1352
|
+
createMarketBuyOrderRequiresPrice = True
|
1353
|
+
createMarketBuyOrderRequiresPrice, params = self.handle_option_and_params(params, 'createOrder', 'createMarketBuyOrderRequiresPrice', True)
|
1354
|
+
cost = self.safe_number(params, 'cost')
|
1355
|
+
params = self.omit(params, 'cost')
|
1356
|
+
if cost is not None:
|
1357
|
+
quoteAmount = self.amount_to_precision(symbol, cost)
|
1358
|
+
elif createMarketBuyOrderRequiresPrice:
|
1333
1359
|
if price is None:
|
1334
|
-
raise InvalidOrder(self.id +
|
1360
|
+
raise InvalidOrder(self.id + ' createOrder() requires the price argument for market buy orders to calculate the total cost to spend(amount * price), alternatively set the createMarketBuyOrderRequiresPrice option or param to False and pass the cost to spend in the amount argument')
|
1335
1361
|
else:
|
1336
1362
|
# despite that cost = amount * price is in quote currency and should have quote precision
|
1337
1363
|
# the exchange API requires the cost supplied in 'amount' to be of base precision
|
@@ -1341,10 +1367,10 @@ class huobijp(Exchange, ImplicitAPI):
|
|
1341
1367
|
# we use amountToPrecision here because the exchange requires cost in base precision
|
1342
1368
|
amountString = self.number_to_string(amount)
|
1343
1369
|
priceString = self.number_to_string(price)
|
1344
|
-
|
1345
|
-
request['amount'] = self.cost_to_precision(symbol, baseAmount)
|
1370
|
+
quoteAmount = self.amount_to_precision(symbol, Precise.string_mul(amountString, priceString))
|
1346
1371
|
else:
|
1347
|
-
|
1372
|
+
quoteAmount = self.amount_to_precision(symbol, amount)
|
1373
|
+
request['amount'] = quoteAmount
|
1348
1374
|
else:
|
1349
1375
|
request['amount'] = self.amount_to_precision(symbol, amount)
|
1350
1376
|
if type == 'limit' or type == 'ioc' or type == 'limit-maker' or type == 'stop-limit' or type == 'stop-limit-fok':
|
@@ -57,6 +57,8 @@ class okx(Exchange, ImplicitAPI):
|
|
57
57
|
'cancelAllOrders': False,
|
58
58
|
'cancelOrder': True,
|
59
59
|
'cancelOrders': True,
|
60
|
+
'closeAllPositions': False,
|
61
|
+
'closePosition': True,
|
60
62
|
'createDepositAddress': False,
|
61
63
|
'createMarketBuyOrderWithCost': True,
|
62
64
|
'createMarketSellOrderWithCost': True,
|
@@ -6692,6 +6694,66 @@ class okx(Exchange, ImplicitAPI):
|
|
6692
6694
|
'info': greeks,
|
6693
6695
|
}
|
6694
6696
|
|
6697
|
+
async def close_position(self, symbol: str, side: OrderSide = None, params={}) -> Order:
|
6698
|
+
"""
|
6699
|
+
closes open positions for a market
|
6700
|
+
:see: https://www.okx.com/docs-v5/en/#order-book-trading-trade-post-close-positions
|
6701
|
+
:param str symbol: Unified CCXT market symbol
|
6702
|
+
:param str [side]: 'buy' or 'sell', leave in net mode
|
6703
|
+
:param dict [params]: extra parameters specific to the okx api endpoint
|
6704
|
+
:param str [params.clientOrderId]: a unique identifier for the order
|
6705
|
+
:param str [params.marginMode]: 'cross' or 'isolated', default is 'cross
|
6706
|
+
:param str [params.code]: *required in the case of closing cross MARGIN position for Single-currency margin* margin currency
|
6707
|
+
*
|
6708
|
+
* EXCHANGE SPECIFIC PARAMETERS
|
6709
|
+
:param boolean [params.autoCxl]: whether any pending orders for closing out needs to be automatically canceled when close position via a market order. False or True, the default is False
|
6710
|
+
:param str [params.tag]: order tag a combination of case-sensitive alphanumerics, all numbers, or all letters of up to 16 characters
|
6711
|
+
:returns [dict]: `A list of position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
6712
|
+
"""
|
6713
|
+
await self.load_markets()
|
6714
|
+
market = self.market(symbol)
|
6715
|
+
clientOrderId = self.safe_string(params, 'clientOrderId')
|
6716
|
+
code = self.safe_string(params, 'code')
|
6717
|
+
marginMode = None
|
6718
|
+
marginMode, params = self.handle_margin_mode_and_params('closePosition', params, 'cross')
|
6719
|
+
request = {
|
6720
|
+
'instId': market['id'],
|
6721
|
+
'mgnMode': marginMode,
|
6722
|
+
}
|
6723
|
+
if side is not None:
|
6724
|
+
if (side == 'buy'):
|
6725
|
+
request['posSide'] = 'long'
|
6726
|
+
elif side == 'sell':
|
6727
|
+
request['posSide'] = 'short'
|
6728
|
+
else:
|
6729
|
+
request['posSide'] = side
|
6730
|
+
if clientOrderId is not None:
|
6731
|
+
request['clOrdId'] = clientOrderId
|
6732
|
+
if code is not None:
|
6733
|
+
currency = self.currency(code)
|
6734
|
+
request['ccy'] = currency['id']
|
6735
|
+
response = await self.privatePostTradeClosePosition(self.extend(request, params))
|
6736
|
+
#
|
6737
|
+
# {
|
6738
|
+
# "code": "1",
|
6739
|
+
# "data": [
|
6740
|
+
# {
|
6741
|
+
# "clOrdId":"e847386590ce4dBCe903bbc394dc88bf",
|
6742
|
+
# "ordId":"",
|
6743
|
+
# "sCode":"51000",
|
6744
|
+
# "sMsg":"Parameter posSide error ",
|
6745
|
+
# "tag":"e847386590ce4dBC"
|
6746
|
+
# }
|
6747
|
+
# ],
|
6748
|
+
# "inTime": "1701877077101064",
|
6749
|
+
# "msg": "All operations failed",
|
6750
|
+
# "outTime": "1701877077102579"
|
6751
|
+
# }
|
6752
|
+
#
|
6753
|
+
data = self.safe_value(response, 'data')
|
6754
|
+
order = self.safe_value(data, 0)
|
6755
|
+
return self.parse_order(order, market)
|
6756
|
+
|
6695
6757
|
def handle_errors(self, httpCode, reason, url, method, headers, body, response, requestHeaders, requestBody):
|
6696
6758
|
if not response:
|
6697
6759
|
return None # fallback to default error handler
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# -----------------------------------------------------------------------------
|
6
6
|
|
7
|
-
__version__ = '4.1.
|
7
|
+
__version__ = '4.1.84'
|
8
8
|
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
|
@@ -3847,7 +3847,7 @@ class Exchange(object):
|
|
3847
3847
|
def fetch_funding_history(self, symbol: str = None, since: Int = None, limit: Int = None, params={}):
|
3848
3848
|
raise NotSupported(self.id + ' fetchFundingHistory() is not supported yet')
|
3849
3849
|
|
3850
|
-
def close_position(self, symbol: str, side: OrderSide = None,
|
3850
|
+
def close_position(self, symbol: str, side: OrderSide = None, params={}):
|
3851
3851
|
raise NotSupported(self.id + ' closePositions() is not supported yet')
|
3852
3852
|
|
3853
3853
|
def close_all_positions(self, params={}):
|
@@ -7938,7 +7938,7 @@ class binance(Exchange, ImplicitAPI):
|
|
7938
7938
|
extendedParams = self.omit(extendedParams, ['orderidlist', 'origclientorderidlist'])
|
7939
7939
|
query = self.rawencode(extendedParams)
|
7940
7940
|
orderidlistLength = len(orderidlist)
|
7941
|
-
origclientorderidlistLength = len(
|
7941
|
+
origclientorderidlistLength = len(origclientorderidlist)
|
7942
7942
|
if orderidlistLength > 0:
|
7943
7943
|
query = query + '&' + 'orderidlist=[' + ','.join(orderidlist) + ']'
|
7944
7944
|
if origclientorderidlistLength > 0:
|
@@ -3171,7 +3171,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
3171
3171
|
:see: https://bitgetlimited.github.io/apidoc/en/mix/#close-all-position
|
3172
3172
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
3173
3173
|
:param str [params.recvWindow]: request valid time window value
|
3174
|
-
:returns [
|
3174
|
+
:returns dict[]: `A list of position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
3175
3175
|
"""
|
3176
3176
|
self.load_markets()
|
3177
3177
|
defaultRecvWindow = self.safe_integer(self.options, 'recvWindow')
|
@@ -6554,7 +6554,7 @@ class bitget(Exchange, ImplicitAPI):
|
|
6554
6554
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
6555
6555
|
:param str [params.subType]: 'linear' or 'inverse'
|
6556
6556
|
:param str [params.settle]: *required and only valid when params.subType == "linear"* 'USDT' or 'USDC'
|
6557
|
-
:returns [
|
6557
|
+
:returns dict[]: `A list of position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
6558
6558
|
"""
|
6559
6559
|
self.load_markets()
|
6560
6560
|
subType = None
|
@@ -5366,8 +5366,10 @@ class bybit(Exchange, ImplicitAPI):
|
|
5366
5366
|
raise ArgumentsRequired(self.id + ' fetchPositions() does not accept an array with more than one symbol')
|
5367
5367
|
elif symbolsLength == 1:
|
5368
5368
|
symbol = symbols[0]
|
5369
|
+
symbols = self.market_symbols(symbols)
|
5369
5370
|
elif symbols is not None:
|
5370
5371
|
symbol = symbols
|
5372
|
+
symbols = [self.symbol(symbol)]
|
5371
5373
|
self.load_markets()
|
5372
5374
|
enableUnifiedMargin, enableUnifiedAccount = self.is_unified_enabled()
|
5373
5375
|
isUnifiedAccount = (enableUnifiedMargin or enableUnifiedAccount)
|
@@ -5376,12 +5378,11 @@ class bybit(Exchange, ImplicitAPI):
|
|
5376
5378
|
isUsdcSettled = False
|
5377
5379
|
if symbol is not None:
|
5378
5380
|
market = self.market(symbol)
|
5381
|
+
symbol = market['symbol']
|
5379
5382
|
request['symbol'] = market['id']
|
5380
5383
|
isUsdcSettled = market['settle'] == 'USDC'
|
5381
5384
|
type = None
|
5382
5385
|
type, params = self.get_bybit_type('fetchPositions', market, params)
|
5383
|
-
if type == 'spot':
|
5384
|
-
raise NotSupported(self.id + ' fetchPositions() not support spot market')
|
5385
5386
|
if type == 'linear' or type == 'inverse':
|
5386
5387
|
baseCoin = self.safe_string(params, 'baseCoin')
|
5387
5388
|
if type == 'linear':
|