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/coinex.py
CHANGED
@@ -440,7 +440,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
440
440
|
"""
|
441
441
|
retrieves data on all markets for coinex
|
442
442
|
:param dict params: extra parameters specific to the exchange api endpoint
|
443
|
-
:returns [
|
443
|
+
:returns dict[]: an array of objects representing market data
|
444
444
|
"""
|
445
445
|
promises = [
|
446
446
|
self.fetch_spot_markets(params),
|
@@ -775,7 +775,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
775
775
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
776
776
|
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot001_market008_all_market_ticker
|
777
777
|
see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures001_http009_market_ticker_all
|
778
|
-
:param [
|
778
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
779
779
|
:param dict params: extra parameters specific to the coinex api endpoint
|
780
780
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
781
781
|
"""
|
@@ -1072,7 +1072,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
1072
1072
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
1073
1073
|
:param int|None limit: the maximum amount of trades to fetch
|
1074
1074
|
:param dict params: extra parameters specific to the coinex api endpoint
|
1075
|
-
:returns [
|
1075
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
1076
1076
|
"""
|
1077
1077
|
self.load_markets()
|
1078
1078
|
market = self.market(symbol)
|
@@ -1213,7 +1213,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
1213
1213
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
1214
1214
|
:param int|None limit: the maximum amount of candles to fetch
|
1215
1215
|
:param dict params: extra parameters specific to the coinex api endpoint
|
1216
|
-
:returns [[
|
1216
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
1217
1217
|
"""
|
1218
1218
|
self.load_markets()
|
1219
1219
|
market = self.market(symbol)
|
@@ -2141,7 +2141,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
2141
2141
|
cancel all open orders in a market
|
2142
2142
|
:param str symbol: unified market symbol of the market to cancel orders in
|
2143
2143
|
:param dict params: extra parameters specific to the coinex api endpoint
|
2144
|
-
:returns [
|
2144
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
2145
2145
|
"""
|
2146
2146
|
if symbol is None:
|
2147
2147
|
raise ArgumentsRequired(self.id + ' cancellAllOrders() requires a symbol argument')
|
@@ -2511,7 +2511,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
2511
2511
|
:param int|None since: the earliest time in ms to fetch open orders for
|
2512
2512
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
2513
2513
|
:param dict params: extra parameters specific to the coinex api endpoint
|
2514
|
-
:returns [
|
2514
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
2515
2515
|
"""
|
2516
2516
|
return self.fetch_orders_by_status('pending', symbol, since, limit, params)
|
2517
2517
|
|
@@ -2522,7 +2522,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
2522
2522
|
:param int|None since: the earliest time in ms to fetch orders for
|
2523
2523
|
:param int|None limit: the maximum number of orde structures to retrieve
|
2524
2524
|
:param dict params: extra parameters specific to the coinex api endpoint
|
2525
|
-
:returns [
|
2525
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
2526
2526
|
"""
|
2527
2527
|
return self.fetch_orders_by_status('finished', symbol, since, limit, params)
|
2528
2528
|
|
@@ -2646,7 +2646,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
2646
2646
|
:param int|None since: the earliest time in ms to fetch trades for
|
2647
2647
|
:param int|None limit: the maximum number of trades structures to retrieve
|
2648
2648
|
:param dict params: extra parameters specific to the coinex api endpoint
|
2649
|
-
:returns [
|
2649
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
2650
2650
|
"""
|
2651
2651
|
self.load_markets()
|
2652
2652
|
market = None
|
@@ -2769,9 +2769,9 @@ class coinex(Exchange, ImplicitAPI):
|
|
2769
2769
|
def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
2770
2770
|
"""
|
2771
2771
|
fetch all open positions
|
2772
|
-
:param [
|
2772
|
+
:param str[]|None symbols: list of unified market symbols
|
2773
2773
|
:param dict params: extra parameters specific to the coinex api endpoint
|
2774
|
-
:returns [
|
2774
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
2775
2775
|
"""
|
2776
2776
|
self.load_markets()
|
2777
2777
|
symbols = self.market_symbols(symbols)
|
@@ -3103,7 +3103,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
3103
3103
|
def fetch_leverage_tiers(self, symbols: Optional[List[str]] = None, params={}):
|
3104
3104
|
"""
|
3105
3105
|
retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
|
3106
|
-
:param [
|
3106
|
+
:param str[]|None symbols: list of unified market symbols
|
3107
3107
|
:param dict params: extra parameters specific to the coinex api endpoint
|
3108
3108
|
:returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
|
3109
3109
|
"""
|
@@ -3457,9 +3457,9 @@ class coinex(Exchange, ImplicitAPI):
|
|
3457
3457
|
"""
|
3458
3458
|
* @method
|
3459
3459
|
fetch the current funding rates
|
3460
|
-
:param [
|
3460
|
+
:param str[] symbols: unified market symbols
|
3461
3461
|
:param dict params: extra parameters specific to the coinex api endpoint
|
3462
|
-
:returns [
|
3462
|
+
:returns dict[]: an array of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-structure>`
|
3463
3463
|
"""
|
3464
3464
|
self.load_markets()
|
3465
3465
|
symbols = self.market_symbols(symbols)
|
@@ -3581,7 +3581,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
3581
3581
|
:param int|None since: timestamp in ms of the earliest funding rate to fetch
|
3582
3582
|
: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
|
3583
3583
|
:param dict params: extra parameters specific to the coinex api endpoint
|
3584
|
-
:returns [
|
3584
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
3585
3585
|
"""
|
3586
3586
|
if symbol is None:
|
3587
3587
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
@@ -3848,7 +3848,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
3848
3848
|
:param int|None since: the earliest time in ms to fetch transfers for
|
3849
3849
|
:param int|None limit: the maximum number of transfers structures to retrieve
|
3850
3850
|
:param dict params: extra parameters specific to the coinex api endpoint
|
3851
|
-
:returns [
|
3851
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
3852
3852
|
"""
|
3853
3853
|
self.load_markets()
|
3854
3854
|
currency = None
|
@@ -3927,7 +3927,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
3927
3927
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
3928
3928
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
3929
3929
|
:param dict params: extra parameters specific to the coinex api endpoint
|
3930
|
-
:returns [
|
3930
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
3931
3931
|
"""
|
3932
3932
|
request = {}
|
3933
3933
|
currency = None
|
@@ -3988,7 +3988,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
3988
3988
|
:param int|None since: the earliest time in ms to fetch deposits for
|
3989
3989
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
3990
3990
|
:param dict params: extra parameters specific to the coinex api endpoint
|
3991
|
-
:returns [
|
3991
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
3992
3992
|
"""
|
3993
3993
|
request = {}
|
3994
3994
|
currency = None
|
@@ -4348,9 +4348,9 @@ class coinex(Exchange, ImplicitAPI):
|
|
4348
4348
|
"""
|
4349
4349
|
fetch deposit and withdraw fees
|
4350
4350
|
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot001_market010_asset_config
|
4351
|
-
:param [
|
4351
|
+
:param str[]|None codes: list of unified currency codes
|
4352
4352
|
:param dict params: extra parameters specific to the coinex api endpoint
|
4353
|
-
:returns [
|
4353
|
+
:returns dict[]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
4354
4354
|
"""
|
4355
4355
|
self.load_markets()
|
4356
4356
|
request = {}
|
ccxt/coinfalcon.py
CHANGED
@@ -142,7 +142,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
142
142
|
"""
|
143
143
|
retrieves data on all markets for coinfalcon
|
144
144
|
:param dict params: extra parameters specific to the exchange api endpoint
|
145
|
-
:returns [
|
145
|
+
:returns dict[]: an array of objects representing market data
|
146
146
|
"""
|
147
147
|
response = self.publicGetMarkets(params)
|
148
148
|
#
|
@@ -279,7 +279,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
279
279
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
280
280
|
"""
|
281
281
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
282
|
-
:param [
|
282
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
283
283
|
:param dict params: extra parameters specific to the coinfalcon api endpoint
|
284
284
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
285
285
|
"""
|
@@ -396,7 +396,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
396
396
|
:param int|None since: the earliest time in ms to fetch trades for
|
397
397
|
:param int|None limit: the maximum number of trades structures to retrieve
|
398
398
|
:param dict params: extra parameters specific to the coinfalcon api endpoint
|
399
|
-
:returns [
|
399
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
400
400
|
"""
|
401
401
|
if symbol is None:
|
402
402
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
@@ -438,7 +438,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
438
438
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
439
439
|
:param int|None limit: the maximum amount of trades to fetch
|
440
440
|
:param dict params: extra parameters specific to the coinfalcon api endpoint
|
441
|
-
:returns [
|
441
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
442
442
|
"""
|
443
443
|
self.load_markets()
|
444
444
|
market = self.market(symbol)
|
@@ -697,7 +697,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
697
697
|
:param int|None since: the earliest time in ms to fetch open orders for
|
698
698
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
699
699
|
:param dict params: extra parameters specific to the coinfalcon api endpoint
|
700
|
-
:returns [
|
700
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
701
701
|
"""
|
702
702
|
self.load_markets()
|
703
703
|
request = {}
|
@@ -720,7 +720,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
720
720
|
:param int|None since: the earliest time in ms to fetch deposits for
|
721
721
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
722
722
|
:param dict params: extra parameters specific to the coinfalcon api endpoint
|
723
|
-
:returns [
|
723
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
724
724
|
"""
|
725
725
|
self.load_markets()
|
726
726
|
request = {
|
@@ -762,7 +762,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
762
762
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
763
763
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
764
764
|
:param dict params: extra parameters specific to the coinfalcon api endpoint
|
765
|
-
:returns [
|
765
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
766
766
|
"""
|
767
767
|
self.load_markets()
|
768
768
|
request = {
|
ccxt/coinmate.py
CHANGED
@@ -217,7 +217,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
217
217
|
"""
|
218
218
|
retrieves data on all markets for coinmate
|
219
219
|
:param dict params: extra parameters specific to the exchange api endpoint
|
220
|
-
:returns [
|
220
|
+
:returns dict[]: an array of objects representing market data
|
221
221
|
"""
|
222
222
|
response = self.publicGetTradingPairs(params)
|
223
223
|
#
|
@@ -543,7 +543,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
543
543
|
:param int|None since: the earliest time in ms to fetch trades for
|
544
544
|
:param int|None limit: the maximum number of trades structures to retrieve
|
545
545
|
:param dict params: extra parameters specific to the coinmate api endpoint
|
546
|
-
:returns [
|
546
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
547
547
|
"""
|
548
548
|
self.load_markets()
|
549
549
|
if limit is None:
|
@@ -629,7 +629,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
629
629
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
630
630
|
:param int|None limit: the maximum amount of trades to fetch
|
631
631
|
:param dict params: extra parameters specific to the coinmate api endpoint
|
632
|
-
:returns [
|
632
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
633
633
|
"""
|
634
634
|
self.load_markets()
|
635
635
|
market = self.market(symbol)
|
@@ -698,7 +698,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
698
698
|
:param int|None since: the earliest time in ms to fetch open orders for
|
699
699
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
700
700
|
:param dict params: extra parameters specific to the coinmate api endpoint
|
701
|
-
:returns [
|
701
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
702
702
|
"""
|
703
703
|
response = self.privatePostOpenOrders(self.extend({}, params))
|
704
704
|
extension = {'status': 'open'}
|
@@ -711,7 +711,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
711
711
|
:param int|None since: the earliest time in ms to fetch orders for
|
712
712
|
:param int|None limit: the maximum number of orde structures to retrieve
|
713
713
|
:param dict params: extra parameters specific to the coinmate api endpoint
|
714
|
-
:returns [
|
714
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
715
715
|
"""
|
716
716
|
if symbol is None:
|
717
717
|
raise ArgumentsRequired(self.id + ' fetchOrders() requires a symbol argument')
|
ccxt/coinone.py
CHANGED
@@ -148,7 +148,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
148
148
|
"""
|
149
149
|
retrieves data on all markets for coinone
|
150
150
|
:param dict params: extra parameters specific to the exchange api endpoint
|
151
|
-
:returns [
|
151
|
+
:returns dict[]: an array of objects representing market data
|
152
152
|
"""
|
153
153
|
request = {
|
154
154
|
'currency': 'all',
|
@@ -286,7 +286,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
286
286
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
287
287
|
"""
|
288
288
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
289
|
-
:param [
|
289
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
290
290
|
:param dict params: extra parameters specific to the coinone api endpoint
|
291
291
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
292
292
|
"""
|
@@ -444,7 +444,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
444
444
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
445
445
|
:param int|None limit: the maximum amount of trades to fetch
|
446
446
|
:param dict params: extra parameters specific to the coinone api endpoint
|
447
|
-
:returns [
|
447
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
448
448
|
"""
|
449
449
|
self.load_markets()
|
450
450
|
market = self.market(symbol)
|
@@ -662,7 +662,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
662
662
|
:param int|None since: the earliest time in ms to fetch open orders for
|
663
663
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
664
664
|
:param dict params: extra parameters specific to the coinone api endpoint
|
665
|
-
:returns [
|
665
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
666
666
|
"""
|
667
667
|
# The returned amount might not be same ordered amount. If an order is partially filled, the returned amount means the remaining amount.
|
668
668
|
# For the same reason, the returned amount and remaining are always same, and the returned filled and cost are always zero.
|
@@ -701,7 +701,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
701
701
|
:param int|None since: the earliest time in ms to fetch trades for
|
702
702
|
:param int|None limit: the maximum number of trades structures to retrieve
|
703
703
|
:param dict params: extra parameters specific to the coinone api endpoint
|
704
|
-
:returns [
|
704
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
705
705
|
"""
|
706
706
|
if symbol is None:
|
707
707
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
@@ -771,7 +771,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
771
771
|
def fetch_deposit_addresses(self, codes=None, params={}):
|
772
772
|
"""
|
773
773
|
fetch deposit addresses for multiple currencies and chain types
|
774
|
-
:param [
|
774
|
+
:param str[]|None codes: list of unified currency codes, default is None
|
775
775
|
:param dict params: extra parameters specific to the coinone api endpoint
|
776
776
|
:returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
|
777
777
|
"""
|
ccxt/coinsph.py
CHANGED
@@ -442,7 +442,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
442
442
|
"""
|
443
443
|
retrieves data on all markets for coinsph
|
444
444
|
:param dict params: extra parameters specific to the exchange api endpoint
|
445
|
-
:returns [
|
445
|
+
:returns dict[]: an array of objects representing market data
|
446
446
|
"""
|
447
447
|
response = self.publicGetOpenapiV1ExchangeInfo(params)
|
448
448
|
#
|
@@ -574,7 +574,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
574
574
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
575
575
|
"""
|
576
576
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
577
|
-
:param [
|
577
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
578
578
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
579
579
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
580
580
|
"""
|
@@ -730,7 +730,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
730
730
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
731
731
|
:param int|None limit: the maximum amount of candles to fetch(default 500, max 1000)
|
732
732
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
733
|
-
:returns [[
|
733
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
734
734
|
"""
|
735
735
|
self.load_markets()
|
736
736
|
market = self.market(symbol)
|
@@ -788,7 +788,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
788
788
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
789
789
|
:param int|None limit: the maximum amount of trades to fetch(default 500, max 1000)
|
790
790
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
791
|
-
:returns [
|
791
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
792
792
|
"""
|
793
793
|
self.load_markets()
|
794
794
|
market = self.market(symbol)
|
@@ -824,7 +824,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
824
824
|
:param int|None since: the earliest time in ms to fetch trades for
|
825
825
|
:param int|None limit: the maximum number of trades structures to retrieve(default 500, max 1000)
|
826
826
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
827
|
-
:returns [
|
827
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
828
828
|
"""
|
829
829
|
if symbol is None:
|
830
830
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
@@ -850,7 +850,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
850
850
|
:param int|None since: the earliest time in ms to fetch trades for
|
851
851
|
:param int|None limit: the maximum number of trades to retrieve
|
852
852
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
853
|
-
:returns [
|
853
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
854
854
|
"""
|
855
855
|
if symbol is None:
|
856
856
|
raise ArgumentsRequired(self.id + ' fetchOrderTrades() requires a symbol argument')
|
@@ -1107,7 +1107,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1107
1107
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1108
1108
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1109
1109
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
1110
|
-
:returns [
|
1110
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1111
1111
|
"""
|
1112
1112
|
self.load_markets()
|
1113
1113
|
market = None
|
@@ -1125,7 +1125,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1125
1125
|
:param int|None since: the earliest time in ms to fetch orders for
|
1126
1126
|
:param int|None limit: the maximum number of orde structures to retrieve(default 500, max 1000)
|
1127
1127
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
1128
|
-
:returns [
|
1128
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1129
1129
|
"""
|
1130
1130
|
if symbol is None:
|
1131
1131
|
raise ArgumentsRequired(self.id + ' fetchClosedOrders() requires a symbol argument')
|
@@ -1167,7 +1167,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1167
1167
|
cancel open orders of market
|
1168
1168
|
:param str|None symbol: unified market symbol
|
1169
1169
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
1170
|
-
:returns [
|
1170
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1171
1171
|
"""
|
1172
1172
|
if symbol is None:
|
1173
1173
|
raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
|
@@ -1468,7 +1468,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1468
1468
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1469
1469
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1470
1470
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
1471
|
-
:returns [
|
1471
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1472
1472
|
"""
|
1473
1473
|
# todo: returns an empty array - find out why
|
1474
1474
|
self.load_markets()
|
@@ -1491,7 +1491,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
1491
1491
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1492
1492
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1493
1493
|
:param dict params: extra parameters specific to the coinsph api endpoint
|
1494
|
-
:returns [
|
1494
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1495
1495
|
"""
|
1496
1496
|
# todo: returns an empty array - find out why
|
1497
1497
|
self.load_markets()
|
ccxt/coinspot.py
CHANGED
@@ -273,7 +273,7 @@ class coinspot(Exchange, ImplicitAPI):
|
|
273
273
|
"""
|
274
274
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
275
275
|
see https://www.coinspot.com.au/api#latestprices
|
276
|
-
:param [
|
276
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
277
277
|
:param dict params: extra parameters specific to the coinspot api endpoint
|
278
278
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
279
279
|
"""
|
@@ -315,7 +315,7 @@ class coinspot(Exchange, ImplicitAPI):
|
|
315
315
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
316
316
|
:param int|None limit: the maximum amount of trades to fetch
|
317
317
|
:param dict params: extra parameters specific to the coinspot api endpoint
|
318
|
-
:returns [
|
318
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
319
319
|
"""
|
320
320
|
self.load_markets()
|
321
321
|
market = self.market(symbol)
|
ccxt/cryptocom.py
CHANGED
@@ -389,7 +389,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
389
389
|
see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-instruments
|
390
390
|
retrieves data on all markets for cryptocom
|
391
391
|
:param dict params: extra parameters specific to the exchange api endpoint
|
392
|
-
:returns [
|
392
|
+
:returns dict[]: an array of objects representing market data
|
393
393
|
"""
|
394
394
|
response = self.v1PublicGetPublicGetInstruments(params)
|
395
395
|
#
|
@@ -572,8 +572,9 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
572
572
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
573
573
|
"""
|
574
574
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
575
|
-
see https://exchange-docs.crypto.com/
|
576
|
-
|
575
|
+
see https://exchange-docs.crypto.com/spot/index.html#public-get-ticker
|
576
|
+
see https://exchange-docs.crypto.com/derivatives/index.html#public-get-tickers
|
577
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
577
578
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
578
579
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
579
580
|
"""
|
@@ -642,7 +643,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
642
643
|
:param int|None limit: the maximum number of order structures to retrieve, default 100 max 100
|
643
644
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
644
645
|
:param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
|
645
|
-
:returns [
|
646
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
646
647
|
"""
|
647
648
|
self.load_markets()
|
648
649
|
market = None
|
@@ -711,7 +712,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
711
712
|
:param int|None limit: the maximum number of trades to fetch
|
712
713
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
713
714
|
:param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
|
714
|
-
:returns [
|
715
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
715
716
|
"""
|
716
717
|
self.load_markets()
|
717
718
|
market = self.market(symbol)
|
@@ -760,7 +761,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
760
761
|
:param int|None limit: the maximum amount of candles to fetch
|
761
762
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
762
763
|
:param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
|
763
|
-
:returns [[
|
764
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
764
765
|
"""
|
765
766
|
self.load_markets()
|
766
767
|
market = self.market(symbol)
|
@@ -1085,7 +1086,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1085
1086
|
see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
|
1086
1087
|
:param str|None symbol: unified market symbol of the orders to cancel
|
1087
1088
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
1088
|
-
:returns [
|
1089
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1089
1090
|
"""
|
1090
1091
|
self.load_markets()
|
1091
1092
|
market = None
|
@@ -1135,7 +1136,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1135
1136
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1136
1137
|
:param int|None limit: the maximum number of open order structures to retrieve
|
1137
1138
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
1138
|
-
:returns [
|
1139
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1139
1140
|
"""
|
1140
1141
|
self.load_markets()
|
1141
1142
|
market = None
|
@@ -1194,7 +1195,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1194
1195
|
:param int|None limit: the maximum number of trade structures to retrieve
|
1195
1196
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
1196
1197
|
:param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
|
1197
|
-
:returns [
|
1198
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1198
1199
|
"""
|
1199
1200
|
self.load_markets()
|
1200
1201
|
request = {}
|
@@ -1388,7 +1389,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1388
1389
|
:param int|None since: the earliest time in ms to fetch deposits for
|
1389
1390
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
1390
1391
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
1391
|
-
:returns [
|
1392
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1392
1393
|
"""
|
1393
1394
|
self.load_markets()
|
1394
1395
|
currency = None
|
@@ -1432,7 +1433,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1432
1433
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
1433
1434
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
1434
1435
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
1435
|
-
:returns [
|
1436
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1436
1437
|
"""
|
1437
1438
|
self.load_markets()
|
1438
1439
|
currency = None
|
@@ -1516,7 +1517,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1516
1517
|
:param int|None since: the earliest time in ms to fetch transfers for
|
1517
1518
|
:param int|None limit: the maximum number of transfers structures to retrieve
|
1518
1519
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
1519
|
-
:returns [
|
1520
|
+
:returns dict[]: a list of `transfer structures <https://docs.ccxt.com/#/?id=transfer-structure>`
|
1520
1521
|
"""
|
1521
1522
|
if not ('direction' in params):
|
1522
1523
|
raise ArgumentsRequired(self.id + ' fetchTransfers() requires a direction param to be either "IN" or "OUT"')
|
@@ -2190,7 +2191,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2190
2191
|
* @ignore
|
2191
2192
|
marginMode specified by params["marginMode"], self.options["marginMode"], self.options["defaultMarginMode"], params["margin"] = True or self.options["defaultType"] = 'margin'
|
2192
2193
|
:param dict params: extra parameters specific to the exchange api endpoint
|
2193
|
-
:returns
|
2194
|
+
:returns array: the marginMode in lowercase
|
2194
2195
|
"""
|
2195
2196
|
defaultType = self.safe_string(self.options, 'defaultType')
|
2196
2197
|
isMargin = self.safe_value(params, 'margin', False)
|
@@ -2255,7 +2256,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2255
2256
|
"""
|
2256
2257
|
fetch deposit and withdraw fees
|
2257
2258
|
see https://exchange-docs.crypto.com/spot/index.html#private-get-currency-networks
|
2258
|
-
:param [
|
2259
|
+
:param str[]|None codes: list of unified currency codes
|
2259
2260
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
2260
2261
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/en/latest/manual.html#fee-structure>`
|
2261
2262
|
"""
|
@@ -2488,7 +2489,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2488
2489
|
:param int|None limit: number of records
|
2489
2490
|
:param dict params: exchange specific params
|
2490
2491
|
:param int|None params['type']: 'future', 'option'
|
2491
|
-
:returns [
|
2492
|
+
:returns dict[]: a list of [settlement history objects]
|
2492
2493
|
"""
|
2493
2494
|
self.load_markets()
|
2494
2495
|
market = None
|
@@ -2570,7 +2571,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2570
2571
|
:param int|None limit: the maximum amount of [funding rate structures] to fetch
|
2571
2572
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
2572
2573
|
:param int|None params['until']: timestamp in ms for the ending date filter, default is the current time
|
2573
|
-
:returns [
|
2574
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
2574
2575
|
"""
|
2575
2576
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
2576
2577
|
self.load_markets()
|
@@ -2667,9 +2668,9 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2667
2668
|
"""
|
2668
2669
|
fetch all open positions
|
2669
2670
|
see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
|
2670
|
-
:param [
|
2671
|
+
:param str[]|None symbols: list of unified market symbols
|
2671
2672
|
:param dict params: extra parameters specific to the cryptocom api endpoint
|
2672
|
-
:returns [
|
2673
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
2673
2674
|
"""
|
2674
2675
|
self.load_markets()
|
2675
2676
|
symbols = self.market_symbols(symbols)
|