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/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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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();
|
package/js/src/coinbase.js
CHANGED
|
@@ -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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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();
|
package/js/src/coinbasepro.js
CHANGED
|
@@ -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]
|
|
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]
|
|
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]
|
|
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();
|
package/js/src/cryptocom.js
CHANGED
|
@@ -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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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();
|
package/js/src/krakenfutures.js
CHANGED
|
@@ -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]
|
|
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]
|
|
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]
|
|
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,7 +2225,7 @@ 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]
|
|
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
2231
|
await this.loadMarkets;
|
|
@@ -2258,7 +2258,7 @@ 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]
|
|
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
2264
|
await this.loadMarkets;
|
|
@@ -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]
|
|
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]
|
|
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]
|
|
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]
|
|
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();
|
package/js/src/kucoinfutures.js
CHANGED
|
@@ -540,7 +540,7 @@ export default class kucoinfutures extends kucoin {
|
|
|
540
540
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
541
541
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
542
542
|
* @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
|
|
543
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
543
|
+
* @param {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)
|
|
544
544
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
545
545
|
*/
|
|
546
546
|
await this.loadMarkets();
|
|
@@ -1428,7 +1428,7 @@ export default class kucoinfutures extends kucoin {
|
|
|
1428
1428
|
* @param {int} [params.until] End time in ms
|
|
1429
1429
|
* @param {string} [params.side] buy or sell
|
|
1430
1430
|
* @param {string} [params.type] limit or market
|
|
1431
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1431
|
+
* @param {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)
|
|
1432
1432
|
* @returns An [array of order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1433
1433
|
*/
|
|
1434
1434
|
await this.loadMarkets();
|
|
@@ -1534,7 +1534,7 @@ export default class kucoinfutures extends kucoin {
|
|
|
1534
1534
|
* @param {int} [params.till] end time in ms
|
|
1535
1535
|
* @param {string} [params.side] buy or sell
|
|
1536
1536
|
* @param {string} [params.type] limit, or market
|
|
1537
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1537
|
+
* @param {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)
|
|
1538
1538
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1539
1539
|
*/
|
|
1540
1540
|
await this.loadMarkets;
|
|
@@ -1908,7 +1908,7 @@ export default class kucoinfutures extends kucoin {
|
|
|
1908
1908
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1909
1909
|
* @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
|
|
1910
1910
|
* @param {int} [params.until] End time in ms
|
|
1911
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
1911
|
+
* @param {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)
|
|
1912
1912
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1913
1913
|
*/
|
|
1914
1914
|
await this.loadMarkets();
|
|
@@ -2334,7 +2334,7 @@ export default class kucoinfutures extends kucoin {
|
|
|
2334
2334
|
* @param {int} [since] not used by kucuoinfutures
|
|
2335
2335
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2336
2336
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
2337
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2337
|
+
* @param {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)
|
|
2338
2338
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2339
2339
|
*/
|
|
2340
2340
|
if (symbol === undefined) {
|
package/js/src/okx.js
CHANGED
|
@@ -2054,7 +2054,7 @@ export default class okx extends Exchange {
|
|
|
2054
2054
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
2055
2055
|
* @param {string} [params.price] "mark" or "index" for mark price and index price candles
|
|
2056
2056
|
* @param {int} [params.until] timestamp in ms of the latest candle to fetch
|
|
2057
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2057
|
+
* @param {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)
|
|
2058
2058
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
2059
2059
|
*/
|
|
2060
2060
|
await this.loadMarkets();
|
|
@@ -2154,7 +2154,7 @@ export default class okx extends Exchange {
|
|
|
2154
2154
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
2155
2155
|
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
|
|
2156
2156
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
2157
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
2157
|
+
* @param {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)
|
|
2158
2158
|
* @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
|
|
2159
2159
|
*/
|
|
2160
2160
|
if (symbol === undefined) {
|
|
@@ -3398,7 +3398,7 @@ export default class okx extends Exchange {
|
|
|
3398
3398
|
* @param {bool} [params.stop] True if fetching trigger or conditional orders
|
|
3399
3399
|
* @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
|
|
3400
3400
|
* @param {string} [params.algoId] Algo ID "'433845797218942976'"
|
|
3401
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3401
|
+
* @param {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)
|
|
3402
3402
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3403
3403
|
*/
|
|
3404
3404
|
await this.loadMarkets();
|
|
@@ -3730,7 +3730,7 @@ export default class okx extends Exchange {
|
|
|
3730
3730
|
* @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
|
|
3731
3731
|
* @param {string} [params.algoId] Algo ID "'433845797218942976'"
|
|
3732
3732
|
* @param {int} [params.until] timestamp in ms to fetch orders for
|
|
3733
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3733
|
+
* @param {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)
|
|
3734
3734
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3735
3735
|
*/
|
|
3736
3736
|
await this.loadMarkets();
|
|
@@ -3899,7 +3899,7 @@ export default class okx extends Exchange {
|
|
|
3899
3899
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
3900
3900
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
3901
3901
|
* @param {int} [params.until] Timestamp in ms of the latest time to retrieve trades for
|
|
3902
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3902
|
+
* @param {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)
|
|
3903
3903
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
3904
3904
|
*/
|
|
3905
3905
|
await this.loadMarkets();
|
|
@@ -3993,7 +3993,7 @@ export default class okx extends Exchange {
|
|
|
3993
3993
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
3994
3994
|
* @param {string} [params.marginMode] 'cross' or 'isolated'
|
|
3995
3995
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
3996
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
3996
|
+
* @param {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)
|
|
3997
3997
|
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
3998
3998
|
*/
|
|
3999
3999
|
await this.loadMarkets();
|
|
@@ -4457,7 +4457,7 @@ export default class okx extends Exchange {
|
|
|
4457
4457
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
4458
4458
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
4459
4459
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
4460
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4460
|
+
* @param {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)
|
|
4461
4461
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
4462
4462
|
*/
|
|
4463
4463
|
await this.loadMarkets();
|
|
@@ -4563,7 +4563,7 @@ export default class okx extends Exchange {
|
|
|
4563
4563
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
4564
4564
|
* @param {object} [params] extra parameters specific to the okx api endpoint
|
|
4565
4565
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
4566
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
4566
|
+
* @param {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)
|
|
4567
4567
|
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
4568
4568
|
*/
|
|
4569
4569
|
await this.loadMarkets();
|
package/js/src/poloniex.js
CHANGED
|
@@ -401,7 +401,7 @@ export default class poloniex extends Exchange {
|
|
|
401
401
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
402
402
|
* @param {object} [params] extra parameters specific to the poloniex api endpoint
|
|
403
403
|
* @param {int} [params.until] timestamp in ms
|
|
404
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
404
|
+
* @param {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)
|
|
405
405
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
406
406
|
*/
|
|
407
407
|
await this.loadMarkets();
|
|
@@ -963,7 +963,7 @@ export default class poloniex extends Exchange {
|
|
|
963
963
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
964
964
|
* @param {object} [params] extra parameters specific to the poloniex api endpoint
|
|
965
965
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
966
|
-
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters]
|
|
966
|
+
* @param {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)
|
|
967
967
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
968
968
|
*/
|
|
969
969
|
await this.loadMarkets();
|
package/package.json
CHANGED