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
|
@@ -397,7 +397,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
397
397
|
"""
|
|
398
398
|
retrieves data on all markets for currencycom
|
|
399
399
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
400
|
-
:returns [
|
|
400
|
+
:returns dict[]: an array of objects representing market data
|
|
401
401
|
"""
|
|
402
402
|
response = await self.publicGetV2ExchangeInfo(params)
|
|
403
403
|
#
|
|
@@ -887,7 +887,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
887
887
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
888
888
|
"""
|
|
889
889
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
890
|
-
:param [
|
|
890
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
891
891
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
892
892
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
893
893
|
"""
|
|
@@ -941,7 +941,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
941
941
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
942
942
|
:param int|None limit: the maximum amount of candles to fetch
|
|
943
943
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
944
|
-
:returns [[
|
|
944
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
945
945
|
"""
|
|
946
946
|
await self.load_markets()
|
|
947
947
|
market = self.market(symbol)
|
|
@@ -1045,7 +1045,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
1045
1045
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
1046
1046
|
:param int|None limit: the maximum amount of trades to fetch
|
|
1047
1047
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
1048
|
-
:returns [
|
|
1048
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
1049
1049
|
"""
|
|
1050
1050
|
await self.load_markets()
|
|
1051
1051
|
market = self.market(symbol)
|
|
@@ -1352,7 +1352,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
1352
1352
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1353
1353
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1354
1354
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
1355
|
-
:returns [
|
|
1355
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1356
1356
|
"""
|
|
1357
1357
|
await self.load_markets()
|
|
1358
1358
|
market = None
|
|
@@ -1432,7 +1432,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
1432
1432
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1433
1433
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1434
1434
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
1435
|
-
:returns [
|
|
1435
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1436
1436
|
"""
|
|
1437
1437
|
if symbol is None:
|
|
1438
1438
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
|
@@ -1471,7 +1471,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
1471
1471
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1472
1472
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1473
1473
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
1474
|
-
:returns [
|
|
1474
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1475
1475
|
"""
|
|
1476
1476
|
return await self.fetch_transactions_by_method('privateGetV2Deposits', code, since, limit, params)
|
|
1477
1477
|
|
|
@@ -1482,7 +1482,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
1482
1482
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1483
1483
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1484
1484
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
1485
|
-
:returns [
|
|
1485
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1486
1486
|
"""
|
|
1487
1487
|
return await self.fetch_transactions_by_method('privateGetV2Withdrawals', code, since, limit, params)
|
|
1488
1488
|
|
|
@@ -1767,9 +1767,9 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
1767
1767
|
async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
|
1768
1768
|
"""
|
|
1769
1769
|
fetch all open positions
|
|
1770
|
-
:param [
|
|
1770
|
+
:param str[]|None symbols: list of unified market symbols
|
|
1771
1771
|
:param dict params: extra parameters specific to the currencycom api endpoint
|
|
1772
|
-
:returns [
|
|
1772
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
|
1773
1773
|
"""
|
|
1774
1774
|
await self.load_markets()
|
|
1775
1775
|
response = await self.privateGetV2TradingPositions(params)
|
ccxt/async_support/delta.py
CHANGED
|
@@ -404,7 +404,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
404
404
|
"""
|
|
405
405
|
retrieves data on all markets for delta
|
|
406
406
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
407
|
-
:returns [
|
|
407
|
+
:returns dict[]: an array of objects representing market data
|
|
408
408
|
"""
|
|
409
409
|
response = await self.publicGetProducts(params)
|
|
410
410
|
#
|
|
@@ -789,7 +789,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
789
789
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
790
790
|
"""
|
|
791
791
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
792
|
-
:param [
|
|
792
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
793
793
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
794
794
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
795
795
|
"""
|
|
@@ -966,7 +966,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
966
966
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
967
967
|
:param int|None limit: the maximum amount of trades to fetch
|
|
968
968
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
969
|
-
:returns [
|
|
969
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
970
970
|
"""
|
|
971
971
|
await self.load_markets()
|
|
972
972
|
market = self.market(symbol)
|
|
@@ -1020,7 +1020,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1020
1020
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1021
1021
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1022
1022
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
1023
|
-
:returns [[
|
|
1023
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1024
1024
|
"""
|
|
1025
1025
|
await self.load_markets()
|
|
1026
1026
|
market = self.market(symbol)
|
|
@@ -1127,9 +1127,9 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1127
1127
|
async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
|
1128
1128
|
"""
|
|
1129
1129
|
fetch all open positions
|
|
1130
|
-
:param [
|
|
1130
|
+
:param str[]|None symbols: list of unified market symbols
|
|
1131
1131
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
1132
|
-
:returns [
|
|
1132
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
|
1133
1133
|
"""
|
|
1134
1134
|
await self.load_markets()
|
|
1135
1135
|
response = await self.privateGetPositionsMargined(params)
|
|
@@ -1481,7 +1481,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1481
1481
|
cancel all open orders in a market
|
|
1482
1482
|
:param str symbol: unified market symbol of the market to cancel orders in
|
|
1483
1483
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
1484
|
-
:returns [
|
|
1484
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1485
1485
|
"""
|
|
1486
1486
|
if symbol is None:
|
|
1487
1487
|
raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
|
|
@@ -1508,7 +1508,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1508
1508
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1509
1509
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1510
1510
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
1511
|
-
:returns [
|
|
1511
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1512
1512
|
"""
|
|
1513
1513
|
return await self.fetch_orders_with_method('privateGetOrders', symbol, since, limit, params)
|
|
1514
1514
|
|
|
@@ -1519,7 +1519,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1519
1519
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1520
1520
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1521
1521
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
1522
|
-
:returns [
|
|
1522
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1523
1523
|
"""
|
|
1524
1524
|
return await self.fetch_orders_with_method('privateGetOrdersHistory', symbol, since, limit, params)
|
|
1525
1525
|
|
|
@@ -1577,7 +1577,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1577
1577
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1578
1578
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1579
1579
|
:param dict params: extra parameters specific to the delta api endpoint
|
|
1580
|
-
:returns [
|
|
1580
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1581
1581
|
"""
|
|
1582
1582
|
await self.load_markets()
|
|
1583
1583
|
request = {
|
ccxt/async_support/deribit.py
CHANGED
|
@@ -532,7 +532,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
532
532
|
"""
|
|
533
533
|
retrieves data on all markets for deribit
|
|
534
534
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
535
|
-
:returns [
|
|
535
|
+
:returns dict[]: an array of objects representing market data
|
|
536
536
|
"""
|
|
537
537
|
currenciesResponse = await self.publicGetGetCurrencies(params)
|
|
538
538
|
#
|
|
@@ -1007,7 +1007,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1007
1007
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
1008
1008
|
"""
|
|
1009
1009
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
1010
|
-
:param [
|
|
1010
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1011
1011
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1012
1012
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
1013
1013
|
"""
|
|
@@ -1065,7 +1065,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1065
1065
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1066
1066
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1067
1067
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1068
|
-
:returns [[
|
|
1068
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1069
1069
|
"""
|
|
1070
1070
|
await self.load_markets()
|
|
1071
1071
|
market = self.market(symbol)
|
|
@@ -1204,7 +1204,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1204
1204
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
1205
1205
|
:param int|None limit: the maximum amount of trades to fetch
|
|
1206
1206
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1207
|
-
:returns [
|
|
1207
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
1208
1208
|
"""
|
|
1209
1209
|
await self.load_markets()
|
|
1210
1210
|
market = self.market(symbol)
|
|
@@ -1779,7 +1779,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1779
1779
|
cancel all open orders
|
|
1780
1780
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
|
1781
1781
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1782
|
-
:returns [
|
|
1782
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1783
1783
|
"""
|
|
1784
1784
|
await self.load_markets()
|
|
1785
1785
|
request = {}
|
|
@@ -1800,7 +1800,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1800
1800
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1801
1801
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1802
1802
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1803
|
-
:returns [
|
|
1803
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1804
1804
|
"""
|
|
1805
1805
|
await self.load_markets()
|
|
1806
1806
|
request = {}
|
|
@@ -1826,7 +1826,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1826
1826
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1827
1827
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1828
1828
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1829
|
-
:returns [
|
|
1829
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1830
1830
|
"""
|
|
1831
1831
|
await self.load_markets()
|
|
1832
1832
|
request = {}
|
|
@@ -1853,7 +1853,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1853
1853
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1854
1854
|
:param int|None limit: the maximum number of trades to retrieve
|
|
1855
1855
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1856
|
-
:returns [
|
|
1856
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1857
1857
|
"""
|
|
1858
1858
|
await self.load_markets()
|
|
1859
1859
|
request = {
|
|
@@ -1903,7 +1903,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1903
1903
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1904
1904
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1905
1905
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1906
|
-
:returns [
|
|
1906
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1907
1907
|
"""
|
|
1908
1908
|
await self.load_markets()
|
|
1909
1909
|
request = {
|
|
@@ -1975,7 +1975,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1975
1975
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1976
1976
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1977
1977
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
1978
|
-
:returns [
|
|
1978
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1979
1979
|
"""
|
|
1980
1980
|
if code is None:
|
|
1981
1981
|
raise ArgumentsRequired(self.id + ' fetchDeposits() requires a currency code argument')
|
|
@@ -2018,7 +2018,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
2018
2018
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
2019
2019
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
2020
2020
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
2021
|
-
:returns [
|
|
2021
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
2022
2022
|
"""
|
|
2023
2023
|
if code is None:
|
|
2024
2024
|
raise ArgumentsRequired(self.id + ' fetchWithdrawals() requires a currency code argument')
|
|
@@ -2238,9 +2238,9 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
2238
2238
|
async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
|
2239
2239
|
"""
|
|
2240
2240
|
fetch all open positions
|
|
2241
|
-
:param [
|
|
2241
|
+
:param str[]|None symbols: list of unified market symbols
|
|
2242
2242
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
2243
|
-
:returns [
|
|
2243
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
|
2244
2244
|
"""
|
|
2245
2245
|
await self.load_markets()
|
|
2246
2246
|
code = None
|
|
@@ -2335,7 +2335,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
2335
2335
|
:param int|None since: the earliest time in ms to fetch transfers for
|
|
2336
2336
|
:param int|None limit: the maximum number of transfers structures to retrieve
|
|
2337
2337
|
:param dict params: extra parameters specific to the deribit api endpoint
|
|
2338
|
-
:returns [
|
|
2338
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
|
2339
2339
|
"""
|
|
2340
2340
|
if code is None:
|
|
2341
2341
|
raise ArgumentsRequired(self.id + ' fetchTransfers() requires a currency code argument')
|
ccxt/async_support/digifinex.py
CHANGED
|
@@ -534,7 +534,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
534
534
|
"""
|
|
535
535
|
retrieves data on all markets for digifinex
|
|
536
536
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
537
|
-
:returns [
|
|
537
|
+
:returns dict[]: an array of objects representing market data
|
|
538
538
|
"""
|
|
539
539
|
options = self.safe_value(self.options, 'fetchMarkets', {})
|
|
540
540
|
method = self.safe_string(options, 'method', 'fetch_markets_v2')
|
|
@@ -944,7 +944,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
944
944
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
945
945
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#ticker-price
|
|
946
946
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#tickers
|
|
947
|
-
:param [
|
|
947
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
948
948
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
949
949
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
950
950
|
"""
|
|
@@ -1341,7 +1341,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1341
1341
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
1342
1342
|
:param int|None limit: the maximum amount of trades to fetch
|
|
1343
1343
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1344
|
-
:returns [
|
|
1344
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
1345
1345
|
"""
|
|
1346
1346
|
await self.load_markets()
|
|
1347
1347
|
market = self.market(symbol)
|
|
@@ -1439,7 +1439,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1439
1439
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1440
1440
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1441
1441
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1442
|
-
:returns [[
|
|
1442
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1443
1443
|
"""
|
|
1444
1444
|
await self.load_markets()
|
|
1445
1445
|
market = self.market(symbol)
|
|
@@ -1672,7 +1672,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1672
1672
|
async def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
|
|
1673
1673
|
"""
|
|
1674
1674
|
cancel multiple orders
|
|
1675
|
-
:param [
|
|
1675
|
+
:param str[] ids: order ids
|
|
1676
1676
|
:param str|None symbol: not used by digifinex cancelOrders()
|
|
1677
1677
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1678
1678
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
@@ -1846,7 +1846,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1846
1846
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1847
1847
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1848
1848
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1849
|
-
:returns [
|
|
1849
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1850
1850
|
"""
|
|
1851
1851
|
await self.load_markets()
|
|
1852
1852
|
market = None
|
|
@@ -1939,7 +1939,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1939
1939
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1940
1940
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1941
1941
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1942
|
-
:returns [
|
|
1942
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1943
1943
|
"""
|
|
1944
1944
|
await self.load_markets()
|
|
1945
1945
|
market = None
|
|
@@ -2121,7 +2121,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2121
2121
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
2122
2122
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
2123
2123
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2124
|
-
:returns [
|
|
2124
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
2125
2125
|
"""
|
|
2126
2126
|
await self.load_markets()
|
|
2127
2127
|
market = None
|
|
@@ -2431,7 +2431,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2431
2431
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
2432
2432
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
2433
2433
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2434
|
-
:returns [
|
|
2434
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
2435
2435
|
"""
|
|
2436
2436
|
return await self.fetch_transactions_by_type('deposit', code, since, limit, params)
|
|
2437
2437
|
|
|
@@ -2442,7 +2442,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2442
2442
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
2443
2443
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
2444
2444
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2445
|
-
:returns [
|
|
2445
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
2446
2446
|
"""
|
|
2447
2447
|
return await self.fetch_transactions_by_type('withdrawal', code, since, limit, params)
|
|
2448
2448
|
|
|
@@ -2855,7 +2855,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2855
2855
|
:param int|None since: timestamp in ms of the earliest funding rate to fetch
|
|
2856
2856
|
: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
|
|
2857
2857
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2858
|
-
:returns [
|
|
2858
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
|
2859
2859
|
"""
|
|
2860
2860
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
|
2861
2861
|
await self.load_markets()
|
|
@@ -2954,9 +2954,9 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2954
2954
|
fetch all open positions
|
|
2955
2955
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-positions
|
|
2956
2956
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#positions
|
|
2957
|
-
:param [
|
|
2957
|
+
:param str[]|None symbols: list of unified market symbols
|
|
2958
2958
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2959
|
-
:returns [
|
|
2959
|
+
:returns dict[]: a list of `position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
|
2960
2960
|
"""
|
|
2961
2961
|
await self.load_markets()
|
|
2962
2962
|
symbols = self.market_symbols(symbols)
|
|
@@ -3268,7 +3268,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3268
3268
|
:param int|None since: the earliest time in ms to fetch transfers for
|
|
3269
3269
|
:param int|None limit: the maximum number of transfers to retrieve
|
|
3270
3270
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
3271
|
-
:returns [
|
|
3271
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
|
3272
3272
|
"""
|
|
3273
3273
|
await self.load_markets()
|
|
3274
3274
|
currency = None
|
|
@@ -3303,7 +3303,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3303
3303
|
"""
|
|
3304
3304
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#instruments
|
|
3305
3305
|
retrieve information on the maximum leverage, for different trade sizes
|
|
3306
|
-
:param [
|
|
3306
|
+
:param str[]|None symbols: a list of unified market symbols
|
|
3307
3307
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
3308
3308
|
:returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
|
|
3309
3309
|
"""
|
|
@@ -3479,7 +3479,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3479
3479
|
* @ignore
|
|
3480
3480
|
marginMode specified by params["marginMode"], self.options["marginMode"], self.options["defaultMarginMode"], params["margin"] = True or self.options["defaultType"] = 'margin'
|
|
3481
3481
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
3482
|
-
:returns
|
|
3482
|
+
:returns array: the marginMode in lowercase
|
|
3483
3483
|
"""
|
|
3484
3484
|
defaultType = self.safe_string(self.options, 'defaultType')
|
|
3485
3485
|
isMargin = self.safe_value(params, 'margin', False)
|
|
@@ -3497,7 +3497,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3497
3497
|
"""
|
|
3498
3498
|
fetch deposit and withdraw fees
|
|
3499
3499
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-currency-deposit-and-withdrawal-information
|
|
3500
|
-
:param [
|
|
3500
|
+
:param str[]|None codes: not used by fetchDepositWithdrawFees()
|
|
3501
3501
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
3502
3502
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
3503
3503
|
"""
|
ccxt/async_support/exmo.py
CHANGED
|
@@ -419,7 +419,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
419
419
|
"""
|
|
420
420
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
|
421
421
|
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
|
422
|
-
:param [
|
|
422
|
+
:param str[]|None codes: list of unified currency codes
|
|
423
423
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
424
424
|
:returns dict: a list of `transaction fees structures <https://docs.ccxt.com/#/?id=fees-structure>`
|
|
425
425
|
"""
|
|
@@ -487,7 +487,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
487
487
|
"""
|
|
488
488
|
fetch deposit and withdraw fees
|
|
489
489
|
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
|
490
|
-
:param [
|
|
490
|
+
:param str[]|None codes: list of unified currency codes
|
|
491
491
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
492
492
|
:returns dict: a list of `transaction fees structures <https://docs.ccxt.com/#/?id=fees-structure>`
|
|
493
493
|
"""
|
|
@@ -679,7 +679,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
679
679
|
"""
|
|
680
680
|
retrieves data on all markets for exmo
|
|
681
681
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
682
|
-
:returns [
|
|
682
|
+
:returns dict[]: an array of objects representing market data
|
|
683
683
|
"""
|
|
684
684
|
response = await self.publicGetPairSettings(params)
|
|
685
685
|
#
|
|
@@ -768,7 +768,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
768
768
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
769
769
|
:param int|None limit: the maximum amount of candles to fetch
|
|
770
770
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
771
|
-
:returns [[
|
|
771
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
772
772
|
"""
|
|
773
773
|
await self.load_markets()
|
|
774
774
|
market = self.market(symbol)
|
|
@@ -889,7 +889,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
889
889
|
async def fetch_order_books(self, symbols: Optional[List[str]] = None, limit: Optional[int] = None, params={}):
|
|
890
890
|
"""
|
|
891
891
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
|
892
|
-
:param [
|
|
892
|
+
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
|
893
893
|
:param int|None limit: max number of entries per orderbook to return, default is None
|
|
894
894
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
895
895
|
:returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
|
|
@@ -962,7 +962,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
962
962
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
963
963
|
"""
|
|
964
964
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
965
|
-
:param [
|
|
965
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
966
966
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
967
967
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
968
968
|
"""
|
|
@@ -1084,7 +1084,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
1084
1084
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
1085
1085
|
:param int|None limit: the maximum amount of trades to fetch
|
|
1086
1086
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
1087
|
-
:returns [
|
|
1087
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
1088
1088
|
"""
|
|
1089
1089
|
await self.load_markets()
|
|
1090
1090
|
market = self.market(symbol)
|
|
@@ -1124,7 +1124,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
1124
1124
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1125
1125
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1126
1126
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
1127
|
-
:returns [
|
|
1127
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1128
1128
|
"""
|
|
1129
1129
|
# a symbol is required but it can be a single string, or a non-empty array
|
|
1130
1130
|
if symbol is None:
|
|
@@ -1289,7 +1289,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
1289
1289
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1290
1290
|
:param int|None limit: the maximum number of trades to retrieve
|
|
1291
1291
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
1292
|
-
:returns [
|
|
1292
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1293
1293
|
"""
|
|
1294
1294
|
market = None
|
|
1295
1295
|
if symbol is not None:
|
|
@@ -1333,7 +1333,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
1333
1333
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1334
1334
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1335
1335
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
1336
|
-
:returns [
|
|
1336
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1337
1337
|
"""
|
|
1338
1338
|
await self.load_markets()
|
|
1339
1339
|
if symbol is not None:
|
|
@@ -1729,7 +1729,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
1729
1729
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1730
1730
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1731
1731
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
1732
|
-
:returns [
|
|
1732
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1733
1733
|
"""
|
|
1734
1734
|
await self.load_markets()
|
|
1735
1735
|
currency = None
|
|
@@ -1874,7 +1874,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
1874
1874
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1875
1875
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1876
1876
|
:param dict params: extra parameters specific to the exmo api endpoint
|
|
1877
|
-
:returns [
|
|
1877
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1878
1878
|
"""
|
|
1879
1879
|
await self.load_markets()
|
|
1880
1880
|
currency = None
|