ccxt 4.0.75__py2.py3-none-any.whl → 4.0.77__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.
Potentially problematic release.
This version of ccxt might be problematic. Click here for more details.
- ccxt/__init__.py +1 -1
- ccxt/abstract/bingx.py +2 -0
- ccxt/abstract/coinsph.py +5 -0
- ccxt/abstract/gate.py +24 -0
- ccxt/abstract/gateio.py +24 -0
- ccxt/ace.py +2 -2
- ccxt/alpaca.py +1 -1
- ccxt/ascendex.py +3 -3
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +2 -2
- ccxt/async_support/alpaca.py +1 -1
- ccxt/async_support/ascendex.py +3 -3
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +5 -5
- ccxt/async_support/bingx.py +72 -21
- ccxt/async_support/bit2c.py +2 -2
- ccxt/async_support/bitbank.py +2 -2
- ccxt/async_support/bitbns.py +2 -2
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +4 -4
- ccxt/async_support/bitflyer.py +2 -2
- ccxt/async_support/bitforex.py +2 -2
- ccxt/async_support/bitget.py +5 -5
- ccxt/async_support/bithumb.py +2 -2
- ccxt/async_support/bitmart.py +2 -2
- ccxt/async_support/bitmex.py +5 -5
- ccxt/async_support/bitopro.py +3 -3
- ccxt/async_support/bitpanda.py +2 -2
- ccxt/async_support/bitrue.py +3 -3
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +2 -2
- ccxt/async_support/bitstamp1.py +2 -2
- ccxt/async_support/bittrex.py +3 -3
- ccxt/async_support/bitvavo.py +3 -3
- ccxt/async_support/bkex.py +4 -4
- ccxt/async_support/bl3p.py +2 -2
- ccxt/async_support/blockchaincom.py +1 -1
- ccxt/async_support/btcalpha.py +2 -2
- ccxt/async_support/btcbox.py +2 -2
- ccxt/async_support/btcmarkets.py +2 -2
- ccxt/async_support/btctradeua.py +2 -2
- ccxt/async_support/btcturk.py +2 -2
- ccxt/async_support/bybit.py +6 -6
- ccxt/async_support/cex.py +2 -2
- ccxt/async_support/coinbase.py +3 -3
- ccxt/async_support/coinbasepro.py +2 -2
- ccxt/async_support/coincheck.py +2 -2
- ccxt/async_support/coinex.py +6 -6
- ccxt/async_support/coinfalcon.py +2 -2
- ccxt/async_support/coinmate.py +2 -2
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +7 -2
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +5 -5
- ccxt/async_support/currencycom.py +2 -2
- ccxt/async_support/delta.py +2 -2
- ccxt/async_support/deribit.py +3 -3
- ccxt/async_support/digifinex.py +4 -4
- ccxt/async_support/exmo.py +2 -2
- ccxt/async_support/gate.py +46 -4
- ccxt/async_support/gemini.py +3 -3
- ccxt/async_support/hitbtc.py +4 -4
- ccxt/async_support/hollaex.py +3 -3
- ccxt/async_support/huobi.py +5 -5
- ccxt/async_support/huobijp.py +2 -2
- ccxt/async_support/idex.py +2 -2
- ccxt/async_support/independentreserve.py +2 -2
- ccxt/async_support/indodax.py +2 -2
- ccxt/async_support/kraken.py +2 -2
- ccxt/async_support/kucoin.py +4 -4
- ccxt/async_support/kucoinfutures.py +5 -5
- ccxt/async_support/kuna.py +2 -2
- ccxt/async_support/latoken.py +2 -2
- ccxt/async_support/lbank.py +2 -2
- ccxt/async_support/lbank2.py +2 -2
- ccxt/async_support/luno.py +2 -2
- ccxt/async_support/lykke.py +2 -2
- ccxt/async_support/mercado.py +2 -2
- ccxt/async_support/mexc.py +6 -3
- ccxt/async_support/ndax.py +2 -2
- ccxt/async_support/novadax.py +2 -2
- ccxt/async_support/oceanex.py +2 -2
- ccxt/async_support/okcoin.py +2 -2
- ccxt/async_support/okx.py +4 -4
- ccxt/async_support/paymium.py +2 -2
- ccxt/async_support/phemex.py +2 -2
- ccxt/async_support/poloniex.py +149 -68
- ccxt/async_support/poloniexfutures.py +2 -2
- ccxt/async_support/probit.py +2 -2
- ccxt/async_support/tidex.py +2 -2
- ccxt/async_support/timex.py +2 -2
- ccxt/async_support/tokocrypto.py +2 -2
- ccxt/async_support/upbit.py +2 -2
- ccxt/async_support/wavesexchange.py +3 -3
- ccxt/async_support/wazirx.py +2 -2
- ccxt/async_support/whitebit.py +4 -3
- ccxt/async_support/woo.py +2 -2
- ccxt/async_support/yobit.py +2 -2
- ccxt/async_support/zaif.py +2 -2
- ccxt/async_support/zonda.py +2 -2
- ccxt/base/exchange.py +3 -3
- ccxt/bigone.py +2 -2
- ccxt/binance.py +5 -5
- ccxt/bingx.py +72 -21
- ccxt/bit2c.py +2 -2
- ccxt/bitbank.py +2 -2
- ccxt/bitbns.py +2 -2
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +4 -4
- ccxt/bitflyer.py +2 -2
- ccxt/bitforex.py +2 -2
- ccxt/bitget.py +5 -5
- ccxt/bithumb.py +2 -2
- ccxt/bitmart.py +2 -2
- ccxt/bitmex.py +5 -5
- ccxt/bitopro.py +3 -3
- ccxt/bitpanda.py +2 -2
- ccxt/bitrue.py +3 -3
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +2 -2
- ccxt/bitstamp1.py +2 -2
- ccxt/bittrex.py +3 -3
- ccxt/bitvavo.py +3 -3
- ccxt/bkex.py +4 -4
- ccxt/bl3p.py +2 -2
- ccxt/blockchaincom.py +1 -1
- ccxt/btcalpha.py +2 -2
- ccxt/btcbox.py +2 -2
- ccxt/btcmarkets.py +2 -2
- ccxt/btctradeua.py +2 -2
- ccxt/btcturk.py +2 -2
- ccxt/bybit.py +6 -6
- ccxt/cex.py +2 -2
- ccxt/coinbase.py +3 -3
- ccxt/coinbasepro.py +2 -2
- ccxt/coincheck.py +2 -2
- ccxt/coinex.py +6 -6
- ccxt/coinfalcon.py +2 -2
- ccxt/coinmate.py +2 -2
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +7 -2
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +5 -5
- ccxt/currencycom.py +2 -2
- ccxt/delta.py +2 -2
- ccxt/deribit.py +3 -3
- ccxt/digifinex.py +4 -4
- ccxt/exmo.py +2 -2
- ccxt/gate.py +46 -4
- ccxt/gemini.py +3 -3
- ccxt/hitbtc.py +4 -4
- ccxt/hollaex.py +3 -3
- ccxt/huobi.py +5 -5
- ccxt/huobijp.py +2 -2
- ccxt/idex.py +2 -2
- ccxt/independentreserve.py +2 -2
- ccxt/indodax.py +2 -2
- ccxt/kraken.py +2 -2
- ccxt/kucoin.py +4 -4
- ccxt/kucoinfutures.py +5 -5
- ccxt/kuna.py +2 -2
- ccxt/latoken.py +2 -2
- ccxt/lbank.py +2 -2
- ccxt/lbank2.py +2 -2
- ccxt/luno.py +2 -2
- ccxt/lykke.py +2 -2
- ccxt/mercado.py +2 -2
- ccxt/mexc.py +6 -3
- ccxt/ndax.py +2 -2
- ccxt/novadax.py +2 -2
- ccxt/oceanex.py +2 -2
- ccxt/okcoin.py +2 -2
- ccxt/okx.py +4 -4
- ccxt/paymium.py +2 -2
- ccxt/phemex.py +2 -2
- ccxt/poloniex.py +149 -68
- ccxt/poloniexfutures.py +2 -2
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +2 -2
- ccxt/pro/binance.py +6 -6
- ccxt/pro/bitfinex.py +1 -1
- ccxt/pro/bitfinex2.py +2 -2
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitmart.py +1 -1
- ccxt/pro/bitmex.py +2 -2
- ccxt/pro/bitopro.py +2 -2
- ccxt/pro/bitpanda.py +6 -6
- ccxt/pro/bitrue.py +1 -1
- ccxt/pro/bitstamp.py +1 -1
- ccxt/pro/bittrex.py +2 -2
- ccxt/pro/bitvavo.py +1 -1
- ccxt/pro/blockchaincom.py +5 -5
- ccxt/pro/bybit.py +1 -1
- ccxt/pro/cex.py +4 -4
- ccxt/pro/coinbase.py +5 -5
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +2 -2
- ccxt/pro/cryptocom.py +3 -3
- ccxt/pro/currencycom.py +2 -2
- ccxt/pro/deribit.py +3 -3
- ccxt/pro/exmo.py +3 -3
- ccxt/pro/gate.py +2 -2
- ccxt/pro/gemini.py +1 -1
- ccxt/pro/hitbtc.py +1 -1
- ccxt/pro/hollaex.py +2 -2
- ccxt/pro/huobi.py +2 -2
- ccxt/pro/huobijp.py +1 -1
- ccxt/pro/idex.py +1 -1
- ccxt/pro/independentreserve.py +1 -1
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +5 -5
- ccxt/pro/kucoin.py +2 -2
- ccxt/pro/kucoinfutures.py +3 -2
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +6 -6
- ccxt/pro/ndax.py +1 -1
- ccxt/pro/okcoin.py +2 -2
- ccxt/pro/okx.py +10 -7
- ccxt/pro/phemex.py +2 -2
- ccxt/pro/poloniex.py +6 -6
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +6 -6
- ccxt/pro/upbit.py +1 -1
- ccxt/pro/wazirx.py +3 -3
- ccxt/pro/whitebit.py +2 -2
- ccxt/probit.py +2 -2
- ccxt/tidex.py +2 -2
- ccxt/timex.py +2 -2
- ccxt/tokocrypto.py +2 -2
- ccxt/upbit.py +2 -2
- ccxt/wavesexchange.py +3 -3
- ccxt/wazirx.py +2 -2
- ccxt/whitebit.py +4 -3
- ccxt/woo.py +2 -2
- ccxt/yobit.py +2 -2
- ccxt/zaif.py +2 -2
- ccxt/zonda.py +2 -2
- {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/METADATA +4 -4
- ccxt-4.0.77.dist-info/RECORD +456 -0
- ccxt-4.0.75.dist-info/RECORD +0 -456
- {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/WHEEL +0 -0
- {ccxt-4.0.75.dist-info → ccxt-4.0.77.dist-info}/top_level.txt +0 -0
ccxt/async_support/bybit.py
CHANGED
@@ -58,7 +58,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
58
58
|
'createStopOrder': True,
|
59
59
|
'editOrder': True,
|
60
60
|
'fetchBalance': True,
|
61
|
-
'fetchBorrowInterest': False, # temporarily disabled,
|
61
|
+
'fetchBorrowInterest': False, # temporarily disabled, doesn't work
|
62
62
|
'fetchBorrowRate': True,
|
63
63
|
'fetchBorrowRateHistories': False,
|
64
64
|
'fetchBorrowRateHistory': False,
|
@@ -2522,10 +2522,10 @@ class bybit(Exchange, ImplicitAPI):
|
|
2522
2522
|
see https://bybit-exchange.github.io/docs/v5/market/history-fund-rate
|
2523
2523
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2524
2524
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2525
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2525
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2526
2526
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
2527
2527
|
:param int [params.until]: timestamp in ms of the latest funding rate
|
2528
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2528
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2529
2529
|
"""
|
2530
2530
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
2531
2531
|
await self.load_markets()
|
@@ -2828,7 +2828,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
2828
2828
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
2829
2829
|
:param int [limit]: the maximum amount of trades to fetch
|
2830
2830
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
2831
|
-
:returns Trade[]: a list of `trade structures <https://
|
2831
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
2832
2832
|
"""
|
2833
2833
|
self.check_required_symbol('fetchTrades', symbol)
|
2834
2834
|
await self.load_markets()
|
@@ -3213,7 +3213,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
3213
3213
|
"""
|
3214
3214
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
3215
3215
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
3216
|
-
:returns dict: a `balance structure <https://
|
3216
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
3217
3217
|
"""
|
3218
3218
|
await self.load_markets()
|
3219
3219
|
request = {}
|
@@ -8251,7 +8251,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
8251
8251
|
see https://bybit-exchange.github.io/docs/v5/asset/coin-info
|
8252
8252
|
:param str[]|None codes: list of unified currency codes
|
8253
8253
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
8254
|
-
:returns dict: a list of `fee structures <https://
|
8254
|
+
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
8255
8255
|
"""
|
8256
8256
|
self.check_required_credentials()
|
8257
8257
|
await self.load_markets()
|
ccxt/async_support/cex.py
CHANGED
@@ -467,7 +467,7 @@ class cex(Exchange, ImplicitAPI):
|
|
467
467
|
"""
|
468
468
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
469
469
|
:param dict [params]: extra parameters specific to the cex api endpoint
|
470
|
-
:returns dict: a `balance structure <https://
|
470
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
471
471
|
"""
|
472
472
|
await self.load_markets()
|
473
473
|
response = await self.privatePostBalance(params)
|
@@ -663,7 +663,7 @@ class cex(Exchange, ImplicitAPI):
|
|
663
663
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
664
664
|
:param int [limit]: the maximum amount of trades to fetch
|
665
665
|
:param dict [params]: extra parameters specific to the cex api endpoint
|
666
|
-
:returns Trade[]: a list of `trade structures <https://
|
666
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
667
667
|
"""
|
668
668
|
await self.load_markets()
|
669
669
|
market = self.market(symbol)
|
ccxt/async_support/coinbase.py
CHANGED
@@ -1462,7 +1462,7 @@ class coinbase(Exchange, ImplicitAPI):
|
|
1462
1462
|
"""
|
1463
1463
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1464
1464
|
:param dict [params]: extra parameters specific to the coinbase api endpoint
|
1465
|
-
:returns dict: a `balance structure <https://
|
1465
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1466
1466
|
"""
|
1467
1467
|
await self.load_markets()
|
1468
1468
|
request = {
|
@@ -2531,7 +2531,7 @@ class coinbase(Exchange, ImplicitAPI):
|
|
2531
2531
|
:param int [since]: not used by coinbase fetchTrades
|
2532
2532
|
:param int [limit]: the maximum number of trade structures to fetch
|
2533
2533
|
:param dict [params]: extra parameters specific to the coinbase api endpoint
|
2534
|
-
:returns Trade[]: a list of `trade structures <https://
|
2534
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
2535
2535
|
"""
|
2536
2536
|
await self.load_markets()
|
2537
2537
|
market = self.market(symbol)
|
@@ -2656,7 +2656,7 @@ class coinbase(Exchange, ImplicitAPI):
|
|
2656
2656
|
see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getbestbidask
|
2657
2657
|
:param str[] [symbols]: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
|
2658
2658
|
:param dict [params]: extra parameters specific to the coinbase api endpoint
|
2659
|
-
:returns dict: a dictionary of `ticker structures <https://
|
2659
|
+
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
2660
2660
|
"""
|
2661
2661
|
await self.load_markets()
|
2662
2662
|
symbols = self.market_symbols(symbols)
|
@@ -488,7 +488,7 @@ class coinbasepro(Exchange, ImplicitAPI):
|
|
488
488
|
"""
|
489
489
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
490
490
|
:param dict [params]: extra parameters specific to the coinbasepro api endpoint
|
491
|
-
:returns dict: a `balance structure <https://
|
491
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
492
492
|
"""
|
493
493
|
await self.load_markets()
|
494
494
|
response = await self.privateGetAccounts(params)
|
@@ -789,7 +789,7 @@ class coinbasepro(Exchange, ImplicitAPI):
|
|
789
789
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
790
790
|
:param int [limit]: the maximum amount of trades to fetch
|
791
791
|
:param dict [params]: extra parameters specific to the coinbasepro api endpoint
|
792
|
-
:returns Trade[]: a list of `trade structures <https://
|
792
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
793
793
|
"""
|
794
794
|
await self.load_markets()
|
795
795
|
market = self.market(symbol)
|
ccxt/async_support/coincheck.py
CHANGED
@@ -187,7 +187,7 @@ class coincheck(Exchange, ImplicitAPI):
|
|
187
187
|
"""
|
188
188
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
189
189
|
:param dict [params]: extra parameters specific to the coincheck api endpoint
|
190
|
-
:returns dict: a `balance structure <https://
|
190
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
191
191
|
"""
|
192
192
|
await self.load_markets()
|
193
193
|
response = await self.privateGetAccountsBalance(params)
|
@@ -471,7 +471,7 @@ class coincheck(Exchange, ImplicitAPI):
|
|
471
471
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
472
472
|
:param int [limit]: the maximum amount of trades to fetch
|
473
473
|
:param dict [params]: extra parameters specific to the coincheck api endpoint
|
474
|
-
:returns Trade[]: a list of `trade structures <https://
|
474
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
475
475
|
"""
|
476
476
|
await self.load_markets()
|
477
477
|
market = self.market(symbol)
|
ccxt/async_support/coinex.py
CHANGED
@@ -690,9 +690,9 @@ class coinex(Exchange, ImplicitAPI):
|
|
690
690
|
'high': self.safe_string(ticker, 'high'),
|
691
691
|
'low': self.safe_string(ticker, 'low'),
|
692
692
|
'bid': self.safe_string(ticker, 'buy'),
|
693
|
-
'bidVolume':
|
693
|
+
'bidVolume': self.safe_string(ticker, 'buy_amount'),
|
694
694
|
'ask': self.safe_string(ticker, 'sell'),
|
695
|
-
'askVolume':
|
695
|
+
'askVolume': self.safe_string(ticker, 'sell_amount'),
|
696
696
|
'vwap': None,
|
697
697
|
'open': self.safe_string(ticker, 'open'),
|
698
698
|
'close': last,
|
@@ -1078,7 +1078,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
1078
1078
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1079
1079
|
:param int [limit]: the maximum amount of trades to fetch
|
1080
1080
|
:param dict [params]: extra parameters specific to the coinex api endpoint
|
1081
|
-
:returns Trade[]: a list of `trade structures <https://
|
1081
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1082
1082
|
"""
|
1083
1083
|
await self.load_markets()
|
1084
1084
|
market = self.market(symbol)
|
@@ -1453,7 +1453,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
1453
1453
|
see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures001_http016_asset_query # swap
|
1454
1454
|
:param dict [params]: extra parameters specific to the coinex api endpoint
|
1455
1455
|
:param str [params.type]: 'margin', 'swap', 'financial', or 'spot'
|
1456
|
-
:returns dict: a `balance structure <https://
|
1456
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1457
1457
|
"""
|
1458
1458
|
marketType = None
|
1459
1459
|
marketType, params = self.handle_market_type_and_params('fetchBalance', None, params)
|
@@ -3637,9 +3637,9 @@ class coinex(Exchange, ImplicitAPI):
|
|
3637
3637
|
fetches historical funding rate prices
|
3638
3638
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
3639
3639
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
3640
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
3640
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
3641
3641
|
:param dict [params]: extra parameters specific to the coinex api endpoint
|
3642
|
-
:returns dict[]: a list of `funding rate structures <https://
|
3642
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
3643
3643
|
"""
|
3644
3644
|
if symbol is None:
|
3645
3645
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
ccxt/async_support/coinfalcon.py
CHANGED
@@ -438,7 +438,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
438
438
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
439
439
|
:param int [limit]: the maximum amount of trades to fetch
|
440
440
|
:param dict [params]: extra parameters specific to the coinfalcon api endpoint
|
441
|
-
:returns Trade[]: a list of `trade structures <https://
|
441
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
442
442
|
"""
|
443
443
|
await self.load_markets()
|
444
444
|
market = self.market(symbol)
|
@@ -517,7 +517,7 @@ class coinfalcon(Exchange, ImplicitAPI):
|
|
517
517
|
"""
|
518
518
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
519
519
|
:param dict [params]: extra parameters specific to the coinfalcon api endpoint
|
520
|
-
:returns dict: a `balance structure <https://
|
520
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
521
521
|
"""
|
522
522
|
await self.load_markets()
|
523
523
|
response = await self.privateGetUserAccounts(params)
|
ccxt/async_support/coinmate.py
CHANGED
@@ -318,7 +318,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
318
318
|
"""
|
319
319
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
320
320
|
:param dict [params]: extra parameters specific to the coinmate api endpoint
|
321
|
-
:returns dict: a `balance structure <https://
|
321
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
322
322
|
"""
|
323
323
|
await self.load_markets()
|
324
324
|
response = await self.privatePostBalances(params)
|
@@ -629,7 +629,7 @@ class coinmate(Exchange, ImplicitAPI):
|
|
629
629
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
630
630
|
:param int [limit]: the maximum amount of trades to fetch
|
631
631
|
:param dict [params]: extra parameters specific to the coinmate api endpoint
|
632
|
-
:returns Trade[]: a list of `trade structures <https://
|
632
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
633
633
|
"""
|
634
634
|
await self.load_markets()
|
635
635
|
market = self.market(symbol)
|
ccxt/async_support/coinone.py
CHANGED
@@ -261,7 +261,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
261
261
|
"""
|
262
262
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
263
263
|
:param dict [params]: extra parameters specific to the coinone api endpoint
|
264
|
-
:returns dict: a `balance structure <https://
|
264
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
265
265
|
"""
|
266
266
|
await self.load_markets()
|
267
267
|
response = await self.privatePostAccountBalance(params)
|
@@ -446,7 +446,7 @@ class coinone(Exchange, ImplicitAPI):
|
|
446
446
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
447
447
|
:param int [limit]: the maximum amount of trades to fetch
|
448
448
|
:param dict [params]: extra parameters specific to the coinone api endpoint
|
449
|
-
:returns Trade[]: a list of `trade structures <https://
|
449
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
450
450
|
"""
|
451
451
|
await self.load_markets()
|
452
452
|
market = self.market(symbol)
|
ccxt/async_support/coinsph.py
CHANGED
@@ -223,6 +223,11 @@ class coinsph(Exchange, ImplicitAPI):
|
|
223
223
|
'openapi/convert/v1/get-supported-trading-pairs': 1,
|
224
224
|
'openapi/convert/v1/get-quote': 1,
|
225
225
|
'openapi/convert/v1/accpet-quote': 1,
|
226
|
+
'openapi/fiat/v1/support-channel': 1,
|
227
|
+
'openapi/fiat/v1/cash-out': 1,
|
228
|
+
'openapi/fiat/v1/history': 1,
|
229
|
+
'openapi/migration/v4/sellorder': 1,
|
230
|
+
'openapi/migration/v4/validate-field': 1,
|
226
231
|
'openapi/transfer/v3/transfers': 1,
|
227
232
|
},
|
228
233
|
'delete': {
|
@@ -817,7 +822,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
817
822
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
818
823
|
:param int [limit]: the maximum amount of trades to fetch(default 500, max 1000)
|
819
824
|
:param dict [params]: extra parameters specific to the coinsph api endpoint
|
820
|
-
:returns Trade[]: a list of `trade structures <https://
|
825
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
821
826
|
"""
|
822
827
|
await self.load_markets()
|
823
828
|
market = self.market(symbol)
|
@@ -974,7 +979,7 @@ class coinsph(Exchange, ImplicitAPI):
|
|
974
979
|
"""
|
975
980
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
976
981
|
:param dict [params]: extra parameters specific to the coinsph api endpoint
|
977
|
-
:returns dict: a `balance structure <https://
|
982
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
978
983
|
"""
|
979
984
|
await self.load_markets()
|
980
985
|
response = await self.privateGetOpenapiV1Account(params)
|
ccxt/async_support/coinspot.py
CHANGED
@@ -169,7 +169,7 @@ class coinspot(Exchange, ImplicitAPI):
|
|
169
169
|
"""
|
170
170
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
171
171
|
:param dict [params]: extra parameters specific to the coinspot api endpoint
|
172
|
-
:returns dict: a `balance structure <https://
|
172
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
173
173
|
"""
|
174
174
|
await self.load_markets()
|
175
175
|
method = self.safe_string(self.options, 'fetchBalance', 'private_post_my_balances')
|
@@ -317,7 +317,7 @@ class coinspot(Exchange, ImplicitAPI):
|
|
317
317
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
318
318
|
:param int [limit]: the maximum amount of trades to fetch
|
319
319
|
:param dict [params]: extra parameters specific to the coinspot api endpoint
|
320
|
-
:returns Trade[]: a list of `trade structures <https://
|
320
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
321
321
|
"""
|
322
322
|
await self.load_markets()
|
323
323
|
market = self.market(symbol)
|
ccxt/async_support/cryptocom.py
CHANGED
@@ -720,7 +720,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
720
720
|
:param int [limit]: the maximum number of trades to fetch
|
721
721
|
:param dict [params]: extra parameters specific to the cryptocom api endpoint
|
722
722
|
:param int [params.until]: timestamp in ms for the ending date filter, default is the current time
|
723
|
-
:returns Trade[]: a list of `trade structures <https://
|
723
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
724
724
|
"""
|
725
725
|
await self.load_markets()
|
726
726
|
market = self.market(symbol)
|
@@ -872,7 +872,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
872
872
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
873
873
|
see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-user-balance
|
874
874
|
:param dict [params]: extra parameters specific to the cryptocom api endpoint
|
875
|
-
:returns dict: a `balance structure <https://
|
875
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
876
876
|
"""
|
877
877
|
await self.load_markets()
|
878
878
|
response = await self.v1PrivatePostPrivateUserBalance(params)
|
@@ -2289,7 +2289,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2289
2289
|
see https://exchange-docs.crypto.com/spot/index.html#private-get-currency-networks
|
2290
2290
|
:param str[]|None codes: list of unified currency codes
|
2291
2291
|
:param dict [params]: extra parameters specific to the cryptocom api endpoint
|
2292
|
-
:returns dict: a list of `fee structures <https://
|
2292
|
+
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
2293
2293
|
"""
|
2294
2294
|
await self.load_markets()
|
2295
2295
|
response = await self.v2PrivatePostPrivateGetCurrencyNetworks(params)
|
@@ -2306,7 +2306,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2306
2306
|
:param int [limit]: max number of ledger entries to return
|
2307
2307
|
:param dict [params]: extra parameters specific to the cryptocom api endpoint
|
2308
2308
|
:param int [params.until]: timestamp in ms for the ending date filter, default is the current time
|
2309
|
-
:returns dict: a `ledger structure <https://
|
2309
|
+
:returns dict: a `ledger structure <https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure>`
|
2310
2310
|
"""
|
2311
2311
|
await self.load_markets()
|
2312
2312
|
request = {}
|
@@ -2602,7 +2602,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
2602
2602
|
:param int [limit]: the maximum amount of [funding rate structures] to fetch
|
2603
2603
|
:param dict [params]: extra parameters specific to the cryptocom api endpoint
|
2604
2604
|
:param int [params.until]: timestamp in ms for the ending date filter, default is the current time
|
2605
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2605
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2606
2606
|
"""
|
2607
2607
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
2608
2608
|
await self.load_markets()
|
@@ -699,7 +699,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
699
699
|
"""
|
700
700
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
701
701
|
:param dict [params]: extra parameters specific to the currencycom api endpoint
|
702
|
-
:returns dict: a `balance structure <https://
|
702
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
703
703
|
"""
|
704
704
|
await self.load_markets()
|
705
705
|
response = await self.privateGetV2Account(params)
|
@@ -1045,7 +1045,7 @@ class currencycom(Exchange, ImplicitAPI):
|
|
1045
1045
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1046
1046
|
:param int [limit]: the maximum amount of trades to fetch
|
1047
1047
|
:param dict [params]: extra parameters specific to the currencycom api endpoint
|
1048
|
-
:returns Trade[]: a list of `trade structures <https://
|
1048
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1049
1049
|
"""
|
1050
1050
|
await self.load_markets()
|
1051
1051
|
market = self.market(symbol)
|
ccxt/async_support/delta.py
CHANGED
@@ -1378,7 +1378,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1378
1378
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1379
1379
|
:param int [limit]: the maximum amount of trades to fetch
|
1380
1380
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
1381
|
-
:returns Trade[]: a list of `trade structures <https://
|
1381
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1382
1382
|
"""
|
1383
1383
|
await self.load_markets()
|
1384
1384
|
market = self.market(symbol)
|
@@ -1492,7 +1492,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1492
1492
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1493
1493
|
see https://docs.delta.exchange/#get-wallet-balances
|
1494
1494
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
1495
|
-
:returns dict: a `balance structure <https://
|
1495
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1496
1496
|
"""
|
1497
1497
|
await self.load_markets()
|
1498
1498
|
response = await self.privateGetWalletBalances(params)
|
ccxt/async_support/deribit.py
CHANGED
@@ -825,7 +825,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
825
825
|
"""
|
826
826
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
827
827
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
828
|
-
:returns dict: a `balance structure <https://
|
828
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
829
829
|
"""
|
830
830
|
await self.load_markets()
|
831
831
|
code = self.code_from_options('fetchBalance', params)
|
@@ -1274,7 +1274,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
1274
1274
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1275
1275
|
:param int [limit]: the maximum amount of trades to fetch
|
1276
1276
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
1277
|
-
:returns Trade[]: a list of `trade structures <https://
|
1277
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1278
1278
|
"""
|
1279
1279
|
await self.load_markets()
|
1280
1280
|
market = self.market(symbol)
|
@@ -2622,7 +2622,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
2622
2622
|
see https://docs.deribit.com/#public-get_currencies
|
2623
2623
|
:param str[]|None codes: list of unified currency codes
|
2624
2624
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
2625
|
-
:returns dict: a list of `fee structures <https://
|
2625
|
+
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
2626
2626
|
"""
|
2627
2627
|
await self.load_markets()
|
2628
2628
|
response = await self.publicGetGetCurrencies(params)
|
ccxt/async_support/digifinex.py
CHANGED
@@ -783,7 +783,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
783
783
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-assets
|
784
784
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#accountbalance
|
785
785
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
786
|
-
:returns dict: a `balance structure <https://
|
786
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
787
787
|
"""
|
788
788
|
await self.load_markets()
|
789
789
|
marketType = None
|
@@ -1312,7 +1312,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1312
1312
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1313
1313
|
:param int [limit]: the maximum amount of trades to fetch
|
1314
1314
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
1315
|
-
:returns Trade[]: a list of `trade structures <https://
|
1315
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1316
1316
|
"""
|
1317
1317
|
await self.load_markets()
|
1318
1318
|
market = self.market(symbol)
|
@@ -2824,9 +2824,9 @@ class digifinex(Exchange, ImplicitAPI):
|
|
2824
2824
|
fetches historical funding rate prices
|
2825
2825
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2826
2826
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2827
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2827
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2828
2828
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
2829
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2829
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2830
2830
|
"""
|
2831
2831
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
2832
2832
|
await self.load_markets()
|
ccxt/async_support/exmo.py
CHANGED
@@ -850,7 +850,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
850
850
|
"""
|
851
851
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
852
852
|
:param dict [params]: extra parameters specific to the exmo api endpoint
|
853
|
-
:returns dict: a `balance structure <https://
|
853
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
854
854
|
"""
|
855
855
|
await self.load_markets()
|
856
856
|
response = await self.privatePostUserInfo(params)
|
@@ -1085,7 +1085,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
1085
1085
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1086
1086
|
:param int [limit]: the maximum amount of trades to fetch
|
1087
1087
|
:param dict [params]: extra parameters specific to the exmo api endpoint
|
1088
|
-
:returns Trade[]: a list of `trade structures <https://
|
1088
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1089
1089
|
"""
|
1090
1090
|
await self.load_markets()
|
1091
1091
|
market = self.market(symbol)
|
ccxt/async_support/gate.py
CHANGED
@@ -298,6 +298,29 @@ class gate(Exchange, ImplicitAPI):
|
|
298
298
|
'sub_accounts/{user_id}/keys/{key}': 1,
|
299
299
|
},
|
300
300
|
},
|
301
|
+
'portfolio': {
|
302
|
+
'get': {
|
303
|
+
'accounts': 1.5,
|
304
|
+
'account_mode': 1.5,
|
305
|
+
'borrowable': 1.5,
|
306
|
+
'transferable': 1.5,
|
307
|
+
'loans': 1.5,
|
308
|
+
'loan_records': 1.5,
|
309
|
+
'interest_records': 1.5,
|
310
|
+
'spot/orders': 1.5,
|
311
|
+
'spot/orders/{order_id}': 1.5,
|
312
|
+
},
|
313
|
+
'post': {
|
314
|
+
'loans': 1.5,
|
315
|
+
'spot/orders': 1.5,
|
316
|
+
},
|
317
|
+
'delete': {
|
318
|
+
'spot/orders/{order_id}': 1.5,
|
319
|
+
},
|
320
|
+
'patch': {
|
321
|
+
'spot/orders/{order_id}': 1.5,
|
322
|
+
},
|
323
|
+
},
|
301
324
|
'spot': {
|
302
325
|
'get': {
|
303
326
|
'fee': 1,
|
@@ -491,6 +514,22 @@ class gate(Exchange, ImplicitAPI):
|
|
491
514
|
'uni/lends': 1.5,
|
492
515
|
},
|
493
516
|
},
|
517
|
+
'loan': {
|
518
|
+
'get': {
|
519
|
+
'collateral/orders': 1.5,
|
520
|
+
'collateral/orders/{order_id}': 1.5,
|
521
|
+
'collateral/repay_records': 1.5,
|
522
|
+
'collateral/collaterals': 1.5,
|
523
|
+
'collateral/total_amount': 1.5,
|
524
|
+
'collateral/ltv': 1.5,
|
525
|
+
'collateral/currencies': 1.5,
|
526
|
+
},
|
527
|
+
'post': {
|
528
|
+
'collateral/orders': 1.5,
|
529
|
+
'collateral/repay': 1.5,
|
530
|
+
'collateral/collaterals': 1.5,
|
531
|
+
},
|
532
|
+
},
|
494
533
|
'account': {
|
495
534
|
'get': {
|
496
535
|
'detail': 1.5,
|
@@ -501,6 +540,9 @@ class gate(Exchange, ImplicitAPI):
|
|
501
540
|
'stp_groups': 1.5,
|
502
541
|
'stp_groups/{stp_id}/users': 1.5,
|
503
542
|
},
|
543
|
+
'delete': {
|
544
|
+
'stp_groups/{stp_id}/users': 1.5,
|
545
|
+
},
|
504
546
|
},
|
505
547
|
'rebate': {
|
506
548
|
'get': {
|
@@ -2743,9 +2785,9 @@ class gate(Exchange, ImplicitAPI):
|
|
2743
2785
|
fetches historical funding rate prices
|
2744
2786
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2745
2787
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2746
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2788
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2747
2789
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2748
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2790
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2749
2791
|
"""
|
2750
2792
|
if symbol is None:
|
2751
2793
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
@@ -2830,7 +2872,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2830
2872
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
2831
2873
|
:param int [limit]: the maximum amount of trades to fetch
|
2832
2874
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2833
|
-
:returns Trade[]: a list of `trade structures <https://
|
2875
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
2834
2876
|
"""
|
2835
2877
|
await self.load_markets()
|
2836
2878
|
market = self.market(symbol)
|
@@ -4648,7 +4690,7 @@ class gate(Exchange, ImplicitAPI):
|
|
4648
4690
|
see https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
|
4649
4691
|
:param str symbol: unified market symbol of the market the position is held in
|
4650
4692
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
4651
|
-
:returns dict: a `position structure <https://
|
4693
|
+
:returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
4652
4694
|
"""
|
4653
4695
|
await self.load_markets()
|
4654
4696
|
market = self.market(symbol)
|
ccxt/async_support/gemini.py
CHANGED
@@ -912,7 +912,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
912
912
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
913
913
|
:param int [limit]: the maximum amount of trades to fetch
|
914
914
|
:param dict [params]: extra parameters specific to the gemini api endpoint
|
915
|
-
:returns Trade[]: a list of `trade structures <https://
|
915
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
916
916
|
"""
|
917
917
|
await self.load_markets()
|
918
918
|
market = self.market(symbol)
|
@@ -1010,7 +1010,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1010
1010
|
"""
|
1011
1011
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1012
1012
|
:param dict [params]: extra parameters specific to the gemini api endpoint
|
1013
|
-
:returns dict: a `balance structure <https://
|
1013
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1014
1014
|
"""
|
1015
1015
|
await self.load_markets()
|
1016
1016
|
response = await self.privatePostV1Balances(params)
|
@@ -1559,7 +1559,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1559
1559
|
:param str code: unified currency code
|
1560
1560
|
:param dict [params]: extra parameters specific to the endpoint
|
1561
1561
|
:param str [params.network]: *required* The chain of currency
|
1562
|
-
:returns dict: an `address structure <https://
|
1562
|
+
:returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
|
1563
1563
|
"""
|
1564
1564
|
await self.load_markets()
|
1565
1565
|
groupedByNetwork = await self.fetch_deposit_addresses_by_network(code, params)
|
ccxt/async_support/hitbtc.py
CHANGED
@@ -945,7 +945,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
945
945
|
"""
|
946
946
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
947
947
|
:param dict [params]: extra parameters specific to the hitbtc api endpoint
|
948
|
-
:returns dict: a `balance structure <https://
|
948
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
949
949
|
"""
|
950
950
|
type = self.safe_string_lower(params, 'type', 'spot')
|
951
951
|
params = self.omit(params, ['type'])
|
@@ -1074,7 +1074,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
1074
1074
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1075
1075
|
:param int [limit]: the maximum amount of trades to fetch
|
1076
1076
|
:param dict [params]: extra parameters specific to the hitbtc api endpoint
|
1077
|
-
:returns Trade[]: a list of `trade structures <https://
|
1077
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1078
1078
|
"""
|
1079
1079
|
await self.load_markets()
|
1080
1080
|
market = None
|
@@ -2254,9 +2254,9 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
2254
2254
|
fetches historical funding rate prices
|
2255
2255
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2256
2256
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2257
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2257
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2258
2258
|
:param dict [params]: extra parameters specific to the hitbtc api endpoint
|
2259
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2259
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2260
2260
|
"""
|
2261
2261
|
await self.load_markets()
|
2262
2262
|
market = None
|