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/currencycom.py
CHANGED
|
@@ -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 = self.publicGetV2ExchangeInfo(params)
|
|
403
403
|
#
|
|
@@ -887,7 +887,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
887
887
|
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
|
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
|
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
|
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 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 self.fetch_transactions_by_method('privateGetV2Withdrawals', code, since, limit, params)
|
|
1488
1488
|
|
|
@@ -1767,9 +1767,9 @@ class currencycom(Exchange, ImplicitAPI):
|
|
|
1767
1767
|
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
|
self.load_markets()
|
|
1775
1775
|
response = self.privateGetV2TradingPositions(params)
|
ccxt/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 = self.publicGetProducts(params)
|
|
410
410
|
#
|
|
@@ -789,7 +789,7 @@ class delta(Exchange, ImplicitAPI):
|
|
|
789
789
|
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
|
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
|
self.load_markets()
|
|
1026
1026
|
market = self.market(symbol)
|
|
@@ -1127,9 +1127,9 @@ class delta(Exchange, ImplicitAPI):
|
|
|
1127
1127
|
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
|
self.load_markets()
|
|
1135
1135
|
response = 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 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 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
|
self.load_markets()
|
|
1583
1583
|
request = {
|
ccxt/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 = self.publicGetGetCurrencies(params)
|
|
538
538
|
#
|
|
@@ -1007,7 +1007,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
|
1007
1007
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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/digifinex.py
CHANGED
|
@@ -533,7 +533,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
533
533
|
"""
|
|
534
534
|
retrieves data on all markets for digifinex
|
|
535
535
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
536
|
-
:returns [
|
|
536
|
+
:returns dict[]: an array of objects representing market data
|
|
537
537
|
"""
|
|
538
538
|
options = self.safe_value(self.options, 'fetchMarkets', {})
|
|
539
539
|
method = self.safe_string(options, 'method', 'fetch_markets_v2')
|
|
@@ -943,7 +943,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
943
943
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
944
944
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#ticker-price
|
|
945
945
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#tickers
|
|
946
|
-
:param [
|
|
946
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
947
947
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
948
948
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
949
949
|
"""
|
|
@@ -1340,7 +1340,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1340
1340
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
1341
1341
|
:param int|None limit: the maximum amount of trades to fetch
|
|
1342
1342
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1343
|
-
:returns [
|
|
1343
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
1344
1344
|
"""
|
|
1345
1345
|
self.load_markets()
|
|
1346
1346
|
market = self.market(symbol)
|
|
@@ -1438,7 +1438,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1438
1438
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1439
1439
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1440
1440
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1441
|
-
:returns [[
|
|
1441
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1442
1442
|
"""
|
|
1443
1443
|
self.load_markets()
|
|
1444
1444
|
market = self.market(symbol)
|
|
@@ -1671,7 +1671,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1671
1671
|
def cancel_orders(self, ids, symbol: Optional[str] = None, params={}):
|
|
1672
1672
|
"""
|
|
1673
1673
|
cancel multiple orders
|
|
1674
|
-
:param [
|
|
1674
|
+
:param str[] ids: order ids
|
|
1675
1675
|
:param str|None symbol: not used by digifinex cancelOrders()
|
|
1676
1676
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1677
1677
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
@@ -1845,7 +1845,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1845
1845
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1846
1846
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1847
1847
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1848
|
-
:returns [
|
|
1848
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1849
1849
|
"""
|
|
1850
1850
|
self.load_markets()
|
|
1851
1851
|
market = None
|
|
@@ -1938,7 +1938,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
1938
1938
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1939
1939
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1940
1940
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
1941
|
-
:returns [
|
|
1941
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1942
1942
|
"""
|
|
1943
1943
|
self.load_markets()
|
|
1944
1944
|
market = None
|
|
@@ -2120,7 +2120,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2120
2120
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
2121
2121
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
2122
2122
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2123
|
-
:returns [
|
|
2123
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
2124
2124
|
"""
|
|
2125
2125
|
self.load_markets()
|
|
2126
2126
|
market = None
|
|
@@ -2430,7 +2430,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2430
2430
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
2431
2431
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
2432
2432
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2433
|
-
:returns [
|
|
2433
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
2434
2434
|
"""
|
|
2435
2435
|
return self.fetch_transactions_by_type('deposit', code, since, limit, params)
|
|
2436
2436
|
|
|
@@ -2441,7 +2441,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2441
2441
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
2442
2442
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
2443
2443
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2444
|
-
:returns [
|
|
2444
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
2445
2445
|
"""
|
|
2446
2446
|
return self.fetch_transactions_by_type('withdrawal', code, since, limit, params)
|
|
2447
2447
|
|
|
@@ -2854,7 +2854,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2854
2854
|
:param int|None since: timestamp in ms of the earliest funding rate to fetch
|
|
2855
2855
|
: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
|
|
2856
2856
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2857
|
-
:returns [
|
|
2857
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
|
2858
2858
|
"""
|
|
2859
2859
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
|
2860
2860
|
self.load_markets()
|
|
@@ -2953,9 +2953,9 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
2953
2953
|
fetch all open positions
|
|
2954
2954
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-positions
|
|
2955
2955
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#positions
|
|
2956
|
-
:param [
|
|
2956
|
+
:param str[]|None symbols: list of unified market symbols
|
|
2957
2957
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
2958
|
-
:returns [
|
|
2958
|
+
:returns dict[]: a list of `position structures <https://docs.ccxt.com/#/?id=position-structure>`
|
|
2959
2959
|
"""
|
|
2960
2960
|
self.load_markets()
|
|
2961
2961
|
symbols = self.market_symbols(symbols)
|
|
@@ -3267,7 +3267,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3267
3267
|
:param int|None since: the earliest time in ms to fetch transfers for
|
|
3268
3268
|
:param int|None limit: the maximum number of transfers to retrieve
|
|
3269
3269
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
3270
|
-
:returns [
|
|
3270
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
|
3271
3271
|
"""
|
|
3272
3272
|
self.load_markets()
|
|
3273
3273
|
currency = None
|
|
@@ -3302,7 +3302,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3302
3302
|
"""
|
|
3303
3303
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#instruments
|
|
3304
3304
|
retrieve information on the maximum leverage, for different trade sizes
|
|
3305
|
-
:param [
|
|
3305
|
+
:param str[]|None symbols: a list of unified market symbols
|
|
3306
3306
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
3307
3307
|
:returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
|
|
3308
3308
|
"""
|
|
@@ -3478,7 +3478,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3478
3478
|
* @ignore
|
|
3479
3479
|
marginMode specified by params["marginMode"], self.options["marginMode"], self.options["defaultMarginMode"], params["margin"] = True or self.options["defaultType"] = 'margin'
|
|
3480
3480
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
3481
|
-
:returns
|
|
3481
|
+
:returns array: the marginMode in lowercase
|
|
3482
3482
|
"""
|
|
3483
3483
|
defaultType = self.safe_string(self.options, 'defaultType')
|
|
3484
3484
|
isMargin = self.safe_value(params, 'margin', False)
|
|
@@ -3496,7 +3496,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
|
3496
3496
|
"""
|
|
3497
3497
|
fetch deposit and withdraw fees
|
|
3498
3498
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-currency-deposit-and-withdrawal-information
|
|
3499
|
-
:param [
|
|
3499
|
+
:param str[]|None codes: not used by fetchDepositWithdrawFees()
|
|
3500
3500
|
:param dict params: extra parameters specific to the digifinex api endpoint
|
|
3501
3501
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
3502
3502
|
"""
|
ccxt/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 = 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
|
self.load_markets()
|
|
774
774
|
market = self.market(symbol)
|
|
@@ -889,7 +889,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
|
889
889
|
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
|
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
|
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
|
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
|
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
|
self.load_markets()
|
|
1880
1880
|
currency = None
|