ccxt 4.1.6 → 4.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/ccxt.browser.js +84 -84
- package/dist/ccxt.browser.min.js +1 -1
- 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/bitfinex2.js +5 -5
- package/dist/cjs/src/bitget.js +6 -6
- 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/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 +7 -7
- package/dist/cjs/src/kucoinfutures.js +5 -5
- package/dist/cjs/src/okx.js +8 -8
- package/dist/cjs/src/poloniex.js +2 -2
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/binance.js +11 -11
- package/js/src/bingx.js +2 -2
- package/js/src/bitfinex2.js +5 -5
- package/js/src/bitget.js +6 -6
- 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/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 +7 -7
- package/js/src/kucoinfutures.js +5 -5
- package/js/src/okx.js +8 -8
- package/js/src/poloniex.js +2 -2
- package/package.json +1 -1
package/dist/cjs/src/huobi.js
CHANGED
|
@@ -2365,7 +2365,7 @@ class huobi extends huobi$1 {
|
|
|
2365
2365
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
2366
2366
|
* @param {object} [params] extra parameters specific to the huobi api endpoint
|
|
2367
2367
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2368
|
-
* @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]
|
|
2368
|
+
* @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)
|
|
2369
2369
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
2370
2370
|
*/
|
|
2371
2371
|
await this.loadMarkets();
|
|
@@ -2642,7 +2642,7 @@ class huobi extends huobi$1 {
|
|
|
2642
2642
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
2643
2643
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
2644
2644
|
* @param {object} [params] extra parameters specific to the huobi api endpoint
|
|
2645
|
-
* @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]
|
|
2645
|
+
* @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)
|
|
2646
2646
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
2647
2647
|
*/
|
|
2648
2648
|
await this.loadMarkets();
|
|
@@ -3924,7 +3924,7 @@ class huobi extends huobi$1 {
|
|
|
3924
3924
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
3925
3925
|
* @param {object} [params] extra parameters specific to the huobi api endpoint
|
|
3926
3926
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
3927
|
-
* @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]
|
|
3927
|
+
* @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)
|
|
3928
3928
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3929
3929
|
*/
|
|
3930
3930
|
await this.loadMarkets();
|
|
@@ -7292,7 +7292,7 @@ class huobi extends huobi$1 {
|
|
|
7292
7292
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
7293
7293
|
* @param {object} [params] extra parameters specific to the huobi api endpoint
|
|
7294
7294
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
7295
|
-
* @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]
|
|
7295
|
+
* @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)
|
|
7296
7296
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
7297
7297
|
*/
|
|
7298
7298
|
await this.loadMarkets();
|
package/dist/cjs/src/kraken.js
CHANGED
|
@@ -860,7 +860,7 @@ class kraken extends kraken$1 {
|
|
|
860
860
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
861
861
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
862
862
|
* @param {object} [params] extra parameters specific to the kraken api endpoint
|
|
863
|
-
* @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]
|
|
863
|
+
* @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)
|
|
864
864
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
865
865
|
*/
|
|
866
866
|
await this.loadMarkets();
|
|
@@ -571,7 +571,7 @@ class krakenfutures extends krakenfutures$1 {
|
|
|
571
571
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
572
572
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
573
573
|
* @param {object} [params] extra parameters specific to the kraken api endpoint
|
|
574
|
-
* @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]
|
|
574
|
+
* @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)
|
|
575
575
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
576
576
|
*/
|
|
577
577
|
await this.loadMarkets();
|
|
@@ -657,7 +657,7 @@ class krakenfutures extends krakenfutures$1 {
|
|
|
657
657
|
* @param {int} [limit] Total number of trades, cannot exceed 100
|
|
658
658
|
* @param {object} [params] Exchange specific params
|
|
659
659
|
* @param {int} [params.until] Timestamp in ms of latest trade
|
|
660
|
-
* @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]
|
|
660
|
+
* @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)
|
|
661
661
|
* @returns An array of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
662
662
|
*/
|
|
663
663
|
await this.loadMarkets();
|
package/dist/cjs/src/kucoin.js
CHANGED
|
@@ -1558,7 +1558,7 @@ class kucoin extends kucoin$1 {
|
|
|
1558
1558
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
1559
1559
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
1560
1560
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
1561
|
-
* @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]
|
|
1561
|
+
* @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)
|
|
1562
1562
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
1563
1563
|
*/
|
|
1564
1564
|
await this.loadMarkets();
|
|
@@ -2222,7 +2222,7 @@ class kucoin extends kucoin$1 {
|
|
|
2222
2222
|
* @param {string} [params.tradeType] TRADE for spot trading, MARGIN_TRADE for Margin Trading
|
|
2223
2223
|
* @param {bool} [params.stop] True if fetching a stop order
|
|
2224
2224
|
* @param {bool} [params.hf] false, // true for hf order
|
|
2225
|
-
* @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]
|
|
2225
|
+
* @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)
|
|
2226
2226
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2227
2227
|
*/
|
|
2228
2228
|
await this.loadMarkets;
|
|
@@ -2255,7 +2255,7 @@ class kucoin extends kucoin$1 {
|
|
|
2255
2255
|
* @param {string} [params.orderIds] *stop orders only* comma seperated order ID list
|
|
2256
2256
|
* @param {bool} [params.stop] True if fetching a stop order
|
|
2257
2257
|
* @param {bool} [params.hf] false, // true for hf order
|
|
2258
|
-
* @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]
|
|
2258
|
+
* @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)
|
|
2259
2259
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2260
2260
|
*/
|
|
2261
2261
|
await this.loadMarkets;
|
|
@@ -2552,7 +2552,7 @@ class kucoin extends kucoin$1 {
|
|
|
2552
2552
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
2553
2553
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
2554
2554
|
* @param {bool} [params.hf] false, // true for hf order
|
|
2555
|
-
* @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]
|
|
2555
|
+
* @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)
|
|
2556
2556
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
2557
2557
|
*/
|
|
2558
2558
|
await this.loadMarkets();
|
|
@@ -3055,7 +3055,7 @@ class kucoin extends kucoin$1 {
|
|
|
3055
3055
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
3056
3056
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
3057
3057
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
3058
|
-
* @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]
|
|
3058
|
+
* @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)
|
|
3059
3059
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3060
3060
|
*/
|
|
3061
3061
|
await this.loadMarkets();
|
|
@@ -3139,7 +3139,7 @@ class kucoin extends kucoin$1 {
|
|
|
3139
3139
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
3140
3140
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
3141
3141
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
3142
|
-
* @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]
|
|
3142
|
+
* @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)
|
|
3143
3143
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3144
3144
|
*/
|
|
3145
3145
|
await this.loadMarkets();
|
|
@@ -3663,7 +3663,7 @@ class kucoin extends kucoin$1 {
|
|
|
3663
3663
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
3664
3664
|
* @param {object} [params] extra parameters specific to the kucoin api endpoint
|
|
3665
3665
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
3666
|
-
* @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]
|
|
3666
|
+
* @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)
|
|
3667
3667
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
3668
3668
|
*/
|
|
3669
3669
|
await this.loadMarkets();
|
|
@@ -537,7 +537,7 @@ class kucoinfutures extends kucoinfutures$1 {
|
|
|
537
537
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
538
538
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
539
539
|
* @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
|
|
540
|
-
* @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]
|
|
540
|
+
* @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)
|
|
541
541
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
542
542
|
*/
|
|
543
543
|
await this.loadMarkets();
|
|
@@ -1425,7 +1425,7 @@ class kucoinfutures extends kucoinfutures$1 {
|
|
|
1425
1425
|
* @param {int} [params.until] End time in ms
|
|
1426
1426
|
* @param {string} [params.side] buy or sell
|
|
1427
1427
|
* @param {string} [params.type] limit or market
|
|
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]
|
|
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 An [array of order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1430
1430
|
*/
|
|
1431
1431
|
await this.loadMarkets();
|
|
@@ -1531,7 +1531,7 @@ class kucoinfutures extends kucoinfutures$1 {
|
|
|
1531
1531
|
* @param {int} [params.till] end time in ms
|
|
1532
1532
|
* @param {string} [params.side] buy or sell
|
|
1533
1533
|
* @param {string} [params.type] limit, or market
|
|
1534
|
-
* @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]
|
|
1534
|
+
* @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)
|
|
1535
1535
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1536
1536
|
*/
|
|
1537
1537
|
await this.loadMarkets;
|
|
@@ -1905,7 +1905,7 @@ class kucoinfutures extends kucoinfutures$1 {
|
|
|
1905
1905
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1906
1906
|
* @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
|
|
1907
1907
|
* @param {int} [params.until] End time in ms
|
|
1908
|
-
* @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]
|
|
1908
|
+
* @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)
|
|
1909
1909
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1910
1910
|
*/
|
|
1911
1911
|
await this.loadMarkets();
|
|
@@ -2331,7 +2331,7 @@ class kucoinfutures extends kucoinfutures$1 {
|
|
|
2331
2331
|
* @param {int} [since] not used by kucuoinfutures
|
|
2332
2332
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2333
2333
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
2334
|
-
* @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]
|
|
2334
|
+
* @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)
|
|
2335
2335
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2336
2336
|
*/
|
|
2337
2337
|
if (symbol === undefined) {
|
package/dist/cjs/src/okx.js
CHANGED
|
@@ -2051,7 +2051,7 @@ class okx extends okx$1 {
|
|
|
2051
2051
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
2052
2052
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
2053
2053
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
2054
|
-
* @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]
|
|
2054
|
+
* @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)
|
|
2055
2055
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
2056
2056
|
*/
|
|
2057
2057
|
await this.loadMarkets();
|
|
@@ -2151,7 +2151,7 @@ class okx extends okx$1 {
|
|
|
2151
2151
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
2152
2152
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2153
2153
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
2154
|
-
* @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]
|
|
2154
|
+
* @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)
|
|
2155
2155
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2156
2156
|
*/
|
|
2157
2157
|
if (symbol === undefined) {
|
|
@@ -3395,7 +3395,7 @@ class okx extends okx$1 {
|
|
|
3395
3395
|
* @param {bool} [params.stop] True if fetching trigger or conditional orders
|
|
3396
3396
|
* @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
|
|
3397
3397
|
* @param {string} [params.algoId] Algo ID "'433845797218942976'"
|
|
3398
|
-
* @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]
|
|
3398
|
+
* @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)
|
|
3399
3399
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3400
3400
|
*/
|
|
3401
3401
|
await this.loadMarkets();
|
|
@@ -3727,7 +3727,7 @@ class okx extends okx$1 {
|
|
|
3727
3727
|
* @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
|
|
3728
3728
|
* @param {string} [params.algoId] Algo ID "'433845797218942976'"
|
|
3729
3729
|
* @param {int} [params.until] timestamp in ms to fetch orders for
|
|
3730
|
-
* @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]
|
|
3730
|
+
* @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)
|
|
3731
3731
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3732
3732
|
*/
|
|
3733
3733
|
await this.loadMarkets();
|
|
@@ -3896,7 +3896,7 @@ class okx extends okx$1 {
|
|
|
3896
3896
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
3897
3897
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
3898
3898
|
* @param {int} [params.until] Timestamp in ms of the latest time to retrieve trades for
|
|
3899
|
-
* @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]
|
|
3899
|
+
* @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)
|
|
3900
3900
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
3901
3901
|
*/
|
|
3902
3902
|
await this.loadMarkets();
|
|
@@ -3990,7 +3990,7 @@ class okx extends okx$1 {
|
|
|
3990
3990
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
3991
3991
|
* @param {string} [params.marginMode] 'cross' or 'isolated'
|
|
3992
3992
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
3993
|
-
* @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]
|
|
3993
|
+
* @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)
|
|
3994
3994
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
3995
3995
|
*/
|
|
3996
3996
|
await this.loadMarkets();
|
|
@@ -4454,7 +4454,7 @@ class okx extends okx$1 {
|
|
|
4454
4454
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
4455
4455
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
4456
4456
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
4457
|
-
* @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]
|
|
4457
|
+
* @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)
|
|
4458
4458
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
4459
4459
|
*/
|
|
4460
4460
|
await this.loadMarkets();
|
|
@@ -4560,7 +4560,7 @@ class okx extends okx$1 {
|
|
|
4560
4560
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
4561
4561
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
4562
4562
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
4563
|
-
* @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]
|
|
4563
|
+
* @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)
|
|
4564
4564
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
4565
4565
|
*/
|
|
4566
4566
|
await this.loadMarkets();
|
package/dist/cjs/src/poloniex.js
CHANGED
|
@@ -398,7 +398,7 @@ class poloniex extends poloniex$1 {
|
|
|
398
398
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
399
399
|
* @param {object} [params] extra parameters specific to the poloniex api endpoint
|
|
400
400
|
* @param {int} [params.until] timestamp in ms
|
|
401
|
-
* @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]
|
|
401
|
+
* @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)
|
|
402
402
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
403
403
|
*/
|
|
404
404
|
await this.loadMarkets();
|
|
@@ -960,7 +960,7 @@ class poloniex extends poloniex$1 {
|
|
|
960
960
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
961
961
|
* @param {object} [params] extra parameters specific to the poloniex api endpoint
|
|
962
962
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
963
|
-
* @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]
|
|
963
|
+
* @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)
|
|
964
964
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
965
965
|
*/
|
|
966
966
|
await this.loadMarkets();
|
package/js/ccxt.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
|
|
|
4
4
|
import * as errors from './src/base/errors.js';
|
|
5
5
|
import { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position } from './src/base/types.js';
|
|
6
6
|
import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.1.
|
|
7
|
+
declare const version = "4.1.6";
|
|
8
8
|
import ace from './src/ace.js';
|
|
9
9
|
import alpaca from './src/alpaca.js';
|
|
10
10
|
import ascendex from './src/ascendex.js';
|
package/js/ccxt.js
CHANGED
|
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
|
|
|
38
38
|
import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending, NoChange } from './src/base/errors.js';
|
|
39
39
|
//-----------------------------------------------------------------------------
|
|
40
40
|
// this is updated by vss.js when building
|
|
41
|
-
const version = '4.1.
|
|
41
|
+
const version = '4.1.7';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import ace from './src/ace.js';
|
package/js/src/binance.js
CHANGED
|
@@ -3324,7 +3324,7 @@ export default class binance extends Exchange {
|
|
|
3324
3324
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
3325
3325
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
3326
3326
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
3327
|
-
* @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]
|
|
3327
|
+
* @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)
|
|
3328
3328
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
3329
3329
|
*/
|
|
3330
3330
|
await this.loadMarkets();
|
|
@@ -3667,7 +3667,7 @@ export default class binance extends Exchange {
|
|
|
3667
3667
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
3668
3668
|
* @param {int} [params.until] only used when fetchTradesMethod is 'publicGetAggTrades', 'fapiPublicGetAggTrades', or 'dapiPublicGetAggTrades'
|
|
3669
3669
|
* @param {int} [params.fetchTradesMethod] 'publicGetAggTrades' (spot default), 'fapiPublicGetAggTrades' (swap default), 'dapiPublicGetAggTrades' (future default), 'eapiPublicGetTrades' (option default), 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', 'publicGetHistoricalTrades', 'fapiPublicGetHistoricalTrades', 'dapiPublicGetHistoricalTrades', 'eapiPublicGetHistoricalTrades'
|
|
3670
|
-
* @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]
|
|
3670
|
+
* @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)
|
|
3671
3671
|
*
|
|
3672
3672
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
3673
3673
|
* @param {int} [params.fromId] trade id to fetch from, default gets most recent trades, not used when fetchTradesMethod is 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', or 'eapiPublicGetTrades'
|
|
@@ -4711,7 +4711,7 @@ export default class binance extends Exchange {
|
|
|
4711
4711
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
4712
4712
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for spot margin trading
|
|
4713
4713
|
* @param {int} [params.until] the latest time in ms to fetch orders for
|
|
4714
|
-
* @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]
|
|
4714
|
+
* @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)
|
|
4715
4715
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4716
4716
|
*/
|
|
4717
4717
|
this.checkRequiredSymbol('fetchOrders', symbol);
|
|
@@ -4922,7 +4922,7 @@ export default class binance extends Exchange {
|
|
|
4922
4922
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
4923
4923
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
4924
4924
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
4925
|
-
* @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]
|
|
4925
|
+
* @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)
|
|
4926
4926
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4927
4927
|
*/
|
|
4928
4928
|
const orders = await this.fetchOrders(symbol, since, limit, params);
|
|
@@ -4940,7 +4940,7 @@ export default class binance extends Exchange {
|
|
|
4940
4940
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
4941
4941
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
4942
4942
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
4943
|
-
* @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]
|
|
4943
|
+
* @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)
|
|
4944
4944
|
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4945
4945
|
*/
|
|
4946
4946
|
this.checkRequiredSymbol('fetchCanceledOrders', symbol);
|
|
@@ -5174,7 +5174,7 @@ export default class binance extends Exchange {
|
|
|
5174
5174
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
5175
5175
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
5176
5176
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
5177
|
-
* @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]
|
|
5177
|
+
* @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)
|
|
5178
5178
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
5179
5179
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
5180
5180
|
*/
|
|
@@ -5464,7 +5464,7 @@ export default class binance extends Exchange {
|
|
|
5464
5464
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
5465
5465
|
* @param {bool} [params.fiat] if true, only fiat deposits will be returned
|
|
5466
5466
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
5467
|
-
* @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]
|
|
5467
|
+
* @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)
|
|
5468
5468
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
5469
5469
|
*/
|
|
5470
5470
|
await this.loadMarkets();
|
|
@@ -5579,7 +5579,7 @@ export default class binance extends Exchange {
|
|
|
5579
5579
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
5580
5580
|
* @param {bool} [params.fiat] if true, only fiat withdrawals will be returned
|
|
5581
5581
|
* @param {int} [params.until] the latest time in ms to fetch withdrawals for
|
|
5582
|
-
* @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]
|
|
5582
|
+
* @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)
|
|
5583
5583
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
5584
5584
|
*/
|
|
5585
5585
|
await this.loadMarkets();
|
|
@@ -6056,7 +6056,7 @@ export default class binance extends Exchange {
|
|
|
6056
6056
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
6057
6057
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
6058
6058
|
* @param {int} [params.until] the latest time in ms to fetch transfers for
|
|
6059
|
-
* @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]
|
|
6059
|
+
* @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)
|
|
6060
6060
|
* @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
6061
6061
|
*/
|
|
6062
6062
|
await this.loadMarkets();
|
|
@@ -6786,7 +6786,7 @@ export default class binance extends Exchange {
|
|
|
6786
6786
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
6787
6787
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
6788
6788
|
* @param {int} [params.until] timestamp in ms of the latest funding rate
|
|
6789
|
-
* @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]
|
|
6789
|
+
* @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)
|
|
6790
6790
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
6791
6791
|
*/
|
|
6792
6792
|
await this.loadMarkets();
|
|
@@ -8201,7 +8201,7 @@ export default class binance extends Exchange {
|
|
|
8201
8201
|
* @param {int} [limit] max number of ledger entrys to return
|
|
8202
8202
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
8203
8203
|
* @param {int} [params.until] timestamp in ms of the latest ledger entry
|
|
8204
|
-
* @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]
|
|
8204
|
+
* @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)
|
|
8205
8205
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
8206
8206
|
*/
|
|
8207
8207
|
await this.loadMarkets();
|
package/js/src/bingx.js
CHANGED
|
@@ -629,7 +629,7 @@ export default class bingx extends Exchange {
|
|
|
629
629
|
* @param {object} [params] extra parameters specific to the bingx api endpoint
|
|
630
630
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
631
631
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
632
|
-
* @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]
|
|
632
|
+
* @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)
|
|
633
633
|
* @returns {[[int]]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
634
634
|
*/
|
|
635
635
|
await this.loadMarkets();
|
|
@@ -1037,7 +1037,7 @@ export default class bingx extends Exchange {
|
|
|
1037
1037
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
1038
1038
|
* @param {object} [params] extra parameters specific to the bingx api endpoint
|
|
1039
1039
|
* @param {int} [params.until] timestamp in ms of the latest funding rate to fetch
|
|
1040
|
-
* @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]
|
|
1040
|
+
* @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)
|
|
1041
1041
|
* @returns {[object]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
1042
1042
|
*/
|
|
1043
1043
|
this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
|
package/js/src/bitfinex2.js
CHANGED
|
@@ -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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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/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]
|
|
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]
|
|
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]
|
|
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]
|
|
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();
|