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/async_support/gate.py
CHANGED
@@ -786,7 +786,7 @@ class gate(Exchange, ImplicitAPI):
|
|
786
786
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts-2 # future
|
787
787
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-the-contracts-with-specified-underlying-and-expiration-time # option
|
788
788
|
:param dict params: extra parameters specific to the exchange api endpoint
|
789
|
-
:returns [
|
789
|
+
:returns dict[]: an array of objects representing market data
|
790
790
|
"""
|
791
791
|
sandboxMode = self.safe_value(self.options, 'sandboxMode', False)
|
792
792
|
rawPromises = [
|
@@ -1503,7 +1503,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1503
1503
|
async def fetch_funding_rates(self, symbols: Optional[List[str]] = None, params={}):
|
1504
1504
|
"""
|
1505
1505
|
fetch the funding rate for multiple markets
|
1506
|
-
:param [
|
1506
|
+
:param str[]|None symbols: list of unified market symbols
|
1507
1507
|
:param dict params: extra parameters specific to the gate api endpoint
|
1508
1508
|
:returns dict: a dictionary of `funding rates structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexe by market symbols
|
1509
1509
|
"""
|
@@ -1824,7 +1824,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1824
1824
|
"""
|
1825
1825
|
*DEPRECATED* please use fetchDepositWithdrawFees instead
|
1826
1826
|
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
1827
|
-
:param [
|
1827
|
+
:param str[]|None codes: list of unified currency codes
|
1828
1828
|
:param dict params: extra parameters specific to the gate api endpoint
|
1829
1829
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1830
1830
|
"""
|
@@ -1875,7 +1875,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1875
1875
|
"""
|
1876
1876
|
fetch deposit and withdraw fees
|
1877
1877
|
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
1878
|
-
:param [
|
1878
|
+
:param str[]|None codes: list of unified currency codes
|
1879
1879
|
:param dict params: extra parameters specific to the gate api endpoint
|
1880
1880
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
1881
1881
|
"""
|
@@ -2284,7 +2284,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2284
2284
|
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2285
2285
|
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2286
2286
|
see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2287
|
-
:param [
|
2287
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
2288
2288
|
:param dict params: extra parameters specific to the gate api endpoint
|
2289
2289
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
2290
2290
|
"""
|
@@ -2542,7 +2542,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2542
2542
|
:param dict params: extra parameters specific to the gateio api endpoint
|
2543
2543
|
:param str|None params['price']: "mark" or "index" for mark price and index price candles
|
2544
2544
|
:param int|None params['until']: timestamp in ms of the latest candle to fetch
|
2545
|
-
:returns [[
|
2545
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume(units in quote currency)
|
2546
2546
|
"""
|
2547
2547
|
await self.load_markets()
|
2548
2548
|
market = self.market(symbol)
|
@@ -2605,7 +2605,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2605
2605
|
:param int|None since: timestamp in ms of the earliest funding rate to fetch
|
2606
2606
|
: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
|
2607
2607
|
:param dict params: extra parameters specific to the gate api endpoint
|
2608
|
-
:returns [
|
2608
|
+
:returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure>`
|
2609
2609
|
"""
|
2610
2610
|
if symbol is None:
|
2611
2611
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
@@ -2690,7 +2690,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2690
2690
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
2691
2691
|
:param int|None limit: the maximum amount of trades to fetch
|
2692
2692
|
:param dict params: extra parameters specific to the gate api endpoint
|
2693
|
-
:returns [
|
2693
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
2694
2694
|
"""
|
2695
2695
|
await self.load_markets()
|
2696
2696
|
market = self.market(symbol)
|
@@ -2778,7 +2778,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2778
2778
|
:param int|None since: the earliest time in ms to fetch trades for
|
2779
2779
|
:param int|None limit: the maximum number of trades to retrieve
|
2780
2780
|
:param dict params: extra parameters specific to the binance api endpoint
|
2781
|
-
:returns [
|
2781
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
2782
2782
|
"""
|
2783
2783
|
await self.load_markets()
|
2784
2784
|
self.check_required_symbol('fetchOrderTrades', symbol)
|
@@ -2824,7 +2824,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2824
2824
|
:param int|None params['offset']: *contract only* list offset, starting from 0
|
2825
2825
|
:param str|None params['last_id']: *contract only* specify list staring point using the id of last record in previous list-query results
|
2826
2826
|
:param int|None params['count_total']: *contract only* whether to return total number matched, default to 0(no return)
|
2827
|
-
:returns [
|
2827
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
2828
2828
|
"""
|
2829
2829
|
await self.load_markets()
|
2830
2830
|
type = None
|
@@ -3073,7 +3073,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3073
3073
|
:param int|None since: the earliest time in ms to fetch deposits for
|
3074
3074
|
:param int|None limit: the maximum number of deposits structures to retrieve
|
3075
3075
|
:param dict params: extra parameters specific to the gate api endpoint
|
3076
|
-
:returns [
|
3076
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
3077
3077
|
"""
|
3078
3078
|
await self.load_markets()
|
3079
3079
|
request = {}
|
@@ -3097,7 +3097,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3097
3097
|
:param int|None since: the earliest time in ms to fetch withdrawals for
|
3098
3098
|
:param int|None limit: the maximum number of withdrawals structures to retrieve
|
3099
3099
|
:param dict params: extra parameters specific to the gate api endpoint
|
3100
|
-
:returns [
|
3100
|
+
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
3101
3101
|
"""
|
3102
3102
|
await self.load_markets()
|
3103
3103
|
request = {}
|
@@ -3906,7 +3906,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3906
3906
|
:param bool params['stop']: True for fetching stop orders
|
3907
3907
|
:param str params['type']: spot, margin, swap or future, if not provided self.options['defaultType'] is used
|
3908
3908
|
:param str params['marginMode']: 'cross' or 'isolated' - marginMode for type='margin', if not provided self.options['defaultMarginMode'] is used
|
3909
|
-
:returns [
|
3909
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
3910
3910
|
"""
|
3911
3911
|
return await self.fetch_orders_by_status('open', symbol, since, limit, params)
|
3912
3912
|
|
@@ -3920,7 +3920,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3920
3920
|
:param bool params['stop']: True for fetching stop orders
|
3921
3921
|
:param str params['type']: spot, swap or future, if not provided self.options['defaultType'] is used
|
3922
3922
|
:param str params['marginMode']: 'cross' or 'isolated' - marginMode for margin trading if not provided self.options['defaultMarginMode'] is used
|
3923
|
-
:returns [
|
3923
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
3924
3924
|
"""
|
3925
3925
|
return await self.fetch_orders_by_status('finished', symbol, since, limit, params)
|
3926
3926
|
|
@@ -4222,7 +4222,7 @@ class gate(Exchange, ImplicitAPI):
|
|
4222
4222
|
cancel all open orders
|
4223
4223
|
:param str|None symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
4224
4224
|
:param dict params: extra parameters specific to the gate api endpoint
|
4225
|
-
:returns [
|
4225
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
4226
4226
|
"""
|
4227
4227
|
await self.load_markets()
|
4228
4228
|
market = None if (symbol is None) else self.market(symbol)
|
@@ -4583,11 +4583,11 @@ class gate(Exchange, ImplicitAPI):
|
|
4583
4583
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user
|
4584
4584
|
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user-2
|
4585
4585
|
see https://www.gate.io/docs/developers/apiv4/en/#list-user-s-positions-of-specified-underlying
|
4586
|
-
:param [
|
4586
|
+
:param str[]|None symbols: Not used by gate, but parsed internally by CCXT
|
4587
4587
|
:param dict params: extra parameters specific to the gate api endpoint
|
4588
4588
|
:param str params['settle']: 'btc' or 'usdt' - settle currency for perpetual swap and future - default="usdt" for swap and "btc" for future
|
4589
4589
|
:param str params['type']: swap, future or option, if not provided self.options['defaultType'] is used
|
4590
|
-
:returns [
|
4590
|
+
:returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
4591
4591
|
"""
|
4592
4592
|
await self.load_markets()
|
4593
4593
|
market = None
|
@@ -4676,7 +4676,7 @@ class gate(Exchange, ImplicitAPI):
|
|
4676
4676
|
async def fetch_leverage_tiers(self, symbols: Optional[List[str]] = None, params={}):
|
4677
4677
|
"""
|
4678
4678
|
retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
|
4679
|
-
:param [
|
4679
|
+
:param str[]|None symbols: list of unified market symbols
|
4680
4680
|
:param dict params: extra parameters specific to the gate api endpoint
|
4681
4681
|
:returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
|
4682
4682
|
"""
|
@@ -5319,7 +5319,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5319
5319
|
:param int|None since: timestamp in ms
|
5320
5320
|
:param int|None limit: number of records
|
5321
5321
|
:param dict params: exchange specific params
|
5322
|
-
:returns [
|
5322
|
+
:returns dict[]: a list of [settlement history objects]
|
5323
5323
|
"""
|
5324
5324
|
self.check_required_symbol('fetchSettlementHistory', symbol)
|
5325
5325
|
await self.load_markets()
|
ccxt/async_support/gemini.py
CHANGED
@@ -418,7 +418,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
418
418
|
"""
|
419
419
|
retrieves data on all markets for gemini
|
420
420
|
:param dict params: extra parameters specific to the exchange api endpoint
|
421
|
-
:returns [
|
421
|
+
:returns dict[]: an array of objects representing market data
|
422
422
|
"""
|
423
423
|
method = self.safe_value(self.options, 'fetchMarketsMethod', 'fetch_markets_from_api')
|
424
424
|
if method == 'fetch_markets_from_web':
|
@@ -837,7 +837,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
837
837
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
838
838
|
"""
|
839
839
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
840
|
-
:param [
|
840
|
+
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
841
841
|
:param dict params: extra parameters specific to the gemini api endpoint
|
842
842
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
843
843
|
"""
|
@@ -930,7 +930,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
930
930
|
:param int|None since: timestamp in ms of the earliest trade to fetch
|
931
931
|
:param int|None limit: the maximum amount of trades to fetch
|
932
932
|
:param dict params: extra parameters specific to the gemini api endpoint
|
933
|
-
:returns [
|
933
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/en/latest/manual.html?#public-trades>`
|
934
934
|
"""
|
935
935
|
await self.load_markets()
|
936
936
|
market = self.market(symbol)
|
@@ -1238,7 +1238,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1238
1238
|
:param int|None since: the earliest time in ms to fetch open orders for
|
1239
1239
|
:param int|None limit: the maximum number of open orders structures to retrieve
|
1240
1240
|
:param dict params: extra parameters specific to the gemini api endpoint
|
1241
|
-
:returns [
|
1241
|
+
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
1242
1242
|
"""
|
1243
1243
|
await self.load_markets()
|
1244
1244
|
response = await self.privatePostV1Orders(params)
|
@@ -1403,7 +1403,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1403
1403
|
:param int|None since: the earliest time in ms to fetch trades for
|
1404
1404
|
:param int|None limit: the maximum number of trades structures to retrieve
|
1405
1405
|
:param dict params: extra parameters specific to the gemini api endpoint
|
1406
|
-
:returns [
|
1406
|
+
:returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1407
1407
|
"""
|
1408
1408
|
if symbol is None:
|
1409
1409
|
raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
|
@@ -1694,7 +1694,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1694
1694
|
:param int|None since: timestamp in ms of the earliest candle to fetch
|
1695
1695
|
:param int|None limit: the maximum amount of candles to fetch
|
1696
1696
|
:param dict params: extra parameters specific to the gemini api endpoint
|
1697
|
-
:returns [[
|
1697
|
+
:returns int[][]: A list of candles ordered, open, high, low, close, volume
|
1698
1698
|
"""
|
1699
1699
|
await self.load_markets()
|
1700
1700
|
market = self.market(symbol)
|
ccxt/async_support/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 = await 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
|
await self.load_markets()
|
617
617
|
market = self.market(symbol)
|
@@ -684,7 +684,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
684
684
|
async 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
|
await 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
|
await 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
|
await 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
|
await 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/async_support/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 = await self.publicGetPublicSymbol(params)
|
380
380
|
#
|
@@ -740,7 +740,7 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
740
740
|
async 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
|
await 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
|
await 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 await 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 await self.fetch_transactions_helper('WITHDRAW', code, since, limit, params)
|
1154
1154
|
|
1155
1155
|
async 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
|
await 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
|
await 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
|
await 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
|
await 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
|
await 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
|
await self.load_markets()
|
2000
2000
|
market = None
|
@@ -2055,11 +2055,11 @@ class hitbtc3(Exchange, ImplicitAPI):
|
|
2055
2055
|
async 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
|
await 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
|
await self.load_markets()
|
2506
2506
|
response = await 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/async_support/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 = await self.publicGetConstants(params)
|
220
220
|
#
|
@@ -407,7 +407,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
407
407
|
async 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
|
async 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
|
await 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
|
await 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
|
await 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
|
await self.load_markets()
|
1209
1209
|
request = {
|
@@ -1274,7 +1274,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1274
1274
|
async 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
|
await 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
|
await self.load_markets()
|
1442
1442
|
request = {
|