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/js/src/bit2c.js
CHANGED
|
@@ -208,7 +208,7 @@ export default class bit2c extends Exchange {
|
|
|
208
208
|
* @name bit2c#fetchBalance
|
|
209
209
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
210
210
|
* @param {object} [params] extra parameters specific to the bit2c api endpoint
|
|
211
|
-
* @returns {object} a [balance structure]{@link https://
|
|
211
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
212
212
|
*/
|
|
213
213
|
await this.loadMarkets();
|
|
214
214
|
const response = await this.privateGetAccountBalanceV2(params);
|
|
@@ -329,7 +329,7 @@ export default class bit2c extends Exchange {
|
|
|
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 bit2c 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);
|
package/js/src/bitbank.js
CHANGED
|
@@ -361,7 +361,7 @@ export default class bitbank extends Exchange {
|
|
|
361
361
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
362
362
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
363
363
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
364
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
364
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
365
365
|
*/
|
|
366
366
|
await this.loadMarkets();
|
|
367
367
|
const market = this.market(symbol);
|
|
@@ -527,7 +527,7 @@ export default class bitbank extends Exchange {
|
|
|
527
527
|
* @name bitbank#fetchBalance
|
|
528
528
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
529
529
|
* @param {object} [params] extra parameters specific to the bitbank api endpoint
|
|
530
|
-
* @returns {object} a [balance structure]{@link https://
|
|
530
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
531
531
|
*/
|
|
532
532
|
await this.loadMarkets();
|
|
533
533
|
const response = await this.privateGetUserAssets(params);
|
package/js/src/bitbns.js
CHANGED
|
@@ -459,7 +459,7 @@ export default class bitbns extends Exchange {
|
|
|
459
459
|
* @name bitbns#fetchBalance
|
|
460
460
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
461
461
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
462
|
-
* @returns {object} a [balance structure]{@link https://
|
|
462
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
463
463
|
*/
|
|
464
464
|
await this.loadMarkets();
|
|
465
465
|
const response = await this.v1PostCurrentCoinBalanceEVERYTHING(params);
|
|
@@ -912,7 +912,7 @@ export default class bitbns extends Exchange {
|
|
|
912
912
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
913
913
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
914
914
|
* @param {object} [params] extra parameters specific to the bitbns api endpoint
|
|
915
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
915
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
916
916
|
*/
|
|
917
917
|
if (symbol === undefined) {
|
|
918
918
|
throw new ArgumentsRequired(this.id + ' fetchTrades() requires a symbol argument');
|
package/js/src/bitfinex.js
CHANGED
|
@@ -684,7 +684,7 @@ export default class bitfinex extends Exchange {
|
|
|
684
684
|
* @name bitfinex#fetchBalance
|
|
685
685
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
686
686
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
687
|
-
* @returns {object} a [balance structure]{@link https://
|
|
687
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
688
688
|
*/
|
|
689
689
|
await this.loadMarkets();
|
|
690
690
|
const accountsByType = this.safeValue(this.options, 'accountsByType', {});
|
|
@@ -996,7 +996,7 @@ export default class bitfinex extends Exchange {
|
|
|
996
996
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
997
997
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
998
998
|
* @param {object} [params] extra parameters specific to the bitfinex api endpoint
|
|
999
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
999
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1000
1000
|
*/
|
|
1001
1001
|
await this.loadMarkets();
|
|
1002
1002
|
const market = this.market(symbol);
|
package/js/src/bitfinex2.js
CHANGED
|
@@ -794,7 +794,7 @@ export default class bitfinex2 extends Exchange {
|
|
|
794
794
|
* @name bitfinex2#fetchBalance
|
|
795
795
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
796
796
|
* @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
|
|
797
|
-
* @returns {object} a [balance structure]{@link https://
|
|
797
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
798
798
|
*/
|
|
799
799
|
// this api call does not return the 'used' amount - use the v1 version instead (which also returns zero balances)
|
|
800
800
|
// there is a difference between this and the v1 api, namely trading wallet is called margin in v2
|
|
@@ -1069,9 +1069,9 @@ export default class bitfinex2 extends Exchange {
|
|
|
1069
1069
|
'high': this.safeString(ticker, length - 2),
|
|
1070
1070
|
'low': this.safeString(ticker, length - 1),
|
|
1071
1071
|
'bid': this.safeString(ticker, length - 10),
|
|
1072
|
-
'bidVolume':
|
|
1072
|
+
'bidVolume': this.safeString(ticker, length - 9),
|
|
1073
1073
|
'ask': this.safeString(ticker, length - 8),
|
|
1074
|
-
'askVolume':
|
|
1074
|
+
'askVolume': this.safeString(ticker, length - 7),
|
|
1075
1075
|
'vwap': undefined,
|
|
1076
1076
|
'open': undefined,
|
|
1077
1077
|
'close': last,
|
|
@@ -1263,7 +1263,7 @@ export default class bitfinex2 extends Exchange {
|
|
|
1263
1263
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1264
1264
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1265
1265
|
* @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
|
|
1266
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1266
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1267
1267
|
*/
|
|
1268
1268
|
await this.loadMarkets();
|
|
1269
1269
|
const market = this.market(symbol);
|
package/js/src/bitflyer.js
CHANGED
|
@@ -318,7 +318,7 @@ export default class bitflyer extends Exchange {
|
|
|
318
318
|
* @name bitflyer#fetchBalance
|
|
319
319
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
320
320
|
* @param {object} [params] extra parameters specific to the bitflyer api endpoint
|
|
321
|
-
* @returns {object} a [balance structure]{@link https://
|
|
321
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
322
322
|
*/
|
|
323
323
|
await this.loadMarkets();
|
|
324
324
|
const response = await this.privateGetGetbalance(params);
|
|
@@ -476,7 +476,7 @@ export default class bitflyer extends Exchange {
|
|
|
476
476
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
477
477
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
478
478
|
* @param {object} [params] extra parameters specific to the bitflyer api endpoint
|
|
479
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
479
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
480
480
|
*/
|
|
481
481
|
await this.loadMarkets();
|
|
482
482
|
const market = this.market(symbol);
|
package/js/src/bitforex.js
CHANGED
|
@@ -326,7 +326,7 @@ export default class bitforex extends Exchange {
|
|
|
326
326
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
327
327
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
328
328
|
* @param {object} [params] extra parameters specific to the bitforex api endpoint
|
|
329
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
329
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
330
330
|
*/
|
|
331
331
|
await this.loadMarkets();
|
|
332
332
|
const request = {
|
|
@@ -435,7 +435,7 @@ export default class bitforex extends Exchange {
|
|
|
435
435
|
* @name bitforex#fetchBalance
|
|
436
436
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
437
437
|
* @param {object} [params] extra parameters specific to the bitforex api endpoint
|
|
438
|
-
* @returns {object} a [balance structure]{@link https://
|
|
438
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
439
439
|
*/
|
|
440
440
|
await this.loadMarkets();
|
|
441
441
|
const response = await this.privatePostApiV1FundAllAccount(params);
|
package/js/src/bitget.js
CHANGED
|
@@ -2238,7 +2238,7 @@ export default class bitget extends Exchange {
|
|
|
2238
2238
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
2239
2239
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
2240
2240
|
* @param {int} [params.until] the latest time in ms to fetch deposits for
|
|
2241
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
2241
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
2242
2242
|
*/
|
|
2243
2243
|
await this.loadMarkets();
|
|
2244
2244
|
const market = this.market(symbol);
|
|
@@ -2567,7 +2567,7 @@ export default class bitget extends Exchange {
|
|
|
2567
2567
|
* @name bitget#fetchBalance
|
|
2568
2568
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
2569
2569
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
2570
|
-
* @returns {object} a [balance structure]{@link https://
|
|
2570
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
2571
2571
|
*/
|
|
2572
2572
|
const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
|
|
2573
2573
|
await this.loadMarkets();
|
|
@@ -4253,9 +4253,9 @@ export default class bitget extends Exchange {
|
|
|
4253
4253
|
* @description fetches historical funding rate prices
|
|
4254
4254
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
4255
4255
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
4256
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://
|
|
4256
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
4257
4257
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
4258
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
4258
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
4259
4259
|
*/
|
|
4260
4260
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
|
4261
4261
|
await this.loadMarkets();
|
|
@@ -4931,7 +4931,7 @@ export default class bitget extends Exchange {
|
|
|
4931
4931
|
* @see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
|
|
4932
4932
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
4933
4933
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
4934
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
4934
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
4935
4935
|
*/
|
|
4936
4936
|
await this.loadMarkets();
|
|
4937
4937
|
const response = await this.publicSpotGetPublicCurrencies(params);
|
package/js/src/bithumb.js
CHANGED
|
@@ -288,7 +288,7 @@ export default class bithumb extends Exchange {
|
|
|
288
288
|
* @name bithumb#fetchBalance
|
|
289
289
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
290
290
|
* @param {object} [params] extra parameters specific to the bithumb api endpoint
|
|
291
|
-
* @returns {object} a [balance structure]{@link https://
|
|
291
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
292
292
|
*/
|
|
293
293
|
await this.loadMarkets();
|
|
294
294
|
const request = {
|
|
@@ -631,7 +631,7 @@ export default class bithumb extends Exchange {
|
|
|
631
631
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
632
632
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
633
633
|
* @param {object} [params] extra parameters specific to the bithumb api endpoint
|
|
634
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
634
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
635
635
|
*/
|
|
636
636
|
await this.loadMarkets();
|
|
637
637
|
const market = this.market(symbol);
|
package/js/src/bitmart.js
CHANGED
|
@@ -1334,7 +1334,7 @@ export default class bitmart extends Exchange {
|
|
|
1334
1334
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1335
1335
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1336
1336
|
* @param {object} [params] extra parameters specific to the bitmart api endpoint
|
|
1337
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1337
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1338
1338
|
*/
|
|
1339
1339
|
await this.loadMarkets();
|
|
1340
1340
|
const market = this.market(symbol);
|
|
@@ -1703,7 +1703,7 @@ export default class bitmart extends Exchange {
|
|
|
1703
1703
|
* @see https://developer-pro.bitmart.com/en/spot/#get-account-balance
|
|
1704
1704
|
* @see https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
|
|
1705
1705
|
* @param {object} [params] extra parameters specific to the bitmart api endpoint
|
|
1706
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1706
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1707
1707
|
*/
|
|
1708
1708
|
await this.loadMarkets();
|
|
1709
1709
|
let marketType = undefined;
|
package/js/src/bitmex.js
CHANGED
|
@@ -734,7 +734,7 @@ export default class bitmex extends Exchange {
|
|
|
734
734
|
* @name bitmex#fetchBalance
|
|
735
735
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
736
736
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
737
|
-
* @returns {object} a [balance structure]{@link https://
|
|
737
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
738
738
|
*/
|
|
739
739
|
await this.loadMarkets();
|
|
740
740
|
const request = {
|
|
@@ -1710,7 +1710,7 @@ export default class bitmex extends Exchange {
|
|
|
1710
1710
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1711
1711
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1712
1712
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
1713
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1713
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1714
1714
|
*/
|
|
1715
1715
|
await this.loadMarkets();
|
|
1716
1716
|
const market = this.market(symbol);
|
|
@@ -2311,14 +2311,14 @@ export default class bitmex extends Exchange {
|
|
|
2311
2311
|
* @description Fetches the history of funding rates
|
|
2312
2312
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
2313
2313
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
2314
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://
|
|
2314
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2315
2315
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
2316
2316
|
* @param {int} [params.until] timestamp in ms for ending date filter
|
|
2317
2317
|
* @param {bool} [params.reverse] if true, will sort results newest first
|
|
2318
2318
|
* @param {int} [params.start] starting point for results
|
|
2319
2319
|
* @param {string} [params.columns] array of column names to fetch in info, if omitted, will return all columns
|
|
2320
2320
|
* @param {string} [params.filter] generic table filter, send json key/value pairs, such as {"key": "value"}, you can key on individual fields, and do more advanced querying on timestamps, see the [timestamp docs]{@link https://www.bitmex.com/app/restAPI#Timestamp-Filters} for more details
|
|
2321
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
2321
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2322
2322
|
*/
|
|
2323
2323
|
await this.loadMarkets();
|
|
2324
2324
|
const request = {};
|
|
@@ -2551,7 +2551,7 @@ export default class bitmex extends Exchange {
|
|
|
2551
2551
|
* @see https://www.bitmex.com/api/explorer/#!/Wallet/Wallet_getAssetsConfig
|
|
2552
2552
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2553
2553
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
2554
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2554
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2555
2555
|
*/
|
|
2556
2556
|
await this.loadMarkets();
|
|
2557
2557
|
const assets = await this.publicGetWalletAssets(params);
|
package/js/src/bitopro.js
CHANGED
|
@@ -603,7 +603,7 @@ export default class bitopro extends Exchange {
|
|
|
603
603
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
604
604
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
605
605
|
* @param {object} [params] extra parameters specific to the bitopro api endpoint
|
|
606
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
606
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
607
607
|
*/
|
|
608
608
|
await this.loadMarkets();
|
|
609
609
|
const market = this.market(symbol);
|
|
@@ -853,7 +853,7 @@ export default class bitopro extends Exchange {
|
|
|
853
853
|
* @name bitopro#fetchBalance
|
|
854
854
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
855
855
|
* @param {object} [params] extra parameters specific to the bitopro api endpoint
|
|
856
|
-
* @returns {object} a [balance structure]{@link https://
|
|
856
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
857
857
|
*/
|
|
858
858
|
await this.loadMarkets();
|
|
859
859
|
const response = await this.privateGetAccountsBalance(params);
|
|
@@ -1619,7 +1619,7 @@ export default class bitopro extends Exchange {
|
|
|
1619
1619
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/open/currencies.md
|
|
1620
1620
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1621
1621
|
* @param {object} [params] extra parameters specific to the bitopro api endpoint
|
|
1622
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
1622
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1623
1623
|
*/
|
|
1624
1624
|
await this.loadMarkets();
|
|
1625
1625
|
const response = await this.publicGetProvisioningCurrencies(params);
|
package/js/src/bitpanda.js
CHANGED
|
@@ -948,7 +948,7 @@ export default class bitpanda extends Exchange {
|
|
|
948
948
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
949
949
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
950
950
|
* @param {object} [params] extra parameters specific to the bitpanda api endpoint
|
|
951
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
951
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
952
952
|
*/
|
|
953
953
|
await this.loadMarkets();
|
|
954
954
|
const market = this.market(symbol);
|
|
@@ -1000,7 +1000,7 @@ export default class bitpanda extends Exchange {
|
|
|
1000
1000
|
* @name bitpanda#fetchBalance
|
|
1001
1001
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1002
1002
|
* @param {object} [params] extra parameters specific to the bitpanda api endpoint
|
|
1003
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1003
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1004
1004
|
*/
|
|
1005
1005
|
await this.loadMarkets();
|
|
1006
1006
|
const response = await this.privateGetAccountBalances(params);
|
package/js/src/bitrue.js
CHANGED
|
@@ -736,7 +736,7 @@ export default class bitrue extends Exchange {
|
|
|
736
736
|
* @name bitrue#fetchBalance
|
|
737
737
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
738
738
|
* @param {object} [params] extra parameters specific to the bitrue api endpoint
|
|
739
|
-
* @returns {object} a [balance structure]{@link https://
|
|
739
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
740
740
|
*/
|
|
741
741
|
await this.loadMarkets();
|
|
742
742
|
const response = await this.v1PrivateGetAccount(params);
|
|
@@ -1119,7 +1119,7 @@ export default class bitrue extends Exchange {
|
|
|
1119
1119
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1120
1120
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1121
1121
|
* @param {object} [params] extra parameters specific to the bitrue api endpoint
|
|
1122
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1122
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1123
1123
|
*/
|
|
1124
1124
|
await this.loadMarkets();
|
|
1125
1125
|
const market = this.market(symbol);
|
|
@@ -1930,7 +1930,7 @@ export default class bitrue extends Exchange {
|
|
|
1930
1930
|
* @see https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
|
|
1931
1931
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1932
1932
|
* @param {object} [params] extra parameters specific to the bitrue api endpoint
|
|
1933
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
1933
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1934
1934
|
*/
|
|
1935
1935
|
await this.loadMarkets();
|
|
1936
1936
|
const response = await this.v1PublicGetExchangeInfo(params);
|
package/js/src/bitso.js
CHANGED
|
@@ -502,7 +502,7 @@ export default class bitso extends Exchange {
|
|
|
502
502
|
* @name bitso#fetchBalance
|
|
503
503
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
504
504
|
* @param {object} [params] extra parameters specific to the bitso api endpoint
|
|
505
|
-
* @returns {object} a [balance structure]{@link https://
|
|
505
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
506
506
|
*/
|
|
507
507
|
await this.loadMarkets();
|
|
508
508
|
const response = await this.privateGetBalance(params);
|
|
@@ -816,7 +816,7 @@ export default class bitso extends Exchange {
|
|
|
816
816
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
817
817
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
818
818
|
* @param {object} [params] extra parameters specific to the bitso api endpoint
|
|
819
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
819
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
820
820
|
*/
|
|
821
821
|
await this.loadMarkets();
|
|
822
822
|
const market = this.market(symbol);
|
package/js/src/bitstamp.js
CHANGED
|
@@ -972,7 +972,7 @@ export default class bitstamp extends Exchange {
|
|
|
972
972
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
973
973
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
974
974
|
* @param {object} [params] extra parameters specific to the bitstamp api endpoint
|
|
975
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
975
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
976
976
|
*/
|
|
977
977
|
await this.loadMarkets();
|
|
978
978
|
const market = this.market(symbol);
|
|
@@ -1102,7 +1102,7 @@ export default class bitstamp extends Exchange {
|
|
|
1102
1102
|
* @name bitstamp#fetchBalance
|
|
1103
1103
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1104
1104
|
* @param {object} [params] extra parameters specific to the bitstamp api endpoint
|
|
1105
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1105
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1106
1106
|
*/
|
|
1107
1107
|
await this.loadMarkets();
|
|
1108
1108
|
const response = await this.privatePostBalance(params);
|
package/js/src/bitstamp1.js
CHANGED
|
@@ -251,7 +251,7 @@ export default class bitstamp1 extends Exchange {
|
|
|
251
251
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
252
252
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
253
253
|
* @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
|
|
254
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
254
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
255
255
|
*/
|
|
256
256
|
if (symbol !== 'BTC/USD') {
|
|
257
257
|
throw new BadSymbol(this.id + ' ' + this.version + " fetchTrades doesn't support " + symbol + ', use it for BTC/USD only');
|
|
@@ -285,7 +285,7 @@ export default class bitstamp1 extends Exchange {
|
|
|
285
285
|
* @name bitstamp1#fetchBalance
|
|
286
286
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
287
287
|
* @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
|
|
288
|
-
* @returns {object} a [balance structure]{@link https://
|
|
288
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
289
289
|
*/
|
|
290
290
|
const response = await this.privatePostBalance(params);
|
|
291
291
|
return this.parseBalance(response);
|
package/js/src/bittrex.js
CHANGED
|
@@ -395,7 +395,7 @@ export default class bittrex extends Exchange {
|
|
|
395
395
|
* @name bittrex#fetchBalance
|
|
396
396
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
397
397
|
* @param {object} [params] extra parameters specific to the bittrex api endpoint
|
|
398
|
-
* @returns {object} a [balance structure]{@link https://
|
|
398
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
399
399
|
*/
|
|
400
400
|
await this.loadMarkets();
|
|
401
401
|
const response = await this.privateGetBalances(params);
|
|
@@ -776,7 +776,7 @@ export default class bittrex extends Exchange {
|
|
|
776
776
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
777
777
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
778
778
|
* @param {object} [params] extra parameters specific to the bittrex api endpoint
|
|
779
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
779
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
780
780
|
*/
|
|
781
781
|
await this.loadMarkets();
|
|
782
782
|
const market = this.market(symbol);
|
|
@@ -2084,7 +2084,7 @@ export default class bittrex extends Exchange {
|
|
|
2084
2084
|
* @description fetch deposit and withdraw fees
|
|
2085
2085
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2086
2086
|
* @param {object} [params] extra parameters specific to the bittrex api endpoint
|
|
2087
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2087
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2088
2088
|
*/
|
|
2089
2089
|
await this.loadMarkets();
|
|
2090
2090
|
const response = await this.publicGetCurrencies(params);
|
package/js/src/bitvavo.js
CHANGED
|
@@ -621,7 +621,7 @@ export default class bitvavo extends Exchange {
|
|
|
621
621
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
622
622
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
623
623
|
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
624
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
624
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
625
625
|
*/
|
|
626
626
|
await this.loadMarkets();
|
|
627
627
|
const market = this.market(symbol);
|
|
@@ -910,7 +910,7 @@ export default class bitvavo extends Exchange {
|
|
|
910
910
|
* @name bitvavo#fetchBalance
|
|
911
911
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
912
912
|
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
913
|
-
* @returns {object} a [balance structure]{@link https://
|
|
913
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
914
914
|
*/
|
|
915
915
|
await this.loadMarkets();
|
|
916
916
|
const response = await this.privateGetBalance(params);
|
|
@@ -1792,7 +1792,7 @@ export default class bitvavo extends Exchange {
|
|
|
1792
1792
|
* @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
|
1793
1793
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1794
1794
|
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
1795
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
1795
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1796
1796
|
*/
|
|
1797
1797
|
await this.loadMarkets();
|
|
1798
1798
|
const response = await this.publicGetAssets(params);
|
package/js/src/bkex.js
CHANGED
|
@@ -905,7 +905,7 @@ export default class bkex extends Exchange {
|
|
|
905
905
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
906
906
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
907
907
|
* @param {object} [params] extra parameters specific to the bkex api endpoint
|
|
908
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
908
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
909
909
|
*/
|
|
910
910
|
await this.loadMarkets();
|
|
911
911
|
const market = this.market(symbol);
|
|
@@ -1026,7 +1026,7 @@ export default class bkex extends Exchange {
|
|
|
1026
1026
|
* @name bkex#fetchBalance
|
|
1027
1027
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1028
1028
|
* @param {object} [params] extra parameters specific to the bkex api endpoint
|
|
1029
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1029
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1030
1030
|
*/
|
|
1031
1031
|
await this.loadMarkets();
|
|
1032
1032
|
const query = this.omit(params, 'type');
|
|
@@ -1774,9 +1774,9 @@ export default class bkex extends Exchange {
|
|
|
1774
1774
|
* @description fetches historical funding rate prices
|
|
1775
1775
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
1776
1776
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
1777
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://
|
|
1777
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
1778
1778
|
* @param {object} [params] extra parameters specific to the bkex api endpoint
|
|
1779
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://
|
|
1779
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
1780
1780
|
*/
|
|
1781
1781
|
if (symbol === undefined) {
|
|
1782
1782
|
throw new ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
|
package/js/src/bl3p.js
CHANGED
|
@@ -137,7 +137,7 @@ export default class bl3p extends Exchange {
|
|
|
137
137
|
* @name bl3p#fetchBalance
|
|
138
138
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
139
139
|
* @param {object} [params] extra parameters specific to the bl3p api endpoint
|
|
140
|
-
* @returns {object} a [balance structure]{@link https://
|
|
140
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
141
141
|
*/
|
|
142
142
|
await this.loadMarkets();
|
|
143
143
|
const response = await this.privatePostGENMKTMoneyInfo(params);
|
|
@@ -274,7 +274,7 @@ export default class bl3p extends Exchange {
|
|
|
274
274
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
275
275
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
276
276
|
* @param {object} [params] extra parameters specific to the bl3p api endpoint
|
|
277
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
277
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
278
278
|
*/
|
|
279
279
|
const market = this.market(symbol);
|
|
280
280
|
const response = await this.publicGetMarketTrades(this.extend({
|
package/js/src/blockchaincom.js
CHANGED
|
@@ -1076,7 +1076,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1076
1076
|
* @name blockchaincom#fetchBalance
|
|
1077
1077
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1078
1078
|
* @param {object} [params] extra parameters specific to the blockchaincom api endpoint
|
|
1079
|
-
* @returns {object} a [balance structure]{@link https://
|
|
1079
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
1080
1080
|
*/
|
|
1081
1081
|
await this.loadMarkets();
|
|
1082
1082
|
const accountName = this.safeString(params, 'account', 'primary');
|
package/js/src/btcalpha.js
CHANGED
|
@@ -426,7 +426,7 @@ export default class btcalpha extends Exchange {
|
|
|
426
426
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
427
427
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
428
428
|
* @param {object} [params] extra parameters specific to the btcalpha api endpoint
|
|
429
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
429
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
430
430
|
*/
|
|
431
431
|
await this.loadMarkets();
|
|
432
432
|
let market = undefined;
|
|
@@ -629,7 +629,7 @@ export default class btcalpha extends Exchange {
|
|
|
629
629
|
* @name btcalpha#fetchBalance
|
|
630
630
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
631
631
|
* @param {object} [params] extra parameters specific to the btcalpha api endpoint
|
|
632
|
-
* @returns {object} a [balance structure]{@link https://
|
|
632
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
633
633
|
*/
|
|
634
634
|
await this.loadMarkets();
|
|
635
635
|
const response = await this.privateGetWallets(params);
|
package/js/src/btcbox.js
CHANGED
|
@@ -147,7 +147,7 @@ export default class btcbox extends Exchange {
|
|
|
147
147
|
* @name btcbox#fetchBalance
|
|
148
148
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
149
149
|
* @param {object} [params] extra parameters specific to the btcbox api endpoint
|
|
150
|
-
* @returns {object} a [balance structure]{@link https://
|
|
150
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
151
151
|
*/
|
|
152
152
|
await this.loadMarkets();
|
|
153
153
|
const response = await this.privatePostBalance(params);
|
|
@@ -263,7 +263,7 @@ export default class btcbox extends Exchange {
|
|
|
263
263
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
264
264
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
265
265
|
* @param {object} [params] extra parameters specific to the btcbox api endpoint
|
|
266
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
266
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
267
267
|
*/
|
|
268
268
|
await this.loadMarkets();
|
|
269
269
|
const market = this.market(symbol);
|
package/js/src/btcmarkets.js
CHANGED
|
@@ -474,7 +474,7 @@ export default class btcmarkets extends Exchange {
|
|
|
474
474
|
* @name btcmarkets#fetchBalance
|
|
475
475
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
476
476
|
* @param {object} [params] extra parameters specific to the btcmarkets api endpoint
|
|
477
|
-
* @returns {object} a [balance structure]{@link https://
|
|
477
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
478
478
|
*/
|
|
479
479
|
await this.loadMarkets();
|
|
480
480
|
const response = await this.privateGetAccountsMeBalances(params);
|
|
@@ -743,7 +743,7 @@ export default class btcmarkets extends Exchange {
|
|
|
743
743
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
744
744
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
745
745
|
* @param {object} [params] extra parameters specific to the btcmarkets api endpoint
|
|
746
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
746
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
747
747
|
*/
|
|
748
748
|
await this.loadMarkets();
|
|
749
749
|
const market = this.market(symbol);
|
package/js/src/btctradeua.js
CHANGED
|
@@ -157,7 +157,7 @@ export default class btctradeua extends Exchange {
|
|
|
157
157
|
* @name btctradeua#fetchBalance
|
|
158
158
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
159
159
|
* @param {object} [params] extra parameters specific to the btctradeua api endpoint
|
|
160
|
-
* @returns {object} a [balance structure]{@link https://
|
|
160
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
161
161
|
*/
|
|
162
162
|
await this.loadMarkets();
|
|
163
163
|
const response = await this.privatePostBalance(params);
|
|
@@ -398,7 +398,7 @@ export default class btctradeua extends Exchange {
|
|
|
398
398
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
399
399
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
400
400
|
* @param {object} [params] extra parameters specific to the btctradeua api endpoint
|
|
401
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
401
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
402
402
|
*/
|
|
403
403
|
await this.loadMarkets();
|
|
404
404
|
const market = this.market(symbol);
|