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/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
|
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
|
self.load_markets()
|
878
878
|
response = 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
|
self.load_markets()
|
2295
2295
|
response = 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
|
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
|
self.load_markets()
|
ccxt/currencycom.py
CHANGED
@@ -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
|
self.load_markets()
|
705
705
|
response = 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
|
self.load_markets()
|
1051
1051
|
market = self.market(symbol)
|
ccxt/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
|
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
|
self.load_markets()
|
1498
1498
|
response = self.privateGetWalletBalances(params)
|
ccxt/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
|
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
|
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
|
self.load_markets()
|
2628
2628
|
response = self.publicGetGetCurrencies(params)
|
ccxt/digifinex.py
CHANGED
@@ -782,7 +782,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
782
782
|
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-assets
|
783
783
|
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#accountbalance
|
784
784
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
785
|
-
:returns dict: a `balance structure <https://
|
785
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
786
786
|
"""
|
787
787
|
self.load_markets()
|
788
788
|
marketType = None
|
@@ -1311,7 +1311,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1311
1311
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1312
1312
|
:param int [limit]: the maximum amount of trades to fetch
|
1313
1313
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
1314
|
-
:returns Trade[]: a list of `trade structures <https://
|
1314
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1315
1315
|
"""
|
1316
1316
|
self.load_markets()
|
1317
1317
|
market = self.market(symbol)
|
@@ -2823,9 +2823,9 @@ class digifinex(Exchange, ImplicitAPI):
|
|
2823
2823
|
fetches historical funding rate prices
|
2824
2824
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2825
2825
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2826
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2826
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2827
2827
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
2828
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2828
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2829
2829
|
"""
|
2830
2830
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
2831
2831
|
self.load_markets()
|
ccxt/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
|
self.load_markets()
|
856
856
|
response = 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
|
self.load_markets()
|
1091
1091
|
market = self.market(symbol)
|
ccxt/gate.py
CHANGED
@@ -297,6 +297,29 @@ class gate(Exchange, ImplicitAPI):
|
|
297
297
|
'sub_accounts/{user_id}/keys/{key}': 1,
|
298
298
|
},
|
299
299
|
},
|
300
|
+
'portfolio': {
|
301
|
+
'get': {
|
302
|
+
'accounts': 1.5,
|
303
|
+
'account_mode': 1.5,
|
304
|
+
'borrowable': 1.5,
|
305
|
+
'transferable': 1.5,
|
306
|
+
'loans': 1.5,
|
307
|
+
'loan_records': 1.5,
|
308
|
+
'interest_records': 1.5,
|
309
|
+
'spot/orders': 1.5,
|
310
|
+
'spot/orders/{order_id}': 1.5,
|
311
|
+
},
|
312
|
+
'post': {
|
313
|
+
'loans': 1.5,
|
314
|
+
'spot/orders': 1.5,
|
315
|
+
},
|
316
|
+
'delete': {
|
317
|
+
'spot/orders/{order_id}': 1.5,
|
318
|
+
},
|
319
|
+
'patch': {
|
320
|
+
'spot/orders/{order_id}': 1.5,
|
321
|
+
},
|
322
|
+
},
|
300
323
|
'spot': {
|
301
324
|
'get': {
|
302
325
|
'fee': 1,
|
@@ -490,6 +513,22 @@ class gate(Exchange, ImplicitAPI):
|
|
490
513
|
'uni/lends': 1.5,
|
491
514
|
},
|
492
515
|
},
|
516
|
+
'loan': {
|
517
|
+
'get': {
|
518
|
+
'collateral/orders': 1.5,
|
519
|
+
'collateral/orders/{order_id}': 1.5,
|
520
|
+
'collateral/repay_records': 1.5,
|
521
|
+
'collateral/collaterals': 1.5,
|
522
|
+
'collateral/total_amount': 1.5,
|
523
|
+
'collateral/ltv': 1.5,
|
524
|
+
'collateral/currencies': 1.5,
|
525
|
+
},
|
526
|
+
'post': {
|
527
|
+
'collateral/orders': 1.5,
|
528
|
+
'collateral/repay': 1.5,
|
529
|
+
'collateral/collaterals': 1.5,
|
530
|
+
},
|
531
|
+
},
|
493
532
|
'account': {
|
494
533
|
'get': {
|
495
534
|
'detail': 1.5,
|
@@ -500,6 +539,9 @@ class gate(Exchange, ImplicitAPI):
|
|
500
539
|
'stp_groups': 1.5,
|
501
540
|
'stp_groups/{stp_id}/users': 1.5,
|
502
541
|
},
|
542
|
+
'delete': {
|
543
|
+
'stp_groups/{stp_id}/users': 1.5,
|
544
|
+
},
|
503
545
|
},
|
504
546
|
'rebate': {
|
505
547
|
'get': {
|
@@ -2742,9 +2784,9 @@ class gate(Exchange, ImplicitAPI):
|
|
2742
2784
|
fetches historical funding rate prices
|
2743
2785
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2744
2786
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
2745
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2787
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2746
2788
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2747
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2789
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2748
2790
|
"""
|
2749
2791
|
if symbol is None:
|
2750
2792
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
@@ -2829,7 +2871,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2829
2871
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
2830
2872
|
:param int [limit]: the maximum amount of trades to fetch
|
2831
2873
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2832
|
-
:returns Trade[]: a list of `trade structures <https://
|
2874
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
2833
2875
|
"""
|
2834
2876
|
self.load_markets()
|
2835
2877
|
market = self.market(symbol)
|
@@ -4647,7 +4689,7 @@ class gate(Exchange, ImplicitAPI):
|
|
4647
4689
|
see https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
|
4648
4690
|
:param str symbol: unified market symbol of the market the position is held in
|
4649
4691
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
4650
|
-
:returns dict: a `position structure <https://
|
4692
|
+
:returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
4651
4693
|
"""
|
4652
4694
|
self.load_markets()
|
4653
4695
|
market = self.market(symbol)
|
ccxt/gemini.py
CHANGED
@@ -911,7 +911,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
911
911
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
912
912
|
:param int [limit]: the maximum amount of trades to fetch
|
913
913
|
:param dict [params]: extra parameters specific to the gemini api endpoint
|
914
|
-
:returns Trade[]: a list of `trade structures <https://
|
914
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
915
915
|
"""
|
916
916
|
self.load_markets()
|
917
917
|
market = self.market(symbol)
|
@@ -1009,7 +1009,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1009
1009
|
"""
|
1010
1010
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1011
1011
|
:param dict [params]: extra parameters specific to the gemini api endpoint
|
1012
|
-
:returns dict: a `balance structure <https://
|
1012
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1013
1013
|
"""
|
1014
1014
|
self.load_markets()
|
1015
1015
|
response = self.privatePostV1Balances(params)
|
@@ -1558,7 +1558,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1558
1558
|
:param str code: unified currency code
|
1559
1559
|
:param dict [params]: extra parameters specific to the endpoint
|
1560
1560
|
:param str [params.network]: *required* The chain of currency
|
1561
|
-
:returns dict: an `address structure <https://
|
1561
|
+
:returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
|
1562
1562
|
"""
|
1563
1563
|
self.load_markets()
|
1564
1564
|
groupedByNetwork = self.fetch_deposit_addresses_by_network(code, params)
|
ccxt/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
|
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
|
self.load_markets()
|
2262
2262
|
market = None
|
ccxt/hollaex.py
CHANGED
@@ -591,7 +591,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
591
591
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
592
592
|
:param int [limit]: the maximum amount of trades to fetch
|
593
593
|
:param dict [params]: extra parameters specific to the hollaex api endpoint
|
594
|
-
:returns Trade[]: a list of `trade structures <https://
|
594
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
595
595
|
"""
|
596
596
|
self.load_markets()
|
597
597
|
market = self.market(symbol)
|
@@ -815,7 +815,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
815
815
|
"""
|
816
816
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
817
817
|
:param dict [params]: extra parameters specific to the hollaex api endpoint
|
818
|
-
:returns dict: a `balance structure <https://
|
818
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
819
819
|
"""
|
820
820
|
self.load_markets()
|
821
821
|
response = self.privateGetUserBalance(params)
|
@@ -1688,7 +1688,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1688
1688
|
see https://apidocs.hollaex.com/#constants
|
1689
1689
|
:param str[]|None codes: list of unified currency codes
|
1690
1690
|
:param dict [params]: extra parameters specific to the hollaex api endpoint
|
1691
|
-
:returns dict: a list of `fee structures <https://
|
1691
|
+
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
1692
1692
|
"""
|
1693
1693
|
response = self.publicGetConstants(params)
|
1694
1694
|
#
|
ccxt/huobi.py
CHANGED
@@ -2419,7 +2419,7 @@ class huobi(Exchange, ImplicitAPI):
|
|
2419
2419
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
2420
2420
|
:param int [limit]: the maximum amount of trades to fetch
|
2421
2421
|
:param dict [params]: extra parameters specific to the huobi api endpoint
|
2422
|
-
:returns Trade[]: a list of `trade structures <https://
|
2422
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
2423
2423
|
"""
|
2424
2424
|
self.load_markets()
|
2425
2425
|
market = self.market(symbol)
|
@@ -2821,7 +2821,7 @@ class huobi(Exchange, ImplicitAPI):
|
|
2821
2821
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
2822
2822
|
:param dict [params]: extra parameters specific to the huobi api endpoint
|
2823
2823
|
:param bool [params.unified]: provide self parameter if you have a recent account with unified cross+isolated margin account
|
2824
|
-
:returns dict: a `balance structure <https://
|
2824
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
2825
2825
|
"""
|
2826
2826
|
self.load_markets()
|
2827
2827
|
type = None
|
@@ -4323,7 +4323,7 @@ class huobi(Exchange, ImplicitAPI):
|
|
4323
4323
|
:param float amount: how much of currency you want to trade in units of base currency
|
4324
4324
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
4325
4325
|
:param dict params: extra parameters specific to the huobi api endpoint
|
4326
|
-
:returns dict: an `order structure <https://
|
4326
|
+
:returns dict: an `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
4327
4327
|
"""
|
4328
4328
|
self.load_markets()
|
4329
4329
|
self.load_accounts()
|
@@ -4442,7 +4442,7 @@ class huobi(Exchange, ImplicitAPI):
|
|
4442
4442
|
:param float amount: how much of currency you want to trade in units of base currency
|
4443
4443
|
:param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
4444
4444
|
:param dict params: extra parameters specific to the huobi api endpoint
|
4445
|
-
:returns dict: an `order structure <https://
|
4445
|
+
:returns dict: an `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
4446
4446
|
"""
|
4447
4447
|
market = self.market(symbol)
|
4448
4448
|
request = {
|
@@ -5528,7 +5528,7 @@ class huobi(Exchange, ImplicitAPI):
|
|
5528
5528
|
:param int [since]: not used by huobi, but filtered internally by ccxt
|
5529
5529
|
:param int [limit]: not used by huobi, but filtered internally by ccxt
|
5530
5530
|
:param dict [params]: extra parameters specific to the huobi api endpoint
|
5531
|
-
:returns dict[]: a list of `funding rate structures <https://
|
5531
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
5532
5532
|
"""
|
5533
5533
|
self.check_required_symbol('fetchFundingRateHistory', symbol)
|
5534
5534
|
self.load_markets()
|
ccxt/huobijp.py
CHANGED
@@ -842,7 +842,7 @@ class huobijp(Exchange, ImplicitAPI):
|
|
842
842
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
843
843
|
:param int [limit]: the maximum amount of trades to fetch
|
844
844
|
:param dict [params]: extra parameters specific to the huobijp api endpoint
|
845
|
-
:returns Trade[]: a list of `trade structures <https://
|
845
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
846
846
|
"""
|
847
847
|
self.load_markets()
|
848
848
|
market = self.market(symbol)
|
@@ -1070,7 +1070,7 @@ class huobijp(Exchange, ImplicitAPI):
|
|
1070
1070
|
"""
|
1071
1071
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1072
1072
|
:param dict [params]: extra parameters specific to the huobijp api endpoint
|
1073
|
-
:returns dict: a `balance structure <https://
|
1073
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1074
1074
|
"""
|
1075
1075
|
self.load_markets()
|
1076
1076
|
self.load_accounts()
|
ccxt/idex.py
CHANGED
@@ -494,7 +494,7 @@ class idex(Exchange, ImplicitAPI):
|
|
494
494
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
495
495
|
:param int [limit]: the maximum amount of trades to fetch
|
496
496
|
:param dict [params]: extra parameters specific to the idex api endpoint
|
497
|
-
:returns Trade[]: a list of `trade structures <https://
|
497
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
498
498
|
"""
|
499
499
|
self.load_markets()
|
500
500
|
market = self.market(symbol)
|
@@ -761,7 +761,7 @@ class idex(Exchange, ImplicitAPI):
|
|
761
761
|
"""
|
762
762
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
763
763
|
:param dict [params]: extra parameters specific to the idex api endpoint
|
764
|
-
:returns dict: a `balance structure <https://
|
764
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
765
765
|
"""
|
766
766
|
self.check_required_credentials()
|
767
767
|
self.load_markets()
|
ccxt/independentreserve.py
CHANGED
@@ -232,7 +232,7 @@ class independentreserve(Exchange, ImplicitAPI):
|
|
232
232
|
"""
|
233
233
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
234
234
|
:param dict [params]: extra parameters specific to the independentreserve api endpoint
|
235
|
-
:returns dict: a `balance structure <https://
|
235
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
236
236
|
"""
|
237
237
|
self.load_markets()
|
238
238
|
response = self.privatePostGetAccounts(params)
|
@@ -568,7 +568,7 @@ class independentreserve(Exchange, ImplicitAPI):
|
|
568
568
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
569
569
|
:param int [limit]: the maximum amount of trades to fetch
|
570
570
|
:param dict [params]: extra parameters specific to the independentreserve api endpoint
|
571
|
-
:returns Trade[]: a list of `trade structures <https://
|
571
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
572
572
|
"""
|
573
573
|
self.load_markets()
|
574
574
|
market = self.market(symbol)
|
ccxt/indodax.py
CHANGED
@@ -313,7 +313,7 @@ class indodax(Exchange, ImplicitAPI):
|
|
313
313
|
"""
|
314
314
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
315
315
|
:param dict [params]: extra parameters specific to the indodax api endpoint
|
316
|
-
:returns dict: a `balance structure <https://
|
316
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
317
317
|
"""
|
318
318
|
self.load_markets()
|
319
319
|
response = self.privatePostGetInfo(params)
|
@@ -490,7 +490,7 @@ class indodax(Exchange, ImplicitAPI):
|
|
490
490
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
491
491
|
:param int [limit]: the maximum amount of trades to fetch
|
492
492
|
:param dict [params]: extra parameters specific to the indodax api endpoint
|
493
|
-
:returns Trade[]: a list of `trade structures <https://
|
493
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
494
494
|
"""
|
495
495
|
self.load_markets()
|
496
496
|
market = self.market(symbol)
|
ccxt/kraken.py
CHANGED
@@ -1108,7 +1108,7 @@ class kraken(Exchange, ImplicitAPI):
|
|
1108
1108
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1109
1109
|
:param int [limit]: the maximum amount of trades to fetch
|
1110
1110
|
:param dict [params]: extra parameters specific to the kraken api endpoint
|
1111
|
-
:returns Trade[]: a list of `trade structures <https://
|
1111
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1112
1112
|
"""
|
1113
1113
|
self.load_markets()
|
1114
1114
|
market = self.market(symbol)
|
@@ -1171,7 +1171,7 @@ class kraken(Exchange, ImplicitAPI):
|
|
1171
1171
|
"""
|
1172
1172
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1173
1173
|
:param dict [params]: extra parameters specific to the kraken api endpoint
|
1174
|
-
:returns dict: a `balance structure <https://
|
1174
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1175
1175
|
"""
|
1176
1176
|
self.load_markets()
|
1177
1177
|
response = self.privatePostBalance(params)
|
ccxt/kucoin.py
CHANGED
@@ -1169,7 +1169,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
1169
1169
|
see https://docs.kucoin.com/#get-withdrawal-quotas
|
1170
1170
|
:param str code: unified currency code
|
1171
1171
|
:param dict params: extra parameters specific to the kucoin api endpoint
|
1172
|
-
:returns dict: a `fee structure <https://
|
1172
|
+
:returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
1173
1173
|
"""
|
1174
1174
|
self.load_markets()
|
1175
1175
|
currency = self.currency(code)
|
@@ -2441,7 +2441,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
2441
2441
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
2442
2442
|
:param int [limit]: the maximum amount of trades to fetch
|
2443
2443
|
:param dict [params]: extra parameters specific to the kucoin api endpoint
|
2444
|
-
:returns Trade[]: a list of `trade structures <https://
|
2444
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
2445
2445
|
"""
|
2446
2446
|
self.load_markets()
|
2447
2447
|
market = self.market(symbol)
|
@@ -2946,7 +2946,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
2946
2946
|
:param dict [params]: extra parameters specific to the kucoin api endpoint
|
2947
2947
|
:param dict [params.marginMode]: 'cross' or 'isolated', margin type for fetching margin balance
|
2948
2948
|
:param dict [params.type]: extra parameters specific to the kucoin api endpoint
|
2949
|
-
:returns dict: a `balance structure <https://
|
2949
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
2950
2950
|
"""
|
2951
2951
|
self.load_markets()
|
2952
2952
|
code = self.safe_string(params, 'code')
|
@@ -3766,7 +3766,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
3766
3766
|
see https://docs.kucoin.com/#get-currencies
|
3767
3767
|
:param str[]|None codes: list of unified currency codes
|
3768
3768
|
:param dict [params]: extra parameters specific to the kucoin api endpoint
|
3769
|
-
:returns dict: a list of `fee structures <https://
|
3769
|
+
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
3770
3770
|
"""
|
3771
3771
|
self.load_markets()
|
3772
3772
|
response = self.publicGetCurrencies(params)
|
ccxt/kucoinfutures.py
CHANGED
@@ -843,7 +843,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
843
843
|
fetch data on an open position
|
844
844
|
:param str symbol: unified market symbol of the market the position is held in
|
845
845
|
:param dict [params]: extra parameters specific to the kucoinfutures api endpoint
|
846
|
-
:returns dict: a `position structure <https://
|
846
|
+
:returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
847
847
|
"""
|
848
848
|
self.load_markets()
|
849
849
|
market = self.market(symbol)
|
@@ -1709,7 +1709,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
1709
1709
|
"""
|
1710
1710
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1711
1711
|
:param dict [params]: extra parameters specific to the kucoinfutures api endpoint
|
1712
|
-
:returns dict: a `balance structure <https://
|
1712
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1713
1713
|
"""
|
1714
1714
|
self.load_markets()
|
1715
1715
|
# only fetches one balance at a time
|
@@ -1871,7 +1871,7 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
1871
1871
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1872
1872
|
:param int [limit]: the maximum amount of trades to fetch
|
1873
1873
|
:param dict [params]: extra parameters specific to the kucoinfutures api endpoint
|
1874
|
-
:returns Trade[]: a list of `trade structures <https://
|
1874
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
1875
1875
|
"""
|
1876
1876
|
self.load_markets()
|
1877
1877
|
market = self.market(symbol)
|
@@ -2198,9 +2198,9 @@ class kucoinfutures(kucoin, ImplicitAPI):
|
|
2198
2198
|
fetches historical funding rate prices
|
2199
2199
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2200
2200
|
:param int [since]: not used by kucuoinfutures
|
2201
|
-
:param int [limit]: the maximum amount of `funding rate structures <https://
|
2201
|
+
:param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
|
2202
2202
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
2203
|
-
:returns dict[]: a list of `funding rate structures <https://
|
2203
|
+
:returns dict[]: a list of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>`
|
2204
2204
|
"""
|
2205
2205
|
if symbol is None:
|
2206
2206
|
raise ArgumentsRequired(self.id + ' fetchFundingRateHistory() requires a symbol argument')
|
ccxt/kuna.py
CHANGED
@@ -502,7 +502,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
502
502
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
503
503
|
:param int [limit]: the maximum amount of trades to fetch
|
504
504
|
:param dict [params]: extra parameters specific to the kuna api endpoint
|
505
|
-
:returns Trade[]: a list of `trade structures <https://
|
505
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
506
506
|
"""
|
507
507
|
self.load_markets()
|
508
508
|
market = self.market(symbol)
|
@@ -630,7 +630,7 @@ class kuna(Exchange, ImplicitAPI):
|
|
630
630
|
"""
|
631
631
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
632
632
|
:param dict [params]: extra parameters specific to the kuna api endpoint
|
633
|
-
:returns dict: a `balance structure <https://
|
633
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
634
634
|
"""
|
635
635
|
self.load_markets()
|
636
636
|
response = self.privateGetMembersMe(params)
|
ccxt/latoken.py
CHANGED
@@ -471,7 +471,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
471
471
|
"""
|
472
472
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
473
473
|
:param dict [params]: extra parameters specific to the latoken api endpoint
|
474
|
-
:returns dict: a `balance structure <https://
|
474
|
+
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
475
475
|
"""
|
476
476
|
self.load_markets()
|
477
477
|
response = self.privateGetAuthAccount(params)
|
@@ -744,7 +744,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
744
744
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
745
745
|
:param int [limit]: the maximum amount of trades to fetch
|
746
746
|
:param dict [params]: extra parameters specific to the latoken api endpoint
|
747
|
-
:returns Trade[]: a list of `trade structures <https://
|
747
|
+
:returns Trade[]: a list of `trade structures <https://github.com/ccxt/ccxt/wiki/Manual#public-trades>`
|
748
748
|
"""
|
749
749
|
self.load_markets()
|
750
750
|
market = self.market(symbol)
|