ccxt 4.0.75 → 4.0.77
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.
- package/README.md +3 -3
- package/dist/ccxt.browser.js +659 -461
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +2 -2
- package/dist/cjs/src/alpaca.js +1 -1
- package/dist/cjs/src/ascendex.js +3 -3
- package/dist/cjs/src/base/Exchange.js +2 -2
- package/dist/cjs/src/bigone.js +2 -2
- package/dist/cjs/src/binance.js +5 -5
- package/dist/cjs/src/bingx.js +83 -23
- package/dist/cjs/src/bit2c.js +2 -2
- package/dist/cjs/src/bitbank.js +2 -2
- package/dist/cjs/src/bitbns.js +2 -2
- package/dist/cjs/src/bitfinex.js +2 -2
- package/dist/cjs/src/bitfinex2.js +4 -4
- package/dist/cjs/src/bitflyer.js +2 -2
- package/dist/cjs/src/bitforex.js +2 -2
- package/dist/cjs/src/bitget.js +5 -5
- package/dist/cjs/src/bithumb.js +2 -2
- package/dist/cjs/src/bitmart.js +2 -2
- package/dist/cjs/src/bitmex.js +5 -5
- package/dist/cjs/src/bitopro.js +3 -3
- package/dist/cjs/src/bitpanda.js +2 -2
- package/dist/cjs/src/bitrue.js +3 -3
- package/dist/cjs/src/bitso.js +2 -2
- package/dist/cjs/src/bitstamp.js +2 -2
- package/dist/cjs/src/bitstamp1.js +2 -2
- package/dist/cjs/src/bittrex.js +3 -3
- package/dist/cjs/src/bitvavo.js +3 -3
- package/dist/cjs/src/bkex.js +4 -4
- package/dist/cjs/src/bl3p.js +2 -2
- package/dist/cjs/src/blockchaincom.js +1 -1
- package/dist/cjs/src/btcalpha.js +2 -2
- package/dist/cjs/src/btcbox.js +2 -2
- package/dist/cjs/src/btcmarkets.js +2 -2
- package/dist/cjs/src/btctradeua.js +2 -2
- package/dist/cjs/src/btcturk.js +2 -2
- package/dist/cjs/src/bybit.js +5 -5
- package/dist/cjs/src/cex.js +2 -2
- package/dist/cjs/src/coinbase.js +3 -3
- package/dist/cjs/src/coinbasepro.js +2 -2
- package/dist/cjs/src/coincheck.js +2 -2
- package/dist/cjs/src/coinex.js +6 -6
- package/dist/cjs/src/coinfalcon.js +2 -2
- package/dist/cjs/src/coinmate.js +2 -2
- package/dist/cjs/src/coinone.js +2 -2
- package/dist/cjs/src/coinsph.js +7 -2
- package/dist/cjs/src/coinspot.js +2 -2
- package/dist/cjs/src/cryptocom.js +5 -5
- package/dist/cjs/src/currencycom.js +2 -2
- package/dist/cjs/src/delta.js +2 -2
- package/dist/cjs/src/deribit.js +3 -3
- package/dist/cjs/src/digifinex.js +4 -4
- package/dist/cjs/src/exmo.js +2 -2
- package/dist/cjs/src/gate.js +46 -4
- package/dist/cjs/src/gemini.js +3 -3
- package/dist/cjs/src/hitbtc.js +4 -4
- package/dist/cjs/src/hollaex.js +3 -3
- package/dist/cjs/src/huobi.js +5 -5
- package/dist/cjs/src/huobijp.js +2 -2
- package/dist/cjs/src/idex.js +2 -2
- package/dist/cjs/src/independentreserve.js +2 -2
- package/dist/cjs/src/indodax.js +2 -2
- package/dist/cjs/src/kraken.js +2 -2
- package/dist/cjs/src/kucoin.js +4 -4
- package/dist/cjs/src/kucoinfutures.js +5 -5
- package/dist/cjs/src/kuna.js +2 -2
- package/dist/cjs/src/latoken.js +2 -2
- package/dist/cjs/src/lbank.js +2 -2
- package/dist/cjs/src/lbank2.js +2 -2
- package/dist/cjs/src/luno.js +2 -2
- package/dist/cjs/src/lykke.js +2 -2
- package/dist/cjs/src/mercado.js +2 -2
- package/dist/cjs/src/mexc.js +6 -4
- package/dist/cjs/src/ndax.js +2 -2
- package/dist/cjs/src/novadax.js +2 -2
- package/dist/cjs/src/oceanex.js +2 -2
- package/dist/cjs/src/okcoin.js +2 -2
- package/dist/cjs/src/okx.js +4 -4
- package/dist/cjs/src/paymium.js +2 -2
- package/dist/cjs/src/phemex.js +2 -2
- package/dist/cjs/src/poloniex.js +165 -81
- package/dist/cjs/src/poloniexfutures.js +2 -2
- package/dist/cjs/src/pro/ascendex.js +2 -2
- package/dist/cjs/src/pro/binance.js +6 -6
- package/dist/cjs/src/pro/bitfinex.js +1 -1
- package/dist/cjs/src/pro/bitfinex2.js +2 -2
- package/dist/cjs/src/pro/bitget.js +2 -2
- package/dist/cjs/src/pro/bitmart.js +1 -1
- package/dist/cjs/src/pro/bitmex.js +2 -2
- package/dist/cjs/src/pro/bitopro.js +2 -2
- package/dist/cjs/src/pro/bitpanda.js +6 -6
- package/dist/cjs/src/pro/bitrue.js +1 -1
- package/dist/cjs/src/pro/bitstamp.js +1 -1
- package/dist/cjs/src/pro/bittrex.js +2 -2
- package/dist/cjs/src/pro/bitvavo.js +1 -1
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/bybit.js +1 -1
- package/dist/cjs/src/pro/cex.js +4 -4
- package/dist/cjs/src/pro/coinbase.js +5 -5
- package/dist/cjs/src/pro/coinbasepro.js +1 -1
- package/dist/cjs/src/pro/coinex.js +2 -2
- package/dist/cjs/src/pro/cryptocom.js +3 -3
- package/dist/cjs/src/pro/currencycom.js +2 -2
- package/dist/cjs/src/pro/deribit.js +3 -3
- package/dist/cjs/src/pro/exmo.js +3 -3
- package/dist/cjs/src/pro/gate.js +2 -2
- package/dist/cjs/src/pro/gemini.js +1 -1
- package/dist/cjs/src/pro/hitbtc.js +1 -1
- package/dist/cjs/src/pro/hollaex.js +2 -2
- package/dist/cjs/src/pro/huobi.js +2 -2
- package/dist/cjs/src/pro/huobijp.js +1 -1
- package/dist/cjs/src/pro/idex.js +1 -1
- package/dist/cjs/src/pro/independentreserve.js +1 -1
- package/dist/cjs/src/pro/kraken.js +6 -6
- package/dist/cjs/src/pro/krakenfutures.js +5 -5
- package/dist/cjs/src/pro/kucoin.js +2 -2
- package/dist/cjs/src/pro/kucoinfutures.js +3 -2
- package/dist/cjs/src/pro/luno.js +1 -1
- package/dist/cjs/src/pro/mexc.js +6 -6
- package/dist/cjs/src/pro/ndax.js +1 -1
- package/dist/cjs/src/pro/okcoin.js +2 -2
- package/dist/cjs/src/pro/okx.js +10 -7
- package/dist/cjs/src/pro/phemex.js +2 -2
- package/dist/cjs/src/pro/poloniex.js +6 -6
- package/dist/cjs/src/pro/poloniexfutures.js +5 -5
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/upbit.js +1 -1
- package/dist/cjs/src/pro/wazirx.js +3 -3
- package/dist/cjs/src/pro/whitebit.js +2 -2
- package/dist/cjs/src/probit.js +2 -2
- package/dist/cjs/src/tidex.js +2 -2
- package/dist/cjs/src/timex.js +2 -2
- package/dist/cjs/src/tokocrypto.js +2 -2
- package/dist/cjs/src/upbit.js +2 -2
- package/dist/cjs/src/wavesexchange.js +3 -3
- package/dist/cjs/src/wazirx.js +2 -2
- package/dist/cjs/src/whitebit.js +4 -3
- package/dist/cjs/src/woo.js +2 -2
- package/dist/cjs/src/yobit.js +2 -2
- package/dist/cjs/src/zaif.js +2 -2
- package/dist/cjs/src/zonda.js +2 -2
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bingx.d.ts +2 -0
- package/js/src/abstract/coinsph.d.ts +5 -0
- package/js/src/abstract/gate.d.ts +24 -0
- package/js/src/abstract/gateio.d.ts +24 -0
- package/js/src/ace.js +2 -2
- package/js/src/alpaca.js +1 -1
- package/js/src/ascendex.js +3 -3
- package/js/src/base/Exchange.js +2 -2
- package/js/src/bigone.js +2 -2
- package/js/src/binance.js +5 -5
- package/js/src/bingx.d.ts +1 -0
- package/js/src/bingx.js +83 -23
- package/js/src/bit2c.js +2 -2
- package/js/src/bitbank.js +2 -2
- package/js/src/bitbns.js +2 -2
- package/js/src/bitfinex.js +2 -2
- package/js/src/bitfinex2.js +4 -4
- package/js/src/bitflyer.js +2 -2
- package/js/src/bitforex.js +2 -2
- package/js/src/bitget.js +5 -5
- package/js/src/bithumb.js +2 -2
- package/js/src/bitmart.js +2 -2
- package/js/src/bitmex.js +5 -5
- package/js/src/bitopro.js +3 -3
- package/js/src/bitpanda.js +2 -2
- package/js/src/bitrue.js +3 -3
- package/js/src/bitso.js +2 -2
- package/js/src/bitstamp.js +2 -2
- package/js/src/bitstamp1.js +2 -2
- package/js/src/bittrex.js +3 -3
- package/js/src/bitvavo.js +3 -3
- package/js/src/bkex.js +4 -4
- package/js/src/bl3p.js +2 -2
- package/js/src/blockchaincom.js +1 -1
- package/js/src/btcalpha.js +2 -2
- package/js/src/btcbox.js +2 -2
- package/js/src/btcmarkets.js +2 -2
- package/js/src/btctradeua.js +2 -2
- package/js/src/btcturk.js +2 -2
- package/js/src/bybit.js +5 -5
- package/js/src/cex.js +2 -2
- package/js/src/coinbase.js +3 -3
- package/js/src/coinbasepro.js +2 -2
- package/js/src/coincheck.js +2 -2
- package/js/src/coinex.js +6 -6
- package/js/src/coinfalcon.js +2 -2
- package/js/src/coinmate.js +2 -2
- package/js/src/coinone.js +2 -2
- package/js/src/coinsph.js +7 -2
- package/js/src/coinspot.js +2 -2
- package/js/src/cryptocom.js +5 -5
- package/js/src/currencycom.js +2 -2
- package/js/src/delta.js +2 -2
- package/js/src/deribit.js +3 -3
- package/js/src/digifinex.js +4 -4
- package/js/src/exmo.js +2 -2
- package/js/src/gate.js +46 -4
- package/js/src/gemini.js +3 -3
- package/js/src/hitbtc.js +4 -4
- package/js/src/hollaex.js +3 -3
- package/js/src/huobi.js +5 -5
- package/js/src/huobijp.js +2 -2
- package/js/src/idex.js +2 -2
- package/js/src/independentreserve.js +2 -2
- package/js/src/indodax.js +2 -2
- package/js/src/kraken.js +2 -2
- package/js/src/kucoin.js +4 -4
- package/js/src/kucoinfutures.js +5 -5
- package/js/src/kuna.js +2 -2
- package/js/src/latoken.js +2 -2
- package/js/src/lbank.js +2 -2
- package/js/src/lbank2.js +2 -2
- package/js/src/luno.js +2 -2
- package/js/src/lykke.js +2 -2
- package/js/src/mercado.js +2 -2
- package/js/src/mexc.js +7 -5
- package/js/src/ndax.js +2 -2
- package/js/src/novadax.js +2 -2
- package/js/src/oceanex.js +2 -2
- package/js/src/okcoin.js +2 -2
- package/js/src/okx.js +4 -4
- package/js/src/paymium.js +2 -2
- package/js/src/phemex.js +2 -2
- package/js/src/poloniex.d.ts +1 -1
- package/js/src/poloniex.js +165 -81
- package/js/src/poloniexfutures.js +2 -2
- package/js/src/pro/ascendex.js +2 -2
- package/js/src/pro/binance.js +6 -6
- package/js/src/pro/bitfinex.js +1 -1
- package/js/src/pro/bitfinex2.js +2 -2
- package/js/src/pro/bitget.js +2 -2
- package/js/src/pro/bitmart.js +1 -1
- package/js/src/pro/bitmex.js +2 -2
- package/js/src/pro/bitopro.js +2 -2
- package/js/src/pro/bitpanda.js +6 -6
- package/js/src/pro/bitrue.js +1 -1
- package/js/src/pro/bitstamp.js +1 -1
- package/js/src/pro/bittrex.js +2 -2
- package/js/src/pro/bitvavo.js +1 -1
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/bybit.js +1 -1
- package/js/src/pro/cex.js +4 -4
- package/js/src/pro/coinbase.js +5 -5
- package/js/src/pro/coinbasepro.js +1 -1
- package/js/src/pro/coinex.js +2 -2
- package/js/src/pro/cryptocom.js +3 -3
- package/js/src/pro/currencycom.js +2 -2
- package/js/src/pro/deribit.js +3 -3
- package/js/src/pro/exmo.js +3 -3
- package/js/src/pro/gate.js +2 -2
- package/js/src/pro/gemini.js +1 -1
- package/js/src/pro/hitbtc.js +1 -1
- package/js/src/pro/hollaex.js +2 -2
- package/js/src/pro/huobi.js +2 -2
- package/js/src/pro/huobijp.js +1 -1
- package/js/src/pro/idex.js +1 -1
- package/js/src/pro/independentreserve.js +1 -1
- package/js/src/pro/kraken.js +6 -6
- package/js/src/pro/krakenfutures.js +5 -5
- package/js/src/pro/kucoin.js +2 -2
- package/js/src/pro/kucoinfutures.js +3 -2
- package/js/src/pro/luno.js +1 -1
- package/js/src/pro/mexc.js +6 -6
- package/js/src/pro/ndax.js +1 -1
- package/js/src/pro/okcoin.js +2 -2
- package/js/src/pro/okx.js +11 -8
- package/js/src/pro/phemex.js +2 -2
- package/js/src/pro/poloniex.js +6 -6
- package/js/src/pro/poloniexfutures.js +5 -5
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/upbit.js +1 -1
- package/js/src/pro/wazirx.js +3 -3
- package/js/src/pro/whitebit.js +2 -2
- package/js/src/probit.js +2 -2
- package/js/src/tidex.js +2 -2
- package/js/src/timex.js +2 -2
- package/js/src/tokocrypto.js +2 -2
- package/js/src/upbit.js +2 -2
- package/js/src/wavesexchange.js +3 -3
- package/js/src/wazirx.js +2 -2
- package/js/src/whitebit.js +4 -3
- package/js/src/woo.js +2 -2
- package/js/src/yobit.js +2 -2
- package/js/src/zaif.js +2 -2
- package/js/src/zonda.js +2 -2
- package/package.json +1 -1
- package/skip-tests.json +2 -0
package/dist/cjs/src/coinone.js
CHANGED
|
@@ -259,7 +259,7 @@ class coinone extends coinone$1 {
|
|
|
259
259
|
* @name coinone#fetchBalance
|
|
260
260
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
261
261
|
* @param {object} [params] extra parameters specific to the coinone api endpoint
|
|
262
|
-
* @returns {object} a [balance structure]{@link https://
|
|
262
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
263
263
|
*/
|
|
264
264
|
await this.loadMarkets();
|
|
265
265
|
const response = await this.privatePostAccountBalance(params);
|
|
@@ -460,7 +460,7 @@ class coinone extends coinone$1 {
|
|
|
460
460
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
461
461
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
462
462
|
* @param {object} [params] extra parameters specific to the coinone api endpoint
|
|
463
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
463
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
464
464
|
*/
|
|
465
465
|
await this.loadMarkets();
|
|
466
466
|
const market = this.market(symbol);
|
package/dist/cjs/src/coinsph.js
CHANGED
|
@@ -202,6 +202,11 @@ class coinsph extends coinsph$1 {
|
|
|
202
202
|
'openapi/convert/v1/get-supported-trading-pairs': 1,
|
|
203
203
|
'openapi/convert/v1/get-quote': 1,
|
|
204
204
|
'openapi/convert/v1/accpet-quote': 1,
|
|
205
|
+
'openapi/fiat/v1/support-channel': 1,
|
|
206
|
+
'openapi/fiat/v1/cash-out': 1,
|
|
207
|
+
'openapi/fiat/v1/history': 1,
|
|
208
|
+
'openapi/migration/v4/sellorder': 1,
|
|
209
|
+
'openapi/migration/v4/validate-field': 1,
|
|
205
210
|
'openapi/transfer/v3/transfers': 1,
|
|
206
211
|
},
|
|
207
212
|
'delete': {
|
|
@@ -829,7 +834,7 @@ class coinsph extends coinsph$1 {
|
|
|
829
834
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
830
835
|
* @param {int} [limit] the maximum amount of trades to fetch (default 500, max 1000)
|
|
831
836
|
* @param {object} [params] extra parameters specific to the coinsph api endpoint
|
|
832
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
837
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
833
838
|
*/
|
|
834
839
|
await this.loadMarkets();
|
|
835
840
|
const market = this.market(symbol);
|
|
@@ -1003,7 +1008,7 @@ class coinsph extends coinsph$1 {
|
|
|
1003
1008
|
* @name coinsph#fetchBalance
|
|
1004
1009
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1005
1010
|
* @param {object} [params] extra parameters specific to the coinsph api endpoint
|
|
1006
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1011
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1007
1012
|
*/
|
|
1008
1013
|
await this.loadMarkets();
|
|
1009
1014
|
const response = await this.privateGetOpenapiV1Account(params);
|
package/dist/cjs/src/coinspot.js
CHANGED
|
@@ -171,7 +171,7 @@ class coinspot extends coinspot$1 {
|
|
|
171
171
|
* @name coinspot#fetchBalance
|
|
172
172
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
173
173
|
* @param {object} [params] extra parameters specific to the coinspot api endpoint
|
|
174
|
-
* @returns {object} a [balance structure]{@link https://
|
|
174
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
175
175
|
*/
|
|
176
176
|
await this.loadMarkets();
|
|
177
177
|
const method = this.safeString(this.options, 'fetchBalance', 'private_post_my_balances');
|
|
@@ -329,7 +329,7 @@ class coinspot extends coinspot$1 {
|
|
|
329
329
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
330
330
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
331
331
|
* @param {object} [params] extra parameters specific to the coinspot api endpoint
|
|
332
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
332
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
333
333
|
*/
|
|
334
334
|
await this.loadMarkets();
|
|
335
335
|
const market = this.market(symbol);
|
|
@@ -726,7 +726,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
726
726
|
* @param {int} [limit] the maximum number of trades to fetch
|
|
727
727
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
728
728
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
729
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
729
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
730
730
|
*/
|
|
731
731
|
await this.loadMarkets();
|
|
732
732
|
const market = this.market(symbol);
|
|
@@ -892,7 +892,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
892
892
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
893
893
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-user-balance
|
|
894
894
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
895
|
-
* @returns {object} a [balance structure]{@link https://
|
|
895
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
896
896
|
*/
|
|
897
897
|
await this.loadMarkets();
|
|
898
898
|
const response = await this.v1PrivatePostPrivateUserBalance(params);
|
|
@@ -2431,7 +2431,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
2431
2431
|
* @see https://exchange-docs.crypto.com/spot/index.html#private-get-currency-networks
|
|
2432
2432
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2433
2433
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
2434
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2434
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2435
2435
|
*/
|
|
2436
2436
|
await this.loadMarkets();
|
|
2437
2437
|
const response = await this.v2PrivatePostPrivateGetCurrencyNetworks(params);
|
|
@@ -2450,7 +2450,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
2450
2450
|
* @param {int} [limit] max number of ledger entries to return
|
|
2451
2451
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
2452
2452
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
2453
|
-
* @returns {object} a [ledger structure]{@link https://
|
|
2453
|
+
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
2454
2454
|
*/
|
|
2455
2455
|
await this.loadMarkets();
|
|
2456
2456
|
const request = {};
|
|
@@ -2761,7 +2761,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
2761
2761
|
* @param {int} [limit] the maximum amount of [funding rate structures] to fetch
|
|
2762
2762
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
2763
2763
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
2764
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
2764
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2765
2765
|
*/
|
|
2766
2766
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
|
2767
2767
|
await this.loadMarkets();
|
|
@@ -710,7 +710,7 @@ class currencycom extends currencycom$1 {
|
|
|
710
710
|
* @name currencycom#fetchBalance
|
|
711
711
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
712
712
|
* @param {object} [params] extra parameters specific to the currencycom api endpoint
|
|
713
|
-
* @returns {object} a [balance structure]{@link https://
|
|
713
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
714
714
|
*/
|
|
715
715
|
await this.loadMarkets();
|
|
716
716
|
const response = await this.privateGetV2Account(params);
|
|
@@ -1072,7 +1072,7 @@ class currencycom extends currencycom$1 {
|
|
|
1072
1072
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1073
1073
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1074
1074
|
* @param {object} [params] extra parameters specific to the currencycom api endpoint
|
|
1075
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1075
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1076
1076
|
*/
|
|
1077
1077
|
await this.loadMarkets();
|
|
1078
1078
|
const market = this.market(symbol);
|
package/dist/cjs/src/delta.js
CHANGED
|
@@ -1410,7 +1410,7 @@ class delta extends delta$1 {
|
|
|
1410
1410
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1411
1411
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1412
1412
|
* @param {object} [params] extra parameters specific to the delta api endpoint
|
|
1413
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1413
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1414
1414
|
*/
|
|
1415
1415
|
await this.loadMarkets();
|
|
1416
1416
|
const market = this.market(symbol);
|
|
@@ -1534,7 +1534,7 @@ class delta extends delta$1 {
|
|
|
1534
1534
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1535
1535
|
* @see https://docs.delta.exchange/#get-wallet-balances
|
|
1536
1536
|
* @param {object} [params] extra parameters specific to the delta api endpoint
|
|
1537
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1537
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1538
1538
|
*/
|
|
1539
1539
|
await this.loadMarkets();
|
|
1540
1540
|
const response = await this.privateGetWalletBalances(params);
|
package/dist/cjs/src/deribit.js
CHANGED
|
@@ -833,7 +833,7 @@ class deribit extends deribit$1 {
|
|
|
833
833
|
* @name deribit#fetchBalance
|
|
834
834
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
835
835
|
* @param {object} [params] extra parameters specific to the deribit api endpoint
|
|
836
|
-
* @returns {object} a [balance structure]{@link https://
|
|
836
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
837
837
|
*/
|
|
838
838
|
await this.loadMarkets();
|
|
839
839
|
const code = this.codeFromOptions('fetchBalance', params);
|
|
@@ -1303,7 +1303,7 @@ class deribit extends deribit$1 {
|
|
|
1303
1303
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1304
1304
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1305
1305
|
* @param {object} [params] extra parameters specific to the deribit api endpoint
|
|
1306
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1306
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1307
1307
|
*/
|
|
1308
1308
|
await this.loadMarkets();
|
|
1309
1309
|
const market = this.market(symbol);
|
|
@@ -2755,7 +2755,7 @@ class deribit extends deribit$1 {
|
|
|
2755
2755
|
* @see https://docs.deribit.com/#public-get_currencies
|
|
2756
2756
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2757
2757
|
* @param {object} [params] extra parameters specific to the deribit api endpoint
|
|
2758
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2758
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2759
2759
|
*/
|
|
2760
2760
|
await this.loadMarkets();
|
|
2761
2761
|
const response = await this.publicGetGetCurrencies(params);
|
|
@@ -783,7 +783,7 @@ class digifinex extends digifinex$1 {
|
|
|
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 {object} [params] extra parameters specific to the digifinex api endpoint
|
|
786
|
-
* @returns {object} a [balance structure]{@link https://
|
|
786
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
787
787
|
*/
|
|
788
788
|
await this.loadMarkets();
|
|
789
789
|
let marketType = undefined;
|
|
@@ -1352,7 +1352,7 @@ class digifinex extends digifinex$1 {
|
|
|
1352
1352
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1353
1353
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1354
1354
|
* @param {object} [params] extra parameters specific to the digifinex api endpoint
|
|
1355
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1355
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1356
1356
|
*/
|
|
1357
1357
|
await this.loadMarkets();
|
|
1358
1358
|
const market = this.market(symbol);
|
|
@@ -2999,9 +2999,9 @@ class digifinex extends digifinex$1 {
|
|
|
2999
2999
|
* @description fetches historical funding rate prices
|
|
3000
3000
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
3001
3001
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
3002
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://
|
|
3002
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
3003
3003
|
* @param {object} [params] extra parameters specific to the digifinex api endpoint
|
|
3004
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
3004
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
3005
3005
|
*/
|
|
3006
3006
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
|
3007
3007
|
await this.loadMarkets();
|
package/dist/cjs/src/exmo.js
CHANGED
|
@@ -894,7 +894,7 @@ class exmo extends exmo$1 {
|
|
|
894
894
|
* @name exmo#fetchBalance
|
|
895
895
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
896
896
|
* @param {object} [params] extra parameters specific to the exmo api endpoint
|
|
897
|
-
* @returns {object} a [balance structure]{@link https://
|
|
897
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
898
898
|
*/
|
|
899
899
|
await this.loadMarkets();
|
|
900
900
|
const response = await this.privatePostUserInfo(params);
|
|
@@ -1148,7 +1148,7 @@ class exmo extends exmo$1 {
|
|
|
1148
1148
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1149
1149
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1150
1150
|
* @param {object} [params] extra parameters specific to the exmo api endpoint
|
|
1151
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1151
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1152
1152
|
*/
|
|
1153
1153
|
await this.loadMarkets();
|
|
1154
1154
|
const market = this.market(symbol);
|
package/dist/cjs/src/gate.js
CHANGED
|
@@ -277,6 +277,29 @@ class gate extends gate$1 {
|
|
|
277
277
|
'sub_accounts/{user_id}/keys/{key}': 1,
|
|
278
278
|
},
|
|
279
279
|
},
|
|
280
|
+
'portfolio': {
|
|
281
|
+
'get': {
|
|
282
|
+
'accounts': 1.5,
|
|
283
|
+
'account_mode': 1.5,
|
|
284
|
+
'borrowable': 1.5,
|
|
285
|
+
'transferable': 1.5,
|
|
286
|
+
'loans': 1.5,
|
|
287
|
+
'loan_records': 1.5,
|
|
288
|
+
'interest_records': 1.5,
|
|
289
|
+
'spot/orders': 1.5,
|
|
290
|
+
'spot/orders/{order_id}': 1.5,
|
|
291
|
+
},
|
|
292
|
+
'post': {
|
|
293
|
+
'loans': 1.5,
|
|
294
|
+
'spot/orders': 1.5,
|
|
295
|
+
},
|
|
296
|
+
'delete': {
|
|
297
|
+
'spot/orders/{order_id}': 1.5,
|
|
298
|
+
},
|
|
299
|
+
'patch': {
|
|
300
|
+
'spot/orders/{order_id}': 1.5,
|
|
301
|
+
},
|
|
302
|
+
},
|
|
280
303
|
'spot': {
|
|
281
304
|
'get': {
|
|
282
305
|
'fee': 1,
|
|
@@ -470,6 +493,22 @@ class gate extends gate$1 {
|
|
|
470
493
|
'uni/lends': 1.5,
|
|
471
494
|
},
|
|
472
495
|
},
|
|
496
|
+
'loan': {
|
|
497
|
+
'get': {
|
|
498
|
+
'collateral/orders': 1.5,
|
|
499
|
+
'collateral/orders/{order_id}': 1.5,
|
|
500
|
+
'collateral/repay_records': 1.5,
|
|
501
|
+
'collateral/collaterals': 1.5,
|
|
502
|
+
'collateral/total_amount': 1.5,
|
|
503
|
+
'collateral/ltv': 1.5,
|
|
504
|
+
'collateral/currencies': 1.5,
|
|
505
|
+
},
|
|
506
|
+
'post': {
|
|
507
|
+
'collateral/orders': 1.5,
|
|
508
|
+
'collateral/repay': 1.5,
|
|
509
|
+
'collateral/collaterals': 1.5,
|
|
510
|
+
},
|
|
511
|
+
},
|
|
473
512
|
'account': {
|
|
474
513
|
'get': {
|
|
475
514
|
'detail': 1.5,
|
|
@@ -480,6 +519,9 @@ class gate extends gate$1 {
|
|
|
480
519
|
'stp_groups': 1.5,
|
|
481
520
|
'stp_groups/{stp_id}/users': 1.5,
|
|
482
521
|
},
|
|
522
|
+
'delete': {
|
|
523
|
+
'stp_groups/{stp_id}/users': 1.5,
|
|
524
|
+
},
|
|
483
525
|
},
|
|
484
526
|
'rebate': {
|
|
485
527
|
'get': {
|
|
@@ -2849,9 +2891,9 @@ class gate extends gate$1 {
|
|
|
2849
2891
|
* @description fetches historical funding rate prices
|
|
2850
2892
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
2851
2893
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
2852
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://
|
|
2894
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2853
2895
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2854
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
2896
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2855
2897
|
*/
|
|
2856
2898
|
if (symbol === undefined) {
|
|
2857
2899
|
throw new errors.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
|
|
@@ -2944,7 +2986,7 @@ class gate extends gate$1 {
|
|
|
2944
2986
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
2945
2987
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
2946
2988
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2947
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
2989
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
2948
2990
|
*/
|
|
2949
2991
|
await this.loadMarkets();
|
|
2950
2992
|
const market = this.market(symbol);
|
|
@@ -4901,7 +4943,7 @@ class gate extends gate$1 {
|
|
|
4901
4943
|
* @see https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
|
|
4902
4944
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
4903
4945
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
4904
|
-
* @returns {object} a [position structure]{@link https://
|
|
4946
|
+
* @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
4905
4947
|
*/
|
|
4906
4948
|
await this.loadMarkets();
|
|
4907
4949
|
const market = this.market(symbol);
|
package/dist/cjs/src/gemini.js
CHANGED
|
@@ -929,7 +929,7 @@ class gemini extends gemini$1 {
|
|
|
929
929
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
930
930
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
931
931
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
932
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
932
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
933
933
|
*/
|
|
934
934
|
await this.loadMarkets();
|
|
935
935
|
const market = this.market(symbol);
|
|
@@ -1035,7 +1035,7 @@ class gemini extends gemini$1 {
|
|
|
1035
1035
|
* @name gemini#fetchBalance
|
|
1036
1036
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1037
1037
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1038
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1038
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1039
1039
|
*/
|
|
1040
1040
|
await this.loadMarkets();
|
|
1041
1041
|
const response = await this.privatePostV1Balances(params);
|
|
@@ -1629,7 +1629,7 @@ class gemini extends gemini$1 {
|
|
|
1629
1629
|
* @param {string} code unified currency code
|
|
1630
1630
|
* @param {object} [params] extra parameters specific to the endpoint
|
|
1631
1631
|
* @param {string} [params.network] *required* The chain of currency
|
|
1632
|
-
* @returns {object} an [address structure]{@link https://
|
|
1632
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1633
1633
|
*/
|
|
1634
1634
|
await this.loadMarkets();
|
|
1635
1635
|
const groupedByNetwork = await this.fetchDepositAddressesByNetwork(code, params);
|
package/dist/cjs/src/hitbtc.js
CHANGED
|
@@ -953,7 +953,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
953
953
|
* @name hitbtc#fetchBalance
|
|
954
954
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
955
955
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
956
|
-
* @returns {object} a [balance structure]{@link https://
|
|
956
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
957
957
|
*/
|
|
958
958
|
const type = this.safeStringLower(params, 'type', 'spot');
|
|
959
959
|
params = this.omit(params, ['type']);
|
|
@@ -1094,7 +1094,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1094
1094
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1095
1095
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1096
1096
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
1097
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1097
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1098
1098
|
*/
|
|
1099
1099
|
await this.loadMarkets();
|
|
1100
1100
|
let market = undefined;
|
|
@@ -2378,9 +2378,9 @@ class hitbtc extends hitbtc$1 {
|
|
|
2378
2378
|
* @description fetches historical funding rate prices
|
|
2379
2379
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
2380
2380
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
2381
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://
|
|
2381
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2382
2382
|
* @param {object} [params] extra parameters specific to the hitbtc api endpoint
|
|
2383
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
2383
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2384
2384
|
*/
|
|
2385
2385
|
await this.loadMarkets();
|
|
2386
2386
|
let market = undefined;
|
package/dist/cjs/src/hollaex.js
CHANGED
|
@@ -599,7 +599,7 @@ class hollaex extends hollaex$1 {
|
|
|
599
599
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
600
600
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
601
601
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
602
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
602
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
603
603
|
*/
|
|
604
604
|
await this.loadMarkets();
|
|
605
605
|
const market = this.market(symbol);
|
|
@@ -837,7 +837,7 @@ class hollaex extends hollaex$1 {
|
|
|
837
837
|
* @name hollaex#fetchBalance
|
|
838
838
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
839
839
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
840
|
-
* @returns {object} a [balance structure]{@link https://
|
|
840
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
841
841
|
*/
|
|
842
842
|
await this.loadMarkets();
|
|
843
843
|
const response = await this.privateGetUserBalance(params);
|
|
@@ -1770,7 +1770,7 @@ class hollaex extends hollaex$1 {
|
|
|
1770
1770
|
* @see https://apidocs.hollaex.com/#constants
|
|
1771
1771
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1772
1772
|
* @param {object} [params] extra parameters specific to the hollaex api endpoint
|
|
1773
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
1773
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1774
1774
|
*/
|
|
1775
1775
|
const response = await this.publicGetConstants(params);
|
|
1776
1776
|
//
|
package/dist/cjs/src/huobi.js
CHANGED
|
@@ -2519,7 +2519,7 @@ class huobi extends huobi$1 {
|
|
|
2519
2519
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
2520
2520
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
2521
2521
|
* @param {object} [params] extra parameters specific to the huobi api endpoint
|
|
2522
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
2522
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
2523
2523
|
*/
|
|
2524
2524
|
await this.loadMarkets();
|
|
2525
2525
|
const market = this.market(symbol);
|
|
@@ -2984,7 +2984,7 @@ class huobi extends huobi$1 {
|
|
|
2984
2984
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
2985
2985
|
* @param {object} [params] extra parameters specific to the huobi api endpoint
|
|
2986
2986
|
* @param {bool} [params.unified] provide this parameter if you have a recent account with unified cross+isolated margin account
|
|
2987
|
-
* @returns {object} a [balance structure]{@link https://
|
|
2987
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
2988
2988
|
*/
|
|
2989
2989
|
await this.loadMarkets();
|
|
2990
2990
|
let type = undefined;
|
|
@@ -4620,7 +4620,7 @@ class huobi extends huobi$1 {
|
|
|
4620
4620
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
4621
4621
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
4622
4622
|
* @param {object} params extra parameters specific to the huobi api endpoint
|
|
4623
|
-
* @returns {object} an [order structure]{@link https://
|
|
4623
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4624
4624
|
*/
|
|
4625
4625
|
await this.loadMarkets();
|
|
4626
4626
|
await this.loadAccounts();
|
|
@@ -4759,7 +4759,7 @@ class huobi extends huobi$1 {
|
|
|
4759
4759
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
4760
4760
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
4761
4761
|
* @param {object} params extra parameters specific to the huobi api endpoint
|
|
4762
|
-
* @returns {object} an [order structure]{@link https://
|
|
4762
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4763
4763
|
*/
|
|
4764
4764
|
const market = this.market(symbol);
|
|
4765
4765
|
const request = {
|
|
@@ -6021,7 +6021,7 @@ class huobi extends huobi$1 {
|
|
|
6021
6021
|
* @param {int} [since] not used by huobi, but filtered internally by ccxt
|
|
6022
6022
|
* @param {int} [limit] not used by huobi, but filtered internally by ccxt
|
|
6023
6023
|
* @param {object} [params] extra parameters specific to the huobi api endpoint
|
|
6024
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
6024
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
6025
6025
|
*/
|
|
6026
6026
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
|
6027
6027
|
await this.loadMarkets();
|
package/dist/cjs/src/huobijp.js
CHANGED
|
@@ -861,7 +861,7 @@ class huobijp extends huobijp$1 {
|
|
|
861
861
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
862
862
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
863
863
|
* @param {object} [params] extra parameters specific to the huobijp api endpoint
|
|
864
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
864
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
865
865
|
*/
|
|
866
866
|
await this.loadMarkets();
|
|
867
867
|
const market = this.market(symbol);
|
|
@@ -1107,7 +1107,7 @@ class huobijp extends huobijp$1 {
|
|
|
1107
1107
|
* @name huobijp#fetchBalance
|
|
1108
1108
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1109
1109
|
* @param {object} [params] extra parameters specific to the huobijp api endpoint
|
|
1110
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1110
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1111
1111
|
*/
|
|
1112
1112
|
await this.loadMarkets();
|
|
1113
1113
|
await this.loadAccounts();
|
package/dist/cjs/src/idex.js
CHANGED
|
@@ -497,7 +497,7 @@ class idex extends idex$1 {
|
|
|
497
497
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
498
498
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
499
499
|
* @param {object} [params] extra parameters specific to the idex api endpoint
|
|
500
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
500
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
501
501
|
*/
|
|
502
502
|
await this.loadMarkets();
|
|
503
503
|
const market = this.market(symbol);
|
|
@@ -780,7 +780,7 @@ class idex extends idex$1 {
|
|
|
780
780
|
* @name idex#fetchBalance
|
|
781
781
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
782
782
|
* @param {object} [params] extra parameters specific to the idex api endpoint
|
|
783
|
-
* @returns {object} a [balance structure]{@link https://
|
|
783
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
784
784
|
*/
|
|
785
785
|
this.checkRequiredCredentials();
|
|
786
786
|
await this.loadMarkets();
|
|
@@ -236,7 +236,7 @@ class independentreserve extends independentreserve$1 {
|
|
|
236
236
|
* @name independentreserve#fetchBalance
|
|
237
237
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
238
238
|
* @param {object} [params] extra parameters specific to the independentreserve api endpoint
|
|
239
|
-
* @returns {object} a [balance structure]{@link https://
|
|
239
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
240
240
|
*/
|
|
241
241
|
await this.loadMarkets();
|
|
242
242
|
const response = await this.privatePostGetAccounts(params);
|
|
@@ -606,7 +606,7 @@ class independentreserve extends independentreserve$1 {
|
|
|
606
606
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
607
607
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
608
608
|
* @param {object} [params] extra parameters specific to the independentreserve api endpoint
|
|
609
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
609
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
610
610
|
*/
|
|
611
611
|
await this.loadMarkets();
|
|
612
612
|
const market = this.market(symbol);
|
package/dist/cjs/src/indodax.js
CHANGED
|
@@ -311,7 +311,7 @@ class indodax extends indodax$1 {
|
|
|
311
311
|
* @name indodax#fetchBalance
|
|
312
312
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
313
313
|
* @param {object} [params] extra parameters specific to the indodax api endpoint
|
|
314
|
-
* @returns {object} a [balance structure]{@link https://
|
|
314
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
315
315
|
*/
|
|
316
316
|
await this.loadMarkets();
|
|
317
317
|
const response = await this.privatePostGetInfo(params);
|
|
@@ -496,7 +496,7 @@ class indodax extends indodax$1 {
|
|
|
496
496
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
497
497
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
498
498
|
* @param {object} [params] extra parameters specific to the indodax api endpoint
|
|
499
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
499
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
500
500
|
*/
|
|
501
501
|
await this.loadMarkets();
|
|
502
502
|
const market = this.market(symbol);
|
package/dist/cjs/src/kraken.js
CHANGED
|
@@ -1142,7 +1142,7 @@ class kraken extends kraken$1 {
|
|
|
1142
1142
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1143
1143
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1144
1144
|
* @param {object} [params] extra parameters specific to the kraken api endpoint
|
|
1145
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1145
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1146
1146
|
*/
|
|
1147
1147
|
await this.loadMarkets();
|
|
1148
1148
|
const market = this.market(symbol);
|
|
@@ -1212,7 +1212,7 @@ class kraken extends kraken$1 {
|
|
|
1212
1212
|
* @name kraken#fetchBalance
|
|
1213
1213
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1214
1214
|
* @param {object} [params] extra parameters specific to the kraken api endpoint
|
|
1215
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1215
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1216
1216
|
*/
|
|
1217
1217
|
await this.loadMarkets();
|
|
1218
1218
|
const response = await this.privatePostBalance(params);
|
package/dist/cjs/src/kucoin.js
CHANGED
|
@@ -1167,7 +1167,7 @@ class kucoin extends kucoin$1 {
|
|
|
1167
1167
|
* @see https://docs.kucoin.com/#get-withdrawal-quotas
|
|
1168
1168
|
* @param {string} code unified currency code
|
|
1169
1169
|
* @param {object} params extra parameters specific to the kucoin api endpoint
|
|
1170
|
-
* @returns {object} a [fee structure]{@link https://
|
|
1170
|
+
* @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1171
1171
|
*/
|
|
1172
1172
|
await this.loadMarkets();
|
|
1173
1173
|
const currency = this.currency(code);
|
|
@@ -2577,7 +2577,7 @@ class kucoin extends kucoin$1 {
|
|
|
2577
2577
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
2578
2578
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
2579
2579
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
2580
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
2580
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
2581
2581
|
*/
|
|
2582
2582
|
await this.loadMarkets();
|
|
2583
2583
|
const market = this.market(symbol);
|
|
@@ -3120,7 +3120,7 @@ class kucoin extends kucoin$1 {
|
|
|
3120
3120
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
3121
3121
|
* @param {object} [params.marginMode] 'cross' or 'isolated', margin type for fetching margin balance
|
|
3122
3122
|
* @param {object} [params.type] extra parameters specific to the kucoin api endpoint
|
|
3123
|
-
* @returns {object} a [balance structure]{@link https://
|
|
3123
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
3124
3124
|
*/
|
|
3125
3125
|
await this.loadMarkets();
|
|
3126
3126
|
const code = this.safeString(params, 'code');
|
|
@@ -3998,7 +3998,7 @@ class kucoin extends kucoin$1 {
|
|
|
3998
3998
|
* @see https://docs.kucoin.com/#get-currencies
|
|
3999
3999
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
4000
4000
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
4001
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
4001
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
4002
4002
|
*/
|
|
4003
4003
|
await this.loadMarkets();
|
|
4004
4004
|
const response = await this.publicGetCurrencies(params);
|