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/gate.py
CHANGED
|
@@ -785,7 +785,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
785
785
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts-2 # future
|
|
786
786
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-the-contracts-with-specified-underlying-and-expiration-time # option
|
|
787
787
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
788
|
-
:returns [
|
|
788
|
+
:returns dict[]: an array of objects representing market data
|
|
789
789
|
"""
|
|
790
790
|
sandboxMode = self.safe_value(self.options, 'sandboxMode', False)
|
|
791
791
|
rawPromises = [
|
|
@@ -1502,7 +1502,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
1502
1502
|
def fetch_funding_rates(self, symbols: Optional[List[str]] = None, params={}):
|
|
1503
1503
|
"""
|
|
1504
1504
|
fetch the funding rate for multiple markets
|
|
1505
|
-
:param [
|
|
1505
|
+
:param str[]|None symbols: list of unified market symbols
|
|
1506
1506
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
1507
1507
|
:returns dict: a dictionary of `funding rates structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexe by market symbols
|
|
1508
1508
|
"""
|
|
@@ -1823,7 +1823,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
1823
1823
|
"""
|
|
1824
1824
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
|
1825
1825
|
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
|
1826
|
-
:param [
|
|
1826
|
+
:param str[]|None codes: list of unified currency codes
|
|
1827
1827
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
1828
1828
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
1829
1829
|
"""
|
|
@@ -1874,7 +1874,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
1874
1874
|
"""
|
|
1875
1875
|
fetch deposit and withdraw fees
|
|
1876
1876
|
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
|
1877
|
-
:param [
|
|
1877
|
+
:param str[]|None codes: list of unified currency codes
|
|
1878
1878
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
1879
1879
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
1880
1880
|
"""
|
|
@@ -2283,7 +2283,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
2283
2283
|
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
|
2284
2284
|
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
|
2285
2285
|
see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
|
2286
|
-
:param [
|
|
2286
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
2287
2287
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
2288
2288
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
2289
2289
|
"""
|
|
@@ -2541,7 +2541,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
2541
2541
|
:param dict params: extra parameters specific to the gateio api endpoint
|
|
2542
2542
|
:param str|None params['price']: "mark" or "index" for mark price and index price candles
|
|
2543
2543
|
:param int|None params['until']: timestamp in ms of the latest candle to fetch
|
|
2544
|
-
:returns [[
|
|
2544
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume(units in quote currency)
|
|
2545
2545
|
"""
|
|
2546
2546
|
self.load_markets()
|
|
2547
2547
|
market = self.market(symbol)
|
|
@@ -2604,7 +2604,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
2604
2604
|
:param int|None since: timestamp in ms of the earliest funding rate to fetch
|
|
2605
2605
|
: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
|
|
2606
2606
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
2607
|
-
:returns [
|
|
2607
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
|
2608
2608
|
"""
|
|
2609
2609
|
if symbol is None:
|
|
2610
2610
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
|
@@ -2689,7 +2689,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
2689
2689
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
2690
2690
|
:param int|None limit: the maximum amount of trades to fetch
|
|
2691
2691
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
2692
|
-
:returns [
|
|
2692
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
2693
2693
|
"""
|
|
2694
2694
|
self.load_markets()
|
|
2695
2695
|
market = self.market(symbol)
|
|
@@ -2777,7 +2777,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
2777
2777
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
2778
2778
|
:param int|None limit: the maximum number of trades to retrieve
|
|
2779
2779
|
:param dict params: extra parameters specific to the binance api endpoint
|
|
2780
|
-
:returns [
|
|
2780
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
2781
2781
|
"""
|
|
2782
2782
|
self.load_markets()
|
|
2783
2783
|
self.check_required_symbol('fetchOrderTrades', symbol)
|
|
@@ -2823,7 +2823,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
2823
2823
|
:param int|None params['offset']: *contract only* list offset, starting from 0
|
|
2824
2824
|
:param str|None params['last_id']: *contract only* specify list staring point using the id of last record in previous list-query results
|
|
2825
2825
|
:param int|None params['count_total']: *contract only* whether to return total number matched, default to 0(no return)
|
|
2826
|
-
:returns [
|
|
2826
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
2827
2827
|
"""
|
|
2828
2828
|
self.load_markets()
|
|
2829
2829
|
type = None
|
|
@@ -3072,7 +3072,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
3072
3072
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
3073
3073
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
3074
3074
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
3075
|
-
:returns [
|
|
3075
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
3076
3076
|
"""
|
|
3077
3077
|
self.load_markets()
|
|
3078
3078
|
request = {}
|
|
@@ -3096,7 +3096,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
3096
3096
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
3097
3097
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
3098
3098
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
3099
|
-
:returns [
|
|
3099
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
3100
3100
|
"""
|
|
3101
3101
|
self.load_markets()
|
|
3102
3102
|
request = {}
|
|
@@ -3905,7 +3905,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
3905
3905
|
:param bool params['stop']: True for fetching stop orders
|
|
3906
3906
|
:param str params['type']: spot, margin, swap or future, if not provided self.options['defaultType'] is used
|
|
3907
3907
|
:param str params['marginMode']: 'cross' or 'isolated' - marginMode for type='margin', if not provided self.options['defaultMarginMode'] is used
|
|
3908
|
-
:returns [
|
|
3908
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
3909
3909
|
"""
|
|
3910
3910
|
return self.fetch_orders_by_status('open', symbol, since, limit, params)
|
|
3911
3911
|
|
|
@@ -3919,7 +3919,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
3919
3919
|
:param bool params['stop']: True for fetching stop orders
|
|
3920
3920
|
:param str params['type']: spot, swap or future, if not provided self.options['defaultType'] is used
|
|
3921
3921
|
:param str params['marginMode']: 'cross' or 'isolated' - marginMode for margin trading if not provided self.options['defaultMarginMode'] is used
|
|
3922
|
-
:returns [
|
|
3922
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
3923
3923
|
"""
|
|
3924
3924
|
return self.fetch_orders_by_status('finished', symbol, since, limit, params)
|
|
3925
3925
|
|
|
@@ -4221,7 +4221,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
4221
4221
|
cancel all open orders
|
|
4222
4222
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
|
4223
4223
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
4224
|
-
:returns [
|
|
4224
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
4225
4225
|
"""
|
|
4226
4226
|
self.load_markets()
|
|
4227
4227
|
market = None if (symbol is None) else self.market(symbol)
|
|
@@ -4582,11 +4582,11 @@ class gate(Exchange, ImplicitAPI):
|
|
|
4582
4582
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user
|
|
4583
4583
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user-2
|
|
4584
4584
|
see https://www.gate.io/docs/developers/apiv4/en/#list-user-s-positions-of-specified-underlying
|
|
4585
|
-
:param [
|
|
4585
|
+
:param str[]|None symbols: Not used by gate, but parsed internally by CCXT
|
|
4586
4586
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
4587
4587
|
:param str params['settle']: 'btc' or 'usdt' - settle currency for perpetual swap and future - default="usdt" for swap and "btc" for future
|
|
4588
4588
|
:param str params['type']: swap, future or option, if not provided self.options['defaultType'] is used
|
|
4589
|
-
:returns [
|
|
4589
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
|
4590
4590
|
"""
|
|
4591
4591
|
self.load_markets()
|
|
4592
4592
|
market = None
|
|
@@ -4675,7 +4675,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
4675
4675
|
def fetch_leverage_tiers(self, symbols: Optional[List[str]] = None, params={}):
|
|
4676
4676
|
"""
|
|
4677
4677
|
retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
|
|
4678
|
-
:param [
|
|
4678
|
+
:param str[]|None symbols: list of unified market symbols
|
|
4679
4679
|
:param dict params: extra parameters specific to the gate api endpoint
|
|
4680
4680
|
:returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
|
|
4681
4681
|
"""
|
|
@@ -5318,7 +5318,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
5318
5318
|
:param int|None since: timestamp in ms
|
|
5319
5319
|
:param int|None limit: number of records
|
|
5320
5320
|
:param dict params: exchange specific params
|
|
5321
|
-
:returns [
|
|
5321
|
+
:returns dict[]: a list of [settlement history objects]
|
|
5322
5322
|
"""
|
|
5323
5323
|
self.check_required_symbol('fetchSettlementHistory', symbol)
|
|
5324
5324
|
self.load_markets()
|
ccxt/gemini.py
CHANGED
|
@@ -417,7 +417,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
|
417
417
|
"""
|
|
418
418
|
retrieves data on all markets for gemini
|
|
419
419
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
420
|
-
:returns [
|
|
420
|
+
:returns dict[]: an array of objects representing market data
|
|
421
421
|
"""
|
|
422
422
|
method = self.safe_value(self.options, 'fetchMarketsMethod', 'fetch_markets_from_api')
|
|
423
423
|
if method == 'fetch_markets_from_web':
|
|
@@ -836,7 +836,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
|
836
836
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
837
837
|
"""
|
|
838
838
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
839
|
-
:param [
|
|
839
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
840
840
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
841
841
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
842
842
|
"""
|
|
@@ -929,7 +929,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
|
929
929
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
930
930
|
:param int|None limit: the maximum amount of trades to fetch
|
|
931
931
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
932
|
-
:returns [
|
|
932
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
933
933
|
"""
|
|
934
934
|
self.load_markets()
|
|
935
935
|
market = self.market(symbol)
|
|
@@ -1237,7 +1237,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
|
1237
1237
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1238
1238
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1239
1239
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
1240
|
-
:returns [
|
|
1240
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1241
1241
|
"""
|
|
1242
1242
|
self.load_markets()
|
|
1243
1243
|
response = self.privatePostV1Orders(params)
|
|
@@ -1402,7 +1402,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
|
1402
1402
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1403
1403
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1404
1404
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
1405
|
-
:returns [
|
|
1405
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1406
1406
|
"""
|
|
1407
1407
|
if symbol is None:
|
|
1408
1408
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
|
@@ -1693,7 +1693,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
|
1693
1693
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1694
1694
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1695
1695
|
:param dict params: extra parameters specific to the gemini api endpoint
|
|
1696
|
-
:returns [[
|
|
1696
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1697
1697
|
"""
|
|
1698
1698
|
self.load_markets()
|
|
1699
1699
|
market = self.market(symbol)
|
ccxt/hitbtc.py
CHANGED
|
@@ -289,7 +289,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
289
289
|
"""
|
|
290
290
|
retrieves data on all markets for hitbtc
|
|
291
291
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
292
|
-
:returns [
|
|
292
|
+
:returns dict[]: an array of objects representing market data
|
|
293
293
|
"""
|
|
294
294
|
response = self.publicGetSymbol(params)
|
|
295
295
|
#
|
|
@@ -611,7 +611,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
611
611
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
612
612
|
:param int|None limit: the maximum amount of candles to fetch
|
|
613
613
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
614
|
-
:returns [[
|
|
614
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
615
615
|
"""
|
|
616
616
|
self.load_markets()
|
|
617
617
|
market = self.market(symbol)
|
|
@@ -684,7 +684,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
684
684
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
685
685
|
"""
|
|
686
686
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
687
|
-
:param [
|
|
687
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
688
688
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
689
689
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
690
690
|
"""
|
|
@@ -914,7 +914,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
914
914
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
915
915
|
:param int|None limit: the maximum amount of trades to fetch
|
|
916
916
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
917
|
-
:returns [
|
|
917
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
918
918
|
"""
|
|
919
919
|
self.load_markets()
|
|
920
920
|
market = self.market(symbol)
|
|
@@ -1150,7 +1150,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
1150
1150
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
1151
1151
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
1152
1152
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
1153
|
-
:returns [
|
|
1153
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1154
1154
|
"""
|
|
1155
1155
|
self.load_markets()
|
|
1156
1156
|
market = None
|
|
@@ -1168,7 +1168,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
1168
1168
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
1169
1169
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
1170
1170
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
1171
|
-
:returns [
|
|
1171
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1172
1172
|
"""
|
|
1173
1173
|
self.load_markets()
|
|
1174
1174
|
market = None
|
|
@@ -1197,7 +1197,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
1197
1197
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1198
1198
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1199
1199
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
1200
|
-
:returns [
|
|
1200
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1201
1201
|
"""
|
|
1202
1202
|
self.load_markets()
|
|
1203
1203
|
request = {
|
|
@@ -1254,7 +1254,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
|
1254
1254
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1255
1255
|
:param int|None limit: the maximum number of trades to retrieve
|
|
1256
1256
|
:param dict params: extra parameters specific to the hitbtc api endpoint
|
|
1257
|
-
:returns [
|
|
1257
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1258
1258
|
"""
|
|
1259
1259
|
# The id needed here is the exchange's id, and not the clientOrderID,
|
|
1260
1260
|
# which is the id that is stored in the unified order id
|
ccxt/hitbtc3.py
CHANGED
|
@@ -374,7 +374,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
374
374
|
"""
|
|
375
375
|
retrieves data on all markets for hitbtc3
|
|
376
376
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
377
|
-
:returns [
|
|
377
|
+
:returns dict[]: an array of objects representing market data
|
|
378
378
|
"""
|
|
379
379
|
response = self.publicGetPublicSymbol(params)
|
|
380
380
|
#
|
|
@@ -740,7 +740,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
740
740
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
741
741
|
"""
|
|
742
742
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
743
|
-
:param [
|
|
743
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
744
744
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
745
745
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
746
746
|
"""
|
|
@@ -827,7 +827,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
827
827
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
828
828
|
:param int|None limit: the maximum amount of trades to fetch
|
|
829
829
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
830
|
-
:returns [
|
|
830
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
831
831
|
"""
|
|
832
832
|
self.load_markets()
|
|
833
833
|
market = None
|
|
@@ -860,7 +860,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
860
860
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
861
861
|
:param str|None params['marginMode']: 'cross' or 'isolated' only 'isolated' is supported
|
|
862
862
|
:param bool|None params['margin']: True for fetching margin trades
|
|
863
|
-
:returns [
|
|
863
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
864
864
|
"""
|
|
865
865
|
self.load_markets()
|
|
866
866
|
market = None
|
|
@@ -1137,7 +1137,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1137
1137
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1138
1138
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1139
1139
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1140
|
-
:returns [
|
|
1140
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1141
1141
|
"""
|
|
1142
1142
|
return self.fetch_transactions_helper('DEPOSIT', code, since, limit, params)
|
|
1143
1143
|
|
|
@@ -1148,14 +1148,14 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1148
1148
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1149
1149
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1150
1150
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1151
|
-
:returns [
|
|
1151
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1152
1152
|
"""
|
|
1153
1153
|
return self.fetch_transactions_helper('WITHDRAW', code, since, limit, params)
|
|
1154
1154
|
|
|
1155
1155
|
def fetch_order_books(self, symbols: Optional[List[str]] = None, limit: Optional[int] = None, params={}):
|
|
1156
1156
|
"""
|
|
1157
1157
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
|
1158
|
-
:param [
|
|
1158
|
+
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
|
1159
1159
|
:param int|None limit: max number of entries per orderbook to return, default is None
|
|
1160
1160
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1161
1161
|
:returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
|
|
@@ -1270,7 +1270,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1270
1270
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
|
1271
1271
|
:param int|None limit: the maximum amount of candles to fetch
|
|
1272
1272
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1273
|
-
:returns [[
|
|
1273
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
|
1274
1274
|
"""
|
|
1275
1275
|
self.load_markets()
|
|
1276
1276
|
market = self.market(symbol)
|
|
@@ -1368,7 +1368,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1368
1368
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1369
1369
|
:param str|None params['marginMode']: 'cross' or 'isolated' only 'isolated' is supported
|
|
1370
1370
|
:param bool|None params['margin']: True for fetching margin orders
|
|
1371
|
-
:returns [
|
|
1371
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1372
1372
|
"""
|
|
1373
1373
|
self.load_markets()
|
|
1374
1374
|
market = None
|
|
@@ -1453,7 +1453,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1453
1453
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1454
1454
|
:param str|None params['marginMode']: 'cross' or 'isolated' only 'isolated' is supported
|
|
1455
1455
|
:param bool|None params['margin']: True for fetching margin trades
|
|
1456
|
-
:returns [
|
|
1456
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1457
1457
|
"""
|
|
1458
1458
|
self.load_markets()
|
|
1459
1459
|
market = None
|
|
@@ -1522,7 +1522,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1522
1522
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1523
1523
|
:param str|None params['marginMode']: 'cross' or 'isolated' only 'isolated' is supported
|
|
1524
1524
|
:param bool|None params['margin']: True for fetching open margin orders
|
|
1525
|
-
:returns [
|
|
1525
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1526
1526
|
"""
|
|
1527
1527
|
self.load_markets()
|
|
1528
1528
|
market = None
|
|
@@ -1599,7 +1599,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1599
1599
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1600
1600
|
:param str|None params['marginMode']: 'cross' or 'isolated' only 'isolated' is supported
|
|
1601
1601
|
:param bool|None params['margin']: True for canceling margin orders
|
|
1602
|
-
:returns [
|
|
1602
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1603
1603
|
"""
|
|
1604
1604
|
self.load_markets()
|
|
1605
1605
|
market = None
|
|
@@ -1994,7 +1994,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
1994
1994
|
:param int|None since: timestamp in ms of the earliest funding rate to fetch
|
|
1995
1995
|
: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
|
|
1996
1996
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
1997
|
-
:returns [
|
|
1997
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
|
1998
1998
|
"""
|
|
1999
1999
|
self.load_markets()
|
|
2000
2000
|
market = None
|
|
@@ -2055,11 +2055,11 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
2055
2055
|
def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
|
2056
2056
|
"""
|
|
2057
2057
|
fetch all open positions
|
|
2058
|
-
:param [
|
|
2058
|
+
:param str[]|None symbols: not used by hitbtc3 fetchPositions()
|
|
2059
2059
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
2060
2060
|
:param str|None params['marginMode']: 'cross' or 'isolated' only 'isolated' is supported, defaults to spot-margin endpoint if self is set
|
|
2061
2061
|
:param bool|None params['margin']: True for fetching spot-margin positions
|
|
2062
|
-
:returns [
|
|
2062
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
|
2063
2063
|
"""
|
|
2064
2064
|
self.load_markets()
|
|
2065
2065
|
request = {}
|
|
@@ -2498,9 +2498,9 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
2498
2498
|
"""
|
|
2499
2499
|
fetch deposit and withdraw fees
|
|
2500
2500
|
see https://api.hitbtc.com/#currencies
|
|
2501
|
-
:param [
|
|
2501
|
+
:param str[]|None codes: list of unified currency codes
|
|
2502
2502
|
:param dict params: extra parameters specific to the hitbtc3 api endpoint
|
|
2503
|
-
:returns [
|
|
2503
|
+
:returns dict[]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
|
2504
2504
|
"""
|
|
2505
2505
|
self.load_markets()
|
|
2506
2506
|
response = self.publicGetPublicCurrency(params)
|
|
@@ -2583,7 +2583,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
|
2583
2583
|
* @ignore
|
|
2584
2584
|
marginMode specified by params["marginMode"], self.options["marginMode"], self.options["defaultMarginMode"], params["margin"] = True or self.options["defaultType"] = 'margin'
|
|
2585
2585
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
2586
|
-
:returns
|
|
2586
|
+
:returns array: the marginMode in lowercase
|
|
2587
2587
|
"""
|
|
2588
2588
|
defaultType = self.safe_string(self.options, 'defaultType')
|
|
2589
2589
|
isMargin = self.safe_value(params, 'margin', False)
|
ccxt/hollaex.py
CHANGED
|
@@ -214,7 +214,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
214
214
|
"""
|
|
215
215
|
retrieves data on all markets for hollaex
|
|
216
216
|
:param dict params: extra parameters specific to the exchange api endpoint
|
|
217
|
-
:returns [
|
|
217
|
+
:returns dict[]: an array of objects representing market data
|
|
218
218
|
"""
|
|
219
219
|
response = self.publicGetConstants(params)
|
|
220
220
|
#
|
|
@@ -407,7 +407,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
407
407
|
def fetch_order_books(self, symbols: Optional[List[str]] = None, limit: Optional[int] = None, params={}):
|
|
408
408
|
"""
|
|
409
409
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
|
410
|
-
:param [
|
|
410
|
+
:param str[]|None symbols: not used by hollaex fetchOrderBooks()
|
|
411
411
|
:param int|None limit: not used by hollaex fetchOrderBooks()
|
|
412
412
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
413
413
|
:returns dict: a dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbol
|
|
@@ -490,7 +490,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
490
490
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
|
491
491
|
"""
|
|
492
492
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
493
|
-
:param [
|
|
493
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
494
494
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
495
495
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
|
496
496
|
"""
|
|
@@ -588,7 +588,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
588
588
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
|
589
589
|
:param int|None limit: the maximum amount of trades to fetch
|
|
590
590
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
591
|
-
:returns [
|
|
591
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
|
592
592
|
"""
|
|
593
593
|
self.load_markets()
|
|
594
594
|
market = self.market(symbol)
|
|
@@ -730,7 +730,7 @@ class hollaex(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
|
|
732
732
|
:param dict params: extra parameters specific to the hollaex 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)
|
|
@@ -876,7 +876,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
876
876
|
:param int|None since: the earliest time in ms to fetch open orders for
|
|
877
877
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
|
878
878
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
879
|
-
:returns [
|
|
879
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
880
880
|
"""
|
|
881
881
|
request = {
|
|
882
882
|
'open': True,
|
|
@@ -890,7 +890,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
890
890
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
891
891
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
892
892
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
893
|
-
:returns [
|
|
893
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
894
894
|
"""
|
|
895
895
|
request = {
|
|
896
896
|
'open': False,
|
|
@@ -943,7 +943,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
943
943
|
:param int|None since: the earliest time in ms to fetch orders for
|
|
944
944
|
:param int|None limit: the maximum number of orde structures to retrieve
|
|
945
945
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
946
|
-
:returns [
|
|
946
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
947
947
|
"""
|
|
948
948
|
self.load_markets()
|
|
949
949
|
market = None
|
|
@@ -1169,7 +1169,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
1169
1169
|
cancel all open orders in a market
|
|
1170
1170
|
:param str symbol: unified market symbol of the market to cancel orders in
|
|
1171
1171
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
1172
|
-
:returns [
|
|
1172
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
|
1173
1173
|
"""
|
|
1174
1174
|
if symbol is None:
|
|
1175
1175
|
raise ArgumentsRequired(self.id + " cancelAllOrders() requires a 'symbol' argument")
|
|
@@ -1203,7 +1203,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
1203
1203
|
:param int|None since: the earliest time in ms to fetch trades for
|
|
1204
1204
|
:param int|None limit: the maximum number of trades structures to retrieve
|
|
1205
1205
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
1206
|
-
:returns [
|
|
1206
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
|
1207
1207
|
"""
|
|
1208
1208
|
self.load_markets()
|
|
1209
1209
|
request = {
|
|
@@ -1274,7 +1274,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
1274
1274
|
def fetch_deposit_addresses(self, codes=None, params={}):
|
|
1275
1275
|
"""
|
|
1276
1276
|
fetch deposit addresses for multiple currencies and chain types
|
|
1277
|
-
:param [
|
|
1277
|
+
:param str[]|None codes: list of unified currency codes, default is None
|
|
1278
1278
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
1279
1279
|
:returns dict: a list of `address structures <https://docs.ccxt.com/#/?id=address-structure>`
|
|
1280
1280
|
"""
|
|
@@ -1338,7 +1338,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
1338
1338
|
:param int|None since: the earliest time in ms to fetch deposits for
|
|
1339
1339
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
|
1340
1340
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
1341
|
-
:returns [
|
|
1341
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1342
1342
|
"""
|
|
1343
1343
|
self.load_markets()
|
|
1344
1344
|
request = {
|
|
@@ -1436,7 +1436,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
|
1436
1436
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
|
1437
1437
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
|
1438
1438
|
:param dict params: extra parameters specific to the hollaex api endpoint
|
|
1439
|
-
:returns [
|
|
1439
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
|
1440
1440
|
"""
|
|
1441
1441
|
self.load_markets()
|
|
1442
1442
|
request = {
|