ccxt 4.2.14__tar.gz → 4.2.16__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.14/ccxt.egg-info → ccxt-4.2.16}/PKG-INFO +4 -4
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/__init__.py +1 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/ascendex.py +10 -6
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/__init__.py +1 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/ascendex.py +10 -6
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/exchange.py +1 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bingx.py +36 -3
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitmex.py +3 -6
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinone.py +1 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/kraken.py +22 -2
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/phemex.py +23 -18
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/base/exchange.py +13 -13
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bingx.py +36 -3
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitmex.py +3 -6
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinone.py +1 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/kraken.py +22 -2
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/phemex.py +23 -18
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/__init__.py +3 -1
- ccxt-4.2.16/ccxt/pro/coinone.py +395 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/htx.py +6 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/krakenfutures.py +6 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/woo.py +114 -2
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/test_async.py +3 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/test_sync.py +3 -0
- {ccxt-4.2.14 → ccxt-4.2.16/ccxt.egg-info}/PKG-INFO +4 -4
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt.egg-info/SOURCES.txt +1 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/package.json +1 -1
- {ccxt-4.2.14 → ccxt-4.2.16}/LICENSE.txt +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/MANIFEST.in +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/README.rst +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/ace.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/alpaca.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/ascendex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bequant.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bigone.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/binance.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/binancecoinm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/binanceus.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/binanceusdm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bingx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bit2c.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitbank.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitbay.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitbns.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitcoincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitfinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitfinex2.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitflyer.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitforex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitget.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bithumb.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitmart.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitmex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitopro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitpanda.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitrue.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitso.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitstamp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitteam.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bitvavo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bl3p.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/blockchaincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/btcalpha.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/btcbox.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/btcmarkets.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/btcturk.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/bybit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/cex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinbase.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinbasepro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coincheck.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinlist.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinmate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinone.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinsph.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/coinspot.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/cryptocom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/currencycom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/delta.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/deribit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/digifinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/exmo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/fmfwio.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/gate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/gateio.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/gemini.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/hitbtc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/hitbtc3.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/hollaex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/htx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/huobi.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/huobijp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/idex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/independentreserve.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/indodax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/kraken.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/krakenfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/kucoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/kucoinfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/kuna.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/latoken.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/lbank.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/luno.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/lykke.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/mercado.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/mexc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/ndax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/novadax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/oceanex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/okcoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/okx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/p2b.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/paymium.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/phemex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/poloniex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/poloniexfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/probit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/timex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/tokocrypto.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/upbit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/wavesexchange.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/wazirx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/whitebit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/woo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/yobit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/zaif.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/abstract/zonda.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/ace.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/alpaca.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/ace.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/alpaca.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bequant.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bigone.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/binance.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/binanceusdm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitfinex2.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitget.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitpanda.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitso.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitstamp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitteam.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bl3p.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/btcalpha.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/bybit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/cex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinbasepro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinlist.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinsph.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/cryptocom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/delta.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/deribit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/exmo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/gate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/gateio.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/gemini.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/hitbtc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/hollaex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/htx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/huobi.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/idex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/indodax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/krakenfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/kucoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/kucoinfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/kuna.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/latoken.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/lbank.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/luno.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/lykke.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/mercado.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/mexc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/ndax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/novadax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/okx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/p2b.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/paymium.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/probit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/timex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/upbit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/woo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/yobit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/zaif.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/async_support/zonda.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/base/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/base/errors.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/base/precise.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/base/types.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bequant.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bigone.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/binance.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/binancecoinm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/binanceus.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/binanceusdm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bit2c.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitbank.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitbay.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitbns.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitcoincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitfinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitfinex2.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitflyer.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitforex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitget.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bithumb.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitmart.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitopro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitpanda.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitrue.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitso.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitstamp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitteam.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bitvavo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bl3p.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/blockchaincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/btcalpha.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/btcbox.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/btcmarkets.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/btcturk.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/bybit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/cex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinbase.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinbasepro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coincheck.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinlist.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinmate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinsph.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/coinspot.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/cryptocom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/currencycom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/delta.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/deribit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/digifinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/exmo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/flowbtc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/fmfwio.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/gate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/gateio.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/gemini.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/hitbtc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/hitbtc3.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/hollaex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/htx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/huobi.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/huobijp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/idex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/independentreserve.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/indodax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/krakenfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/kucoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/kucoinfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/kuna.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/latoken.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/lbank.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/luno.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/lykke.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/mercado.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/mexc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/ndax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/novadax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/oceanex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/okcoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/okx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/p2b.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/paymium.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/poloniex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/poloniexfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/alpaca.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/ascendex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bequant.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/binance.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/binanceus.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/binanceusdm.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bingx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitget.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitmart.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitmex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitopro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitpanda.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitrue.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/blockchaincom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/bybit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/cex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/coinbase.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/coinbasepro.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/coinex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/cryptocom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/currencycom.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/deribit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/exmo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/gate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/gateio.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/gemini.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/hollaex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/huobi.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/huobijp.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/idex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/kraken.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/kucoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/luno.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/mexc.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/ndax.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/okcoin.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/okx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/phemex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/poloniex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/poloniexfutures.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/probit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/upbit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/wazirx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/pro/whitebit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/probit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/__init__.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_account.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_last_price.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_market.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_number.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_order.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_position.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_status.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/timex.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/tokocrypto.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/upbit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/wavesexchange.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/wazirx.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/whitebit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/woo.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/yobit.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/zaif.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt/zonda.py +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/setup.cfg +0 -0
- {ccxt-4.2.14 → ccxt-4.2.16}/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.16
|
|
4
4
|
Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges
|
|
5
5
|
Home-page: https://ccxt.com
|
|
6
6
|
Author: Igor Kroitor
|
|
@@ -222,13 +222,13 @@ Description: # CCXT – CryptoCurrency eXchange Trading Library
|
|
|
222
222
|
|
|
223
223
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
224
224
|
|
|
225
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.
|
|
226
|
-
* unpkg: https://unpkg.com/ccxt@4.2.
|
|
225
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.16/dist/ccxt.browser.js
|
|
226
|
+
* unpkg: https://unpkg.com/ccxt@4.2.16/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.16/dist/ccxt.browser.js"></script>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Creates a global `ccxt` object:
|
|
@@ -800,12 +800,14 @@ class ascendex(Exchange, ImplicitAPI):
|
|
|
800
800
|
"""
|
|
801
801
|
self.load_markets()
|
|
802
802
|
self.load_accounts()
|
|
803
|
-
query = None
|
|
804
803
|
marketType = None
|
|
805
|
-
|
|
804
|
+
marginMode = None
|
|
805
|
+
marketType, params = self.handle_market_type_and_params('fetchBalance', None, params)
|
|
806
|
+
marginMode, params = self.handle_margin_mode_and_params('fetchBalance', params)
|
|
806
807
|
isMargin = self.safe_value(params, 'margin', False)
|
|
807
|
-
|
|
808
|
-
|
|
808
|
+
isCross = marginMode == 'cross'
|
|
809
|
+
marketType = 'margin' if (isMargin or isCross) else marketType
|
|
810
|
+
params = self.omit(params, 'margin')
|
|
809
811
|
accountsByType = self.safe_value(self.options, 'accountsByType', {})
|
|
810
812
|
accountCategory = self.safe_string(accountsByType, marketType, 'cash')
|
|
811
813
|
account = self.safe_value(self.accounts, 0, {})
|
|
@@ -813,13 +815,15 @@ class ascendex(Exchange, ImplicitAPI):
|
|
|
813
815
|
request = {
|
|
814
816
|
'account-group': accountGroup,
|
|
815
817
|
}
|
|
818
|
+
if (marginMode == 'isolated') and (marketType != 'swap'):
|
|
819
|
+
raise BadRequest(self.id + ' does not supported isolated margin trading')
|
|
816
820
|
if (accountCategory == 'cash') or (accountCategory == 'margin'):
|
|
817
821
|
request['account-category'] = accountCategory
|
|
818
822
|
response = None
|
|
819
823
|
if (marketType == 'spot') or (marketType == 'margin'):
|
|
820
|
-
response = self.v1PrivateAccountCategoryGetBalance(self.extend(request,
|
|
824
|
+
response = self.v1PrivateAccountCategoryGetBalance(self.extend(request, params))
|
|
821
825
|
elif marketType == 'swap':
|
|
822
|
-
response = self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request,
|
|
826
|
+
response = self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request, params))
|
|
823
827
|
else:
|
|
824
828
|
raise NotSupported(self.id + ' fetchBalance() is not currently supported for ' + marketType + ' markets')
|
|
825
829
|
#
|
|
@@ -800,12 +800,14 @@ class ascendex(Exchange, ImplicitAPI):
|
|
|
800
800
|
"""
|
|
801
801
|
await self.load_markets()
|
|
802
802
|
await self.load_accounts()
|
|
803
|
-
query = None
|
|
804
803
|
marketType = None
|
|
805
|
-
|
|
804
|
+
marginMode = None
|
|
805
|
+
marketType, params = self.handle_market_type_and_params('fetchBalance', None, params)
|
|
806
|
+
marginMode, params = self.handle_margin_mode_and_params('fetchBalance', params)
|
|
806
807
|
isMargin = self.safe_value(params, 'margin', False)
|
|
807
|
-
|
|
808
|
-
|
|
808
|
+
isCross = marginMode == 'cross'
|
|
809
|
+
marketType = 'margin' if (isMargin or isCross) else marketType
|
|
810
|
+
params = self.omit(params, 'margin')
|
|
809
811
|
accountsByType = self.safe_value(self.options, 'accountsByType', {})
|
|
810
812
|
accountCategory = self.safe_string(accountsByType, marketType, 'cash')
|
|
811
813
|
account = self.safe_value(self.accounts, 0, {})
|
|
@@ -813,13 +815,15 @@ class ascendex(Exchange, ImplicitAPI):
|
|
|
813
815
|
request = {
|
|
814
816
|
'account-group': accountGroup,
|
|
815
817
|
}
|
|
818
|
+
if (marginMode == 'isolated') and (marketType != 'swap'):
|
|
819
|
+
raise BadRequest(self.id + ' does not supported isolated margin trading')
|
|
816
820
|
if (accountCategory == 'cash') or (accountCategory == 'margin'):
|
|
817
821
|
request['account-category'] = accountCategory
|
|
818
822
|
response = None
|
|
819
823
|
if (marketType == 'spot') or (marketType == 'margin'):
|
|
820
|
-
response = await self.v1PrivateAccountCategoryGetBalance(self.extend(request,
|
|
824
|
+
response = await self.v1PrivateAccountCategoryGetBalance(self.extend(request, params))
|
|
821
825
|
elif marketType == 'swap':
|
|
822
|
-
response = await self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request,
|
|
826
|
+
response = await self.v2PrivateAccountGroupGetFuturesPosition(self.extend(request, params))
|
|
823
827
|
else:
|
|
824
828
|
raise NotSupported(self.id + ' fetchBalance() is not currently supported for ' + marketType + ' markets')
|
|
825
829
|
#
|
|
@@ -18,6 +18,7 @@ from ccxt.base.errors import BadRequest
|
|
|
18
18
|
from ccxt.base.errors import BadSymbol
|
|
19
19
|
from ccxt.base.errors import InsufficientFunds
|
|
20
20
|
from ccxt.base.errors import OrderNotFound
|
|
21
|
+
from ccxt.base.errors import NotSupported
|
|
21
22
|
from ccxt.base.errors import DDoSProtection
|
|
22
23
|
from ccxt.base.errors import ExchangeNotAvailable
|
|
23
24
|
from ccxt.base.errors import AuthenticationError
|
|
@@ -40,7 +41,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
40
41
|
'has': {
|
|
41
42
|
'CORS': None,
|
|
42
43
|
'spot': True,
|
|
43
|
-
'margin':
|
|
44
|
+
'margin': False,
|
|
44
45
|
'swap': True,
|
|
45
46
|
'future': False,
|
|
46
47
|
'option': False,
|
|
@@ -103,6 +104,9 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
103
104
|
'account': 'https://open-api.{hostname}/openApi',
|
|
104
105
|
'copyTrading': 'https://open-api.{hostname}/openApi',
|
|
105
106
|
},
|
|
107
|
+
'test': {
|
|
108
|
+
'swap': 'https://open-api-vst.{hostname}/openApi', # only swap is really "test" but since the API keys are the same, we want to keep all the functionalities when the user enables the sandboxmode
|
|
109
|
+
},
|
|
106
110
|
'www': 'https://bingx.com/',
|
|
107
111
|
'doc': 'https://bingx-api.github.io/docs/',
|
|
108
112
|
'referral': 'https://bingx.com/invite/OHETOM',
|
|
@@ -379,6 +383,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
379
383
|
'80016': OrderNotFound,
|
|
380
384
|
'80017': OrderNotFound,
|
|
381
385
|
'100414': AccountSuspended, # {"code":100414,"msg":"Code: 100414, Msg: risk control check fail,code(1)","debugMsg":""}
|
|
386
|
+
'100419': PermissionDenied, # {"code":100419,"msg":"IP does not match IP whitelist","success":false,"timestamp":1705274099347}
|
|
382
387
|
'100437': BadRequest, # {"code":100437,"msg":"The withdrawal amount is lower than the minimum limit, please re-enter.","timestamp":1689258588845}
|
|
383
388
|
},
|
|
384
389
|
'broad': {},
|
|
@@ -431,6 +436,9 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
431
436
|
"""
|
|
432
437
|
if not self.check_required_credentials(False):
|
|
433
438
|
return None
|
|
439
|
+
isSandbox = self.safe_value(self.options, 'sandboxMode', False)
|
|
440
|
+
if isSandbox:
|
|
441
|
+
return None
|
|
434
442
|
response = await self.walletsV1PrivateGetCapitalConfigGetall(params)
|
|
435
443
|
#
|
|
436
444
|
# {
|
|
@@ -662,7 +670,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
662
670
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
663
671
|
:returns dict[]: an array of objects representing market data
|
|
664
672
|
"""
|
|
665
|
-
requests = [self.
|
|
673
|
+
requests = [self.fetch_swap_markets(params)]
|
|
674
|
+
isSandbox = self.safe_value(self.options, 'sandboxMode', False)
|
|
675
|
+
if not isSandbox:
|
|
676
|
+
requests.append(self.fetch_spot_markets(params)) # sandbox is swap only
|
|
666
677
|
promises = await asyncio.gather(*requests)
|
|
667
678
|
spotMarkets = self.safe_value(promises, 0, [])
|
|
668
679
|
swapMarkets = self.safe_value(promises, 1, [])
|
|
@@ -2907,6 +2918,21 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2907
2918
|
# "txId": "0xb5ef8c13b968a406cc62a93a8bd80f9e9a906ef1b3fcf20a2e48573c17659268"
|
|
2908
2919
|
# }
|
|
2909
2920
|
#
|
|
2921
|
+
# withdraw
|
|
2922
|
+
#
|
|
2923
|
+
# {
|
|
2924
|
+
# "code":0,
|
|
2925
|
+
# "timestamp":1705274263621,
|
|
2926
|
+
# "data":{
|
|
2927
|
+
# "id":"1264246141278773252"
|
|
2928
|
+
# }
|
|
2929
|
+
# }
|
|
2930
|
+
#
|
|
2931
|
+
# parse withdraw-type output first...
|
|
2932
|
+
#
|
|
2933
|
+
data = self.safe_value(transaction, 'data')
|
|
2934
|
+
dataId = None if (data is None) else self.safe_string(data, 'id')
|
|
2935
|
+
id = self.safe_string(transaction, 'id', dataId)
|
|
2910
2936
|
address = self.safe_string(transaction, 'address')
|
|
2911
2937
|
tag = self.safe_string(transaction, 'addressTag')
|
|
2912
2938
|
timestamp = self.safe_integer(transaction, 'insertTime')
|
|
@@ -2924,7 +2950,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2924
2950
|
type = 'deposit' if (rawType == '0') else 'withdrawal'
|
|
2925
2951
|
return {
|
|
2926
2952
|
'info': transaction,
|
|
2927
|
-
'id':
|
|
2953
|
+
'id': id,
|
|
2928
2954
|
'txid': self.safe_string(transaction, 'txId'),
|
|
2929
2955
|
'type': type,
|
|
2930
2956
|
'currency': code,
|
|
@@ -3505,6 +3531,9 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
3505
3531
|
type = section[0]
|
|
3506
3532
|
version = section[1]
|
|
3507
3533
|
access = section[2]
|
|
3534
|
+
isSandbox = self.safe_value(self.options, 'sandboxMode', False)
|
|
3535
|
+
if isSandbox and (type != 'swap'):
|
|
3536
|
+
raise NotSupported(self.id + ' does not have a testnet/sandbox URL for ' + type + ' endpoints')
|
|
3508
3537
|
url = self.implode_hostname(self.urls['api'][type])
|
|
3509
3538
|
if type == 'spot' and version == 'v3':
|
|
3510
3539
|
url += '/api'
|
|
@@ -3540,6 +3569,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
3540
3569
|
def nonce(self):
|
|
3541
3570
|
return self.milliseconds()
|
|
3542
3571
|
|
|
3572
|
+
def set_sandbox_mode(self, enable):
|
|
3573
|
+
super(bingx, self).set_sandbox_mode(enable)
|
|
3574
|
+
self.options['sandboxMode'] = enable
|
|
3575
|
+
|
|
3543
3576
|
def handle_errors(self, httpCode, reason, url, method, headers, body, response, requestHeaders, requestBody):
|
|
3544
3577
|
if response is None:
|
|
3545
3578
|
return None # fallback to default error handler
|
|
@@ -1428,8 +1428,8 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
1428
1428
|
timestamp = since
|
|
1429
1429
|
if fetchOHLCVOpenTimestamp:
|
|
1430
1430
|
timestamp = self.sum(timestamp, duration)
|
|
1431
|
-
|
|
1432
|
-
request['startTime'] =
|
|
1431
|
+
startTime = self.iso8601(timestamp)
|
|
1432
|
+
request['startTime'] = startTime # starting date filter for results
|
|
1433
1433
|
else:
|
|
1434
1434
|
request['reverse'] = True
|
|
1435
1435
|
response = await self.publicGetTradeBucketed(self.extend(request, params))
|
|
@@ -2441,12 +2441,9 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
2441
2441
|
if networkCode is None:
|
|
2442
2442
|
raise ArgumentsRequired(self.id + ' fetchDepositAddress requires params["network"]')
|
|
2443
2443
|
currency = self.currency(code)
|
|
2444
|
-
currencyId = currency['id']
|
|
2445
|
-
idLength = len(currencyId)
|
|
2446
|
-
currencyId = currencyId[0:idLength - 1] + currencyId[idLength - 1:idLength].lower() # make the last letter lowercase
|
|
2447
2444
|
params = self.omit(params, 'network')
|
|
2448
2445
|
request = {
|
|
2449
|
-
'currency':
|
|
2446
|
+
'currency': currency['id'],
|
|
2450
2447
|
'network': self.network_code_to_id(networkCode, currency['code']),
|
|
2451
2448
|
}
|
|
2452
2449
|
response = await self.privateGetUserDepositAddress(self.extend(request, params))
|
|
@@ -83,7 +83,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
|
83
83
|
'setLeverage': False,
|
|
84
84
|
'setMarginMode': False,
|
|
85
85
|
'setPositionMode': False,
|
|
86
|
-
'ws':
|
|
86
|
+
'ws': True,
|
|
87
87
|
},
|
|
88
88
|
'urls': {
|
|
89
89
|
'logo': 'https://user-images.githubusercontent.com/1294454/38003300-adc12fba-323f-11e8-8525-725f53c4a659.jpg',
|
|
@@ -1388,6 +1388,16 @@ class kraken(Exchange, ImplicitAPI):
|
|
|
1388
1388
|
}
|
|
1389
1389
|
return self.safe_string(statuses, status, status)
|
|
1390
1390
|
|
|
1391
|
+
def parse_order_type(self, status):
|
|
1392
|
+
statuses = {
|
|
1393
|
+
'take-profit': 'market',
|
|
1394
|
+
'stop-loss-limit': 'limit',
|
|
1395
|
+
'stop-loss': 'market',
|
|
1396
|
+
'take-profit-limit': 'limit',
|
|
1397
|
+
'trailing-stop-limit': 'limit',
|
|
1398
|
+
}
|
|
1399
|
+
return self.safe_string(statuses, status, status)
|
|
1400
|
+
|
|
1391
1401
|
def parse_order(self, order, market: Market = None) -> Order:
|
|
1392
1402
|
#
|
|
1393
1403
|
# createOrder for regular orders
|
|
@@ -1515,7 +1525,15 @@ class kraken(Exchange, ImplicitAPI):
|
|
|
1515
1525
|
trades.append(self.safe_trade({'id': rawTrade, 'orderId': id, 'symbol': symbol, 'info': {}}))
|
|
1516
1526
|
else:
|
|
1517
1527
|
trades.append(rawTrade)
|
|
1518
|
-
stopPrice = self.
|
|
1528
|
+
stopPrice = self.omit_zero(self.safe_string(order, 'stopprice', stopPrice))
|
|
1529
|
+
stopLossPrice = None
|
|
1530
|
+
takeProfitPrice = None
|
|
1531
|
+
if type.startswith('take-profit'):
|
|
1532
|
+
takeProfitPrice = self.safe_string(description, 'price')
|
|
1533
|
+
price = self.omit_zero(self.safe_string(description, 'price2'))
|
|
1534
|
+
elif type.startswith('stop-loss'):
|
|
1535
|
+
stopLossPrice = self.safe_string(description, 'price')
|
|
1536
|
+
price = self.omit_zero(self.safe_string(description, 'price2'))
|
|
1519
1537
|
return self.safe_order({
|
|
1520
1538
|
'id': id,
|
|
1521
1539
|
'clientOrderId': clientOrderId,
|
|
@@ -1525,13 +1543,15 @@ class kraken(Exchange, ImplicitAPI):
|
|
|
1525
1543
|
'lastTradeTimestamp': None,
|
|
1526
1544
|
'status': status,
|
|
1527
1545
|
'symbol': symbol,
|
|
1528
|
-
'type': type,
|
|
1546
|
+
'type': self.parse_order_type(type),
|
|
1529
1547
|
'timeInForce': None,
|
|
1530
1548
|
'postOnly': isPostOnly,
|
|
1531
1549
|
'side': side,
|
|
1532
1550
|
'price': price,
|
|
1533
1551
|
'stopPrice': stopPrice,
|
|
1534
1552
|
'triggerPrice': stopPrice,
|
|
1553
|
+
'takeProfitPrice': takeProfitPrice,
|
|
1554
|
+
'stopLossPrice': stopLossPrice,
|
|
1535
1555
|
'cost': None,
|
|
1536
1556
|
'amount': amount,
|
|
1537
1557
|
'filled': filled,
|
|
@@ -2785,12 +2785,14 @@ class phemex(Exchange, ImplicitAPI):
|
|
|
2785
2785
|
fetch all unfilled currently open orders
|
|
2786
2786
|
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryopenorder
|
|
2787
2787
|
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md
|
|
2788
|
+
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotListAllOpenOrder
|
|
2788
2789
|
:param str symbol: unified market symbol
|
|
2789
2790
|
:param int [since]: the earliest time in ms to fetch open orders for
|
|
2790
2791
|
:param int [limit]: the maximum number of open order structures to retrieve
|
|
2791
2792
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
2792
2793
|
:returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
2793
2794
|
"""
|
|
2795
|
+
await self.load_markets()
|
|
2794
2796
|
if symbol is None:
|
|
2795
2797
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
|
2796
2798
|
await self.load_markets()
|
|
@@ -2821,26 +2823,31 @@ class phemex(Exchange, ImplicitAPI):
|
|
|
2821
2823
|
"""
|
|
2822
2824
|
fetches information on multiple closed orders made by the user
|
|
2823
2825
|
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
|
|
2826
|
+
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#queryorder
|
|
2827
|
+
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedgedd-Perpetual-API.md#query-closed-orders-by-symbol
|
|
2828
|
+
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataOrdersByIds
|
|
2824
2829
|
:param str symbol: unified market symbol of the market orders were made in
|
|
2825
2830
|
:param int [since]: the earliest time in ms to fetch orders for
|
|
2826
2831
|
:param int [limit]: the maximum number of order structures to retrieve
|
|
2827
2832
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
2833
|
+
:param str [params.settle]: the settlement currency to fetch orders for
|
|
2828
2834
|
:returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
2829
2835
|
"""
|
|
2830
|
-
if symbol is None:
|
|
2831
|
-
raise ArgumentsRequired(self.id + ' fetchClosedOrders() requires a symbol argument')
|
|
2832
2836
|
await self.load_markets()
|
|
2833
|
-
market =
|
|
2837
|
+
market = None
|
|
2838
|
+
if symbol is not None:
|
|
2839
|
+
market = self.market(symbol)
|
|
2834
2840
|
request = {
|
|
2835
|
-
'symbol': market['id'],
|
|
2836
2841
|
}
|
|
2842
|
+
if market is not None:
|
|
2843
|
+
request['symbol'] = market['id']
|
|
2837
2844
|
if since is not None:
|
|
2838
2845
|
request['start'] = since
|
|
2839
2846
|
if limit is not None:
|
|
2840
2847
|
request['limit'] = limit
|
|
2841
2848
|
response = None
|
|
2842
|
-
if market
|
|
2843
|
-
request['currency'] =
|
|
2849
|
+
if (symbol is None) or (self.safe_string(market, 'settle') == 'USDT'):
|
|
2850
|
+
request['currency'] = self.safe_string(params, 'settle', 'USDT')
|
|
2844
2851
|
response = await self.privateGetExchangeOrderV2OrderList(self.extend(request, params))
|
|
2845
2852
|
elif market['swap']:
|
|
2846
2853
|
response = await self.privateGetExchangeOrderList(self.extend(request, params))
|
|
@@ -2894,21 +2901,23 @@ class phemex(Exchange, ImplicitAPI):
|
|
|
2894
2901
|
fetch all trades made by the user
|
|
2895
2902
|
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-user-trade
|
|
2896
2903
|
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-user-trade
|
|
2904
|
+
:see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataTradesHist
|
|
2897
2905
|
:param str symbol: unified market symbol
|
|
2898
2906
|
:param int [since]: the earliest time in ms to fetch trades for
|
|
2899
2907
|
:param int [limit]: the maximum number of trades structures to retrieve
|
|
2900
2908
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
2901
2909
|
:returns Trade[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
2902
2910
|
"""
|
|
2903
|
-
if symbol is None:
|
|
2904
|
-
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
|
2905
2911
|
await self.load_markets()
|
|
2906
|
-
market =
|
|
2912
|
+
market = None
|
|
2913
|
+
if symbol is not None:
|
|
2914
|
+
market = self.market(symbol)
|
|
2907
2915
|
request = {}
|
|
2908
2916
|
if limit is not None:
|
|
2909
2917
|
limit = min(200, limit)
|
|
2910
2918
|
request['limit'] = limit
|
|
2911
|
-
|
|
2919
|
+
isUSDTSettled = (symbol is None) or (self.safe_string(market, 'settle') == 'USDT')
|
|
2920
|
+
if isUSDTSettled:
|
|
2912
2921
|
request['currency'] = 'USDT'
|
|
2913
2922
|
request['offset'] = 0
|
|
2914
2923
|
if limit is None:
|
|
@@ -2917,15 +2926,11 @@ class phemex(Exchange, ImplicitAPI):
|
|
|
2917
2926
|
request['symbol'] = market['id']
|
|
2918
2927
|
if since is not None:
|
|
2919
2928
|
request['start'] = since
|
|
2920
|
-
if market['swap'] and (limit is not None):
|
|
2921
|
-
request['limit'] = limit
|
|
2922
|
-
isUSDTSettled = market['settle'] == 'USDT'
|
|
2923
2929
|
response = None
|
|
2924
|
-
if
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
response = await self.privateGetExchangeOrderTrade(self.extend(request, params))
|
|
2930
|
+
if isUSDTSettled:
|
|
2931
|
+
response = await self.privateGetExchangeOrderV2TradingList(self.extend(request, params))
|
|
2932
|
+
elif market['swap']:
|
|
2933
|
+
response = await self.privateGetExchangeOrderTrade(self.extend(request, params))
|
|
2929
2934
|
else:
|
|
2930
2935
|
response = await self.privateGetExchangeSpotOrderTrades(self.extend(request, params))
|
|
2931
2936
|
#
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# -----------------------------------------------------------------------------
|
|
6
6
|
|
|
7
|
-
__version__ = '4.2.
|
|
7
|
+
__version__ = '4.2.16'
|
|
8
8
|
|
|
9
9
|
# -----------------------------------------------------------------------------
|
|
10
10
|
|
|
@@ -1789,10 +1789,10 @@ class Exchange(object):
|
|
|
1789
1789
|
httpsProxy = None
|
|
1790
1790
|
socksProxy = None
|
|
1791
1791
|
# httpProxy
|
|
1792
|
-
if self.httpProxy
|
|
1792
|
+
if self.valueIsDefined(self.httpProxy):
|
|
1793
1793
|
usedProxies.append('httpProxy')
|
|
1794
1794
|
httpProxy = self.httpProxy
|
|
1795
|
-
if self.http_proxy
|
|
1795
|
+
if self.valueIsDefined(self.http_proxy):
|
|
1796
1796
|
usedProxies.append('http_proxy')
|
|
1797
1797
|
httpProxy = self.http_proxy
|
|
1798
1798
|
if self.httpProxyCallback is not None:
|
|
@@ -1802,10 +1802,10 @@ class Exchange(object):
|
|
|
1802
1802
|
usedProxies.append('http_proxy_callback')
|
|
1803
1803
|
httpProxy = self.http_proxy_callback(url, method, headers, body)
|
|
1804
1804
|
# httpsProxy
|
|
1805
|
-
if self.httpsProxy
|
|
1805
|
+
if self.valueIsDefined(self.httpsProxy):
|
|
1806
1806
|
usedProxies.append('httpsProxy')
|
|
1807
1807
|
httpsProxy = self.httpsProxy
|
|
1808
|
-
if self.https_proxy
|
|
1808
|
+
if self.valueIsDefined(self.https_proxy):
|
|
1809
1809
|
usedProxies.append('https_proxy')
|
|
1810
1810
|
httpsProxy = self.https_proxy
|
|
1811
1811
|
if self.httpsProxyCallback is not None:
|
|
@@ -1815,10 +1815,10 @@ class Exchange(object):
|
|
|
1815
1815
|
usedProxies.append('https_proxy_callback')
|
|
1816
1816
|
httpsProxy = self.https_proxy_callback(url, method, headers, body)
|
|
1817
1817
|
# socksProxy
|
|
1818
|
-
if self.socksProxy
|
|
1818
|
+
if self.valueIsDefined(self.socksProxy):
|
|
1819
1819
|
usedProxies.append('socksProxy')
|
|
1820
1820
|
socksProxy = self.socksProxy
|
|
1821
|
-
if self.socks_proxy
|
|
1821
|
+
if self.valueIsDefined(self.socks_proxy):
|
|
1822
1822
|
usedProxies.append('socks_proxy')
|
|
1823
1823
|
socksProxy = self.socks_proxy
|
|
1824
1824
|
if self.socksProxyCallback is not None:
|
|
@@ -1840,24 +1840,24 @@ class Exchange(object):
|
|
|
1840
1840
|
wssProxy = None
|
|
1841
1841
|
wsSocksProxy = None
|
|
1842
1842
|
# ws proxy
|
|
1843
|
-
if self.wsProxy
|
|
1843
|
+
if self.valueIsDefined(self.wsProxy):
|
|
1844
1844
|
usedProxies.append('wsProxy')
|
|
1845
1845
|
wsProxy = self.wsProxy
|
|
1846
|
-
if self.ws_proxy
|
|
1846
|
+
if self.valueIsDefined(self.ws_proxy):
|
|
1847
1847
|
usedProxies.append('ws_proxy')
|
|
1848
1848
|
wsProxy = self.ws_proxy
|
|
1849
1849
|
# wss proxy
|
|
1850
|
-
if self.wssProxy
|
|
1850
|
+
if self.valueIsDefined(self.wssProxy):
|
|
1851
1851
|
usedProxies.append('wssProxy')
|
|
1852
1852
|
wssProxy = self.wssProxy
|
|
1853
|
-
if self.wss_proxy
|
|
1853
|
+
if self.valueIsDefined(self.wss_proxy):
|
|
1854
1854
|
usedProxies.append('wss_proxy')
|
|
1855
1855
|
wssProxy = self.wss_proxy
|
|
1856
1856
|
# ws socks proxy
|
|
1857
|
-
if self.wsSocksProxy
|
|
1857
|
+
if self.valueIsDefined(self.wsSocksProxy):
|
|
1858
1858
|
usedProxies.append('wsSocksProxy')
|
|
1859
1859
|
wsSocksProxy = self.wsSocksProxy
|
|
1860
|
-
if self.ws_socks_proxy
|
|
1860
|
+
if self.valueIsDefined(self.ws_socks_proxy):
|
|
1861
1861
|
usedProxies.append('ws_socks_proxy')
|
|
1862
1862
|
wsSocksProxy = self.ws_socks_proxy
|
|
1863
1863
|
# check
|
|
@@ -17,6 +17,7 @@ from ccxt.base.errors import BadRequest
|
|
|
17
17
|
from ccxt.base.errors import BadSymbol
|
|
18
18
|
from ccxt.base.errors import InsufficientFunds
|
|
19
19
|
from ccxt.base.errors import OrderNotFound
|
|
20
|
+
from ccxt.base.errors import NotSupported
|
|
20
21
|
from ccxt.base.errors import DDoSProtection
|
|
21
22
|
from ccxt.base.errors import ExchangeNotAvailable
|
|
22
23
|
from ccxt.base.errors import AuthenticationError
|
|
@@ -39,7 +40,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
39
40
|
'has': {
|
|
40
41
|
'CORS': None,
|
|
41
42
|
'spot': True,
|
|
42
|
-
'margin':
|
|
43
|
+
'margin': False,
|
|
43
44
|
'swap': True,
|
|
44
45
|
'future': False,
|
|
45
46
|
'option': False,
|
|
@@ -102,6 +103,9 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
102
103
|
'account': 'https://open-api.{hostname}/openApi',
|
|
103
104
|
'copyTrading': 'https://open-api.{hostname}/openApi',
|
|
104
105
|
},
|
|
106
|
+
'test': {
|
|
107
|
+
'swap': 'https://open-api-vst.{hostname}/openApi', # only swap is really "test" but since the API keys are the same, we want to keep all the functionalities when the user enables the sandboxmode
|
|
108
|
+
},
|
|
105
109
|
'www': 'https://bingx.com/',
|
|
106
110
|
'doc': 'https://bingx-api.github.io/docs/',
|
|
107
111
|
'referral': 'https://bingx.com/invite/OHETOM',
|
|
@@ -378,6 +382,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
378
382
|
'80016': OrderNotFound,
|
|
379
383
|
'80017': OrderNotFound,
|
|
380
384
|
'100414': AccountSuspended, # {"code":100414,"msg":"Code: 100414, Msg: risk control check fail,code(1)","debugMsg":""}
|
|
385
|
+
'100419': PermissionDenied, # {"code":100419,"msg":"IP does not match IP whitelist","success":false,"timestamp":1705274099347}
|
|
381
386
|
'100437': BadRequest, # {"code":100437,"msg":"The withdrawal amount is lower than the minimum limit, please re-enter.","timestamp":1689258588845}
|
|
382
387
|
},
|
|
383
388
|
'broad': {},
|
|
@@ -430,6 +435,9 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
430
435
|
"""
|
|
431
436
|
if not self.check_required_credentials(False):
|
|
432
437
|
return None
|
|
438
|
+
isSandbox = self.safe_value(self.options, 'sandboxMode', False)
|
|
439
|
+
if isSandbox:
|
|
440
|
+
return None
|
|
433
441
|
response = self.walletsV1PrivateGetCapitalConfigGetall(params)
|
|
434
442
|
#
|
|
435
443
|
# {
|
|
@@ -661,7 +669,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
661
669
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
662
670
|
:returns dict[]: an array of objects representing market data
|
|
663
671
|
"""
|
|
664
|
-
requests = [self.
|
|
672
|
+
requests = [self.fetch_swap_markets(params)]
|
|
673
|
+
isSandbox = self.safe_value(self.options, 'sandboxMode', False)
|
|
674
|
+
if not isSandbox:
|
|
675
|
+
requests.append(self.fetch_spot_markets(params)) # sandbox is swap only
|
|
665
676
|
promises = requests
|
|
666
677
|
spotMarkets = self.safe_value(promises, 0, [])
|
|
667
678
|
swapMarkets = self.safe_value(promises, 1, [])
|
|
@@ -2906,6 +2917,21 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2906
2917
|
# "txId": "0xb5ef8c13b968a406cc62a93a8bd80f9e9a906ef1b3fcf20a2e48573c17659268"
|
|
2907
2918
|
# }
|
|
2908
2919
|
#
|
|
2920
|
+
# withdraw
|
|
2921
|
+
#
|
|
2922
|
+
# {
|
|
2923
|
+
# "code":0,
|
|
2924
|
+
# "timestamp":1705274263621,
|
|
2925
|
+
# "data":{
|
|
2926
|
+
# "id":"1264246141278773252"
|
|
2927
|
+
# }
|
|
2928
|
+
# }
|
|
2929
|
+
#
|
|
2930
|
+
# parse withdraw-type output first...
|
|
2931
|
+
#
|
|
2932
|
+
data = self.safe_value(transaction, 'data')
|
|
2933
|
+
dataId = None if (data is None) else self.safe_string(data, 'id')
|
|
2934
|
+
id = self.safe_string(transaction, 'id', dataId)
|
|
2909
2935
|
address = self.safe_string(transaction, 'address')
|
|
2910
2936
|
tag = self.safe_string(transaction, 'addressTag')
|
|
2911
2937
|
timestamp = self.safe_integer(transaction, 'insertTime')
|
|
@@ -2923,7 +2949,7 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
2923
2949
|
type = 'deposit' if (rawType == '0') else 'withdrawal'
|
|
2924
2950
|
return {
|
|
2925
2951
|
'info': transaction,
|
|
2926
|
-
'id':
|
|
2952
|
+
'id': id,
|
|
2927
2953
|
'txid': self.safe_string(transaction, 'txId'),
|
|
2928
2954
|
'type': type,
|
|
2929
2955
|
'currency': code,
|
|
@@ -3504,6 +3530,9 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
3504
3530
|
type = section[0]
|
|
3505
3531
|
version = section[1]
|
|
3506
3532
|
access = section[2]
|
|
3533
|
+
isSandbox = self.safe_value(self.options, 'sandboxMode', False)
|
|
3534
|
+
if isSandbox and (type != 'swap'):
|
|
3535
|
+
raise NotSupported(self.id + ' does not have a testnet/sandbox URL for ' + type + ' endpoints')
|
|
3507
3536
|
url = self.implode_hostname(self.urls['api'][type])
|
|
3508
3537
|
if type == 'spot' and version == 'v3':
|
|
3509
3538
|
url += '/api'
|
|
@@ -3539,6 +3568,10 @@ class bingx(Exchange, ImplicitAPI):
|
|
|
3539
3568
|
def nonce(self):
|
|
3540
3569
|
return self.milliseconds()
|
|
3541
3570
|
|
|
3571
|
+
def set_sandbox_mode(self, enable):
|
|
3572
|
+
super(bingx, self).set_sandbox_mode(enable)
|
|
3573
|
+
self.options['sandboxMode'] = enable
|
|
3574
|
+
|
|
3542
3575
|
def handle_errors(self, httpCode, reason, url, method, headers, body, response, requestHeaders, requestBody):
|
|
3543
3576
|
if response is None:
|
|
3544
3577
|
return None # fallback to default error handler
|
|
@@ -1428,8 +1428,8 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
1428
1428
|
timestamp = since
|
|
1429
1429
|
if fetchOHLCVOpenTimestamp:
|
|
1430
1430
|
timestamp = self.sum(timestamp, duration)
|
|
1431
|
-
|
|
1432
|
-
request['startTime'] =
|
|
1431
|
+
startTime = self.iso8601(timestamp)
|
|
1432
|
+
request['startTime'] = startTime # starting date filter for results
|
|
1433
1433
|
else:
|
|
1434
1434
|
request['reverse'] = True
|
|
1435
1435
|
response = self.publicGetTradeBucketed(self.extend(request, params))
|
|
@@ -2441,12 +2441,9 @@ class bitmex(Exchange, ImplicitAPI):
|
|
|
2441
2441
|
if networkCode is None:
|
|
2442
2442
|
raise ArgumentsRequired(self.id + ' fetchDepositAddress requires params["network"]')
|
|
2443
2443
|
currency = self.currency(code)
|
|
2444
|
-
currencyId = currency['id']
|
|
2445
|
-
idLength = len(currencyId)
|
|
2446
|
-
currencyId = currencyId[0:idLength - 1] + currencyId[idLength - 1:idLength].lower() # make the last letter lowercase
|
|
2447
2444
|
params = self.omit(params, 'network')
|
|
2448
2445
|
request = {
|
|
2449
|
-
'currency':
|
|
2446
|
+
'currency': currency['id'],
|
|
2450
2447
|
'network': self.network_code_to_id(networkCode, currency['code']),
|
|
2451
2448
|
}
|
|
2452
2449
|
response = self.privateGetUserDepositAddress(self.extend(request, params))
|
|
@@ -83,7 +83,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
|
83
83
|
'setLeverage': False,
|
|
84
84
|
'setMarginMode': False,
|
|
85
85
|
'setPositionMode': False,
|
|
86
|
-
'ws':
|
|
86
|
+
'ws': True,
|
|
87
87
|
},
|
|
88
88
|
'urls': {
|
|
89
89
|
'logo': 'https://user-images.githubusercontent.com/1294454/38003300-adc12fba-323f-11e8-8525-725f53c4a659.jpg',
|