ccxt 4.1.6 → 4.1.8
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/CHANGELOG.md +194 -0
- package/README.md +3 -3
- package/dist/ccxt.browser.js +142 -97
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/binance.js +11 -11
- package/dist/cjs/src/bingx.js +2 -2
- package/dist/cjs/src/bitbns.js +3 -3
- package/dist/cjs/src/bitfinex2.js +5 -5
- package/dist/cjs/src/bitget.js +6 -6
- package/dist/cjs/src/bitmart.js +2 -0
- package/dist/cjs/src/bitmex.js +4 -4
- package/dist/cjs/src/bybit.js +7 -7
- package/dist/cjs/src/coinbase.js +5 -5
- package/dist/cjs/src/coinbasepro.js +3 -3
- package/dist/cjs/src/coinfalcon.js +3 -3
- package/dist/cjs/src/cryptocom.js +5 -5
- package/dist/cjs/src/gate.js +6 -6
- package/dist/cjs/src/huobi.js +4 -4
- package/dist/cjs/src/kraken.js +1 -1
- package/dist/cjs/src/krakenfutures.js +2 -2
- package/dist/cjs/src/kucoin.js +9 -9
- package/dist/cjs/src/kucoinfutures.js +6 -6
- package/dist/cjs/src/mexc.js +46 -3
- package/dist/cjs/src/okx.js +8 -8
- package/dist/cjs/src/poloniex.js +2 -2
- package/dist/cjs/src/pro/exmo.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bitmart.d.ts +1 -0
- package/js/src/abstract/mexc.d.ts +2 -0
- package/js/src/abstract/mexc3.d.ts +2 -0
- package/js/src/binance.js +11 -11
- package/js/src/bingx.js +2 -2
- package/js/src/bitbns.js +3 -3
- package/js/src/bitfinex2.js +5 -5
- package/js/src/bitget.js +6 -6
- package/js/src/bitmart.js +2 -0
- package/js/src/bitmex.js +4 -4
- package/js/src/bybit.js +7 -7
- package/js/src/coinbase.js +5 -5
- package/js/src/coinbasepro.js +3 -3
- package/js/src/coinfalcon.js +3 -3
- package/js/src/cryptocom.js +5 -5
- package/js/src/gate.js +6 -6
- package/js/src/huobi.js +4 -4
- package/js/src/kraken.js +1 -1
- package/js/src/krakenfutures.js +2 -2
- package/js/src/kucoin.js +9 -9
- package/js/src/kucoinfutures.js +6 -6
- package/js/src/mexc.d.ts +1 -1
- package/js/src/mexc.js +46 -3
- package/js/src/okx.js +8 -8
- package/js/src/poloniex.js +2 -2
- package/js/src/pro/exmo.js +1 -1
- package/package.json +1 -1
package/dist/cjs/ccxt.js
CHANGED
|
@@ -179,7 +179,7 @@ var woo$1 = require('./src/pro/woo.js');
|
|
|
179
179
|
|
|
180
180
|
//-----------------------------------------------------------------------------
|
|
181
181
|
// this is updated by vss.js when building
|
|
182
|
-
const version = '4.1.
|
|
182
|
+
const version = '4.1.8';
|
|
183
183
|
Exchange["default"].ccxtVersion = version;
|
|
184
184
|
const exchanges = {
|
|
185
185
|
'ace': ace,
|
package/dist/cjs/src/binance.js
CHANGED
|
@@ -3321,7 +3321,7 @@ class binance extends binance$1 {
|
|
|
3321
3321
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
3322
3322
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
3323
3323
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
3324
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3324
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3325
3325
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
3326
3326
|
*/
|
|
3327
3327
|
await this.loadMarkets();
|
|
@@ -3664,7 +3664,7 @@ class binance extends binance$1 {
|
|
|
3664
3664
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
3665
3665
|
* @param {int} [params.until] only used when fetchTradesMethod is 'publicGetAggTrades', 'fapiPublicGetAggTrades', or 'dapiPublicGetAggTrades'
|
|
3666
3666
|
* @param {int} [params.fetchTradesMethod] 'publicGetAggTrades' (spot default), 'fapiPublicGetAggTrades' (swap default), 'dapiPublicGetAggTrades' (future default), 'eapiPublicGetTrades' (option default), 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', 'publicGetHistoricalTrades', 'fapiPublicGetHistoricalTrades', 'dapiPublicGetHistoricalTrades', 'eapiPublicGetHistoricalTrades'
|
|
3667
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3667
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3668
3668
|
*
|
|
3669
3669
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
3670
3670
|
* @param {int} [params.fromId] trade id to fetch from, default gets most recent trades, not used when fetchTradesMethod is 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', or 'eapiPublicGetTrades'
|
|
@@ -4708,7 +4708,7 @@ class binance extends binance$1 {
|
|
|
4708
4708
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
4709
4709
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
|
|
4710
4710
|
* @param {int} [params.until] the latest time in ms to fetch orders for
|
|
4711
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4711
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
4712
4712
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4713
4713
|
*/
|
|
4714
4714
|
this.checkRequiredSymbol('fetchOrders', symbol);
|
|
@@ -4919,7 +4919,7 @@ class binance extends binance$1 {
|
|
|
4919
4919
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
4920
4920
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
4921
4921
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
4922
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4922
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
4923
4923
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4924
4924
|
*/
|
|
4925
4925
|
const orders = await this.fetchOrders(symbol, since, limit, params);
|
|
@@ -4937,7 +4937,7 @@ class binance extends binance$1 {
|
|
|
4937
4937
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
4938
4938
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
4939
4939
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
4940
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4940
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
4941
4941
|
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4942
4942
|
*/
|
|
4943
4943
|
this.checkRequiredSymbol('fetchCanceledOrders', symbol);
|
|
@@ -5171,7 +5171,7 @@ class binance extends binance$1 {
|
|
|
5171
5171
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
5172
5172
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
5173
5173
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
5174
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
5174
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
5175
5175
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
5176
5176
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
5177
5177
|
*/
|
|
@@ -5461,7 +5461,7 @@ class binance extends binance$1 {
|
|
|
5461
5461
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
5462
5462
|
* @param {bool} [params.fiat] if true, only fiat deposits will be returned
|
|
5463
5463
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
5464
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
5464
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
5465
5465
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
5466
5466
|
*/
|
|
5467
5467
|
await this.loadMarkets();
|
|
@@ -5576,7 +5576,7 @@ class binance extends binance$1 {
|
|
|
5576
5576
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
5577
5577
|
* @param {bool} [params.fiat] if true, only fiat withdrawals will be returned
|
|
5578
5578
|
* @param {int} [params.until] the latest time in ms to fetch withdrawals for
|
|
5579
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
5579
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
5580
5580
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
5581
5581
|
*/
|
|
5582
5582
|
await this.loadMarkets();
|
|
@@ -6053,7 +6053,7 @@ class binance extends binance$1 {
|
|
|
6053
6053
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
6054
6054
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
6055
6055
|
* @param {int} [params.until] the latest time in ms to fetch transfers for
|
|
6056
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
6056
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
6057
6057
|
* @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
6058
6058
|
*/
|
|
6059
6059
|
await this.loadMarkets();
|
|
@@ -6783,7 +6783,7 @@ class binance extends binance$1 {
|
|
|
6783
6783
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
6784
6784
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
6785
6785
|
* @param {int} [params.until] timestamp in ms of the latest funding rate
|
|
6786
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
6786
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
6787
6787
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
6788
6788
|
*/
|
|
6789
6789
|
await this.loadMarkets();
|
|
@@ -8198,7 +8198,7 @@ class binance extends binance$1 {
|
|
|
8198
8198
|
* @param {int} [limit] max number of ledger entrys to return
|
|
8199
8199
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
8200
8200
|
* @param {int} [params.until] timestamp in ms of the latest ledger entry
|
|
8201
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
8201
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
8202
8202
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
8203
8203
|
*/
|
|
8204
8204
|
await this.loadMarkets();
|
package/dist/cjs/src/bingx.js
CHANGED
|
@@ -626,7 +626,7 @@ class bingx extends bingx$1 {
|
|
|
626
626
|
* @param {object} [params] extra parameters specific to the bingx api endpoint
|
|
627
627
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
628
628
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
629
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
629
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
630
630
|
* @returns {[[int]]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
631
631
|
*/
|
|
632
632
|
await this.loadMarkets();
|
|
@@ -1034,7 +1034,7 @@ class bingx extends bingx$1 {
|
|
|
1034
1034
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
1035
1035
|
* @param {object} [params] extra parameters specific to the bingx api endpoint
|
|
1036
1036
|
* @param {int} [params.until] timestamp in ms of the latest funding rate to fetch
|
|
1037
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1037
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1038
1038
|
* @returns {[object]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
1039
1039
|
*/
|
|
1040
1040
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
package/dist/cjs/src/bitbns.js
CHANGED
|
@@ -438,13 +438,13 @@ class bitbns extends bitbns$1 {
|
|
|
438
438
|
if (numParts > 1) {
|
|
439
439
|
let currencyId = this.safeString(parts, 1);
|
|
440
440
|
// note that "Money" stands for INR - the only fiat in bitbns
|
|
441
|
+
const account = this.account();
|
|
442
|
+
account['free'] = this.safeString(data, key);
|
|
443
|
+
account['used'] = this.safeString(data, 'inorder' + currencyId);
|
|
441
444
|
if (currencyId === 'Money') {
|
|
442
445
|
currencyId = 'INR';
|
|
443
446
|
}
|
|
444
447
|
const code = this.safeCurrencyCode(currencyId);
|
|
445
|
-
const account = this.account();
|
|
446
|
-
account['free'] = this.safeString(data, key);
|
|
447
|
-
account['used'] = this.safeString(data, 'inorder' + currencyId);
|
|
448
448
|
result[code] = account;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -1271,7 +1271,7 @@ class bitfinex2 extends bitfinex2$1 {
|
|
|
1271
1271
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1272
1272
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1273
1273
|
* @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
|
|
1274
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1274
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1275
1275
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
1276
1276
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1277
1277
|
*/
|
|
@@ -1322,7 +1322,7 @@ class bitfinex2 extends bitfinex2$1 {
|
|
|
1322
1322
|
* @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
|
|
1323
1323
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
1324
1324
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
1325
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1325
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1326
1326
|
*/
|
|
1327
1327
|
await this.loadMarkets();
|
|
1328
1328
|
let paginate = false;
|
|
@@ -1816,7 +1816,7 @@ class bitfinex2 extends bitfinex2$1 {
|
|
|
1816
1816
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1817
1817
|
* @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
|
|
1818
1818
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
1819
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1819
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1820
1820
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1821
1821
|
*/
|
|
1822
1822
|
// returns the most recent closed or canceled orders up to circa two weeks ago
|
|
@@ -2706,7 +2706,7 @@ class bitfinex2 extends bitfinex2$1 {
|
|
|
2706
2706
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
2707
2707
|
* @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
|
|
2708
2708
|
* @param {int} [params.until] timestamp in ms of the latest ledger entry
|
|
2709
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2709
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2710
2710
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
2711
2711
|
*/
|
|
2712
2712
|
await this.loadMarkets();
|
|
@@ -2823,7 +2823,7 @@ class bitfinex2 extends bitfinex2$1 {
|
|
|
2823
2823
|
* @param {string} symbol unified market symbol
|
|
2824
2824
|
* @param {object} [params] extra parameters specific to the bingx api endpoint
|
|
2825
2825
|
* @param {int} [params.until] timestamp in ms of the latest funding rate
|
|
2826
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2826
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2827
2827
|
* @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
|
|
2828
2828
|
*/
|
|
2829
2829
|
await this.loadMarkets();
|
package/dist/cjs/src/bitget.js
CHANGED
|
@@ -1559,7 +1559,7 @@ class bitget extends bitget$1 {
|
|
|
1559
1559
|
* @param {string} [params.pageNo] pageNo default 1
|
|
1560
1560
|
* @param {string} [params.pageSize] pageSize default 20. Max 100
|
|
1561
1561
|
* @param {int} [params.until] end tim in ms
|
|
1562
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1562
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1563
1563
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1564
1564
|
*/
|
|
1565
1565
|
await this.loadMarkets();
|
|
@@ -1697,7 +1697,7 @@ class bitget extends bitget$1 {
|
|
|
1697
1697
|
* @param {string} [params.pageNo] pageNo default 1
|
|
1698
1698
|
* @param {string} [params.pageSize] pageSize default 20. Max 100
|
|
1699
1699
|
* @param {int} [params.until] end time in ms
|
|
1700
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1700
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1701
1701
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1702
1702
|
*/
|
|
1703
1703
|
await this.loadMarkets();
|
|
@@ -2512,7 +2512,7 @@ class bitget extends bitget$1 {
|
|
|
2512
2512
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
2513
2513
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
2514
2514
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
2515
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2515
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2516
2516
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
2517
2517
|
*/
|
|
2518
2518
|
await this.loadMarkets();
|
|
@@ -3902,7 +3902,7 @@ class bitget extends bitget$1 {
|
|
|
3902
3902
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
3903
3903
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
3904
3904
|
* @param {int} [params.until] end tim in ms
|
|
3905
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3905
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3906
3906
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
3907
3907
|
*/
|
|
3908
3908
|
await this.loadMarkets();
|
|
@@ -4003,7 +4003,7 @@ class bitget extends bitget$1 {
|
|
|
4003
4003
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
4004
4004
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
4005
4005
|
* @param {int} [params.until] *swap only* the latest time in ms to fetch entries for
|
|
4006
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4006
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
4007
4007
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
4008
4008
|
*/
|
|
4009
4009
|
this.checkRequiredSymbol('fetchMyTrades', symbol);
|
|
@@ -4909,7 +4909,7 @@ class bitget extends bitget$1 {
|
|
|
4909
4909
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
4910
4910
|
* @param {object} [params] extra parameters specific to the bitget api endpoint
|
|
4911
4911
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
4912
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4912
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
4913
4913
|
* @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
4914
4914
|
*/
|
|
4915
4915
|
await this.loadMarkets();
|
package/dist/cjs/src/bitmart.js
CHANGED
|
@@ -179,6 +179,8 @@ class bitmart extends bitmart$1 {
|
|
|
179
179
|
'spot/v1/margin/isolated/account': 6,
|
|
180
180
|
'spot/v1/trade_fee': 6,
|
|
181
181
|
'spot/v1/user_fee': 6,
|
|
182
|
+
// broker
|
|
183
|
+
'spot/v1/broker/rebate': 1,
|
|
182
184
|
// contract
|
|
183
185
|
'contract/private/assets-detail': 5,
|
|
184
186
|
'contract/private/order': 1.2,
|
package/dist/cjs/src/bitmex.js
CHANGED
|
@@ -862,7 +862,7 @@ class bitmex extends bitmex$1 {
|
|
|
862
862
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
863
863
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
864
864
|
* @param {int} [params.until] the earliest time in ms to fetch orders for
|
|
865
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
865
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
866
866
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
867
867
|
*/
|
|
868
868
|
await this.loadMarkets();
|
|
@@ -941,7 +941,7 @@ class bitmex extends bitmex$1 {
|
|
|
941
941
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
942
942
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
943
943
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
944
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
944
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
945
945
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
946
946
|
*/
|
|
947
947
|
await this.loadMarkets();
|
|
@@ -1422,7 +1422,7 @@ class bitmex extends bitmex$1 {
|
|
|
1422
1422
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
1423
1423
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
1424
1424
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
1425
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1425
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1426
1426
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
1427
1427
|
*/
|
|
1428
1428
|
await this.loadMarkets();
|
|
@@ -1745,7 +1745,7 @@ class bitmex extends bitmex$1 {
|
|
|
1745
1745
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1746
1746
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1747
1747
|
* @param {object} [params] extra parameters specific to the bitmex api endpoint
|
|
1748
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1748
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1749
1749
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1750
1750
|
*/
|
|
1751
1751
|
await this.loadMarkets();
|
package/dist/cjs/src/bybit.js
CHANGED
|
@@ -2386,7 +2386,7 @@ class bybit extends bybit$1 {
|
|
|
2386
2386
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
2387
2387
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
2388
2388
|
* @param {object} [params] extra parameters specific to the bybit api endpoint
|
|
2389
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2389
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2390
2390
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
2391
2391
|
*/
|
|
2392
2392
|
this.checkRequiredSymbol('fetchOHLCV', symbol);
|
|
@@ -2630,7 +2630,7 @@ class bybit extends bybit$1 {
|
|
|
2630
2630
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2631
2631
|
* @param {object} [params] extra parameters specific to the bybit api endpoint
|
|
2632
2632
|
* @param {int} [params.until] timestamp in ms of the latest funding rate
|
|
2633
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2633
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2634
2634
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2635
2635
|
*/
|
|
2636
2636
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
|
@@ -4463,7 +4463,7 @@ class bybit extends bybit$1 {
|
|
|
4463
4463
|
* @param {string} [params.subType] market subType, ['linear', 'inverse']
|
|
4464
4464
|
* @param {string} [params.orderFilter] 'Order' or 'StopOrder' or 'tpslOrder'
|
|
4465
4465
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
4466
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4466
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
4467
4467
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4468
4468
|
*/
|
|
4469
4469
|
await this.loadMarkets();
|
|
@@ -4843,7 +4843,7 @@ class bybit extends bybit$1 {
|
|
|
4843
4843
|
* @param {boolean} [params.stop] true if stop order
|
|
4844
4844
|
* @param {string} [params.type] market type, ['swap', 'option', 'spot']
|
|
4845
4845
|
* @param {string} [params.subType] market subType, ['linear', 'inverse']
|
|
4846
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4846
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
4847
4847
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
4848
4848
|
*/
|
|
4849
4849
|
await this.loadMarkets();
|
|
@@ -5065,7 +5065,7 @@ class bybit extends bybit$1 {
|
|
|
5065
5065
|
* @param {int} [params.until] the latest time in ms to fetch deposits for, default = 30 days after since
|
|
5066
5066
|
*
|
|
5067
5067
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
5068
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
5068
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
5069
5069
|
* @param {string} [params.cursor] used for pagination
|
|
5070
5070
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
5071
5071
|
*/
|
|
@@ -5134,7 +5134,7 @@ class bybit extends bybit$1 {
|
|
|
5134
5134
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
5135
5135
|
* @param {object} [params] extra parameters specific to the bybit api endpoint
|
|
5136
5136
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
5137
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
5137
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
5138
5138
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
5139
5139
|
*/
|
|
5140
5140
|
await this.loadMarkets();
|
|
@@ -6643,7 +6643,7 @@ class bybit extends bybit$1 {
|
|
|
6643
6643
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
6644
6644
|
* @param {object} [params] extra parameters specific to the bybit api endpoint
|
|
6645
6645
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
6646
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
6646
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
6647
6647
|
* @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
6648
6648
|
*/
|
|
6649
6649
|
await this.loadMarkets();
|
package/dist/cjs/src/coinbase.js
CHANGED
|
@@ -2401,7 +2401,7 @@ class coinbase extends coinbase$1 {
|
|
|
2401
2401
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2402
2402
|
* @param {object} [params] extra parameters specific to the coinbase api endpoint
|
|
2403
2403
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2404
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2404
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2405
2405
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2406
2406
|
*/
|
|
2407
2407
|
await this.loadMarkets();
|
|
@@ -2567,7 +2567,7 @@ class coinbase extends coinbase$1 {
|
|
|
2567
2567
|
* @param {int} [since] timestamp in ms of the earliest order, default is undefined
|
|
2568
2568
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
2569
2569
|
* @param {object} [params] extra parameters specific to the coinbase api endpoint
|
|
2570
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2570
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2571
2571
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2572
2572
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2573
2573
|
*/
|
|
@@ -2589,7 +2589,7 @@ class coinbase extends coinbase$1 {
|
|
|
2589
2589
|
* @param {int} [since] timestamp in ms of the earliest order, default is undefined
|
|
2590
2590
|
* @param {int} [limit] the maximum number of closed order structures to retrieve
|
|
2591
2591
|
* @param {object} [params] extra parameters specific to the coinbase api endpoint
|
|
2592
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2592
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2593
2593
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2594
2594
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2595
2595
|
*/
|
|
@@ -2627,7 +2627,7 @@ class coinbase extends coinbase$1 {
|
|
|
2627
2627
|
* @param {int} [limit] the maximum amount of candles to fetch, not used by coinbase
|
|
2628
2628
|
* @param {object} [params] extra parameters specific to the coinbase api endpoint
|
|
2629
2629
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2630
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2630
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2631
2631
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
2632
2632
|
*/
|
|
2633
2633
|
await this.loadMarkets();
|
|
@@ -2751,7 +2751,7 @@ class coinbase extends coinbase$1 {
|
|
|
2751
2751
|
* @param {int} [limit] the maximum number of trade structures to fetch
|
|
2752
2752
|
* @param {object} [params] extra parameters specific to the coinbase api endpoint
|
|
2753
2753
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2754
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2754
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2755
2755
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
2756
2756
|
*/
|
|
2757
2757
|
await this.loadMarkets();
|
|
@@ -783,7 +783,7 @@ class coinbasepro extends coinbasepro$1 {
|
|
|
783
783
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
784
784
|
* @param {object} [params] extra parameters specific to the coinbasepro api endpoint
|
|
785
785
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
786
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
786
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
787
787
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
788
788
|
*/
|
|
789
789
|
this.checkRequiredSymbol('fetchMyTrades', symbol);
|
|
@@ -910,7 +910,7 @@ class coinbasepro extends coinbasepro$1 {
|
|
|
910
910
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
911
911
|
* @param {object} [params] extra parameters specific to the coinbasepro api endpoint
|
|
912
912
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
913
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
913
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
914
914
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
915
915
|
*/
|
|
916
916
|
await this.loadMarkets();
|
|
@@ -1145,7 +1145,7 @@ class coinbasepro extends coinbasepro$1 {
|
|
|
1145
1145
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1146
1146
|
* @param {object} [params] extra parameters specific to the coinbasepro api endpoint
|
|
1147
1147
|
* @param {int} [params.until] the latest time in ms to fetch open orders for
|
|
1148
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1148
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1149
1149
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1150
1150
|
*/
|
|
1151
1151
|
await this.loadMarkets();
|
|
@@ -933,9 +933,9 @@ class coinfalcon extends coinfalcon$1 {
|
|
|
933
933
|
const amountString = this.safeString(transaction, 'amount');
|
|
934
934
|
const amount = this.parseNumber(amountString);
|
|
935
935
|
const feeCostString = this.safeString(transaction, 'fee');
|
|
936
|
-
let feeCost = 0;
|
|
936
|
+
let feeCost = '0';
|
|
937
937
|
if (feeCostString !== undefined) {
|
|
938
|
-
feeCost =
|
|
938
|
+
feeCost = feeCostString;
|
|
939
939
|
}
|
|
940
940
|
return {
|
|
941
941
|
'info': transaction,
|
|
@@ -957,7 +957,7 @@ class coinfalcon extends coinfalcon$1 {
|
|
|
957
957
|
'updated': undefined,
|
|
958
958
|
'fee': {
|
|
959
959
|
'currency': code,
|
|
960
|
-
'cost': feeCost,
|
|
960
|
+
'cost': this.parseNumber(feeCost),
|
|
961
961
|
},
|
|
962
962
|
};
|
|
963
963
|
}
|
|
@@ -652,7 +652,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
652
652
|
* @param {int} [limit] the maximum number of order structures to retrieve, default 100 max 100
|
|
653
653
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
654
654
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
655
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
655
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
656
656
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
657
657
|
*/
|
|
658
658
|
await this.loadMarkets();
|
|
@@ -733,7 +733,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
733
733
|
* @param {int} [limit] the maximum number of trades to fetch
|
|
734
734
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
735
735
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
736
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
736
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
737
737
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
738
738
|
*/
|
|
739
739
|
await this.loadMarkets();
|
|
@@ -793,7 +793,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
793
793
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
794
794
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
795
795
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
796
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
796
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
797
797
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
798
798
|
*/
|
|
799
799
|
await this.loadMarkets();
|
|
@@ -1291,7 +1291,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
1291
1291
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
1292
1292
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
1293
1293
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
1294
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1294
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1295
1295
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1296
1296
|
*/
|
|
1297
1297
|
await this.loadMarkets();
|
|
@@ -2786,7 +2786,7 @@ class cryptocom extends cryptocom$1 {
|
|
|
2786
2786
|
* @param {int} [limit] the maximum amount of [funding rate structures] to fetch
|
|
2787
2787
|
* @param {object} [params] extra parameters specific to the cryptocom api endpoint
|
|
2788
2788
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
2789
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2789
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2790
2790
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2791
2791
|
*/
|
|
2792
2792
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
package/dist/cjs/src/gate.js
CHANGED
|
@@ -2824,7 +2824,7 @@ class gate extends gate$1 {
|
|
|
2824
2824
|
* @param {object} [params] extra parameters specific to the gateio api endpoint
|
|
2825
2825
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
2826
2826
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
2827
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2827
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2828
2828
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume (units in quote currency)
|
|
2829
2829
|
*/
|
|
2830
2830
|
await this.loadMarkets();
|
|
@@ -3000,7 +3000,7 @@ class gate extends gate$1 {
|
|
|
3000
3000
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
3001
3001
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3002
3002
|
* @param {int} [params.until] timestamp in ms of the latest trade to fetch
|
|
3003
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3003
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3004
3004
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
3005
3005
|
*/
|
|
3006
3006
|
await this.loadMarkets();
|
|
@@ -3151,7 +3151,7 @@ class gate extends gate$1 {
|
|
|
3151
3151
|
* @param {int} [params.offset] *contract only* list offset, starting from 0
|
|
3152
3152
|
* @param {string} [params.last_id] *contract only* specify list staring point using the id of last record in previous list-query results
|
|
3153
3153
|
* @param {int} [params.count_total] *contract only* whether to return total number matched, default to 0(no return)
|
|
3154
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3154
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3155
3155
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
3156
3156
|
*/
|
|
3157
3157
|
await this.loadMarkets();
|
|
@@ -3420,7 +3420,7 @@ class gate extends gate$1 {
|
|
|
3420
3420
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
3421
3421
|
* @param {int} [params.until] end time in ms
|
|
3422
3422
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3423
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3423
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3424
3424
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3425
3425
|
*/
|
|
3426
3426
|
await this.loadMarkets();
|
|
@@ -3457,7 +3457,7 @@ class gate extends gate$1 {
|
|
|
3457
3457
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
3458
3458
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3459
3459
|
* @param {int} [params.until] end time in ms
|
|
3460
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3460
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3461
3461
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3462
3462
|
*/
|
|
3463
3463
|
await this.loadMarkets();
|
|
@@ -6033,7 +6033,7 @@ class gate extends gate$1 {
|
|
|
6033
6033
|
* @param {int} [limit] max number of ledger entries to return
|
|
6034
6034
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
6035
6035
|
* @param {int} [params.until] end time in ms
|
|
6036
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
6036
|
+
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
6037
6037
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
6038
6038
|
*/
|
|
6039
6039
|
await this.loadMarkets();
|