ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__py2.py3-none-any.whl
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/__init__.py +1 -1
- ccxt/abstract/okcoin.py +70 -206
- ccxt/ace.py +12 -12
- ccxt/ascendex.py +5 -5
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +12 -12
- ccxt/async_support/ascendex.py +5 -5
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +184 -184
- ccxt/async_support/bingx.py +48 -48
- ccxt/async_support/bitbank.py +14 -14
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +35 -35
- ccxt/async_support/bitflyer.py +17 -17
- ccxt/async_support/bitforex.py +9 -9
- ccxt/async_support/bitget.py +433 -215
- ccxt/async_support/bitmart.py +39 -39
- ccxt/async_support/bitmex.py +7 -7
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitpanda.py +1 -1
- ccxt/async_support/bitrue.py +2 -2
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +3 -3
- ccxt/async_support/bitvavo.py +2 -2
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/btcalpha.py +7 -7
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +58 -58
- ccxt/async_support/cex.py +1 -1
- ccxt/async_support/coinbase.py +13 -13
- ccxt/async_support/coinbasepro.py +15 -15
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +4 -4
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +28 -28
- ccxt/async_support/currencycom.py +1 -1
- ccxt/async_support/delta.py +26 -26
- ccxt/async_support/deribit.py +9 -9
- ccxt/async_support/digifinex.py +38 -38
- ccxt/async_support/exmo.py +18 -18
- ccxt/async_support/gate.py +59 -59
- ccxt/async_support/gemini.py +4 -4
- ccxt/async_support/hitbtc.py +6 -6
- ccxt/async_support/hollaex.py +2 -2
- ccxt/async_support/huobi.py +70 -70
- ccxt/async_support/indodax.py +1 -1
- ccxt/async_support/kraken.py +33 -33
- ccxt/async_support/krakenfutures.py +6 -5
- ccxt/async_support/kucoin.py +74 -74
- ccxt/async_support/kucoinfutures.py +8 -8
- ccxt/async_support/latoken.py +14 -14
- ccxt/async_support/lbank2.py +33 -33
- ccxt/async_support/mexc.py +22 -22
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +22 -22
- ccxt/async_support/oceanex.py +18 -18
- ccxt/async_support/okcoin.py +1950 -2758
- ccxt/async_support/okx.py +73 -73
- ccxt/async_support/paymium.py +11 -11
- ccxt/async_support/phemex.py +26 -26
- ccxt/async_support/poloniex.py +30 -30
- ccxt/async_support/poloniexfutures.py +25 -25
- ccxt/async_support/probit.py +21 -21
- ccxt/async_support/tokocrypto.py +22 -22
- ccxt/async_support/upbit.py +21 -21
- ccxt/async_support/wavesexchange.py +2 -2
- ccxt/async_support/wazirx.py +14 -14
- ccxt/async_support/whitebit.py +6 -6
- ccxt/async_support/woo.py +21 -21
- ccxt/async_support/yobit.py +16 -16
- ccxt/async_support/zaif.py +10 -10
- ccxt/async_support/zonda.py +15 -15
- ccxt/base/exchange.py +2 -1
- ccxt/bigone.py +2 -2
- ccxt/binance.py +184 -184
- ccxt/bingx.py +48 -48
- ccxt/bitbank.py +14 -14
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +35 -35
- ccxt/bitflyer.py +17 -17
- ccxt/bitforex.py +9 -9
- ccxt/bitget.py +433 -215
- ccxt/bitmart.py +39 -39
- ccxt/bitmex.py +7 -7
- ccxt/bitopro.py +1 -1
- ccxt/bitpanda.py +1 -1
- ccxt/bitrue.py +2 -2
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +3 -3
- ccxt/bitvavo.py +2 -2
- ccxt/bl3p.py +1 -1
- ccxt/btcalpha.py +7 -7
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +58 -58
- ccxt/cex.py +1 -1
- ccxt/coinbase.py +13 -13
- ccxt/coinbasepro.py +15 -15
- ccxt/coinex.py +19 -19
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +4 -4
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +28 -28
- ccxt/currencycom.py +1 -1
- ccxt/delta.py +26 -26
- ccxt/deribit.py +9 -9
- ccxt/digifinex.py +38 -38
- ccxt/exmo.py +18 -18
- ccxt/gate.py +59 -59
- ccxt/gemini.py +4 -4
- ccxt/hitbtc.py +6 -6
- ccxt/hollaex.py +2 -2
- ccxt/huobi.py +70 -70
- ccxt/indodax.py +1 -1
- ccxt/kraken.py +33 -33
- ccxt/krakenfutures.py +6 -5
- ccxt/kucoin.py +74 -74
- ccxt/kucoinfutures.py +8 -8
- ccxt/latoken.py +14 -14
- ccxt/lbank2.py +33 -33
- ccxt/mexc.py +22 -22
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +22 -22
- ccxt/oceanex.py +18 -18
- ccxt/okcoin.py +1950 -2758
- ccxt/okx.py +73 -73
- ccxt/paymium.py +11 -11
- ccxt/phemex.py +26 -26
- ccxt/poloniex.py +30 -30
- ccxt/poloniexfutures.py +25 -25
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +1 -1
- ccxt/pro/binance.py +9 -9
- ccxt/pro/bingx.py +12 -12
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitpanda.py +7 -7
- ccxt/pro/bitrue.py +2 -2
- ccxt/pro/blockchaincom.py +6 -6
- ccxt/pro/bybit.py +15 -15
- ccxt/pro/cex.py +8 -8
- ccxt/pro/coinbase.py +6 -6
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +8 -8
- ccxt/pro/cryptocom.py +12 -12
- ccxt/pro/deribit.py +7 -7
- ccxt/pro/gemini.py +4 -4
- ccxt/pro/hitbtc.py +17 -17
- ccxt/pro/huobi.py +3 -3
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +10 -10
- ccxt/pro/kucoin.py +85 -42
- ccxt/pro/kucoinfutures.py +5 -5
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +7 -7
- ccxt/pro/okx.py +16 -15
- ccxt/pro/phemex.py +15 -15
- ccxt/pro/poloniex.py +9 -9
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +5 -5
- ccxt/pro/wazirx.py +5 -5
- ccxt/pro/woo.py +1 -1
- ccxt/probit.py +21 -21
- ccxt/test/base/test_shared_methods.py +1 -1
- ccxt/tokocrypto.py +22 -22
- ccxt/upbit.py +21 -21
- ccxt/wavesexchange.py +2 -2
- ccxt/wazirx.py +14 -14
- ccxt/whitebit.py +6 -6
- ccxt/woo.py +21 -21
- ccxt/yobit.py +16 -16
- ccxt/zaif.py +10 -10
- ccxt/zonda.py +15 -15
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
ccxt/async_support/zonda.py
CHANGED
@@ -306,7 +306,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
306
306
|
|
307
307
|
async def fetch_markets(self, params={}):
|
308
308
|
"""
|
309
|
-
see https://docs.zonda.exchange/reference/ticker-1
|
309
|
+
:see: https://docs.zonda.exchange/reference/ticker-1
|
310
310
|
retrieves data on all markets for zonda
|
311
311
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
312
312
|
:returns dict[]: an array of objects representing market data
|
@@ -405,7 +405,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
405
405
|
|
406
406
|
async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
407
407
|
"""
|
408
|
-
see https://docs.zonda.exchange/reference/active-orders
|
408
|
+
:see: https://docs.zonda.exchange/reference/active-orders
|
409
409
|
fetch all unfilled currently open orders
|
410
410
|
:param str symbol: not used by zonda fetchOpenOrders
|
411
411
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -471,7 +471,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
471
471
|
|
472
472
|
async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
473
473
|
"""
|
474
|
-
see https://docs.zonda.exchange/reference/transactions-history
|
474
|
+
:see: https://docs.zonda.exchange/reference/transactions-history
|
475
475
|
fetch all trades made by the user
|
476
476
|
:param str symbol: unified market symbol
|
477
477
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -530,7 +530,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
530
530
|
|
531
531
|
async def fetch_balance(self, params={}):
|
532
532
|
"""
|
533
|
-
see https://docs.zonda.exchange/reference/list-of-wallets
|
533
|
+
:see: https://docs.zonda.exchange/reference/list-of-wallets
|
534
534
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
535
535
|
:param dict [params]: extra parameters specific to the zonda api endpoint
|
536
536
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
@@ -541,7 +541,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
541
541
|
|
542
542
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
543
543
|
"""
|
544
|
-
see https://docs.zonda.exchange/reference/orderbook-2
|
544
|
+
:see: https://docs.zonda.exchange/reference/orderbook-2
|
545
545
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
546
546
|
:param str symbol: unified symbol of the market to fetch the order book for
|
547
547
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -652,7 +652,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
652
652
|
async def fetch_ticker(self, symbol, params={}):
|
653
653
|
"""
|
654
654
|
v1_01PublicGetTradingTickerSymbol retrieves timestamp, datetime, bid, ask, close, last, previousClose, v1_01PublicGetTradingStatsSymbol retrieves high, low, volume and opening price of an asset
|
655
|
-
see https://docs.zonda.exchange/reference/market-statistics
|
655
|
+
:see: https://docs.zonda.exchange/reference/market-statistics
|
656
656
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
657
657
|
:param dict [params]: extra parameters specific to the zonda api endpoint
|
658
658
|
:param str [params.method]: v1_01PublicGetTradingTickerSymbol(default) or v1_01PublicGetTradingStatsSymbol
|
@@ -720,7 +720,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
720
720
|
"""
|
721
721
|
* @ignore
|
722
722
|
v1_01PublicGetTradingTicker retrieves timestamp, datetime, bid, ask, close, last, previousClose for each market, v1_01PublicGetTradingStats retrieves high, low, volume and opening price of each market
|
723
|
-
see https://docs.zonda.exchange/reference/market-statistics
|
723
|
+
:see: https://docs.zonda.exchange/reference/market-statistics
|
724
724
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
725
725
|
:param dict [params]: extra parameters specific to the zonda api endpoint
|
726
726
|
:param str [params.method]: v1_01PublicGetTradingTicker(default) or v1_01PublicGetTradingStats
|
@@ -788,7 +788,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
788
788
|
|
789
789
|
async def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
790
790
|
"""
|
791
|
-
see https://docs.zonda.exchange/reference/operations-history
|
791
|
+
:see: https://docs.zonda.exchange/reference/operations-history
|
792
792
|
fetch the history of changes, actions done by the user or operations that altered balance of the user
|
793
793
|
:param str code: unified currency code, default is None
|
794
794
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
@@ -1156,7 +1156,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1156
1156
|
|
1157
1157
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1158
1158
|
"""
|
1159
|
-
see https://docs.zonda.exchange/reference/candles-chart
|
1159
|
+
:see: https://docs.zonda.exchange/reference/candles-chart
|
1160
1160
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1161
1161
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1162
1162
|
:param str timeframe: the length of time each candle represents
|
@@ -1274,7 +1274,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1274
1274
|
|
1275
1275
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1276
1276
|
"""
|
1277
|
-
see https://docs.zonda.exchange/reference/last-transactions
|
1277
|
+
:see: https://docs.zonda.exchange/reference/last-transactions
|
1278
1278
|
get the list of most recent trades for a particular symbol
|
1279
1279
|
:param str symbol: unified symbol of the market to fetch trades for
|
1280
1280
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -1418,7 +1418,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1418
1418
|
|
1419
1419
|
async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1420
1420
|
"""
|
1421
|
-
see https://docs.zonda.exchange/reference/cancel-order
|
1421
|
+
:see: https://docs.zonda.exchange/reference/cancel-order
|
1422
1422
|
cancels an open order
|
1423
1423
|
:param str id: order id
|
1424
1424
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -1475,7 +1475,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1475
1475
|
|
1476
1476
|
async def fetch_deposit_address(self, code: str, params={}):
|
1477
1477
|
"""
|
1478
|
-
see https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
|
1478
|
+
:see: https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
|
1479
1479
|
fetch the deposit address for a currency associated with self account
|
1480
1480
|
:param str code: unified currency code
|
1481
1481
|
:param dict [params]: extra parameters specific to the zonda api endpoint
|
@@ -1507,7 +1507,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1507
1507
|
|
1508
1508
|
async def fetch_deposit_addresses(self, codes=None, params={}):
|
1509
1509
|
"""
|
1510
|
-
see https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
|
1510
|
+
:see: https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
|
1511
1511
|
fetch deposit addresses for multiple currencies and chain types
|
1512
1512
|
:param str[]|None codes: zonda does not support filtering filtering by multiple codes and will ignore self parameter.
|
1513
1513
|
:param dict [params]: extra parameters specific to the zonda api endpoint
|
@@ -1533,7 +1533,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1533
1533
|
|
1534
1534
|
async def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
|
1535
1535
|
"""
|
1536
|
-
see https://docs.zonda.exchange/reference/internal-transfer
|
1536
|
+
:see: https://docs.zonda.exchange/reference/internal-transfer
|
1537
1537
|
transfer currency internally between wallets on the same account
|
1538
1538
|
:param str code: unified currency code
|
1539
1539
|
:param float amount: amount to transfer
|
@@ -1642,7 +1642,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1642
1642
|
|
1643
1643
|
async def withdraw(self, code: str, amount, address, tag=None, params={}):
|
1644
1644
|
"""
|
1645
|
-
see https://docs.zonda.exchange/reference/crypto-withdrawal-1
|
1645
|
+
:see: https://docs.zonda.exchange/reference/crypto-withdrawal-1
|
1646
1646
|
make a withdrawal
|
1647
1647
|
:param str code: unified currency code
|
1648
1648
|
:param float amount: the amount to withdraw
|
ccxt/base/exchange.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# -----------------------------------------------------------------------------
|
6
6
|
|
7
|
-
__version__ = '4.1.
|
7
|
+
__version__ = '4.1.22'
|
8
8
|
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
|
@@ -237,6 +237,7 @@ class Exchange(object):
|
|
237
237
|
balance = None
|
238
238
|
orderbooks = None
|
239
239
|
orders = None
|
240
|
+
triggerOrders = None
|
240
241
|
myTrades = None
|
241
242
|
trades = None
|
242
243
|
transactions = None
|
ccxt/bigone.py
CHANGED
@@ -1129,7 +1129,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
1129
1129
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1130
1130
|
"""
|
1131
1131
|
create a trade order
|
1132
|
-
see https://open.big.one/docs/spot_orders.html#create-order
|
1132
|
+
:see: https://open.big.one/docs/spot_orders.html#create-order
|
1133
1133
|
:param str symbol: unified symbol of the market to create an order in
|
1134
1134
|
:param str type: 'market' or 'limit'
|
1135
1135
|
:param str side: 'buy' or 'sell'
|
@@ -1687,7 +1687,7 @@ class bigone(Exchange, ImplicitAPI):
|
|
1687
1687
|
def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
|
1688
1688
|
"""
|
1689
1689
|
transfer currency internally between wallets on the same account
|
1690
|
-
see https://open.big.one/docs/spot_transfer.html#transfer-of-user
|
1690
|
+
:see: https://open.big.one/docs/spot_transfer.html#transfer-of-user
|
1691
1691
|
:param str code: unified currency code
|
1692
1692
|
:param float amount: amount to transfer
|
1693
1693
|
:param str fromAccount: 'SPOT', 'FUND', or 'CONTRACT'
|