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/pro/upbit.py
CHANGED
|
@@ -69,7 +69,7 @@ class upbit(ccxt.async_support.upbit):
|
|
|
69
69
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
70
70
|
:param int|None limit: the maximum amount of trades to fetch
|
|
71
71
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
72
|
-
:returns [
|
|
72
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
73
73
|
"""
|
|
74
74
|
await self.load_markets()
|
|
75
75
|
symbol = self.symbol(symbol)
|
ccxt/pro/wazirx.py
CHANGED
|
@@ -188,7 +188,7 @@ class wazirx(ccxt.async_support.wazirx):
|
|
|
188
188
|
"""
|
|
189
189
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
190
190
|
see https://docs.wazirx.com/#all-market-tickers-stream
|
|
191
|
-
:param [
|
|
191
|
+
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
|
192
192
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
|
193
193
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
194
194
|
"""
|
|
@@ -287,7 +287,7 @@ class wazirx(ccxt.async_support.wazirx):
|
|
|
287
287
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
288
288
|
:param int|None limit: the maximum amount of trades to fetch
|
|
289
289
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
|
290
|
-
:returns [
|
|
290
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
291
291
|
"""
|
|
292
292
|
await self.load_markets()
|
|
293
293
|
market = self.market(symbol)
|
|
@@ -348,7 +348,7 @@ class wazirx(ccxt.async_support.wazirx):
|
|
|
348
348
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
349
349
|
:param int|None limit: the maximum amount of trades to fetch
|
|
350
350
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
|
351
|
-
:returns [
|
|
351
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
352
352
|
"""
|
|
353
353
|
await self.load_markets()
|
|
354
354
|
token = await self.authenticate(params)
|
|
@@ -376,7 +376,7 @@ class wazirx(ccxt.async_support.wazirx):
|
|
|
376
376
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
377
377
|
:param int|None limit: the maximum amount of candles to fetch
|
|
378
378
|
:param dict params: extra parameters specific to the wazirx api endpoint
|
|
379
|
-
:returns [[
|
|
379
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
380
380
|
"""
|
|
381
381
|
await self.load_markets()
|
|
382
382
|
market = self.market(symbol)
|
ccxt/pro/whitebit.py
CHANGED
|
@@ -71,7 +71,7 @@ class whitebit(ccxt.async_support.whitebit):
|
|
|
71
71
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
72
72
|
:param int|None limit: the maximum amount of candles to fetch
|
|
73
73
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
74
|
-
:returns [[
|
|
74
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
75
75
|
"""
|
|
76
76
|
await self.load_markets()
|
|
77
77
|
market = self.market(symbol)
|
|
@@ -293,7 +293,7 @@ class whitebit(ccxt.async_support.whitebit):
|
|
|
293
293
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
294
294
|
:param int|None limit: the maximum amount of trades to fetch
|
|
295
295
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
296
|
-
:returns [
|
|
296
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
297
297
|
"""
|
|
298
298
|
await self.load_markets()
|
|
299
299
|
market = self.market(symbol)
|
|
@@ -354,7 +354,7 @@ class whitebit(ccxt.async_support.whitebit):
|
|
|
354
354
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
355
355
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
356
356
|
:param dict params: extra parameters specific to the whitebit api endpoint
|
|
357
|
-
:returns [
|
|
357
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
358
358
|
"""
|
|
359
359
|
if symbol is None:
|
|
360
360
|
raise ArgumentsRequired(self.id + ' watchMyTrades requires a symbol argument')
|
|
@@ -447,7 +447,7 @@ class whitebit(ccxt.async_support.whitebit):
|
|
|
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 whitebit api endpoint
|
|
450
|
-
:returns [
|
|
450
|
+
:returns dict[]: a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
451
451
|
"""
|
|
452
452
|
if symbol is None:
|
|
453
453
|
raise ArgumentsRequired(self.id + ' watchOrders requires a symbol argument')
|
ccxt/probit.py
CHANGED
|
@@ -263,7 +263,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
263
263
|
see https://docs-en.probit.com/reference/market
|
|
264
264
|
retrieves data on all markets for probit
|
|
265
265
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
266
|
-
:returns [
|
|
266
|
+
:returns dict[]: an array of objects representing market data
|
|
267
267
|
"""
|
|
268
268
|
response = self.publicGetMarket(params)
|
|
269
269
|
#
|
|
@@ -586,7 +586,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
586
586
|
"""
|
|
587
587
|
see https://docs-en.probit.com/reference/ticker
|
|
588
588
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
589
|
-
:param [
|
|
589
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
590
590
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
591
591
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
592
592
|
"""
|
|
@@ -702,7 +702,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
702
702
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
703
703
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
704
704
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
705
|
-
:returns [
|
|
705
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
706
706
|
"""
|
|
707
707
|
self.load_markets()
|
|
708
708
|
market = None
|
|
@@ -751,7 +751,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
751
751
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
752
752
|
:param int|None limit: the maximum amount of trades to fetch
|
|
753
753
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
754
|
-
:returns [
|
|
754
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
755
755
|
"""
|
|
756
756
|
self.load_markets()
|
|
757
757
|
market = self.market(symbol)
|
|
@@ -909,7 +909,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
909
909
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
910
910
|
:param int|None limit: the maximum amount of candles to fetch
|
|
911
911
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
912
|
-
:returns [[
|
|
912
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
913
913
|
"""
|
|
914
914
|
self.load_markets()
|
|
915
915
|
market = self.market(symbol)
|
|
@@ -992,7 +992,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
992
992
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
993
993
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
994
994
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
995
|
-
:returns [
|
|
995
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
996
996
|
"""
|
|
997
997
|
self.load_markets()
|
|
998
998
|
since = self.parse8601(since)
|
|
@@ -1013,7 +1013,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
1013
1013
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1014
1014
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1015
1015
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
1016
|
-
:returns [
|
|
1016
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1017
1017
|
"""
|
|
1018
1018
|
self.load_markets()
|
|
1019
1019
|
request = {
|
|
@@ -1304,7 +1304,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
1304
1304
|
"""
|
|
1305
1305
|
see https://docs-en.probit.com/reference/deposit_address
|
|
1306
1306
|
fetch deposit addresses for multiple currencies and chain types
|
|
1307
|
-
:param [
|
|
1307
|
+
:param str[]|None codes: list of unified currency codes, default is None
|
|
1308
1308
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
1309
1309
|
:returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
|
|
1310
1310
|
"""
|
|
@@ -1370,7 +1370,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
1370
1370
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1371
1371
|
:param int|None limit: the maximum number of transaction structures to retrieve
|
|
1372
1372
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
1373
|
-
:returns [
|
|
1373
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1374
1374
|
"""
|
|
1375
1375
|
request = {
|
|
1376
1376
|
'type': 'deposit',
|
|
@@ -1385,7 +1385,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
1385
1385
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1386
1386
|
:param int|None limit: the maximum number of transaction structures to retrieve
|
|
1387
1387
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
1388
|
-
:returns [
|
|
1388
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1389
1389
|
"""
|
|
1390
1390
|
request = {
|
|
1391
1391
|
'type': 'withdrawal',
|
|
@@ -1400,7 +1400,7 @@ class probit(Exchange, ImplicitAPI):
|
|
|
1400
1400
|
:param int|None since: the earliest time in ms to fetch transactions for
|
|
1401
1401
|
:param int|None limit: the maximum number of transaction structures to retrieve
|
|
1402
1402
|
:param dict params: extra parameters specific to the probit api endpoint
|
|
1403
|
-
:returns [
|
|
1403
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1404
1404
|
"""
|
|
1405
1405
|
self.load_markets()
|
|
1406
1406
|
currency = None
|
|
@@ -1496,9 +1496,9 @@ class probit(Exchange, ImplicitAPI):
|
|
|
1496
1496
|
"""
|
|
1497
1497
|
see https://docs-en.probit.com/reference/currency
|
|
1498
1498
|
fetch deposit and withdraw fees
|
|
1499
|
-
:param [
|
|
1500
|
-
:param dict params: extra parameters specific to the
|
|
1501
|
-
:returns [
|
|
1499
|
+
:param str[]|None codes: list of unified currency codes
|
|
1500
|
+
:param dict params: extra parameters specific to the poloniex api endpoint
|
|
1501
|
+
:returns dict[]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
1502
1502
|
"""
|
|
1503
1503
|
self.load_markets()
|
|
1504
1504
|
response = self.publicGetCurrencyWithPlatform(params)
|
ccxt/tidex.py
CHANGED
|
@@ -263,7 +263,7 @@ class tidex(Exchange, ImplicitAPI):
|
|
|
263
263
|
"""
|
|
264
264
|
retrieves data on all markets for tidex
|
|
265
265
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
266
|
-
:returns [
|
|
266
|
+
:returns dict[]: an array of objects representing market data
|
|
267
267
|
"""
|
|
268
268
|
response = self.publicGetInfo(params)
|
|
269
269
|
#
|
|
@@ -427,7 +427,7 @@ class tidex(Exchange, ImplicitAPI):
|
|
|
427
427
|
def fetch_order_books(self, symbols: Optional[List[str]] = None, limit: Optional[int] = None, params={}):
|
|
428
428
|
"""
|
|
429
429
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
|
430
|
-
:param [
|
|
430
|
+
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
|
431
431
|
:param int|None limit: max number of entries per orderbook to return, default is None
|
|
432
432
|
:param dict params: extra parameters specific to the tidex api endpoint
|
|
433
433
|
:returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
|
|
@@ -500,7 +500,7 @@ class tidex(Exchange, ImplicitAPI):
|
|
|
500
500
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
501
501
|
"""
|
|
502
502
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
503
|
-
:param [
|
|
503
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
504
504
|
:param dict params: extra parameters specific to the tidex api endpoint
|
|
505
505
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
506
506
|
"""
|
|
@@ -597,7 +597,7 @@ class tidex(Exchange, ImplicitAPI):
|
|
|
597
597
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
598
598
|
:param int|None limit: the maximum amount of trades to fetch
|
|
599
599
|
:param dict params: extra parameters specific to the tidex api endpoint
|
|
600
|
-
:returns [
|
|
600
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
601
601
|
"""
|
|
602
602
|
self.load_markets()
|
|
603
603
|
market = self.market(symbol)
|
|
@@ -759,7 +759,7 @@ class tidex(Exchange, ImplicitAPI):
|
|
|
759
759
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
760
760
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
761
761
|
:param dict params: extra parameters specific to the tidex api endpoint
|
|
762
|
-
:returns [
|
|
762
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
763
763
|
"""
|
|
764
764
|
self.load_markets()
|
|
765
765
|
request = {}
|
|
@@ -800,7 +800,7 @@ class tidex(Exchange, ImplicitAPI):
|
|
|
800
800
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
801
801
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
802
802
|
:param dict params: extra parameters specific to the tidex api endpoint
|
|
803
|
-
:returns [
|
|
803
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
804
804
|
"""
|
|
805
805
|
self.load_markets()
|
|
806
806
|
market = None
|
ccxt/timex.py
CHANGED
|
@@ -281,7 +281,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
281
281
|
"""
|
|
282
282
|
retrieves data on all markets for timex
|
|
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
|
response = self.publicGetMarkets(params)
|
|
287
287
|
#
|
|
@@ -355,7 +355,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
355
355
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
356
356
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
357
357
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
358
|
-
:returns [
|
|
358
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
359
359
|
"""
|
|
360
360
|
address = self.safe_string(params, 'address')
|
|
361
361
|
params = self.omit(params, 'address')
|
|
@@ -387,7 +387,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
387
387
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
388
388
|
:param int|None limit: the maximum number of transaction structures to retrieve
|
|
389
389
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
390
|
-
:returns [
|
|
390
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
391
391
|
"""
|
|
392
392
|
address = self.safe_string(params, 'address')
|
|
393
393
|
params = self.omit(params, 'address')
|
|
@@ -460,7 +460,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
460
460
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
461
461
|
"""
|
|
462
462
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
463
|
-
:param [
|
|
463
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
464
464
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
465
465
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
466
466
|
"""
|
|
@@ -574,7 +574,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
574
574
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
575
575
|
:param int|None limit: the maximum amount of trades to fetch
|
|
576
576
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
577
|
-
:returns [
|
|
577
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
578
578
|
"""
|
|
579
579
|
self.load_markets()
|
|
580
580
|
market = self.market(symbol)
|
|
@@ -618,7 +618,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
618
618
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
619
619
|
:param int|None limit: the maximum amount of candles to fetch
|
|
620
620
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
621
|
-
:returns [[
|
|
621
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
622
622
|
"""
|
|
623
623
|
self.load_markets()
|
|
624
624
|
market = self.market(symbol)
|
|
@@ -819,7 +819,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
819
819
|
def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
|
|
820
820
|
"""
|
|
821
821
|
cancel multiple orders
|
|
822
|
-
:param [
|
|
822
|
+
:param str[] ids: order ids
|
|
823
823
|
:param str|None symbol: unified market symbol, default is None
|
|
824
824
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
825
825
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
@@ -911,7 +911,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
911
911
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
912
912
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
913
913
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
914
|
-
:returns [
|
|
914
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
915
915
|
"""
|
|
916
916
|
self.load_markets()
|
|
917
917
|
options = self.safe_value(self.options, 'fetchOpenOrders', {})
|
|
@@ -961,7 +961,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
961
961
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
962
962
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
963
963
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
964
|
-
:returns [
|
|
964
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
965
965
|
"""
|
|
966
966
|
self.load_markets()
|
|
967
967
|
options = self.safe_value(self.options, 'fetchClosedOrders', {})
|
|
@@ -1015,7 +1015,7 @@ class timex(Exchange, ImplicitAPI):
|
|
|
1015
1015
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1016
1016
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1017
1017
|
:param dict params: extra parameters specific to the timex api endpoint
|
|
1018
|
-
:returns [
|
|
1018
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1019
1019
|
"""
|
|
1020
1020
|
self.load_markets()
|
|
1021
1021
|
options = self.safe_value(self.options, 'fetchMyTrades', {})
|
ccxt/tokocrypto.py
CHANGED
|
@@ -638,7 +638,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
638
638
|
see https://www.tokocrypto.com/apidocs/#get-all-supported-trading-symbol
|
|
639
639
|
retrieves data on all markets for tokocrypto
|
|
640
640
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
641
|
-
:returns [
|
|
641
|
+
:returns dict[]: an array of objects representing market data
|
|
642
642
|
"""
|
|
643
643
|
response = self.publicGetOpenV1CommonSymbols(params)
|
|
644
644
|
#
|
|
@@ -977,7 +977,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
977
977
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
978
978
|
:param int|None limit: the maximum amount of trades to fetch
|
|
979
979
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
980
|
-
:returns [
|
|
980
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
981
981
|
"""
|
|
982
982
|
self.load_markets()
|
|
983
983
|
market = self.market(symbol)
|
|
@@ -1125,7 +1125,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1125
1125
|
"""
|
|
1126
1126
|
see https://binance-docs.github.io/apidocs/spot/en/#24hr-ticker-price-change-statistics
|
|
1127
1127
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
1128
|
-
:param [
|
|
1128
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1129
1129
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1130
1130
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
1131
1131
|
"""
|
|
@@ -1158,7 +1158,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1158
1158
|
"""
|
|
1159
1159
|
see https://binance-docs.github.io/apidocs/spot/en/#symbol-order-book-ticker
|
|
1160
1160
|
fetches the bid and ask price and volume for multiple markets
|
|
1161
|
-
:param [
|
|
1161
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
|
|
1162
1162
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1163
1163
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
1164
1164
|
"""
|
|
@@ -1221,7 +1221,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1221
1221
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1222
1222
|
:param str|None params['price']: "mark" or "index" for mark price and index price candles
|
|
1223
1223
|
:param int|None params['until']: timestamp in ms of the latest candle to fetch
|
|
1224
|
-
:returns [[
|
|
1224
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1225
1225
|
"""
|
|
1226
1226
|
self.load_markets()
|
|
1227
1227
|
market = self.market(symbol)
|
|
@@ -1263,7 +1263,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1263
1263
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1264
1264
|
:param str|None params['type']: 'future', 'delivery', 'savings', 'funding', or 'spot'
|
|
1265
1265
|
:param str|None params['marginMode']: 'cross' or 'isolated', for margin trading, uses self.options.defaultMarginMode if not passed, defaults to None/None/None
|
|
1266
|
-
:param [
|
|
1266
|
+
:param str[]|None params['symbols']: unified market symbols, only used in isolated margin mode
|
|
1267
1267
|
:returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
|
|
1268
1268
|
"""
|
|
1269
1269
|
self.load_markets()
|
|
@@ -1695,7 +1695,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1695
1695
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1696
1696
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1697
1697
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1698
|
-
:returns [
|
|
1698
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1699
1699
|
"""
|
|
1700
1700
|
if symbol is None:
|
|
1701
1701
|
raise ArgumentsRequired(self.id + ' fetchOrders() requires a symbol argument')
|
|
@@ -1761,7 +1761,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1761
1761
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1762
1762
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1763
1763
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1764
|
-
:returns [
|
|
1764
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1765
1765
|
"""
|
|
1766
1766
|
request = {'type': 1} # -1 = all, 1 = open, 2 = closed
|
|
1767
1767
|
return self.fetch_orders(symbol, since, limit, self.extend(request, params))
|
|
@@ -1774,7 +1774,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1774
1774
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1775
1775
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1776
1776
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1777
|
-
:returns [
|
|
1777
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1778
1778
|
"""
|
|
1779
1779
|
request = {'type': 2} # -1 = all, 1 = open, 2 = closed
|
|
1780
1780
|
return self.fetch_orders(symbol, since, limit, self.extend(request, params))
|
|
@@ -1830,7 +1830,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1830
1830
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1831
1831
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1832
1832
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1833
|
-
:returns [
|
|
1833
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1834
1834
|
"""
|
|
1835
1835
|
if symbol is None:
|
|
1836
1836
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
|
@@ -1938,7 +1938,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1938
1938
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1939
1939
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1940
1940
|
:param int|None params['until']: the latest time in ms to fetch deposits for
|
|
1941
|
-
:returns [
|
|
1941
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1942
1942
|
"""
|
|
1943
1943
|
self.load_markets()
|
|
1944
1944
|
currency = None
|
|
@@ -1992,7 +1992,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
|
1992
1992
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1993
1993
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1994
1994
|
:param dict params: extra parameters specific to the tokocrypto api endpoint
|
|
1995
|
-
:returns [
|
|
1995
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1996
1996
|
"""
|
|
1997
1997
|
self.load_markets()
|
|
1998
1998
|
request = {}
|
ccxt/upbit.py
CHANGED
|
@@ -402,7 +402,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
402
402
|
see https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
|
|
403
403
|
retrieves data on all markets for upbit
|
|
404
404
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
405
|
-
:returns [
|
|
405
|
+
:returns dict[]: an array of objects representing market data
|
|
406
406
|
"""
|
|
407
407
|
response = self.publicGetMarketAll(params)
|
|
408
408
|
#
|
|
@@ -517,7 +517,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
517
517
|
"""
|
|
518
518
|
see https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
|
|
519
519
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
|
520
|
-
:param [
|
|
520
|
+
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
|
521
521
|
:param int|None limit: not used by upbit fetchOrderBooks()
|
|
522
522
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
523
523
|
:returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
|
|
@@ -653,7 +653,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
653
653
|
"""
|
|
654
654
|
see https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
|
|
655
655
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
656
|
-
:param [
|
|
656
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
657
657
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
658
658
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
659
659
|
"""
|
|
@@ -795,7 +795,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
795
795
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
796
796
|
:param int|None limit: the maximum amount of trades to fetch
|
|
797
797
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
798
|
-
:returns [
|
|
798
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
799
799
|
"""
|
|
800
800
|
self.load_markets()
|
|
801
801
|
market = self.market(symbol)
|
|
@@ -927,7 +927,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
927
927
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
928
928
|
:param int|None limit: the maximum amount of candles to fetch
|
|
929
929
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
930
|
-
:returns [[
|
|
930
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
931
931
|
"""
|
|
932
932
|
self.load_markets()
|
|
933
933
|
market = self.market(symbol)
|
|
@@ -1095,7 +1095,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
1095
1095
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1096
1096
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1097
1097
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
1098
|
-
:returns [
|
|
1098
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1099
1099
|
"""
|
|
1100
1100
|
self.load_markets()
|
|
1101
1101
|
request = {
|
|
@@ -1135,7 +1135,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
1135
1135
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1136
1136
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1137
1137
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
1138
|
-
:returns [
|
|
1138
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1139
1139
|
"""
|
|
1140
1140
|
self.load_markets()
|
|
1141
1141
|
request = {
|
|
@@ -1424,7 +1424,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
1424
1424
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1425
1425
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1426
1426
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
1427
|
-
:returns [
|
|
1427
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1428
1428
|
"""
|
|
1429
1429
|
return self.fetch_orders_by_state('wait', symbol, since, limit, params)
|
|
1430
1430
|
|
|
@@ -1436,7 +1436,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
1436
1436
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1437
1437
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1438
1438
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
1439
|
-
:returns [
|
|
1439
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1440
1440
|
"""
|
|
1441
1441
|
return self.fetch_orders_by_state('done', symbol, since, limit, params)
|
|
1442
1442
|
|
|
@@ -1514,7 +1514,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
|
1514
1514
|
"""
|
|
1515
1515
|
see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
|
|
1516
1516
|
fetch deposit addresses for multiple currencies and chain types
|
|
1517
|
-
:param [
|
|
1517
|
+
:param str[]|None codes: list of unified currency codes, default is None
|
|
1518
1518
|
:param dict params: extra parameters specific to the upbit api endpoint
|
|
1519
1519
|
:returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
|
|
1520
1520
|
"""
|
ccxt/wavesexchange.py
CHANGED
|
@@ -490,7 +490,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
490
490
|
"""
|
|
491
491
|
retrieves data on all markets for wavesexchange
|
|
492
492
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
493
|
-
:returns [
|
|
493
|
+
:returns dict[]: an array of objects representing market data
|
|
494
494
|
"""
|
|
495
495
|
response = self.marketGetTickers()
|
|
496
496
|
#
|
|
@@ -846,7 +846,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
846
846
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
847
847
|
"""
|
|
848
848
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
849
|
-
:param [
|
|
849
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
850
850
|
:param dict params: extra parameters specific to the aax api endpoint
|
|
851
851
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
852
852
|
"""
|
|
@@ -890,7 +890,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
890
890
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
891
891
|
:param int|None limit: the maximum amount of candles to fetch
|
|
892
892
|
:param dict params: extra parameters specific to the wavesexchange api endpoint
|
|
893
|
-
:returns [[
|
|
893
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
894
894
|
"""
|
|
895
895
|
self.load_markets()
|
|
896
896
|
market = self.market(symbol)
|
|
@@ -1426,7 +1426,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
1426
1426
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1427
1427
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1428
1428
|
:param dict params: extra parameters specific to the wavesexchange api endpoint
|
|
1429
|
-
:returns [
|
|
1429
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1430
1430
|
"""
|
|
1431
1431
|
self.check_required_dependencies()
|
|
1432
1432
|
self.check_required_keys()
|
|
@@ -1475,7 +1475,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
1475
1475
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1476
1476
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1477
1477
|
:param dict params: extra parameters specific to the wavesexchange api endpoint
|
|
1478
|
-
:returns [
|
|
1478
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1479
1479
|
"""
|
|
1480
1480
|
self.load_markets()
|
|
1481
1481
|
self.sign_in()
|
|
@@ -1497,7 +1497,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
1497
1497
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1498
1498
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1499
1499
|
:param dict params: extra parameters specific to the wavesexchange api endpoint
|
|
1500
|
-
:returns [
|
|
1500
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1501
1501
|
"""
|
|
1502
1502
|
self.load_markets()
|
|
1503
1503
|
self.sign_in()
|
|
@@ -1815,7 +1815,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
1815
1815
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1816
1816
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1817
1817
|
:param dict params: extra parameters specific to the wavesexchange api endpoint
|
|
1818
|
-
:returns [
|
|
1818
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1819
1819
|
"""
|
|
1820
1820
|
self.load_markets()
|
|
1821
1821
|
address = self.get_waves_address()
|
|
@@ -1904,7 +1904,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
1904
1904
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
1905
1905
|
:param int|None limit: the maximum amount of trades to fetch
|
|
1906
1906
|
:param dict params: extra parameters specific to the wavesexchange api endpoint
|
|
1907
|
-
:returns [
|
|
1907
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
1908
1908
|
"""
|
|
1909
1909
|
self.load_markets()
|
|
1910
1910
|
market = self.market(symbol)
|
|
@@ -2142,7 +2142,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
|
2142
2142
|
fetch deposit and withdraw fees
|
|
2143
2143
|
see https://docs.waves.exchange/en/api/gateways/deposit/currencies
|
|
2144
2144
|
see https://docs.waves.exchange/en/api/gateways/withdraw/currencies
|
|
2145
|
-
:param [
|
|
2145
|
+
:param str[]|None codes: list of unified currency codes
|
|
2146
2146
|
:param dict params: extra parameters specific to the wavesexchange api endpoint
|
|
2147
2147
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
|
|
2148
2148
|
"""
|