ccxt 3.0.79__tar.gz → 3.0.81__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-3.0.79/ccxt.egg-info → ccxt-3.0.81}/PKG-INFO +6 -7
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/__init__.py +1 -3
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/ascendex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/__init__.py +1 -3
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/ascendex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/exchange.py +17 -24
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/binanceusdm.py +1 -1
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitfinex2.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitpanda.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitstamp.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinbasepro.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/delta.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/exmo.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/gate.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/hitbtc.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/hollaex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/kraken.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/krakenfutures.py +2 -2
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/kucoin.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/latoken.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/lykke.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/ndax.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/phemex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/probit.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/stex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/timex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/upbit.py +21 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/zonda.py +15 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/base/exchange.py +17 -24
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/binanceusdm.py +1 -1
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitfinex2.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitpanda.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitstamp.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinbasepro.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/delta.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/exmo.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/gate.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/hitbtc.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/hollaex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/kraken.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/krakenfutures.py +2 -2
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/kucoin.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/latoken.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/lykke.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/ndax.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/phemex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/__init__.py +1 -3
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/binanceusdm.py +9 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bybit.py +2 -1
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/woo.py +7 -4
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/probit.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/stex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/timex.py +1 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/upbit.py +21 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/zonda.py +15 -0
- {ccxt-3.0.79 → ccxt-3.0.81/ccxt.egg-info}/PKG-INFO +6 -7
- {ccxt-3.0.79 → ccxt-3.0.81}/package.json +1 -1
- {ccxt-3.0.79 → ccxt-3.0.81}/LICENSE.txt +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/MANIFEST.in +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/README.rst +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/ace.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/alpaca.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/ace.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/alpaca.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/throttler.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/aiohttp_client.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/cache.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/client.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/fast_client.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/functions.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/future.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/order_book.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/base/ws/order_book_side.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bequant.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bigone.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/binance.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/binancecoinm.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/binanceus.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bit2c.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitbank.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitbay.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitbns.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitcoincom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitfinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitflyer.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitforex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitget.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bithumb.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitmart.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitmex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitopro.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitrue.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitso.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitstamp1.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bittrex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bitvavo.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bkex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bl3p.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/blockchaincom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/btcalpha.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/btcbox.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/btcex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/btcmarkets.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/btctradeua.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/btcturk.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/buda.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/bybit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/cex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinbase.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinbaseprime.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coincheck.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinfalcon.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinmate.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinone.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinsph.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/coinspot.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/cryptocom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/currencycom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/deribit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/digifinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/flowbtc.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/fmfwio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/gateio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/gemini.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/hitbtc3.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/huobi.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/huobijp.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/huobipro.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/idex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/independentreserve.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/indodax.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/itbit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/kucoinfutures.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/kuna.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/lbank.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/lbank2.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/luno.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/mercado.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/mexc.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/mexc3.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/novadax.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/oceanex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/okcoin.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/okex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/okex5.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/okx.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/paymium.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/poloniex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/poloniexfutures.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/ripio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/tidex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/tokocrypto.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/wavesexchange.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/wazirx.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/whitebit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/woo.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/xt.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/yobit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/zaif.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/async_support/zb.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/base/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/base/decimal_to_precision.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/base/errors.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/base/precise.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/base/types.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bequant.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bigone.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/binance.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/binancecoinm.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/binanceus.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bit2c.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitbank.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitbay.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitbns.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitcoincom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitfinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitflyer.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitforex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitget.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bithumb.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitmart.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitmex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitopro.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitrue.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitso.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitstamp1.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bittrex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bitvavo.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bkex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bl3p.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/blockchaincom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/btcalpha.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/btcbox.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/btcex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/btcmarkets.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/btctradeua.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/btcturk.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/buda.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/bybit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/cex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinbase.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinbaseprime.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coincheck.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinfalcon.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinmate.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinone.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinsph.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/coinspot.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/cryptocom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/currencycom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/deribit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/digifinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/flowbtc.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/fmfwio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/gateio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/gemini.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/hitbtc3.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/huobi.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/huobijp.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/huobipro.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/idex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/independentreserve.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/indodax.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/itbit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/kucoinfutures.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/kuna.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/lbank.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/lbank2.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/luno.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/mercado.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/mexc.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/mexc3.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/novadax.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/oceanex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/okcoin.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/okex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/okex5.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/okx.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/paymium.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/poloniex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/poloniexfutures.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/alpaca.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/ascendex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bequant.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/binance.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/binancecoinm.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/binanceus.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitcoincom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitfinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitfinex2.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitget.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitmart.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitmex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitopro.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitrue.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitstamp.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bittrex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/bitvavo.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/btcex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/cex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/coinbaseprime.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/coinbasepro.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/coinex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/cryptocom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/currencycom.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/deribit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/exmo.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/gate.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/gateio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/gemini.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/hitbtc.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/hollaex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/huobi.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/huobijp.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/huobipro.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/idex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/independentreserve.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/kraken.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/kucoin.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/kucoinfutures.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/luno.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/mexc.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/mexc3.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/ndax.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/okcoin.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/okex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/okx.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/phemex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/probit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/ripio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/upbit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/wazirx.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/whitebit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/pro/zb.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/ripio.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/_version.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/curves.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/der.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/ecdsa.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/ellipticcurve.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/keys.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/numbertheory.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/rfc6979.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/ecdsa/util.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/keccak/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/static_dependencies/keccak/keccak.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/__init__.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_account.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_balance.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_borrow_interest.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_borrow_rate.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_calculate_fee.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_crypto.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_currency.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_datetime.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_decimal_to_precision.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_deep_extend.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_deposit_withdrawal.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_exchange_datetime_functions.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_funding_rate_history.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_ledger_entry.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_ledger_item.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_leverage_tier.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_margin_modification.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_market.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_number.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_ohlcv.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_open_interest.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_order.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_order_book.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_position.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_shared_methods.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_status.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_throttle.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_ticker.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_trade.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_trading_fee.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/base/test_transaction.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/test_async.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/test/test_sync.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/tidex.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/tokocrypto.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/wavesexchange.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/wazirx.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/whitebit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/woo.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/xt.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/yobit.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/zaif.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt/zb.py +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt.egg-info/SOURCES.txt +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt.egg-info/dependency_links.txt +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt.egg-info/requires.txt +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/ccxt.egg-info/top_level.txt +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/setup.cfg +0 -0
- {ccxt-3.0.79 → ccxt-3.0.81}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.81
|
4
4
|
Summary: A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges
|
5
5
|
Home-page: https://ccxt.com
|
6
6
|
Author: Igor Kroitor
|
@@ -13,7 +13,7 @@ Project-URL: Twitter, https://twitter.com/ccxt_official
|
|
13
13
|
Project-URL: Funding, https://opencollective.com/ccxt
|
14
14
|
Description: # CCXT – CryptoCurrency eXchange Trading Library
|
15
15
|
|
16
|
-
[](https://travis-ci.com/ccxt/ccxt) [](https://npmjs.com/package/ccxt) [](https://pypi.python.org/pypi/ccxt) [](https://www.npmjs.com/package/ccxt) [](https://discord.gg/ccxt) [](https://travis-ci.com/ccxt/ccxt) [](https://npmjs.com/package/ccxt) [](https://pypi.python.org/pypi/ccxt) [](https://www.npmjs.com/package/ccxt) [](https://discord.gg/ccxt) [](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) [](https://twitter.com/ccxt_official)
|
17
17
|
|
18
18
|
A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
|
19
19
|
|
@@ -69,7 +69,7 @@ Description: # CCXT – CryptoCurrency eXchange Trading Library
|
|
69
69
|
|
70
70
|
## Supported Cryptocurrency Exchange Markets
|
71
71
|
|
72
|
-
The CCXT library currently supports the following
|
72
|
+
The CCXT library currently supports the following 105 cryptocurrency exchange markets and trading APIs:
|
73
73
|
|
74
74
|
| logo | id | name | ver | certified | pro |
|
75
75
|
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|---------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
|
@@ -177,7 +177,6 @@ Description: # CCXT – CryptoCurrency eXchange Trading Library
|
|
177
177
|
| [](https://www.xt.com/en/accounts/register?ref=9PTM9VW) | xt | [XT](https://www.xt.com/en/accounts/register?ref=9PTM9VW) | [](https://doc.xt.com/) | | |
|
178
178
|
| [](https://www.yobit.net) | yobit | [YoBit](https://www.yobit.net) | [](https://www.yobit.net/en/api/) | | |
|
179
179
|
| [](https://zaif.jp) | zaif | [Zaif](https://zaif.jp) | [](https://techbureau-api-document.readthedocs.io/ja/latest/index.html) | | |
|
180
|
-
| [](https://www.zb.com/en/register?ref=4301lera) | zb | [ZB](https://www.zb.com/en/register?ref=4301lera) | [](https://www.zb.com/i/developer) | | [](https://ccxt.pro) |
|
181
180
|
| [](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | zonda | [Zonda](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | [](https://docs.zonda.exchange/) | | |
|
182
181
|
|
183
182
|
The list above is updated frequently, new crypto markets, exchanges, bug fixes, and API endpoints are introduced on a regular basis. See the [Manual](https://docs.ccxt.com/#/README) for more details. If you can't find a cryptocurrency exchange in the list above and want it to be added, post a link to it by opening an issue here on GitHub or send us an email.
|
@@ -235,13 +234,13 @@ Description: # CCXT – CryptoCurrency eXchange Trading Library
|
|
235
234
|
|
236
235
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
237
236
|
|
238
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@3.0.
|
239
|
-
* unpkg: https://unpkg.com/ccxt@3.0.
|
237
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@3.0.81/dist/ccxt.browser.js
|
238
|
+
* unpkg: https://unpkg.com/ccxt@3.0.81/dist/ccxt.browser.js
|
240
239
|
|
241
240
|
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.
|
242
241
|
|
243
242
|
```HTML
|
244
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@3.0.
|
243
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@3.0.81/dist/ccxt.browser.js"></script>
|
245
244
|
```
|
246
245
|
|
247
246
|
Creates a global `ccxt` object:
|
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
# ----------------------------------------------------------------------------
|
24
24
|
|
25
|
-
__version__ = '3.0.
|
25
|
+
__version__ = '3.0.81'
|
26
26
|
|
27
27
|
# ----------------------------------------------------------------------------
|
28
28
|
|
@@ -184,7 +184,6 @@ from ccxt.woo import woo # noqa: F4
|
|
184
184
|
from ccxt.xt import xt # noqa: F401
|
185
185
|
from ccxt.yobit import yobit # noqa: F401
|
186
186
|
from ccxt.zaif import zaif # noqa: F401
|
187
|
-
from ccxt.zb import zb # noqa: F401
|
188
187
|
from ccxt.zonda import zonda # noqa: F401
|
189
188
|
|
190
189
|
exchanges = [
|
@@ -299,7 +298,6 @@ exchanges = [
|
|
299
298
|
'xt',
|
300
299
|
'yobit',
|
301
300
|
'zaif',
|
302
|
-
'zb',
|
303
301
|
'zonda',
|
304
302
|
]
|
305
303
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# -----------------------------------------------------------------------------
|
6
6
|
|
7
|
-
__version__ = '3.0.
|
7
|
+
__version__ = '3.0.81'
|
8
8
|
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
|
@@ -164,7 +164,6 @@ from ccxt.async_support.woo import woo
|
|
164
164
|
from ccxt.async_support.xt import xt # noqa: F401
|
165
165
|
from ccxt.async_support.yobit import yobit # noqa: F401
|
166
166
|
from ccxt.async_support.zaif import zaif # noqa: F401
|
167
|
-
from ccxt.async_support.zb import zb # noqa: F401
|
168
167
|
from ccxt.async_support.zonda import zonda # noqa: F401
|
169
168
|
|
170
169
|
exchanges = [
|
@@ -279,7 +278,6 @@ exchanges = [
|
|
279
278
|
'xt',
|
280
279
|
'yobit',
|
281
280
|
'zaif',
|
282
|
-
'zb',
|
283
281
|
'zonda',
|
284
282
|
]
|
285
283
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# -----------------------------------------------------------------------------
|
4
4
|
|
5
|
-
__version__ = '3.0.
|
5
|
+
__version__ = '3.0.81'
|
6
6
|
|
7
7
|
# -----------------------------------------------------------------------------
|
8
8
|
|
@@ -960,30 +960,24 @@ class Exchange(BaseExchange):
|
|
960
960
|
raise ArgumentsRequired(self.id + ' calculateFee() - you have provided incompatible arguments - "market" type order can not be "maker". Change either the "type" or the "takerOrMaker" argument to calculate the fee.')
|
961
961
|
market = self.markets[symbol]
|
962
962
|
feeSide = self.safe_string(market, 'feeSide', 'quote')
|
963
|
-
|
964
|
-
|
965
|
-
amountString = self.number_to_string(amount)
|
966
|
-
priceString = self.number_to_string(price)
|
967
|
-
if feeSide == 'quote':
|
968
|
-
# the fee is always in quote currency
|
969
|
-
cost = Precise.string_mul(amountString, priceString)
|
970
|
-
elif feeSide == 'base':
|
971
|
-
# the fee is always in base currency
|
972
|
-
cost = amountString
|
973
|
-
elif feeSide == 'get':
|
963
|
+
useQuote = None
|
964
|
+
if feeSide == 'get':
|
974
965
|
# the fee is always in the currency you get
|
975
|
-
|
976
|
-
if side == 'sell':
|
977
|
-
cost = Precise.string_mul(cost, priceString)
|
978
|
-
else:
|
979
|
-
key = 'base'
|
966
|
+
useQuote = side == 'sell'
|
980
967
|
elif feeSide == 'give':
|
981
968
|
# the fee is always in the currency you give
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
969
|
+
useQuote = side == 'buy'
|
970
|
+
else:
|
971
|
+
# the fee is always in feeSide currency
|
972
|
+
useQuote = feeSide == 'quote'
|
973
|
+
cost = self.number_to_string(amount)
|
974
|
+
key = None
|
975
|
+
if useQuote:
|
976
|
+
priceString = self.number_to_string(price)
|
977
|
+
cost = Precise.string_mul(cost, priceString)
|
978
|
+
key = 'quote'
|
979
|
+
else:
|
980
|
+
key = 'base'
|
987
981
|
# for derivatives, the fee is in 'settle' currency
|
988
982
|
if not market['spot']:
|
989
983
|
key = 'settle'
|
@@ -991,8 +985,7 @@ class Exchange(BaseExchange):
|
|
991
985
|
if type == 'market':
|
992
986
|
takerOrMaker = 'taker'
|
993
987
|
rate = self.safe_string(market, takerOrMaker)
|
994
|
-
|
995
|
-
cost = Precise.string_mul(cost, rate)
|
988
|
+
cost = Precise.string_mul(cost, rate)
|
996
989
|
return {
|
997
990
|
'type': takerOrMaker,
|
998
991
|
'currency': market[key],
|
@@ -41,7 +41,7 @@ class binanceusdm(binance):
|
|
41
41
|
# https://binance-docs.github.io/apidocs/futures/en/#error-codes
|
42
42
|
'exceptions': {
|
43
43
|
'exact': {
|
44
|
-
'-5021': InvalidOrder, # {"code":-
|
44
|
+
'-5021': InvalidOrder, # {"code":-5021,"msg":"Due to the order could not be filled immediately, the FOK order has been rejected."}
|
45
45
|
'-5022': InvalidOrder, # {"code":-5022,"msg":"Due to the order could not be executed, the Post Only order will be rejected."}
|
46
46
|
'-5028': InvalidOrder, # {"code":-5028,"msg":"Timestamp for self request is outside of the ME recvWindow."}
|
47
47
|
},
|
@@ -81,8 +81,8 @@ class krakenfutures(Exchange):
|
|
81
81
|
},
|
82
82
|
'urls': {
|
83
83
|
'test': {
|
84
|
-
'public': 'https://demo-futures.kraken.com/derivatives',
|
85
|
-
'private': 'https://demo-futures.kraken.com/derivatives',
|
84
|
+
'public': 'https://demo-futures.kraken.com/derivatives/api/',
|
85
|
+
'private': 'https://demo-futures.kraken.com/derivatives/api/',
|
86
86
|
'www': 'https://demo-futures.kraken.com',
|
87
87
|
},
|
88
88
|
'logo': 'https://user-images.githubusercontent.com/24300605/81436764-b22fd580-9172-11ea-9703-742783e6376d.jpg',
|
@@ -397,6 +397,7 @@ class upbit(Exchange):
|
|
397
397
|
|
398
398
|
async def fetch_markets(self, params={}):
|
399
399
|
"""
|
400
|
+
see https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
|
400
401
|
retrieves data on all markets for upbit
|
401
402
|
:param dict params: extra parameters specific to the exchange api endpoint
|
402
403
|
:returns [dict]: an array of objects representing market data
|
@@ -489,6 +490,7 @@ class upbit(Exchange):
|
|
489
490
|
|
490
491
|
async def fetch_balance(self, params={}):
|
491
492
|
"""
|
493
|
+
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
|
492
494
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
493
495
|
:param dict params: extra parameters specific to the upbit api endpoint
|
494
496
|
:returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
|
@@ -511,6 +513,7 @@ class upbit(Exchange):
|
|
511
513
|
|
512
514
|
async def fetch_order_books(self, symbols: Optional[List[str]] = None, limit: Optional[int] = None, params={}):
|
513
515
|
"""
|
516
|
+
see https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
514
517
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
515
518
|
:param [str]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
516
519
|
:param int|None limit: not used by upbit fetchOrderBooks()
|
@@ -578,6 +581,7 @@ class upbit(Exchange):
|
|
578
581
|
|
579
582
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
580
583
|
"""
|
584
|
+
see https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
581
585
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
582
586
|
:param str symbol: unified symbol of the market to fetch the order book for
|
583
587
|
:param int|None limit: the maximum amount of order book entries to return
|
@@ -645,6 +649,7 @@ class upbit(Exchange):
|
|
645
649
|
|
646
650
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
647
651
|
"""
|
652
|
+
see https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
648
653
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
649
654
|
:param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
650
655
|
:param dict params: extra parameters specific to the upbit api endpoint
|
@@ -703,6 +708,7 @@ class upbit(Exchange):
|
|
703
708
|
|
704
709
|
async def fetch_ticker(self, symbol: str, params={}):
|
705
710
|
"""
|
711
|
+
see https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
706
712
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
707
713
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
708
714
|
:param dict params: extra parameters specific to the upbit api endpoint
|
@@ -781,6 +787,7 @@ class upbit(Exchange):
|
|
781
787
|
|
782
788
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
783
789
|
"""
|
790
|
+
see https://docs.upbit.com/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
|
784
791
|
get the list of most recent trades for a particular symbol
|
785
792
|
:param str symbol: unified symbol of the market to fetch trades for
|
786
793
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
@@ -823,6 +830,7 @@ class upbit(Exchange):
|
|
823
830
|
|
824
831
|
async def fetch_trading_fee(self, symbol: str, params={}):
|
825
832
|
"""
|
833
|
+
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EA%B0%80%EB%8A%A5-%EC%A0%95%EB%B3%B4
|
826
834
|
fetch the trading fees for a market
|
827
835
|
:param str symbol: unified market symbol
|
828
836
|
:param dict params: extra parameters specific to the upbit api endpoint
|
@@ -910,6 +918,7 @@ class upbit(Exchange):
|
|
910
918
|
|
911
919
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
912
920
|
"""
|
921
|
+
see https://docs.upbit.com/reference/%EB%B6%84minute-%EC%BA%94%EB%93%A4-1
|
913
922
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
914
923
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
915
924
|
:param str timeframe: the length of time each candle represents
|
@@ -972,6 +981,7 @@ class upbit(Exchange):
|
|
972
981
|
|
973
982
|
async def create_order(self, symbol: str, type, side: OrderSide, amount, price=None, params={}):
|
974
983
|
"""
|
984
|
+
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
|
975
985
|
create a trade order
|
976
986
|
:param str symbol: unified symbol of the market to create an order in
|
977
987
|
:param str type: 'market' or 'limit'
|
@@ -1042,6 +1052,7 @@ class upbit(Exchange):
|
|
1042
1052
|
|
1043
1053
|
async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1044
1054
|
"""
|
1055
|
+
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C
|
1045
1056
|
cancels an open order
|
1046
1057
|
:param str id: order id
|
1047
1058
|
:param str|None symbol: not used by upbit cancelOrder()
|
@@ -1076,6 +1087,7 @@ class upbit(Exchange):
|
|
1076
1087
|
|
1077
1088
|
async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1078
1089
|
"""
|
1090
|
+
see https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1079
1091
|
fetch all deposits made to an account
|
1080
1092
|
:param str|None code: unified currency code
|
1081
1093
|
:param int|None since: the earliest time in ms to fetch deposits for
|
@@ -1115,6 +1127,7 @@ class upbit(Exchange):
|
|
1115
1127
|
|
1116
1128
|
async def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1117
1129
|
"""
|
1130
|
+
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%B6%9C%EA%B8%88-%EC%A1%B0%ED%9A%8C
|
1118
1131
|
fetch all withdrawals made from an account
|
1119
1132
|
:param str|None code: unified currency code
|
1120
1133
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
@@ -1403,6 +1416,7 @@ class upbit(Exchange):
|
|
1403
1416
|
|
1404
1417
|
async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1405
1418
|
"""
|
1419
|
+
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1406
1420
|
fetch all unfilled currently open orders
|
1407
1421
|
:param str|None symbol: unified market symbol
|
1408
1422
|
:param int|None since: the earliest time in ms to fetch open orders for
|
@@ -1414,6 +1428,7 @@ class upbit(Exchange):
|
|
1414
1428
|
|
1415
1429
|
async def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1416
1430
|
"""
|
1431
|
+
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1417
1432
|
fetches information on multiple closed orders made by the user
|
1418
1433
|
:param str|None symbol: unified market symbol of the market orders were made in
|
1419
1434
|
:param int|None since: the earliest time in ms to fetch orders for
|
@@ -1425,6 +1440,7 @@ class upbit(Exchange):
|
|
1425
1440
|
|
1426
1441
|
async def fetch_canceled_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1427
1442
|
"""
|
1443
|
+
see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
|
1428
1444
|
fetches information on multiple canceled orders made by the user
|
1429
1445
|
:param str|None symbol: unified market symbol of the market orders were made in
|
1430
1446
|
:param int|None since: timestamp in ms of the earliest order, default is None
|
@@ -1436,6 +1452,7 @@ class upbit(Exchange):
|
|
1436
1452
|
|
1437
1453
|
async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1438
1454
|
"""
|
1455
|
+
see https://docs.upbit.com/reference/%EA%B0%9C%EB%B3%84-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C
|
1439
1456
|
fetches information on an order made by the user
|
1440
1457
|
:param str|None symbol: not used by upbit fetchOrder
|
1441
1458
|
:param dict params: extra parameters specific to the upbit api endpoint
|
@@ -1493,6 +1510,7 @@ class upbit(Exchange):
|
|
1493
1510
|
|
1494
1511
|
async def fetch_deposit_addresses(self, codes=None, params={}):
|
1495
1512
|
"""
|
1513
|
+
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
|
1496
1514
|
fetch deposit addresses for multiple currencies and chain types
|
1497
1515
|
:param [str]|None codes: list of unified currency codes, default is None
|
1498
1516
|
:param dict params: extra parameters specific to the upbit api endpoint
|
@@ -1544,6 +1562,7 @@ class upbit(Exchange):
|
|
1544
1562
|
|
1545
1563
|
async def fetch_deposit_address(self, code: str, params={}):
|
1546
1564
|
"""
|
1565
|
+
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
|
1547
1566
|
fetch the deposit address for a currency associated with self account
|
1548
1567
|
:param str code: unified currency code
|
1549
1568
|
:param dict params: extra parameters specific to the upbit api endpoint
|
@@ -1565,6 +1584,7 @@ class upbit(Exchange):
|
|
1565
1584
|
|
1566
1585
|
async def create_deposit_address(self, code: str, params={}):
|
1567
1586
|
"""
|
1587
|
+
see https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%83%9D%EC%84%B1-%EC%9A%94%EC%B2%AD
|
1568
1588
|
create a currency deposit address
|
1569
1589
|
:param str code: unified currency code of the currency for the deposit address
|
1570
1590
|
:param dict params: extra parameters specific to the upbit api endpoint
|
@@ -1599,6 +1619,7 @@ class upbit(Exchange):
|
|
1599
1619
|
|
1600
1620
|
async def withdraw(self, code: str, amount, address, tag=None, params={}):
|
1601
1621
|
"""
|
1622
|
+
see https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
|
1602
1623
|
make a withdrawal
|
1603
1624
|
:param str code: unified currency code
|
1604
1625
|
:param float amount: the amount to withdraw
|