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/async_support/kucoin.py
CHANGED
@@ -619,7 +619,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
619
619
|
"""
|
620
620
|
retrieves data on all markets for kucoin
|
621
621
|
:param dict params: extra parameters specific to the exchange api endpoint
|
622
|
-
:returns [
|
622
|
+
:returns dict[]: an array of objects representing market data
|
623
623
|
"""
|
624
624
|
response = await self.publicGetSymbols(params)
|
625
625
|
#
|
@@ -1069,7 +1069,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
1069
1069
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
1070
1070
|
"""
|
1071
1071
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
1072
|
-
:param [
|
1072
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
1073
1073
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
1074
1074
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
1075
1075
|
"""
|
@@ -1183,7 +1183,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
1183
1183
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
1184
1184
|
:param int|None limit: the maximum amount of candles to fetch
|
1185
1185
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
1186
|
-
:returns [[
|
1186
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
1187
1187
|
"""
|
1188
1188
|
await self.load_markets()
|
1189
1189
|
market = self.market(symbol)
|
@@ -1777,7 +1777,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
1777
1777
|
:param str|None params['tradeType']: TRADE for spot trading, MARGIN_TRADE for Margin Trading
|
1778
1778
|
:param bool params['stop']: True if fetching a stop order
|
1779
1779
|
:param bool params['hf']: False, # True for hf order
|
1780
|
-
:returns [
|
1780
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1781
1781
|
"""
|
1782
1782
|
return await self.fetch_orders_by_status('done', symbol, since, limit, params)
|
1783
1783
|
|
@@ -1797,7 +1797,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
1797
1797
|
:param str params['orderIds']: *stop orders only* comma seperated order ID list
|
1798
1798
|
:param bool params['stop']: True if fetching a stop order
|
1799
1799
|
:param bool params['hf']: False, # True for hf order
|
1800
|
-
:returns [
|
1800
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1801
1801
|
"""
|
1802
1802
|
return await self.fetch_orders_by_status('active', symbol, since, limit, params)
|
1803
1803
|
|
@@ -2043,7 +2043,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
2043
2043
|
:param int|None since: the earliest time in ms to fetch trades for
|
2044
2044
|
:param int|None limit: the maximum number of trades to retrieve
|
2045
2045
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
2046
|
-
:returns [
|
2046
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
2047
2047
|
"""
|
2048
2048
|
request = {
|
2049
2049
|
'orderId': id,
|
@@ -2060,7 +2060,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
2060
2060
|
:param int|None limit: the maximum number of trades structures to retrieve
|
2061
2061
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
2062
2062
|
:param bool params['hf']: False, # True for hf order
|
2063
|
-
:returns [
|
2063
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
2064
2064
|
"""
|
2065
2065
|
await self.load_markets()
|
2066
2066
|
request = {}
|
@@ -2151,7 +2151,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
2151
2151
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
2152
2152
|
:param int|None limit: the maximum amount of trades to fetch
|
2153
2153
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
2154
|
-
:returns [
|
2154
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
2155
2155
|
"""
|
2156
2156
|
await self.load_markets()
|
2157
2157
|
market = self.market(symbol)
|
@@ -2514,7 +2514,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
2514
2514
|
:param int|None since: the earliest time in ms to fetch deposits for
|
2515
2515
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
2516
2516
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
2517
|
-
:returns [
|
2517
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
2518
2518
|
"""
|
2519
2519
|
await self.load_markets()
|
2520
2520
|
request = {}
|
@@ -2581,7 +2581,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
2581
2581
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
2582
2582
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
2583
2583
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
2584
|
-
:returns [
|
2584
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
2585
2585
|
"""
|
2586
2586
|
await self.load_markets()
|
2587
2587
|
request = {}
|
@@ -3139,7 +3139,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
3139
3139
|
:param int|None since: timestamp for the earliest borrow rate
|
3140
3140
|
:param int|None limit: the maximum number of [borrow rate structures]
|
3141
3141
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
3142
|
-
:returns [
|
3142
|
+
:returns dict[]: an array of `borrow rate structures <https://docs.ccxt.com/#/?id=borrow-rate-structure>`
|
3143
3143
|
"""
|
3144
3144
|
await self.load_markets()
|
3145
3145
|
currency = self.currency(code)
|
@@ -3208,7 +3208,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
3208
3208
|
:param int|None limit: the maximum number of structures to retrieve
|
3209
3209
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
3210
3210
|
:param str|None params['marginMode']: 'cross' or 'isolated' default is 'cross'
|
3211
|
-
:returns [
|
3211
|
+
:returns dict[]: a list of `borrow interest structures <https://docs.ccxt.com/#/?id=borrow-interest-structure>`
|
3212
3212
|
"""
|
3213
3213
|
await self.load_markets()
|
3214
3214
|
marginMode = None
|
@@ -3513,7 +3513,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
3513
3513
|
"""
|
3514
3514
|
fetch deposit and withdraw fees - *IMPORTANT* use fetchDepositWithdrawFee to get more in-depth info
|
3515
3515
|
see https://docs.kucoin.com/#get-currencies
|
3516
|
-
:param [
|
3516
|
+
:param str[]|None codes: list of unified currency codes
|
3517
3517
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
3518
3518
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
|
3519
3519
|
"""
|
@@ -367,7 +367,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
367
367
|
"""
|
368
368
|
retrieves data on all markets for kucoinfutures
|
369
369
|
:param dict params: extra parameters specific to the exchange api endpoint
|
370
|
-
:returns [
|
370
|
+
:returns dict[]: an array of objects representing market data
|
371
371
|
"""
|
372
372
|
response = await self.futuresPublicGetContractsActive(params)
|
373
373
|
#
|
@@ -542,7 +542,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
542
542
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
543
543
|
:param int|None limit: the maximum amount of candles to fetch
|
544
544
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
545
|
-
:returns [[
|
545
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
546
546
|
"""
|
547
547
|
await self.load_markets()
|
548
548
|
market = self.market(symbol)
|
@@ -906,9 +906,9 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
906
906
|
"""
|
907
907
|
fetch all open positions
|
908
908
|
see https://docs.kucoin.com/futures/#get-position-list
|
909
|
-
:param [
|
909
|
+
:param str[]|None symbols: list of unified market symbols
|
910
910
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
911
|
-
:returns [
|
911
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
912
912
|
"""
|
913
913
|
await self.load_markets()
|
914
914
|
response = await self.futuresPrivateGetPositions(params)
|
@@ -1461,7 +1461,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
1461
1461
|
:param int|None params['till']: end time in ms
|
1462
1462
|
:param str|None params['side']: buy or sell
|
1463
1463
|
:param str|None params['type']: limit, or market
|
1464
|
-
:returns [
|
1464
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1465
1465
|
"""
|
1466
1466
|
return await self.fetch_orders_by_status('done', symbol, since, limit, params)
|
1467
1467
|
|
@@ -1809,7 +1809,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
1809
1809
|
:param int|None since: the earliest time in ms to fetch trades for
|
1810
1810
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1811
1811
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
1812
|
-
:returns [
|
1812
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1813
1813
|
"""
|
1814
1814
|
await self.load_markets()
|
1815
1815
|
request = {
|
@@ -1871,7 +1871,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
1871
1871
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
1872
1872
|
:param int|None limit: the maximum amount of trades to fetch
|
1873
1873
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
1874
|
-
:returns [
|
1874
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
1875
1875
|
"""
|
1876
1876
|
await self.load_markets()
|
1877
1877
|
market = self.market(symbol)
|
@@ -2034,7 +2034,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
2034
2034
|
:param int|None since: the earliest time in ms to fetch deposits for
|
2035
2035
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
2036
2036
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
2037
|
-
:returns [
|
2037
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
2038
2038
|
"""
|
2039
2039
|
await self.load_markets()
|
2040
2040
|
request = {}
|
@@ -2084,7 +2084,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
2084
2084
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
2085
2085
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
2086
2086
|
:param dict params: extra parameters specific to the kucoinfutures api endpoint
|
2087
|
-
:returns [
|
2087
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
2088
2088
|
"""
|
2089
2089
|
await self.load_markets()
|
2090
2090
|
request = {}
|
@@ -2200,7 +2200,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
2200
2200
|
:param int|None since: not used by kucuoinfutures
|
2201
2201
|
:param int|None limit: the maximum amount of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>` to fetch
|
2202
2202
|
:param dict params: extra parameters specific to the okx api endpoint
|
2203
|
-
:returns [
|
2203
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
2204
2204
|
"""
|
2205
2205
|
if symbol is None:
|
2206
2206
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
ccxt/async_support/kuna.py
CHANGED
@@ -317,7 +317,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
317
317
|
"""
|
318
318
|
retrieves data on all markets for kuna
|
319
319
|
:param dict params: extra parameters specific to the exchange api endpoint
|
320
|
-
:returns [
|
320
|
+
:returns dict[]: an array of objects representing market data
|
321
321
|
"""
|
322
322
|
quotes = ['btc', 'rub', 'uah', 'usd', 'usdt', 'usdc']
|
323
323
|
markets = []
|
@@ -454,7 +454,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
454
454
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
455
455
|
"""
|
456
456
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
457
|
-
:param [
|
457
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
458
458
|
:param dict params: extra parameters specific to the kuna api endpoint
|
459
459
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
460
460
|
"""
|
@@ -502,7 +502,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
502
502
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
503
503
|
:param int|None limit: the maximum amount of trades to fetch
|
504
504
|
:param dict params: extra parameters specific to the kuna api endpoint
|
505
|
-
:returns [
|
505
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
506
506
|
"""
|
507
507
|
await self.load_markets()
|
508
508
|
market = self.market(symbol)
|
@@ -595,7 +595,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
595
595
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
596
596
|
:param int|None limit: the maximum amount of candles to fetch
|
597
597
|
:param dict params: extra parameters specific to the kuna api endpoint
|
598
|
-
:returns [[
|
598
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
599
599
|
"""
|
600
600
|
await self.load_markets()
|
601
601
|
trades = await self.fetch_trades(symbol, since, limit, params)
|
@@ -741,7 +741,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
741
741
|
:param int|None since: the earliest time in ms to fetch open orders for
|
742
742
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
743
743
|
:param dict params: extra parameters specific to the kuna api endpoint
|
744
|
-
:returns [
|
744
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
745
745
|
"""
|
746
746
|
if symbol is None:
|
747
747
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
@@ -763,7 +763,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
763
763
|
:param int|None since: the earliest time in ms to fetch trades for
|
764
764
|
:param int|None limit: the maximum number of trades structures to retrieve
|
765
765
|
:param dict params: extra parameters specific to the kuna api endpoint
|
766
|
-
:returns [
|
766
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
767
767
|
"""
|
768
768
|
if symbol is None:
|
769
769
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
ccxt/async_support/latoken.py
CHANGED
@@ -249,7 +249,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
249
249
|
"""
|
250
250
|
retrieves data on all markets for latoken
|
251
251
|
:param dict params: extra parameters specific to the exchange api endpoint
|
252
|
-
:returns [
|
252
|
+
:returns dict[]: an array of objects representing market data
|
253
253
|
"""
|
254
254
|
currencies = await self.fetch_currencies_from_cache(params)
|
255
255
|
#
|
@@ -634,7 +634,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
634
634
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
635
635
|
"""
|
636
636
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
637
|
-
:param [
|
637
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
638
638
|
:param dict params: extra parameters specific to the latoken api endpoint
|
639
639
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
640
640
|
"""
|
@@ -744,7 +744,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
744
744
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
745
745
|
:param int|None limit: the maximum amount of trades to fetch
|
746
746
|
:param dict params: extra parameters specific to the latoken api endpoint
|
747
|
-
:returns [
|
747
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
748
748
|
"""
|
749
749
|
await self.load_markets()
|
750
750
|
market = self.market(symbol)
|
@@ -833,7 +833,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
833
833
|
:param int|None since: the earliest time in ms to fetch trades for
|
834
834
|
:param int|None limit: the maximum number of trades structures to retrieve
|
835
835
|
:param dict params: extra parameters specific to the latoken api endpoint
|
836
|
-
:returns [
|
836
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
837
837
|
"""
|
838
838
|
await self.load_markets()
|
839
839
|
request = {
|
@@ -1002,7 +1002,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
1002
1002
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1003
1003
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1004
1004
|
:param dict params: extra parameters specific to the latoken api endpoint
|
1005
|
-
:returns [
|
1005
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1006
1006
|
"""
|
1007
1007
|
if symbol is None:
|
1008
1008
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
@@ -1044,7 +1044,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
1044
1044
|
:param int|None since: the earliest time in ms to fetch orders for
|
1045
1045
|
:param int|None limit: the maximum number of orde structures to retrieve
|
1046
1046
|
:param dict params: extra parameters specific to the latoken api endpoint
|
1047
|
-
:returns [
|
1047
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1048
1048
|
"""
|
1049
1049
|
await self.load_markets()
|
1050
1050
|
request = {
|
@@ -1193,7 +1193,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
1193
1193
|
cancel all open orders in a market
|
1194
1194
|
:param str symbol: unified market symbol of the market to cancel orders in
|
1195
1195
|
:param dict params: extra parameters specific to the latoken api endpoint
|
1196
|
-
:returns [
|
1196
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1197
1197
|
"""
|
1198
1198
|
await self.load_markets()
|
1199
1199
|
request = {
|
@@ -1346,7 +1346,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
1346
1346
|
:param int|None since: the earliest time in ms to fetch transfers for
|
1347
1347
|
:param int|None limit: the maximum number of transfers structures to retrieve
|
1348
1348
|
:param dict params: extra parameters specific to the latoken api endpoint
|
1349
|
-
:returns [
|
1349
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
1350
1350
|
"""
|
1351
1351
|
await self.load_markets()
|
1352
1352
|
currency = self.currency(code)
|
ccxt/async_support/lbank.py
CHANGED
@@ -152,7 +152,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
152
152
|
"""
|
153
153
|
retrieves data on all markets for lbank
|
154
154
|
:param dict params: extra parameters specific to the exchange api endpoint
|
155
|
-
:returns [
|
155
|
+
:returns dict[]: an array of objects representing market data
|
156
156
|
"""
|
157
157
|
response = await self.publicGetAccuracy(params)
|
158
158
|
#
|
@@ -309,7 +309,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
309
309
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
310
310
|
"""
|
311
311
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
312
|
-
:param [
|
312
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
313
313
|
:param dict params: extra parameters specific to the lbank api endpoint
|
314
314
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
315
315
|
"""
|
@@ -383,7 +383,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
383
383
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
384
384
|
:param int|None limit: the maximum amount of trades to fetch
|
385
385
|
:param dict params: extra parameters specific to the lbank api endpoint
|
386
|
-
:returns [
|
386
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
387
387
|
"""
|
388
388
|
await self.load_markets()
|
389
389
|
market = self.market(symbol)
|
@@ -426,7 +426,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
426
426
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
427
427
|
:param int|None limit: the maximum amount of candles to fetch
|
428
428
|
:param dict params: extra parameters specific to the lbank api endpoint
|
429
|
-
:returns [[
|
429
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
430
430
|
"""
|
431
431
|
await self.load_markets()
|
432
432
|
market = self.market(symbol)
|
@@ -644,7 +644,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
644
644
|
:param int|None since: the earliest time in ms to fetch orders for
|
645
645
|
:param int|None limit: the maximum number of orde structures to retrieve
|
646
646
|
:param dict params: extra parameters specific to the lbank api endpoint
|
647
|
-
:returns [
|
647
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
648
648
|
"""
|
649
649
|
await self.load_markets()
|
650
650
|
if limit is None:
|
@@ -666,7 +666,7 @@ class lbank(Exchange, ImplicitAPI):
|
|
666
666
|
:param int|None since: the earliest time in ms to fetch orders for
|
667
667
|
:param int|None limit: the maximum number of orde structures to retrieve
|
668
668
|
:param dict params: extra parameters specific to the lbank api endpoint
|
669
|
-
:returns [
|
669
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
670
670
|
"""
|
671
671
|
await self.load_markets()
|
672
672
|
if symbol is not None:
|
ccxt/async_support/lbank2.py
CHANGED
@@ -293,7 +293,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
293
293
|
retrieves data on all markets for lbank2
|
294
294
|
see https://www.lbank.com/en-US/docs/index.html#trading-pairs
|
295
295
|
:param dict params: extra parameters specific to the exchange api endpoint
|
296
|
-
:returns [
|
296
|
+
:returns dict[]: an array of objects representing market data
|
297
297
|
"""
|
298
298
|
# needs to return a list of unified market structures
|
299
299
|
response = await self.publicGetAccuracy()
|
@@ -449,7 +449,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
449
449
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
450
450
|
"""
|
451
451
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
452
|
-
:param [
|
452
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
453
453
|
:param dict params: extra parameters specific to the lbank api endpoint
|
454
454
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
455
455
|
"""
|
@@ -582,7 +582,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
582
582
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
583
583
|
:param int|None limit: the maximum amount of trades to fetch
|
584
584
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
585
|
-
:returns [
|
585
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
586
586
|
"""
|
587
587
|
await self.load_markets()
|
588
588
|
market = self.market(symbol)
|
@@ -647,7 +647,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
647
647
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
648
648
|
:param int|None limit: the maximum amount of candles to fetch
|
649
649
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
650
|
-
:returns [[
|
650
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
651
651
|
"""
|
652
652
|
# endpoint doesnt work
|
653
653
|
await self.load_markets()
|
@@ -1209,7 +1209,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1209
1209
|
:param int|None since: the earliest time in ms to fetch trades for
|
1210
1210
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1211
1211
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1212
|
-
:returns [
|
1212
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1213
1213
|
"""
|
1214
1214
|
if symbol is None:
|
1215
1215
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
@@ -1262,7 +1262,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1262
1262
|
:param int|None since: the earliest time in ms to fetch orders for
|
1263
1263
|
:param int|None limit: the maximum number of orde structures to retrieve
|
1264
1264
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1265
|
-
:returns [
|
1265
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1266
1266
|
"""
|
1267
1267
|
# default query is for canceled and completely filled orders
|
1268
1268
|
# does not return open orders unless specified explicitly
|
@@ -1317,7 +1317,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1317
1317
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1318
1318
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1319
1319
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1320
|
-
:returns [
|
1320
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1321
1321
|
"""
|
1322
1322
|
if symbol is None:
|
1323
1323
|
raise ArgumentsRequired(self.id + ' fetchOpenOrders() requires a symbol argument')
|
@@ -1404,7 +1404,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1404
1404
|
cancel all open orders in a market
|
1405
1405
|
:param str symbol: unified market symbol of the market to cancel orders in
|
1406
1406
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1407
|
-
:returns [
|
1407
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1408
1408
|
"""
|
1409
1409
|
if symbol is None:
|
1410
1410
|
raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
|
@@ -1697,7 +1697,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1697
1697
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1698
1698
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1699
1699
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1700
|
-
:returns [
|
1700
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1701
1701
|
"""
|
1702
1702
|
await self.load_markets()
|
1703
1703
|
request = {
|
@@ -1745,7 +1745,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1745
1745
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1746
1746
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1747
1747
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1748
|
-
:returns [
|
1748
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1749
1749
|
"""
|
1750
1750
|
await self.load_markets()
|
1751
1751
|
request = {
|
@@ -1793,7 +1793,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1793
1793
|
async def fetch_transaction_fees(self, codes=None, params={}):
|
1794
1794
|
"""
|
1795
1795
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
1796
|
-
:param [
|
1796
|
+
:param str[]|None codes: not used by lbank2 fetchTransactionFees()
|
1797
1797
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1798
1798
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1799
1799
|
"""
|
@@ -1925,7 +1925,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1925
1925
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1926
1926
|
"""
|
1927
1927
|
when using private endpoint, only returns information for currencies with non-zero balance, use public method by specifying self.options['fetchDepositWithdrawFees']['method'] = 'fetchPublicDepositWithdrawFees'
|
1928
|
-
:param [
|
1928
|
+
:param str[]|None codes: array of unified currency codes
|
1929
1929
|
:param dict params: extra parameters specific to the lbank2 api endpoint
|
1930
1930
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1931
1931
|
"""
|
ccxt/async_support/luno.py
CHANGED
@@ -163,7 +163,7 @@ class luno(Exchange, ImplicitAPI):
|
|
163
163
|
"""
|
164
164
|
retrieves data on all markets for luno
|
165
165
|
:param dict params: extra parameters specific to the exchange api endpoint
|
166
|
-
:returns [
|
166
|
+
:returns dict[]: an array of objects representing market data
|
167
167
|
"""
|
168
168
|
response = await self.exchangeGetMarkets(params)
|
169
169
|
#
|
@@ -447,7 +447,7 @@ class luno(Exchange, ImplicitAPI):
|
|
447
447
|
:param int|None since: the earliest time in ms to fetch orders for
|
448
448
|
:param int|None limit: the maximum number of orde structures to retrieve
|
449
449
|
:param dict params: extra parameters specific to the luno api endpoint
|
450
|
-
:returns [
|
450
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
451
451
|
"""
|
452
452
|
return await self.fetch_orders_by_state(None, symbol, since, limit, params)
|
453
453
|
|
@@ -458,7 +458,7 @@ class luno(Exchange, ImplicitAPI):
|
|
458
458
|
:param int|None since: the earliest time in ms to fetch open orders for
|
459
459
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
460
460
|
:param dict params: extra parameters specific to the luno api endpoint
|
461
|
-
:returns [
|
461
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
462
462
|
"""
|
463
463
|
return await self.fetch_orders_by_state('PENDING', symbol, since, limit, params)
|
464
464
|
|
@@ -469,7 +469,7 @@ class luno(Exchange, ImplicitAPI):
|
|
469
469
|
:param int|None since: the earliest time in ms to fetch orders for
|
470
470
|
:param int|None limit: the maximum number of orde structures to retrieve
|
471
471
|
:param dict params: extra parameters specific to the luno api endpoint
|
472
|
-
:returns [
|
472
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
473
473
|
"""
|
474
474
|
return await self.fetch_orders_by_state('COMPLETE', symbol, since, limit, params)
|
475
475
|
|
@@ -513,7 +513,7 @@ class luno(Exchange, ImplicitAPI):
|
|
513
513
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
514
514
|
"""
|
515
515
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
516
|
-
:param [
|
516
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
517
517
|
:param dict params: extra parameters specific to the luno api endpoint
|
518
518
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
519
519
|
"""
|
@@ -646,7 +646,7 @@ class luno(Exchange, ImplicitAPI):
|
|
646
646
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
647
647
|
:param int|None limit: the maximum amount of trades to fetch
|
648
648
|
:param dict params: extra parameters specific to the luno api endpoint
|
649
|
-
:returns [
|
649
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
650
650
|
"""
|
651
651
|
await self.load_markets()
|
652
652
|
market = self.market(symbol)
|
@@ -679,7 +679,7 @@ class luno(Exchange, ImplicitAPI):
|
|
679
679
|
:param int|None since: the earliest time in ms to fetch trades for
|
680
680
|
:param int|None limit: the maximum number of trades structures to retrieve
|
681
681
|
:param dict params: extra parameters specific to the luno api endpoint
|
682
|
-
:returns [
|
682
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
683
683
|
"""
|
684
684
|
if symbol is None:
|
685
685
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
ccxt/async_support/lykke.py
CHANGED
@@ -265,7 +265,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
265
265
|
"""
|
266
266
|
retrieves data on all markets for lykke
|
267
267
|
:param dict params: extra parameters specific to the exchange api endpoint
|
268
|
-
:returns [
|
268
|
+
:returns dict[]: an array of objects representing market data
|
269
269
|
"""
|
270
270
|
response = await self.publicGetAssetpairs(params)
|
271
271
|
markets = self.safe_value(response, 'payload', [])
|
@@ -470,7 +470,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
470
470
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
471
471
|
"""
|
472
472
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
473
|
-
:param [
|
473
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
474
474
|
:param dict params: extra parameters specific to the lykke api endpoint
|
475
475
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
476
476
|
"""
|
@@ -603,7 +603,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
603
603
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
604
604
|
:param int|None limit: the maximum amount of trades to fetch
|
605
605
|
:param dict params: extra parameters specific to the lykke api endpoint
|
606
|
-
:returns [
|
606
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
607
607
|
"""
|
608
608
|
await self.load_markets()
|
609
609
|
market = self.market(symbol)
|
@@ -840,7 +840,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
840
840
|
cancel all open orders
|
841
841
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
842
842
|
:param dict params: extra parameters specific to the lykke api endpoint
|
843
|
-
:returns [
|
843
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
844
844
|
"""
|
845
845
|
await self.load_markets()
|
846
846
|
request = {
|
@@ -899,7 +899,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
899
899
|
:param int|None since: the earliest time in ms to fetch open orders for
|
900
900
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
901
901
|
:param dict params: extra parameters specific to the lykke api endpoint
|
902
|
-
:returns [
|
902
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
903
903
|
"""
|
904
904
|
await self.load_markets()
|
905
905
|
market = None
|
@@ -943,7 +943,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
943
943
|
:param int|None since: the earliest time in ms to fetch orders for
|
944
944
|
:param int|None limit: the maximum number of orde structures to retrieve
|
945
945
|
:param dict params: extra parameters specific to the lykke api endpoint
|
946
|
-
:returns [
|
946
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
947
947
|
"""
|
948
948
|
await self.load_markets()
|
949
949
|
market = None
|
@@ -987,7 +987,7 @@ class lykke(Exchange, ImplicitAPI):
|
|
987
987
|
:param int|None since: the earliest time in ms to fetch trades for
|
988
988
|
:param int|None limit: the maximum number of trades structures to retrieve
|
989
989
|
:param dict params: extra parameters specific to the lykke api endpoint
|
990
|
-
:returns [
|
990
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
991
991
|
"""
|
992
992
|
await self.load_markets()
|
993
993
|
request = {
|