ccxt 3.1.59__py2.py3-none-any.whl → 4.0.3__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/ace.py +6 -6
- ccxt/alpaca.py +4 -4
- ccxt/ascendex.py +14 -14
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +6 -6
- ccxt/async_support/alpaca.py +4 -4
- ccxt/async_support/ascendex.py +14 -14
- ccxt/async_support/base/exchange.py +13 -13
- ccxt/async_support/bigone.py +11 -11
- ccxt/async_support/binance.py +34 -34
- ccxt/async_support/bit2c.py +3 -3
- ccxt/async_support/bitbank.py +5 -5
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +13 -13
- ccxt/async_support/bitfinex2.py +11 -11
- ccxt/async_support/bitflyer.py +10 -10
- ccxt/async_support/bitforex.py +6 -6
- ccxt/async_support/bitget.py +18 -18
- ccxt/async_support/bithumb.py +5 -5
- ccxt/async_support/bitmart.py +13 -13
- ccxt/async_support/bitmex.py +15 -15
- ccxt/async_support/bitopro.py +12 -12
- ccxt/async_support/bitpanda.py +12 -12
- ccxt/async_support/bitrue.py +11 -11
- ccxt/async_support/bitso.py +13 -13
- ccxt/async_support/bitstamp.py +12 -12
- ccxt/async_support/bitstamp1.py +2 -2
- ccxt/async_support/bittrex.py +15 -15
- ccxt/async_support/bitvavo.py +11 -11
- ccxt/async_support/bkex.py +12 -12
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/blockchaincom.py +7 -7
- ccxt/async_support/btcalpha.py +10 -10
- ccxt/async_support/btcbox.py +3 -3
- ccxt/async_support/btcmarkets.py +10 -10
- ccxt/async_support/btctradeua.py +2 -2
- ccxt/async_support/btcturk.py +7 -7
- ccxt/async_support/bybit.py +19 -19
- ccxt/async_support/cex.py +7 -7
- ccxt/async_support/coinbase.py +11 -11
- ccxt/async_support/coinbasepro.py +12 -12
- ccxt/async_support/coincheck.py +5 -5
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinfalcon.py +7 -7
- ccxt/async_support/coinmate.py +5 -5
- ccxt/async_support/coinone.py +6 -6
- ccxt/async_support/coinsph.py +11 -11
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +19 -18
- ccxt/async_support/currencycom.py +10 -10
- ccxt/async_support/delta.py +10 -10
- ccxt/async_support/deribit.py +14 -14
- ccxt/async_support/digifinex.py +17 -17
- ccxt/async_support/exmo.py +12 -12
- ccxt/async_support/gate.py +19 -19
- ccxt/async_support/gemini.py +6 -6
- ccxt/async_support/hitbtc.py +8 -8
- ccxt/async_support/hitbtc3.py +18 -18
- ccxt/async_support/hollaex.py +13 -13
- ccxt/async_support/huobi.py +21 -21
- ccxt/async_support/huobijp.py +13 -13
- ccxt/async_support/idex.py +10 -10
- ccxt/async_support/independentreserve.py +5 -5
- ccxt/async_support/indodax.py +5 -5
- ccxt/async_support/kraken.py +14 -14
- ccxt/async_support/krakenfutures.py +3 -3
- ccxt/async_support/kucoin.py +13 -13
- ccxt/async_support/kucoinfutures.py +10 -10
- ccxt/async_support/kuna.py +6 -6
- ccxt/async_support/latoken.py +8 -8
- ccxt/async_support/lbank.py +6 -6
- ccxt/async_support/lbank2.py +12 -12
- ccxt/async_support/luno.py +7 -7
- ccxt/async_support/lykke.py +7 -7
- ccxt/async_support/mercado.py +6 -6
- ccxt/async_support/mexc.py +26 -61
- ccxt/async_support/ndax.py +10 -10
- ccxt/async_support/novadax.py +11 -11
- ccxt/async_support/oceanex.py +10 -10
- ccxt/async_support/okcoin.py +12 -12
- ccxt/async_support/okx.py +23 -23
- ccxt/async_support/paymium.py +2 -2
- ccxt/async_support/phemex.py +16 -16
- ccxt/async_support/poloniex.py +12 -12
- ccxt/async_support/poloniexfutures.py +10 -10
- ccxt/async_support/probit.py +14 -14
- ccxt/async_support/tidex.py +6 -6
- ccxt/async_support/timex.py +10 -10
- ccxt/async_support/tokocrypto.py +12 -12
- ccxt/async_support/upbit.py +10 -10
- ccxt/async_support/wavesexchange.py +9 -9
- ccxt/async_support/wazirx.py +7 -7
- ccxt/async_support/whitebit.py +12 -12
- ccxt/async_support/woo.py +9 -9
- ccxt/async_support/yobit.py +6 -6
- ccxt/async_support/zaif.py +4 -4
- ccxt/async_support/zonda.py +7 -7
- ccxt/base/exchange.py +13 -13
- ccxt/bigone.py +11 -11
- ccxt/binance.py +34 -34
- ccxt/bit2c.py +3 -3
- ccxt/bitbank.py +5 -5
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +13 -13
- ccxt/bitfinex2.py +11 -11
- ccxt/bitflyer.py +10 -10
- ccxt/bitforex.py +6 -6
- ccxt/bitget.py +18 -18
- ccxt/bithumb.py +5 -5
- ccxt/bitmart.py +13 -13
- ccxt/bitmex.py +15 -15
- ccxt/bitopro.py +12 -12
- ccxt/bitpanda.py +12 -12
- ccxt/bitrue.py +11 -11
- ccxt/bitso.py +13 -13
- ccxt/bitstamp.py +12 -12
- ccxt/bitstamp1.py +2 -2
- ccxt/bittrex.py +15 -15
- ccxt/bitvavo.py +11 -11
- ccxt/bkex.py +12 -12
- ccxt/bl3p.py +1 -1
- ccxt/blockchaincom.py +7 -7
- ccxt/btcalpha.py +10 -10
- ccxt/btcbox.py +3 -3
- ccxt/btcmarkets.py +10 -10
- ccxt/btctradeua.py +2 -2
- ccxt/btcturk.py +7 -7
- ccxt/bybit.py +19 -19
- ccxt/cex.py +7 -7
- ccxt/coinbase.py +11 -11
- ccxt/coinbasepro.py +12 -12
- ccxt/coincheck.py +5 -5
- ccxt/coinex.py +19 -19
- ccxt/coinfalcon.py +7 -7
- ccxt/coinmate.py +5 -5
- ccxt/coinone.py +6 -6
- ccxt/coinsph.py +11 -11
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +19 -18
- ccxt/currencycom.py +10 -10
- ccxt/delta.py +10 -10
- ccxt/deribit.py +14 -14
- ccxt/digifinex.py +17 -17
- ccxt/exmo.py +12 -12
- ccxt/gate.py +19 -19
- ccxt/gemini.py +6 -6
- ccxt/hitbtc.py +8 -8
- ccxt/hitbtc3.py +18 -18
- ccxt/hollaex.py +13 -13
- ccxt/huobi.py +21 -21
- ccxt/huobijp.py +13 -13
- ccxt/idex.py +10 -10
- ccxt/independentreserve.py +5 -5
- ccxt/indodax.py +5 -5
- ccxt/kraken.py +14 -14
- ccxt/krakenfutures.py +3 -3
- ccxt/kucoin.py +13 -13
- ccxt/kucoinfutures.py +10 -10
- ccxt/kuna.py +6 -6
- ccxt/latoken.py +8 -8
- ccxt/lbank.py +6 -6
- ccxt/lbank2.py +12 -12
- ccxt/luno.py +7 -7
- ccxt/lykke.py +7 -7
- ccxt/mercado.py +6 -6
- ccxt/mexc.py +26 -61
- ccxt/ndax.py +10 -10
- ccxt/novadax.py +11 -11
- ccxt/oceanex.py +10 -10
- ccxt/okcoin.py +12 -12
- ccxt/okx.py +23 -23
- ccxt/paymium.py +2 -2
- ccxt/phemex.py +16 -16
- ccxt/poloniex.py +12 -12
- ccxt/poloniexfutures.py +10 -10
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +4 -4
- ccxt/pro/ascendex.py +3 -3
- ccxt/pro/binance.py +5 -5
- ccxt/pro/bitfinex.py +2 -2
- ccxt/pro/bitfinex2.py +4 -4
- ccxt/pro/bitget.py +4 -4
- ccxt/pro/bitmart.py +3 -3
- ccxt/pro/bitmex.py +4 -4
- ccxt/pro/bitopro.py +1 -1
- ccxt/pro/bitpanda.py +3 -3
- ccxt/pro/bitrue.py +1 -1
- ccxt/pro/bitstamp.py +2 -2
- ccxt/pro/bittrex.py +4 -4
- ccxt/pro/bitvavo.py +4 -4
- ccxt/pro/blockchaincom.py +3 -3
- ccxt/pro/bybit.py +4 -4
- ccxt/pro/cex.py +5 -5
- ccxt/pro/coinbasepro.py +3 -3
- ccxt/pro/coinex.py +3 -3
- ccxt/pro/cryptocom.py +4 -4
- ccxt/pro/currencycom.py +2 -2
- ccxt/pro/deribit.py +4 -4
- ccxt/pro/exmo.py +2 -2
- ccxt/pro/gate.py +5 -5
- ccxt/pro/gemini.py +3 -3
- ccxt/pro/hitbtc.py +2 -2
- ccxt/pro/hollaex.py +3 -3
- ccxt/pro/huobi.py +4 -4
- ccxt/pro/huobijp.py +2 -2
- ccxt/pro/idex.py +3 -3
- ccxt/pro/independentreserve.py +1 -1
- ccxt/pro/kraken.py +4 -4
- ccxt/pro/krakenfutures.py +6 -6
- ccxt/pro/kucoin.py +4 -4
- ccxt/pro/kucoinfutures.py +2 -2
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +4 -4
- ccxt/pro/ndax.py +2 -2
- ccxt/pro/okcoin.py +3 -3
- ccxt/pro/okx.py +3 -3
- ccxt/pro/phemex.py +4 -4
- ccxt/pro/poloniexfutures.py +3 -3
- ccxt/pro/probit.py +2 -2
- ccxt/pro/upbit.py +1 -1
- ccxt/pro/wazirx.py +4 -4
- ccxt/pro/whitebit.py +4 -4
- ccxt/probit.py +14 -14
- ccxt/tidex.py +6 -6
- ccxt/timex.py +10 -10
- ccxt/tokocrypto.py +12 -12
- ccxt/upbit.py +10 -10
- ccxt/wavesexchange.py +9 -9
- ccxt/wazirx.py +7 -7
- ccxt/whitebit.py +12 -12
- ccxt/woo.py +9 -9
- ccxt/yobit.py +6 -6
- ccxt/zaif.py +4 -4
- ccxt/zonda.py +7 -7
- {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/METADATA +4 -4
- ccxt-4.0.3.dist-info/RECORD +452 -0
- ccxt/async_support/btcex.py +0 -2519
- ccxt/async_support/buda.py +0 -1063
- ccxt/async_support/itbit.py +0 -771
- ccxt/async_support/ripio.py +0 -1102
- ccxt/async_support/stex.py +0 -2508
- ccxt/async_support/xt.py +0 -4420
- ccxt/async_support/zb.py +0 -4127
- ccxt/btcex.py +0 -2519
- ccxt/buda.py +0 -1063
- ccxt/itbit.py +0 -771
- ccxt/ripio.py +0 -1102
- ccxt/stex.py +0 -2508
- ccxt/xt.py +0 -4419
- ccxt/zb.py +0 -4126
- ccxt-3.1.59.dist-info/RECORD +0 -466
- {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/WHEEL +0 -0
- {ccxt-3.1.59.dist-info → ccxt-4.0.3.dist-info}/top_level.txt +0 -0
ccxt/wazirx.py
CHANGED
@@ -170,7 +170,7 @@ class wazirx(Exchange, ImplicitAPI):
|
|
170
170
|
see https://docs.wazirx.com/#exchange-info
|
171
171
|
retrieves data on all markets for wazirx
|
172
172
|
:param dict params: extra parameters specific to the exchange api endpoint
|
173
|
-
:returns [
|
173
|
+
:returns dict[]: an array of objects representing market data
|
174
174
|
"""
|
175
175
|
response = self.publicGetExchangeInfo(params)
|
176
176
|
#
|
@@ -284,7 +284,7 @@ class wazirx(Exchange, ImplicitAPI):
|
|
284
284
|
:param int|None limit: the maximum amount of candles to fetch
|
285
285
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
286
286
|
:param int|None params['until']: timestamp in s of the latest candle to fetch
|
287
|
-
:returns [[
|
287
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
288
288
|
"""
|
289
289
|
self.load_markets()
|
290
290
|
market = self.market(symbol)
|
@@ -390,7 +390,7 @@ class wazirx(Exchange, ImplicitAPI):
|
|
390
390
|
"""
|
391
391
|
see https://docs.wazirx.com/#24hr-tickers-price-change-statistics
|
392
392
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
393
|
-
:param [
|
393
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
394
394
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
395
395
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
396
396
|
"""
|
@@ -429,7 +429,7 @@ class wazirx(Exchange, ImplicitAPI):
|
|
429
429
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
430
430
|
:param int|None limit: the maximum amount of trades to fetch
|
431
431
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
432
|
-
:returns [
|
432
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
433
433
|
"""
|
434
434
|
self.load_markets()
|
435
435
|
market = self.market(symbol)
|
@@ -616,7 +616,7 @@ class wazirx(Exchange, ImplicitAPI):
|
|
616
616
|
:param int|None since: the earliest time in ms to fetch orders for
|
617
617
|
:param int|None limit: the maximum number of orde structures to retrieve
|
618
618
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
619
|
-
:returns [
|
619
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
620
620
|
"""
|
621
621
|
if symbol is None:
|
622
622
|
raise ArgumentsRequired(self.id + ' fetchOrders() requires a `symbol` argument')
|
@@ -671,7 +671,7 @@ class wazirx(Exchange, ImplicitAPI):
|
|
671
671
|
:param int|None since: the earliest time in ms to fetch open orders for
|
672
672
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
673
673
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
674
|
-
:returns [
|
674
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
675
675
|
"""
|
676
676
|
self.load_markets()
|
677
677
|
request = {}
|
@@ -716,7 +716,7 @@ class wazirx(Exchange, ImplicitAPI):
|
|
716
716
|
cancel all open orders in a market
|
717
717
|
:param str symbol: unified market symbol of the market to cancel orders in
|
718
718
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
719
|
-
:returns [
|
719
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
720
720
|
"""
|
721
721
|
if symbol is None:
|
722
722
|
raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a `symbol` argument')
|
ccxt/whitebit.py
CHANGED
@@ -281,7 +281,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
281
281
|
retrieves data on all markets for whitebit
|
282
282
|
see https://whitebit-exchange.github.io/api-docs/docs/Public/http-v4#market-info
|
283
283
|
:param dict params: extra parameters specific to the exchange api endpoint
|
284
|
-
:returns [
|
284
|
+
:returns dict[]: an array of objects representing market data
|
285
285
|
"""
|
286
286
|
markets = self.v4PublicGetMarkets()
|
287
287
|
#
|
@@ -450,7 +450,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
450
450
|
def fetch_transaction_fees(self, codes=None, params={}):
|
451
451
|
"""
|
452
452
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
453
|
-
:param [
|
453
|
+
:param str[]|None codes: not used by fetchTransactionFees()
|
454
454
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
455
455
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
456
456
|
"""
|
@@ -501,7 +501,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
501
501
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
502
502
|
"""
|
503
503
|
fetch deposit and withdraw fees
|
504
|
-
:param [
|
504
|
+
:param str[]|None codes: not used by fetchDepositWithdrawFees()
|
505
505
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
506
506
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
507
507
|
"""
|
@@ -771,7 +771,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
771
771
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
772
772
|
"""
|
773
773
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
774
|
-
:param [
|
774
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
775
775
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
776
776
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
777
777
|
"""
|
@@ -844,7 +844,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
844
844
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
845
845
|
:param int|None limit: the maximum amount of trades to fetch
|
846
846
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
847
|
-
:returns [
|
847
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
848
848
|
"""
|
849
849
|
self.load_markets()
|
850
850
|
market = self.market(symbol)
|
@@ -873,7 +873,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
873
873
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
874
874
|
:param int|None limit: the maximum amount of trades to fetch
|
875
875
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
876
|
-
:returns [
|
876
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
877
877
|
"""
|
878
878
|
self.load_markets()
|
879
879
|
market = None
|
@@ -1019,7 +1019,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
1019
1019
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
1020
1020
|
:param int|None limit: the maximum amount of candles to fetch
|
1021
1021
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
1022
|
-
:returns [[
|
1022
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
1023
1023
|
"""
|
1024
1024
|
self.load_markets()
|
1025
1025
|
market = self.market(symbol)
|
@@ -1265,7 +1265,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
1265
1265
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1266
1266
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1267
1267
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
1268
|
-
:returns [
|
1268
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1269
1269
|
"""
|
1270
1270
|
if symbol is None:
|
1271
1271
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
@@ -1306,7 +1306,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
1306
1306
|
:param int|None since: the earliest time in ms to fetch orders for
|
1307
1307
|
:param int|None limit: the maximum number of orde structures to retrieve
|
1308
1308
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
1309
|
-
:returns [
|
1309
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1310
1310
|
"""
|
1311
1311
|
self.load_markets()
|
1312
1312
|
request = {}
|
@@ -1458,7 +1458,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
1458
1458
|
:param int|None since: the earliest time in ms to fetch trades for
|
1459
1459
|
:param int|None limit: the maximum number of trades to retrieve
|
1460
1460
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
1461
|
-
:returns [
|
1461
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1462
1462
|
"""
|
1463
1463
|
self.load_markets()
|
1464
1464
|
request = {
|
@@ -1812,7 +1812,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
1812
1812
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1813
1813
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1814
1814
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
1815
|
-
:returns [
|
1815
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1816
1816
|
"""
|
1817
1817
|
self.load_markets()
|
1818
1818
|
currency = None
|
@@ -1876,7 +1876,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
1876
1876
|
:param int|None since: the earliest time in ms to fetch borrrow interest for
|
1877
1877
|
:param int|None limit: the maximum number of structures to retrieve
|
1878
1878
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
1879
|
-
:returns [
|
1879
|
+
:returns dict[]: a list of `borrow interest structures <https://docs.ccxt.com/#/?id=borrow-interest-structure>`
|
1880
1880
|
"""
|
1881
1881
|
self.load_markets()
|
1882
1882
|
request = {}
|
ccxt/woo.py
CHANGED
@@ -301,7 +301,7 @@ class woo(Exchange, ImplicitAPI):
|
|
301
301
|
"""
|
302
302
|
retrieves data on all markets for woo
|
303
303
|
:param dict params: extra parameters specific to the exchange api endpoint
|
304
|
-
:returns [
|
304
|
+
:returns dict[]: an array of objects representing market data
|
305
305
|
"""
|
306
306
|
response = self.v1PublicGetInfo(params)
|
307
307
|
#
|
@@ -410,7 +410,7 @@ class woo(Exchange, ImplicitAPI):
|
|
410
410
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
411
411
|
:param int|None limit: the maximum amount of trades to fetch
|
412
412
|
:param dict params: extra parameters specific to the woo api endpoint
|
413
|
-
:returns [
|
413
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
414
414
|
"""
|
415
415
|
if symbol is None:
|
416
416
|
raise ArgumentsRequired(self.id + ' fetchTrades() requires a symbol argument')
|
@@ -1083,7 +1083,7 @@ class woo(Exchange, ImplicitAPI):
|
|
1083
1083
|
:param boolean|None params['stop']: whether the order is a stop/algo order
|
1084
1084
|
:param boolean|None params['isTriggered']: whether the order has been triggered(False by default)
|
1085
1085
|
:param str|None params['side']: 'buy' or 'sell'
|
1086
|
-
:returns [
|
1086
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1087
1087
|
"""
|
1088
1088
|
self.load_markets()
|
1089
1089
|
request = {}
|
@@ -1317,7 +1317,7 @@ class woo(Exchange, ImplicitAPI):
|
|
1317
1317
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
1318
1318
|
:param int|None limit: the maximum amount of candles to fetch
|
1319
1319
|
:param dict params: extra parameters specific to the woo api endpoint
|
1320
|
-
:returns [[
|
1320
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
1321
1321
|
"""
|
1322
1322
|
self.load_markets()
|
1323
1323
|
market = self.market(symbol)
|
@@ -1380,7 +1380,7 @@ class woo(Exchange, ImplicitAPI):
|
|
1380
1380
|
:param int|None since: the earliest time in ms to fetch trades for
|
1381
1381
|
:param int|None limit: the maximum number of trades to retrieve
|
1382
1382
|
:param dict params: extra parameters specific to the woo api endpoint
|
1383
|
-
:returns [
|
1383
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1384
1384
|
"""
|
1385
1385
|
self.load_markets()
|
1386
1386
|
market = None
|
@@ -1418,7 +1418,7 @@ class woo(Exchange, ImplicitAPI):
|
|
1418
1418
|
:param int|None since: the earliest time in ms to fetch trades for
|
1419
1419
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1420
1420
|
:param dict params: extra parameters specific to the woo api endpoint
|
1421
|
-
:returns [
|
1421
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1422
1422
|
"""
|
1423
1423
|
self.load_markets()
|
1424
1424
|
request = {}
|
@@ -1699,7 +1699,7 @@ class woo(Exchange, ImplicitAPI):
|
|
1699
1699
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1700
1700
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1701
1701
|
:param dict params: extra parameters specific to the woo api endpoint
|
1702
|
-
:returns [
|
1702
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1703
1703
|
"""
|
1704
1704
|
request = {
|
1705
1705
|
'token_side': 'DEPOSIT',
|
@@ -1713,7 +1713,7 @@ class woo(Exchange, ImplicitAPI):
|
|
1713
1713
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1714
1714
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1715
1715
|
:param dict params: extra parameters specific to the woo api endpoint
|
1716
|
-
:returns [
|
1716
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1717
1717
|
"""
|
1718
1718
|
request = {
|
1719
1719
|
'token_side': 'WITHDRAW',
|
@@ -1830,7 +1830,7 @@ class woo(Exchange, ImplicitAPI):
|
|
1830
1830
|
:param int|None since: the earliest time in ms to fetch transfers for
|
1831
1831
|
:param int|None limit: the maximum number of transfers structures to retrieve
|
1832
1832
|
:param dict params: extra parameters specific to the woo api endpoint
|
1833
|
-
:returns [
|
1833
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
1834
1834
|
"""
|
1835
1835
|
request = {
|
1836
1836
|
'type': 'COLLATERAL',
|
ccxt/yobit.py
CHANGED
@@ -350,7 +350,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
350
350
|
see https://yobit.net/en/api
|
351
351
|
retrieves data on all markets for yobit
|
352
352
|
:param dict params: extra parameters specific to the exchange api endpoint
|
353
|
-
:returns [
|
353
|
+
:returns dict[]: an array of objects representing market data
|
354
354
|
"""
|
355
355
|
response = self.publicGetInfo(params)
|
356
356
|
#
|
@@ -465,7 +465,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
465
465
|
"""
|
466
466
|
see https://yobit.net/en/api
|
467
467
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
468
|
-
:param [
|
468
|
+
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
469
469
|
:param int|None limit: max number of entries per orderbook to return, default is None
|
470
470
|
:param dict params: extra parameters specific to the yobit api endpoint
|
471
471
|
:returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
|
@@ -539,7 +539,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
539
539
|
"""
|
540
540
|
see https://yobit.net/en/api
|
541
541
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
542
|
-
:param [
|
542
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
543
543
|
:param dict params: extra parameters specific to the yobit api endpoint
|
544
544
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
545
545
|
"""
|
@@ -667,7 +667,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
667
667
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
668
668
|
:param int|None limit: the maximum amount of trades to fetch
|
669
669
|
:param dict params: extra parameters specific to the yobit api endpoint
|
670
|
-
:returns [
|
670
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
671
671
|
"""
|
672
672
|
self.load_markets()
|
673
673
|
market = self.market(symbol)
|
@@ -981,7 +981,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
981
981
|
:param int|None since: the earliest time in ms to fetch open orders for
|
982
982
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
983
983
|
:param dict params: extra parameters specific to the yobit api endpoint
|
984
|
-
:returns [
|
984
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
985
985
|
"""
|
986
986
|
if symbol is None:
|
987
987
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
@@ -1026,7 +1026,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
1026
1026
|
:param int|None since: the earliest time in ms to fetch trades for
|
1027
1027
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1028
1028
|
:param dict params: extra parameters specific to the yobit api endpoint
|
1029
|
-
:returns [
|
1029
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1030
1030
|
"""
|
1031
1031
|
if symbol is None:
|
1032
1032
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a `symbol` argument')
|
ccxt/zaif.py
CHANGED
@@ -157,7 +157,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
157
157
|
see https://zaif-api-document.readthedocs.io/ja/latest/PublicAPI.html#id12
|
158
158
|
retrieves data on all markets for zaif
|
159
159
|
:param dict params: extra parameters specific to the exchange api endpoint
|
160
|
-
:returns [
|
160
|
+
:returns dict[]: an array of objects representing market data
|
161
161
|
"""
|
162
162
|
markets = self.publicGetCurrencyPairsAll(params)
|
163
163
|
#
|
@@ -407,7 +407,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
407
407
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
408
408
|
:param int|None limit: the maximum amount of trades to fetch
|
409
409
|
:param dict params: extra parameters specific to the zaif api endpoint
|
410
|
-
:returns [
|
410
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
411
411
|
"""
|
412
412
|
self.load_markets()
|
413
413
|
market = self.market(symbol)
|
@@ -528,7 +528,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
528
528
|
:param int|None since: the earliest time in ms to fetch open orders for
|
529
529
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
530
530
|
:param dict params: extra parameters specific to the zaif api endpoint
|
531
|
-
:returns [
|
531
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
532
532
|
"""
|
533
533
|
self.load_markets()
|
534
534
|
market = None
|
@@ -550,7 +550,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
550
550
|
:param int|None since: the earliest time in ms to fetch orders for
|
551
551
|
:param int|None limit: the maximum number of orde structures to retrieve
|
552
552
|
:param dict params: extra parameters specific to the zaif api endpoint
|
553
|
-
:returns [
|
553
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
554
554
|
"""
|
555
555
|
self.load_markets()
|
556
556
|
market = None
|
ccxt/zonda.py
CHANGED
@@ -309,7 +309,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
309
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
|
-
:returns [
|
312
|
+
:returns dict[]: an array of objects representing market data
|
313
313
|
"""
|
314
314
|
response = self.v1_01PublicGetTradingTicker(params)
|
315
315
|
fiatCurrencies = self.safe_value(self.options, 'fiatCurrencies', [])
|
@@ -410,7 +410,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
410
410
|
:param int|None since: the earliest time in ms to fetch open orders for
|
411
411
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
412
412
|
:param dict params: extra parameters specific to the zonda api endpoint
|
413
|
-
:returns [
|
413
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
414
414
|
"""
|
415
415
|
self.load_markets()
|
416
416
|
request = {}
|
@@ -476,7 +476,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
476
476
|
:param int|None since: the earliest time in ms to fetch trades for
|
477
477
|
:param int|None limit: the maximum number of trades structures to retrieve
|
478
478
|
:param dict params: extra parameters specific to the zonda api endpoint
|
479
|
-
:returns [
|
479
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
480
480
|
"""
|
481
481
|
self.load_markets()
|
482
482
|
request = {}
|
@@ -720,7 +720,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
720
720
|
* @ignore
|
721
721
|
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
|
722
722
|
see https://docs.zonda.exchange/reference/market-statistics
|
723
|
-
:param [
|
723
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
724
724
|
:param dict params: extra parameters specific to the zonda api endpoint
|
725
725
|
:param str params['method']: v1_01PublicGetTradingTicker(default) or v1_01PublicGetTradingStats
|
726
726
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1162,7 +1162,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1162
1162
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
1163
1163
|
:param int|None limit: the maximum amount of candles to fetch
|
1164
1164
|
:param dict params: extra parameters specific to the zonda api endpoint
|
1165
|
-
:returns [[
|
1165
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
1166
1166
|
"""
|
1167
1167
|
self.load_markets()
|
1168
1168
|
market = self.market(symbol)
|
@@ -1279,7 +1279,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1279
1279
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
1280
1280
|
:param int|None limit: the maximum amount of trades to fetch
|
1281
1281
|
:param dict params: extra parameters specific to the zonda api endpoint
|
1282
|
-
:returns [
|
1282
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
1283
1283
|
"""
|
1284
1284
|
self.load_markets()
|
1285
1285
|
market = self.market(symbol)
|
@@ -1508,7 +1508,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1508
1508
|
"""
|
1509
1509
|
see https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
|
1510
1510
|
fetch deposit addresses for multiple currencies and chain types
|
1511
|
-
:param [
|
1511
|
+
:param str[]|None codes: zonda does not support filtering filtering by multiple codes and will ignore self parameter.
|
1512
1512
|
:param dict params: extra parameters specific to the zonda api endpoint
|
1513
1513
|
:returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
|
1514
1514
|
"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version:
|
3
|
+
Version: 4.0.3
|
4
4
|
Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
|
5
5
|
Home-page: https://ccxt.com
|
6
6
|
Author: Igor Kroitor
|
@@ -254,13 +254,13 @@ console.log(version, Object.keys(exchanges));
|
|
254
254
|
|
255
255
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
256
256
|
|
257
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@
|
258
|
-
* unpkg: https://unpkg.com/ccxt@
|
257
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.0.3/dist/ccxt.browser.js
|
258
|
+
* unpkg: https://unpkg.com/ccxt@4.0.3/dist/ccxt.browser.js
|
259
259
|
|
260
260
|
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.
|
261
261
|
|
262
262
|
```HTML
|
263
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@
|
263
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.0.3/dist/ccxt.browser.js"></script>
|
264
264
|
```
|
265
265
|
|
266
266
|
Creates a global `ccxt` object:
|