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.
Files changed (56) hide show
  1. package/CHANGELOG.md +194 -0
  2. package/README.md +3 -3
  3. package/dist/ccxt.browser.js +142 -97
  4. package/dist/ccxt.browser.min.js +2 -2
  5. package/dist/cjs/ccxt.js +1 -1
  6. package/dist/cjs/src/binance.js +11 -11
  7. package/dist/cjs/src/bingx.js +2 -2
  8. package/dist/cjs/src/bitbns.js +3 -3
  9. package/dist/cjs/src/bitfinex2.js +5 -5
  10. package/dist/cjs/src/bitget.js +6 -6
  11. package/dist/cjs/src/bitmart.js +2 -0
  12. package/dist/cjs/src/bitmex.js +4 -4
  13. package/dist/cjs/src/bybit.js +7 -7
  14. package/dist/cjs/src/coinbase.js +5 -5
  15. package/dist/cjs/src/coinbasepro.js +3 -3
  16. package/dist/cjs/src/coinfalcon.js +3 -3
  17. package/dist/cjs/src/cryptocom.js +5 -5
  18. package/dist/cjs/src/gate.js +6 -6
  19. package/dist/cjs/src/huobi.js +4 -4
  20. package/dist/cjs/src/kraken.js +1 -1
  21. package/dist/cjs/src/krakenfutures.js +2 -2
  22. package/dist/cjs/src/kucoin.js +9 -9
  23. package/dist/cjs/src/kucoinfutures.js +6 -6
  24. package/dist/cjs/src/mexc.js +46 -3
  25. package/dist/cjs/src/okx.js +8 -8
  26. package/dist/cjs/src/poloniex.js +2 -2
  27. package/dist/cjs/src/pro/exmo.js +1 -1
  28. package/js/ccxt.d.ts +1 -1
  29. package/js/ccxt.js +1 -1
  30. package/js/src/abstract/bitmart.d.ts +1 -0
  31. package/js/src/abstract/mexc.d.ts +2 -0
  32. package/js/src/abstract/mexc3.d.ts +2 -0
  33. package/js/src/binance.js +11 -11
  34. package/js/src/bingx.js +2 -2
  35. package/js/src/bitbns.js +3 -3
  36. package/js/src/bitfinex2.js +5 -5
  37. package/js/src/bitget.js +6 -6
  38. package/js/src/bitmart.js +2 -0
  39. package/js/src/bitmex.js +4 -4
  40. package/js/src/bybit.js +7 -7
  41. package/js/src/coinbase.js +5 -5
  42. package/js/src/coinbasepro.js +3 -3
  43. package/js/src/coinfalcon.js +3 -3
  44. package/js/src/cryptocom.js +5 -5
  45. package/js/src/gate.js +6 -6
  46. package/js/src/huobi.js +4 -4
  47. package/js/src/kraken.js +1 -1
  48. package/js/src/krakenfutures.js +2 -2
  49. package/js/src/kucoin.js +9 -9
  50. package/js/src/kucoinfutures.js +6 -6
  51. package/js/src/mexc.d.ts +1 -1
  52. package/js/src/mexc.js +46 -3
  53. package/js/src/okx.js +8 -8
  54. package/js/src/poloniex.js +2 -2
  55. package/js/src/pro/exmo.js +1 -1
  56. package/package.json +1 -1
package/js/src/bitbns.js CHANGED
@@ -441,13 +441,13 @@ export default class bitbns extends Exchange {
441
441
  if (numParts > 1) {
442
442
  let currencyId = this.safeString(parts, 1);
443
443
  // note that "Money" stands for INR - the only fiat in bitbns
444
+ const account = this.account();
445
+ account['free'] = this.safeString(data, key);
446
+ account['used'] = this.safeString(data, 'inorder' + currencyId);
444
447
  if (currencyId === 'Money') {
445
448
  currencyId = 'INR';
446
449
  }
447
450
  const code = this.safeCurrencyCode(currencyId);
448
- const account = this.account();
449
- account['free'] = this.safeString(data, key);
450
- account['used'] = this.safeString(data, 'inorder' + currencyId);
451
451
  result[code] = account;
452
452
  }
453
453
  }
@@ -1274,7 +1274,7 @@ export default class bitfinex2 extends Exchange {
1274
1274
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1275
1275
  * @param {int} [limit] the maximum amount of trades to fetch
1276
1276
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1277
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1277
+ * @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)
1278
1278
  * @param {int} [params.until] the latest time in ms to fetch entries for
1279
1279
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1280
1280
  */
@@ -1325,7 +1325,7 @@ export default class bitfinex2 extends Exchange {
1325
1325
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1326
1326
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1327
1327
  * @param {int} [params.until] timestamp in ms of the latest candle to fetch
1328
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1328
+ * @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)
1329
1329
  */
1330
1330
  await this.loadMarkets();
1331
1331
  let paginate = false;
@@ -1819,7 +1819,7 @@ export default class bitfinex2 extends Exchange {
1819
1819
  * @param {int} [limit] the maximum number of orde structures to retrieve
1820
1820
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1821
1821
  * @param {int} [params.until] the latest time in ms to fetch entries for
1822
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1822
+ * @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)
1823
1823
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1824
1824
  */
1825
1825
  // returns the most recent closed or canceled orders up to circa two weeks ago
@@ -2709,7 +2709,7 @@ export default class bitfinex2 extends Exchange {
2709
2709
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
2710
2710
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
2711
2711
  * @param {int} [params.until] timestamp in ms of the latest ledger entry
2712
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2712
+ * @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)
2713
2713
  * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
2714
2714
  */
2715
2715
  await this.loadMarkets();
@@ -2826,7 +2826,7 @@ export default class bitfinex2 extends Exchange {
2826
2826
  * @param {string} symbol unified market symbol
2827
2827
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2828
2828
  * @param {int} [params.until] timestamp in ms of the latest funding rate
2829
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2829
+ * @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)
2830
2830
  * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
2831
2831
  */
2832
2832
  await this.loadMarkets();
package/js/src/bitget.js CHANGED
@@ -1562,7 +1562,7 @@ export default class bitget extends Exchange {
1562
1562
  * @param {string} [params.pageNo] pageNo default 1
1563
1563
  * @param {string} [params.pageSize] pageSize default 20. Max 100
1564
1564
  * @param {int} [params.until] end tim in ms
1565
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1565
+ * @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)
1566
1566
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1567
1567
  */
1568
1568
  await this.loadMarkets();
@@ -1700,7 +1700,7 @@ export default class bitget extends Exchange {
1700
1700
  * @param {string} [params.pageNo] pageNo default 1
1701
1701
  * @param {string} [params.pageSize] pageSize default 20. Max 100
1702
1702
  * @param {int} [params.until] end time in ms
1703
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1703
+ * @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)
1704
1704
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1705
1705
  */
1706
1706
  await this.loadMarkets();
@@ -2515,7 +2515,7 @@ export default class bitget extends Exchange {
2515
2515
  * @param {int} [limit] the maximum amount of candles to fetch
2516
2516
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2517
2517
  * @param {int} [params.until] timestamp in ms of the latest candle to fetch
2518
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2518
+ * @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)
2519
2519
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
2520
2520
  */
2521
2521
  await this.loadMarkets();
@@ -3905,7 +3905,7 @@ export default class bitget extends Exchange {
3905
3905
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
3906
3906
  * @param {object} [params] extra parameters specific to the bitget api endpoint
3907
3907
  * @param {int} [params.until] end tim in ms
3908
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3908
+ * @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)
3909
3909
  * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
3910
3910
  */
3911
3911
  await this.loadMarkets();
@@ -4006,7 +4006,7 @@ export default class bitget extends Exchange {
4006
4006
  * @param {int} [limit] the maximum number of trades structures to retrieve
4007
4007
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4008
4008
  * @param {int} [params.until] *swap only* the latest time in ms to fetch entries for
4009
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
4009
+ * @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)
4010
4010
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
4011
4011
  */
4012
4012
  this.checkRequiredSymbol('fetchMyTrades', symbol);
@@ -4912,7 +4912,7 @@ export default class bitget extends Exchange {
4912
4912
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4913
4913
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4914
4914
  * @param {int} [params.until] the latest time in ms to fetch entries for
4915
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
4915
+ * @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)
4916
4916
  * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4917
4917
  */
4918
4918
  await this.loadMarkets();
package/js/src/bitmart.js CHANGED
@@ -182,6 +182,8 @@ export default class bitmart extends Exchange {
182
182
  'spot/v1/margin/isolated/account': 6,
183
183
  'spot/v1/trade_fee': 6,
184
184
  'spot/v1/user_fee': 6,
185
+ // broker
186
+ 'spot/v1/broker/rebate': 1,
185
187
  // contract
186
188
  'contract/private/assets-detail': 5,
187
189
  'contract/private/order': 1.2,
package/js/src/bitmex.js CHANGED
@@ -865,7 +865,7 @@ export default class bitmex extends Exchange {
865
865
  * @param {int} [limit] the maximum number of orde structures to retrieve
866
866
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
867
867
  * @param {int} [params.until] the earliest time in ms to fetch orders for
868
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
868
+ * @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)
869
869
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
870
870
  */
871
871
  await this.loadMarkets();
@@ -944,7 +944,7 @@ export default class bitmex extends Exchange {
944
944
  * @param {int} [since] the earliest time in ms to fetch trades for
945
945
  * @param {int} [limit] the maximum number of trades structures to retrieve
946
946
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
947
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
947
+ * @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)
948
948
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
949
949
  */
950
950
  await this.loadMarkets();
@@ -1425,7 +1425,7 @@ export default class bitmex extends Exchange {
1425
1425
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1426
1426
  * @param {int} [limit] the maximum amount of candles to fetch
1427
1427
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
1428
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1428
+ * @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)
1429
1429
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1430
1430
  */
1431
1431
  await this.loadMarkets();
@@ -1748,7 +1748,7 @@ export default class bitmex extends Exchange {
1748
1748
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1749
1749
  * @param {int} [limit] the maximum amount of trades to fetch
1750
1750
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
1751
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1751
+ * @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)
1752
1752
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1753
1753
  */
1754
1754
  await this.loadMarkets();
package/js/src/bybit.js CHANGED
@@ -2389,7 +2389,7 @@ export default class bybit extends Exchange {
2389
2389
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
2390
2390
  * @param {int} [limit] the maximum amount of candles to fetch
2391
2391
  * @param {object} [params] extra parameters specific to the bybit api endpoint
2392
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2392
+ * @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)
2393
2393
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
2394
2394
  */
2395
2395
  this.checkRequiredSymbol('fetchOHLCV', symbol);
@@ -2633,7 +2633,7 @@ export default class bybit extends Exchange {
2633
2633
  * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
2634
2634
  * @param {object} [params] extra parameters specific to the bybit api endpoint
2635
2635
  * @param {int} [params.until] timestamp in ms of the latest funding rate
2636
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2636
+ * @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)
2637
2637
  * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
2638
2638
  */
2639
2639
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
@@ -4466,7 +4466,7 @@ export default class bybit extends Exchange {
4466
4466
  * @param {string} [params.subType] market subType, ['linear', 'inverse']
4467
4467
  * @param {string} [params.orderFilter] 'Order' or 'StopOrder' or 'tpslOrder'
4468
4468
  * @param {int} [params.until] the latest time in ms to fetch entries for
4469
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
4469
+ * @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)
4470
4470
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
4471
4471
  */
4472
4472
  await this.loadMarkets();
@@ -4846,7 +4846,7 @@ export default class bybit extends Exchange {
4846
4846
  * @param {boolean} [params.stop] true if stop order
4847
4847
  * @param {string} [params.type] market type, ['swap', 'option', 'spot']
4848
4848
  * @param {string} [params.subType] market subType, ['linear', 'inverse']
4849
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
4849
+ * @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)
4850
4850
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
4851
4851
  */
4852
4852
  await this.loadMarkets();
@@ -5068,7 +5068,7 @@ export default class bybit extends Exchange {
5068
5068
  * @param {int} [params.until] the latest time in ms to fetch deposits for, default = 30 days after since
5069
5069
  *
5070
5070
  * EXCHANGE SPECIFIC PARAMETERS
5071
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
5071
+ * @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)
5072
5072
  * @param {string} [params.cursor] used for pagination
5073
5073
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
5074
5074
  */
@@ -5137,7 +5137,7 @@ export default class bybit extends Exchange {
5137
5137
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
5138
5138
  * @param {object} [params] extra parameters specific to the bybit api endpoint
5139
5139
  * @param {int} [params.until] the latest time in ms to fetch entries for
5140
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
5140
+ * @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)
5141
5141
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
5142
5142
  */
5143
5143
  await this.loadMarkets();
@@ -6649,7 +6649,7 @@ export default class bybit extends Exchange {
6649
6649
  * @param {int} [limit] the maximum number of transfers structures to retrieve
6650
6650
  * @param {object} [params] extra parameters specific to the bybit api endpoint
6651
6651
  * @param {int} [params.until] the latest time in ms to fetch entries for
6652
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
6652
+ * @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)
6653
6653
  * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
6654
6654
  */
6655
6655
  await this.loadMarkets();
@@ -2404,7 +2404,7 @@ export default class coinbase extends Exchange {
2404
2404
  * @param {int} [limit] the maximum number of order structures to retrieve
2405
2405
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
2406
2406
  * @param {int} [params.until] the latest time in ms to fetch trades for
2407
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2407
+ * @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)
2408
2408
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2409
2409
  */
2410
2410
  await this.loadMarkets();
@@ -2570,7 +2570,7 @@ export default class coinbase extends Exchange {
2570
2570
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
2571
2571
  * @param {int} [limit] the maximum number of open order structures to retrieve
2572
2572
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
2573
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2573
+ * @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)
2574
2574
  * @param {int} [params.until] the latest time in ms to fetch trades for
2575
2575
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2576
2576
  */
@@ -2592,7 +2592,7 @@ export default class coinbase extends Exchange {
2592
2592
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
2593
2593
  * @param {int} [limit] the maximum number of closed order structures to retrieve
2594
2594
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
2595
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2595
+ * @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)
2596
2596
  * @param {int} [params.until] the latest time in ms to fetch trades for
2597
2597
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2598
2598
  */
@@ -2630,7 +2630,7 @@ export default class coinbase extends Exchange {
2630
2630
  * @param {int} [limit] the maximum amount of candles to fetch, not used by coinbase
2631
2631
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
2632
2632
  * @param {int} [params.until] the latest time in ms to fetch trades for
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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
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 {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
2635
2635
  */
2636
2636
  await this.loadMarkets();
@@ -2754,7 +2754,7 @@ export default class coinbase extends Exchange {
2754
2754
  * @param {int} [limit] the maximum number of trade structures to fetch
2755
2755
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
2756
2756
  * @param {int} [params.until] the latest time in ms to fetch trades for
2757
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2757
+ * @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)
2758
2758
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2759
2759
  */
2760
2760
  await this.loadMarkets();
@@ -786,7 +786,7 @@ export default class coinbasepro extends Exchange {
786
786
  * @param {int} [limit] the maximum number of trades structures to retrieve
787
787
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
788
788
  * @param {int} [params.until] the latest time in ms to fetch trades for
789
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
789
+ * @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)
790
790
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
791
791
  */
792
792
  this.checkRequiredSymbol('fetchMyTrades', symbol);
@@ -913,7 +913,7 @@ export default class coinbasepro extends Exchange {
913
913
  * @param {int} [limit] the maximum amount of candles to fetch
914
914
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
915
915
  * @param {int} [params.until] the latest time in ms to fetch trades for
916
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
916
+ * @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)
917
917
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
918
918
  */
919
919
  await this.loadMarkets();
@@ -1148,7 +1148,7 @@ export default class coinbasepro extends Exchange {
1148
1148
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1149
1149
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
1150
1150
  * @param {int} [params.until] the latest time in ms to fetch open orders for
1151
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1151
+ * @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)
1152
1152
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1153
1153
  */
1154
1154
  await this.loadMarkets();
@@ -936,9 +936,9 @@ export default class coinfalcon extends Exchange {
936
936
  const amountString = this.safeString(transaction, 'amount');
937
937
  const amount = this.parseNumber(amountString);
938
938
  const feeCostString = this.safeString(transaction, 'fee');
939
- let feeCost = 0;
939
+ let feeCost = '0';
940
940
  if (feeCostString !== undefined) {
941
- feeCost = this.parseNumber(feeCostString);
941
+ feeCost = feeCostString;
942
942
  }
943
943
  return {
944
944
  'info': transaction,
@@ -960,7 +960,7 @@ export default class coinfalcon extends Exchange {
960
960
  'updated': undefined,
961
961
  'fee': {
962
962
  'currency': code,
963
- 'cost': feeCost,
963
+ 'cost': this.parseNumber(feeCost),
964
964
  },
965
965
  };
966
966
  }
@@ -655,7 +655,7 @@ export default class cryptocom extends Exchange {
655
655
  * @param {int} [limit] the maximum number of order structures to retrieve, default 100 max 100
656
656
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
657
657
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
658
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
658
+ * @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)
659
659
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
660
660
  */
661
661
  await this.loadMarkets();
@@ -736,7 +736,7 @@ export default class cryptocom extends Exchange {
736
736
  * @param {int} [limit] the maximum number of trades to fetch
737
737
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
738
738
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
739
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
739
+ * @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)
740
740
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
741
741
  */
742
742
  await this.loadMarkets();
@@ -796,7 +796,7 @@ export default class cryptocom extends Exchange {
796
796
  * @param {int} [limit] the maximum amount of candles to fetch
797
797
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
798
798
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
799
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
799
+ * @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)
800
800
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
801
801
  */
802
802
  await this.loadMarkets();
@@ -1294,7 +1294,7 @@ export default class cryptocom extends Exchange {
1294
1294
  * @param {int} [limit] the maximum number of trade structures to retrieve
1295
1295
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1296
1296
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
1297
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1297
+ * @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)
1298
1298
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1299
1299
  */
1300
1300
  await this.loadMarkets();
@@ -2789,7 +2789,7 @@ export default class cryptocom extends Exchange {
2789
2789
  * @param {int} [limit] the maximum amount of [funding rate structures] to fetch
2790
2790
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2791
2791
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
2792
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2792
+ * @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)
2793
2793
  * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
2794
2794
  */
2795
2795
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
package/js/src/gate.js CHANGED
@@ -2827,7 +2827,7 @@ export default class gate extends Exchange {
2827
2827
  * @param {object} [params] extra parameters specific to the gateio api endpoint
2828
2828
  * @param {string} [params.price] "mark" or "index" for mark price and index price candles
2829
2829
  * @param {int} [params.until] timestamp in ms of the latest candle to fetch
2830
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2830
+ * @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)
2831
2831
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume (units in quote currency)
2832
2832
  */
2833
2833
  await this.loadMarkets();
@@ -3003,7 +3003,7 @@ export default class gate extends Exchange {
3003
3003
  * @param {int} [limit] the maximum amount of trades to fetch
3004
3004
  * @param {object} [params] extra parameters specific to the gate api endpoint
3005
3005
  * @param {int} [params.until] timestamp in ms of the latest trade to fetch
3006
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3006
+ * @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)
3007
3007
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
3008
3008
  */
3009
3009
  await this.loadMarkets();
@@ -3154,7 +3154,7 @@ export default class gate extends Exchange {
3154
3154
  * @param {int} [params.offset] *contract only* list offset, starting from 0
3155
3155
  * @param {string} [params.last_id] *contract only* specify list staring point using the id of last record in previous list-query results
3156
3156
  * @param {int} [params.count_total] *contract only* whether to return total number matched, default to 0(no return)
3157
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3157
+ * @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)
3158
3158
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3159
3159
  */
3160
3160
  await this.loadMarkets();
@@ -3423,7 +3423,7 @@ export default class gate extends Exchange {
3423
3423
  * @param {int} [limit] the maximum number of deposits structures to retrieve
3424
3424
  * @param {int} [params.until] end time in ms
3425
3425
  * @param {object} [params] extra parameters specific to the gate api endpoint
3426
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3426
+ * @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)
3427
3427
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3428
3428
  */
3429
3429
  await this.loadMarkets();
@@ -3460,7 +3460,7 @@ export default class gate extends Exchange {
3460
3460
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
3461
3461
  * @param {object} [params] extra parameters specific to the gate api endpoint
3462
3462
  * @param {int} [params.until] end time in ms
3463
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3463
+ * @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)
3464
3464
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3465
3465
  */
3466
3466
  await this.loadMarkets();
@@ -6036,7 +6036,7 @@ export default class gate extends Exchange {
6036
6036
  * @param {int} [limit] max number of ledger entries to return
6037
6037
  * @param {object} [params] extra parameters specific to the gate api endpoint
6038
6038
  * @param {int} [params.until] end time in ms
6039
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
6039
+ * @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)
6040
6040
  * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
6041
6041
  */
6042
6042
  await this.loadMarkets();
package/js/src/huobi.js CHANGED
@@ -2368,7 +2368,7 @@ export default class huobi extends Exchange {
2368
2368
  * @param {int} [limit] the maximum number of trades structures to retrieve
2369
2369
  * @param {object} [params] extra parameters specific to the huobi api endpoint
2370
2370
  * @param {int} [params.until] the latest time in ms to fetch trades for
2371
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2371
+ * @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)
2372
2372
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2373
2373
  */
2374
2374
  await this.loadMarkets();
@@ -2645,7 +2645,7 @@ export default class huobi extends Exchange {
2645
2645
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
2646
2646
  * @param {int} [limit] the maximum amount of candles to fetch
2647
2647
  * @param {object} [params] extra parameters specific to the huobi api endpoint
2648
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2648
+ * @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)
2649
2649
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
2650
2650
  */
2651
2651
  await this.loadMarkets();
@@ -3927,7 +3927,7 @@ export default class huobi extends Exchange {
3927
3927
  * @param {int} [limit] the maximum number of orde structures to retrieve
3928
3928
  * @param {object} [params] extra parameters specific to the huobi api endpoint
3929
3929
  * @param {int} [params.until] the latest time in ms to fetch entries for
3930
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3930
+ * @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)
3931
3931
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3932
3932
  */
3933
3933
  await this.loadMarkets();
@@ -7295,7 +7295,7 @@ export default class huobi extends Exchange {
7295
7295
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
7296
7296
  * @param {object} [params] extra parameters specific to the huobi api endpoint
7297
7297
  * @param {int} [params.until] the latest time in ms to fetch entries for
7298
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
7298
+ * @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)
7299
7299
  * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
7300
7300
  */
7301
7301
  await this.loadMarkets();
package/js/src/kraken.js CHANGED
@@ -863,7 +863,7 @@ export default class kraken extends Exchange {
863
863
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
864
864
  * @param {int} [limit] the maximum amount of candles to fetch
865
865
  * @param {object} [params] extra parameters specific to the kraken api endpoint
866
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
866
+ * @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)
867
867
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
868
868
  */
869
869
  await this.loadMarkets();
@@ -574,7 +574,7 @@ export default class krakenfutures extends Exchange {
574
574
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
575
575
  * @param {int} [limit] the maximum amount of candles to fetch
576
576
  * @param {object} [params] extra parameters specific to the kraken api endpoint
577
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
577
+ * @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)
578
578
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
579
579
  */
580
580
  await this.loadMarkets();
@@ -660,7 +660,7 @@ export default class krakenfutures extends Exchange {
660
660
  * @param {int} [limit] Total number of trades, cannot exceed 100
661
661
  * @param {object} [params] Exchange specific params
662
662
  * @param {int} [params.until] Timestamp in ms of latest trade
663
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
663
+ * @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)
664
664
  * @returns An array of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
665
665
  */
666
666
  await this.loadMarkets();
package/js/src/kucoin.js CHANGED
@@ -1561,7 +1561,7 @@ export default class kucoin extends Exchange {
1561
1561
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1562
1562
  * @param {int} [limit] the maximum amount of candles to fetch
1563
1563
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
1564
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1564
+ * @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)
1565
1565
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1566
1566
  */
1567
1567
  await this.loadMarkets();
@@ -2225,10 +2225,10 @@ export default class kucoin extends Exchange {
2225
2225
  * @param {string} [params.tradeType] TRADE for spot trading, MARGIN_TRADE for Margin Trading
2226
2226
  * @param {bool} [params.stop] True if fetching a stop order
2227
2227
  * @param {bool} [params.hf] false, // true for hf order
2228
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2228
+ * @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)
2229
2229
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2230
2230
  */
2231
- await this.loadMarkets;
2231
+ await this.loadMarkets();
2232
2232
  let paginate = false;
2233
2233
  [paginate, params] = this.handleOptionAndParams(params, 'fetchClosedOrders', 'paginate');
2234
2234
  if (paginate) {
@@ -2258,10 +2258,10 @@ export default class kucoin extends Exchange {
2258
2258
  * @param {string} [params.orderIds] *stop orders only* comma seperated order ID list
2259
2259
  * @param {bool} [params.stop] True if fetching a stop order
2260
2260
  * @param {bool} [params.hf] false, // true for hf order
2261
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2261
+ * @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)
2262
2262
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2263
2263
  */
2264
- await this.loadMarkets;
2264
+ await this.loadMarkets();
2265
2265
  let paginate = false;
2266
2266
  [paginate, params] = this.handleOptionAndParams(params, 'fetchOpenOrders', 'paginate');
2267
2267
  if (paginate) {
@@ -2555,7 +2555,7 @@ export default class kucoin extends Exchange {
2555
2555
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
2556
2556
  * @param {int} [params.until] the latest time in ms to fetch entries for
2557
2557
  * @param {bool} [params.hf] false, // true for hf order
2558
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2558
+ * @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)
2559
2559
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2560
2560
  */
2561
2561
  await this.loadMarkets();
@@ -3058,7 +3058,7 @@ export default class kucoin extends Exchange {
3058
3058
  * @param {int} [limit] the maximum number of deposits structures to retrieve
3059
3059
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
3060
3060
  * @param {int} [params.until] the latest time in ms to fetch entries for
3061
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3061
+ * @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)
3062
3062
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3063
3063
  */
3064
3064
  await this.loadMarkets();
@@ -3142,7 +3142,7 @@ export default class kucoin extends Exchange {
3142
3142
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
3143
3143
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
3144
3144
  * @param {int} [params.until] the latest time in ms to fetch entries for
3145
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3145
+ * @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)
3146
3146
  * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3147
3147
  */
3148
3148
  await this.loadMarkets();
@@ -3666,7 +3666,7 @@ export default class kucoin extends Exchange {
3666
3666
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
3667
3667
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
3668
3668
  * @param {int} [params.until] the latest time in ms to fetch entries for
3669
- * @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] (ttps://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
3669
+ * @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)
3670
3670
  * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
3671
3671
  */
3672
3672
  await this.loadMarkets();