ccxt 4.1.95 → 4.1.97
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/build.sh +16 -16
- package/dist/ccxt.browser.js +1570 -1401
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +1 -1
- package/dist/cjs/src/ascendex.js +1 -1
- package/dist/cjs/src/base/Exchange.js +6 -5
- package/dist/cjs/src/base/errors.js +8 -1
- package/dist/cjs/src/bigone.js +2 -2
- package/dist/cjs/src/binance.js +145 -135
- package/dist/cjs/src/bingx.js +50 -8
- package/dist/cjs/src/bit2c.js +2 -3
- package/dist/cjs/src/bitfinex.js +1 -1
- package/dist/cjs/src/bitfinex2.js +3 -4
- package/dist/cjs/src/bitflyer.js +2 -2
- package/dist/cjs/src/bitmart.js +2 -2
- package/dist/cjs/src/bitmex.js +2 -2
- package/dist/cjs/src/bitopro.js +1 -1
- package/dist/cjs/src/bitpanda.js +1 -1
- package/dist/cjs/src/bitvavo.js +1 -1
- package/dist/cjs/src/blockchaincom.js +1 -1
- package/dist/cjs/src/btcalpha.js +2 -2
- package/dist/cjs/src/btcbox.js +3 -4
- package/dist/cjs/src/btcmarkets.js +2 -2
- package/dist/cjs/src/btcturk.js +1 -1
- package/dist/cjs/src/bybit.js +2 -2
- package/dist/cjs/src/cex.js +1 -1
- package/dist/cjs/src/coinbase.js +11 -5
- package/dist/cjs/src/coinbasepro.js +2 -2
- package/dist/cjs/src/coinex.js +1 -1
- package/dist/cjs/src/coinlist.js +1 -1
- package/dist/cjs/src/cryptocom.js +2 -1
- package/dist/cjs/src/delta.js +25 -0
- package/dist/cjs/src/deribit.js +1 -1
- package/dist/cjs/src/digifinex.js +1 -1
- package/dist/cjs/src/gate.js +3 -3
- package/dist/cjs/src/hitbtc.js +1 -1
- package/dist/cjs/src/hollaex.js +2 -2
- package/dist/cjs/src/htx.js +1 -1
- package/dist/cjs/src/huobijp.js +2 -2
- package/dist/cjs/src/idex.js +1 -1
- package/dist/cjs/src/independentreserve.js +1 -1
- package/dist/cjs/src/kraken.js +47 -46
- package/dist/cjs/src/krakenfutures.js +53 -26
- package/dist/cjs/src/kucoin.js +74 -4
- package/dist/cjs/src/kucoinfutures.js +2 -2
- package/dist/cjs/src/kuna.js +1 -1
- package/dist/cjs/src/latoken.js +1 -1
- package/dist/cjs/src/luno.js +2 -2
- package/dist/cjs/src/lykke.js +1 -1
- package/dist/cjs/src/mexc.js +2 -2
- package/dist/cjs/src/ndax.js +1 -1
- package/dist/cjs/src/novadax.js +2 -2
- package/dist/cjs/src/oceanex.js +1 -1
- package/dist/cjs/src/okcoin.js +1 -1
- package/dist/cjs/src/okx.js +1 -1
- package/dist/cjs/src/poloniexfutures.js +1 -1
- package/dist/cjs/src/pro/alpaca.js +1 -1
- package/dist/cjs/src/pro/ascendex.js +1 -1
- package/dist/cjs/src/pro/binance.js +4 -5
- package/dist/cjs/src/pro/bingx.js +6 -3
- package/dist/cjs/src/pro/bitfinex.js +3 -4
- package/dist/cjs/src/pro/bitfinex2.js +1 -1
- package/dist/cjs/src/pro/bitmex.js +1 -1
- package/dist/cjs/src/pro/bitpanda.js +1 -1
- package/dist/cjs/src/pro/blockchaincom.js +1 -1
- package/dist/cjs/src/pro/bybit.js +2 -2
- package/dist/cjs/src/pro/cex.js +1 -1
- package/dist/cjs/src/pro/coinbase.js +1 -1
- package/dist/cjs/src/pro/coinbasepro.js +1 -1
- package/dist/cjs/src/pro/deribit.js +1 -1
- package/dist/cjs/src/pro/gate.js +3 -3
- package/dist/cjs/src/pro/gemini.js +1 -1
- package/dist/cjs/src/pro/hollaex.js +1 -1
- package/dist/cjs/src/pro/htx.js +1 -1
- package/dist/cjs/src/pro/idex.js +1 -1
- package/dist/cjs/src/pro/kraken.js +3 -4
- package/dist/cjs/src/pro/krakenfutures.js +1 -1
- package/dist/cjs/src/pro/kucoinfutures.js +1 -1
- package/dist/cjs/src/pro/mexc.js +1 -1
- package/dist/cjs/src/pro/okcoin.js +1 -1
- package/dist/cjs/src/pro/okx.js +2 -2
- package/dist/cjs/src/pro/phemex.js +1 -1
- package/dist/cjs/src/pro/poloniexfutures.js +1 -1
- package/dist/cjs/src/pro/woo.js +2 -3
- package/dist/cjs/src/probit.js +1 -1
- package/dist/cjs/src/timex.js +1 -1
- package/dist/cjs/src/tokocrypto.js +1 -1
- package/dist/cjs/src/upbit.js +1 -1
- package/dist/cjs/src/wavesexchange.js +1 -1
- package/dist/cjs/src/whitebit.js +1 -1
- package/dist/cjs/src/woo.js +1 -1
- package/dist/cjs/src/zaif.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bingx.d.ts +2 -0
- package/js/src/abstract/kucoin.d.ts +12 -0
- package/js/src/abstract/kucoinfutures.d.ts +12 -1
- package/js/src/ace.js +1 -1
- package/js/src/ascendex.js +1 -1
- package/js/src/base/Exchange.d.ts +1 -1
- package/js/src/base/Exchange.js +7 -6
- package/js/src/base/errorHierarchy.d.ts +1 -0
- package/js/src/base/errorHierarchy.js +1 -0
- package/js/src/base/errors.d.ts +5 -1
- package/js/src/base/errors.js +8 -2
- package/js/src/bigone.js +2 -2
- package/js/src/binance.js +145 -135
- package/js/src/bingx.d.ts +1 -0
- package/js/src/bingx.js +50 -8
- package/js/src/bit2c.js +2 -3
- package/js/src/bitfinex.js +1 -1
- package/js/src/bitfinex2.js +3 -4
- package/js/src/bitflyer.js +2 -2
- package/js/src/bitmart.js +2 -2
- package/js/src/bitmex.js +2 -2
- package/js/src/bitopro.js +1 -1
- package/js/src/bitpanda.js +1 -1
- package/js/src/bitso.d.ts +1 -1
- package/js/src/bitvavo.js +1 -1
- package/js/src/blockchaincom.js +1 -1
- package/js/src/btcalpha.js +2 -2
- package/js/src/btcbox.js +3 -4
- package/js/src/btcmarkets.js +2 -2
- package/js/src/btcturk.js +1 -1
- package/js/src/bybit.js +2 -2
- package/js/src/cex.js +1 -1
- package/js/src/coinbase.js +11 -5
- package/js/src/coinbasepro.js +2 -2
- package/js/src/coinex.js +1 -1
- package/js/src/coinlist.js +1 -1
- package/js/src/cryptocom.js +2 -1
- package/js/src/delta.d.ts +5 -4
- package/js/src/delta.js +25 -0
- package/js/src/deribit.js +1 -1
- package/js/src/digifinex.js +1 -1
- package/js/src/gate.js +3 -3
- package/js/src/hitbtc.js +1 -1
- package/js/src/hollaex.js +2 -2
- package/js/src/htx.js +1 -1
- package/js/src/huobijp.js +2 -2
- package/js/src/idex.js +1 -1
- package/js/src/independentreserve.js +1 -1
- package/js/src/kraken.js +47 -46
- package/js/src/krakenfutures.js +53 -26
- package/js/src/kucoin.d.ts +3 -0
- package/js/src/kucoin.js +74 -4
- package/js/src/kucoinfutures.js +2 -2
- package/js/src/kuna.js +1 -1
- package/js/src/latoken.js +1 -1
- package/js/src/luno.js +2 -2
- package/js/src/lykke.js +1 -1
- package/js/src/mexc.js +2 -2
- package/js/src/ndax.js +1 -1
- package/js/src/novadax.js +2 -2
- package/js/src/oceanex.js +1 -1
- package/js/src/okcoin.js +1 -1
- package/js/src/okx.js +1 -1
- package/js/src/poloniexfutures.js +1 -1
- package/js/src/pro/alpaca.js +1 -1
- package/js/src/pro/ascendex.js +1 -1
- package/js/src/pro/binance.js +4 -5
- package/js/src/pro/bingx.js +6 -3
- package/js/src/pro/bitfinex.js +3 -4
- package/js/src/pro/bitfinex2.js +1 -1
- package/js/src/pro/bitmex.js +1 -1
- package/js/src/pro/bitpanda.js +1 -1
- package/js/src/pro/blockchaincom.js +1 -1
- package/js/src/pro/bybit.js +2 -2
- package/js/src/pro/cex.js +1 -1
- package/js/src/pro/coinbase.js +1 -1
- package/js/src/pro/coinbasepro.js +1 -1
- package/js/src/pro/deribit.js +1 -1
- package/js/src/pro/gate.js +3 -3
- package/js/src/pro/gemini.js +1 -1
- package/js/src/pro/hollaex.js +1 -1
- package/js/src/pro/htx.js +1 -1
- package/js/src/pro/idex.js +1 -1
- package/js/src/pro/kraken.js +3 -4
- package/js/src/pro/krakenfutures.js +1 -1
- package/js/src/pro/kucoinfutures.js +1 -1
- package/js/src/pro/mexc.js +1 -1
- package/js/src/pro/okcoin.js +1 -1
- package/js/src/pro/okx.js +2 -2
- package/js/src/pro/phemex.js +1 -1
- package/js/src/pro/poloniexfutures.js +1 -1
- package/js/src/pro/woo.js +2 -3
- package/js/src/probit.js +1 -1
- package/js/src/timex.js +1 -1
- package/js/src/tokocrypto.js +1 -1
- package/js/src/upbit.js +1 -1
- package/js/src/wavesexchange.js +1 -1
- package/js/src/whitebit.js +1 -1
- package/js/src/woo.js +1 -1
- package/js/src/zaif.js +1 -1
- package/package.json +2 -2
- package/skip-tests.json +1 -0
|
@@ -345,7 +345,7 @@ class alpaca extends alpaca$1 {
|
|
|
345
345
|
* @description watches information on multiple orders made by the user
|
|
346
346
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
347
347
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
348
|
-
* @param {int} [limit] the maximum number of
|
|
348
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
349
349
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
350
350
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
351
351
|
*/
|
|
@@ -475,7 +475,7 @@ class ascendex extends ascendex$1 {
|
|
|
475
475
|
* @description watches information on multiple orders made by the user
|
|
476
476
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
477
477
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
478
|
-
* @param {int} [limit] the maximum number of
|
|
478
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
479
479
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
480
480
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
481
481
|
*/
|
|
@@ -942,14 +942,13 @@ class binance extends binance$1 {
|
|
|
942
942
|
event = 'ticker';
|
|
943
943
|
}
|
|
944
944
|
let timestamp = undefined;
|
|
945
|
-
const now = this.milliseconds();
|
|
946
945
|
if (event === 'bookTicker') {
|
|
947
946
|
// take the event timestamp, if available, for spot tickers it is not
|
|
948
|
-
timestamp = this.safeInteger(message, 'E'
|
|
947
|
+
timestamp = this.safeInteger(message, 'E');
|
|
949
948
|
}
|
|
950
949
|
else {
|
|
951
950
|
// take the timestamp of the closing price for candlestick streams
|
|
952
|
-
timestamp = this.safeInteger(message, 'C'
|
|
951
|
+
timestamp = this.safeInteger(message, 'C');
|
|
953
952
|
}
|
|
954
953
|
const marketId = this.safeString(message, 's');
|
|
955
954
|
const symbol = this.safeSymbol(marketId, undefined, undefined, marketType);
|
|
@@ -1928,7 +1927,7 @@ class binance extends binance$1 {
|
|
|
1928
1927
|
* @description watches information on multiple orders made by the user
|
|
1929
1928
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1930
1929
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1931
|
-
* @param {int} [limit] the maximum number of
|
|
1930
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1932
1931
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1933
1932
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1934
1933
|
*/
|
|
@@ -2484,7 +2483,7 @@ class binance extends binance$1 {
|
|
|
2484
2483
|
* @description watches information on multiple trades made by the user
|
|
2485
2484
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
2486
2485
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
2487
|
-
* @param {int} [limit] the maximum number of
|
|
2486
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2488
2487
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2489
2488
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
2490
2489
|
*/
|
|
@@ -80,7 +80,7 @@ class bingx extends bingx$1 {
|
|
|
80
80
|
* @see https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
|
|
81
81
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
82
82
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
83
|
-
* @param {int} [limit] the maximum number of
|
|
83
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
84
84
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
85
85
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
86
86
|
*/
|
|
@@ -308,8 +308,11 @@ class bingx extends bingx$1 {
|
|
|
308
308
|
// "t": 1696687440000
|
|
309
309
|
// }
|
|
310
310
|
//
|
|
311
|
+
// for spot, opening-time (t) is used instead of closing-time (T), to be compatible with fetchOHLCV
|
|
312
|
+
// for swap, (T) is the opening time
|
|
313
|
+
const timestamp = (market['spot']) ? 't' : 'T';
|
|
311
314
|
return [
|
|
312
|
-
this.safeInteger(ohlcv,
|
|
315
|
+
this.safeInteger(ohlcv, timestamp),
|
|
313
316
|
this.safeNumber(ohlcv, 'o'),
|
|
314
317
|
this.safeNumber(ohlcv, 'h'),
|
|
315
318
|
this.safeNumber(ohlcv, 'l'),
|
|
@@ -437,7 +440,7 @@ class bingx extends bingx$1 {
|
|
|
437
440
|
* @description watches information on multiple orders made by the user
|
|
438
441
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
439
442
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
440
|
-
* @param {int} [limit] the maximum number of
|
|
443
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
441
444
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
442
445
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
443
446
|
*/
|
|
@@ -209,7 +209,6 @@ class bitfinex extends bitfinex$1 {
|
|
|
209
209
|
// 220.05, // 10 LOW float Daily low
|
|
210
210
|
// ]
|
|
211
211
|
//
|
|
212
|
-
const timestamp = this.milliseconds();
|
|
213
212
|
const marketId = this.safeString(subscription, 'pair');
|
|
214
213
|
const symbol = this.safeSymbol(marketId);
|
|
215
214
|
const channel = 'ticker';
|
|
@@ -222,8 +221,8 @@ class bitfinex extends bitfinex$1 {
|
|
|
222
221
|
}
|
|
223
222
|
const result = {
|
|
224
223
|
'symbol': symbol,
|
|
225
|
-
'timestamp':
|
|
226
|
-
'datetime':
|
|
224
|
+
'timestamp': undefined,
|
|
225
|
+
'datetime': undefined,
|
|
227
226
|
'high': this.safeFloat(message, 9),
|
|
228
227
|
'low': this.safeFloat(message, 10),
|
|
229
228
|
'bid': this.safeFloat(message, 1),
|
|
@@ -458,7 +457,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
458
457
|
* @description watches information on multiple orders made by the user
|
|
459
458
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
460
459
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
461
|
-
* @param {int} [limit] the maximum number of
|
|
460
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
462
461
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
463
462
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
464
463
|
*/
|
|
@@ -882,7 +882,7 @@ class bitfinex2 extends bitfinex2$1 {
|
|
|
882
882
|
* @description watches information on multiple orders made by the user
|
|
883
883
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
884
884
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
885
|
-
* @param {int} [limit] the maximum number of
|
|
885
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
886
886
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
887
887
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
888
888
|
*/
|
|
@@ -802,7 +802,7 @@ class bitmex extends bitmex$1 {
|
|
|
802
802
|
* @description watches information on multiple orders made by the user
|
|
803
803
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
804
804
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
805
|
-
* @param {int} [limit] the maximum number of
|
|
805
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
806
806
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
807
807
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
808
808
|
*/
|
|
@@ -423,7 +423,7 @@ class bitpanda extends bitpanda$1 {
|
|
|
423
423
|
* @description watches information on multiple orders made by the user
|
|
424
424
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
425
425
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
426
|
-
* @param {int} [limit] the maximum number of
|
|
426
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
427
427
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
428
428
|
* @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
|
|
429
429
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -411,7 +411,7 @@ class blockchaincom extends blockchaincom$1 {
|
|
|
411
411
|
* @see https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
|
|
412
412
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
413
413
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
414
|
-
* @param {int} [limit] the maximum number of
|
|
414
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
415
415
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
416
416
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
417
417
|
*/
|
|
@@ -785,7 +785,7 @@ class bybit extends bybit$1 {
|
|
|
785
785
|
* @see https://bybit-exchange.github.io/docs/v5/websocket/private/execution
|
|
786
786
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
787
787
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
788
|
-
* @param {int} [limit] the maximum number of
|
|
788
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
789
789
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
790
790
|
* @param {boolean} [params.unifiedMargin] use unified margin account
|
|
791
791
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
@@ -1050,7 +1050,7 @@ class bybit extends bybit$1 {
|
|
|
1050
1050
|
* @see https://bybit-exchange.github.io/docs/v5/websocket/private/order
|
|
1051
1051
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1052
1052
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1053
|
-
* @param {int} [limit] the maximum number of
|
|
1053
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1054
1054
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1055
1055
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
1056
1056
|
*/
|
package/dist/cjs/src/pro/cex.js
CHANGED
|
@@ -732,7 +732,7 @@ class cex extends cex$1 {
|
|
|
732
732
|
'rate': undefined,
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
const timestamp = this.safeInteger(data, 'time'
|
|
735
|
+
const timestamp = this.safeInteger(data, 'time');
|
|
736
736
|
order['timestamp'] = timestamp;
|
|
737
737
|
order['datetime'] = this.iso8601(timestamp);
|
|
738
738
|
order = this.safeOrder(order);
|
|
@@ -267,7 +267,7 @@ class coinbase extends coinbase$1 {
|
|
|
267
267
|
* @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#user-channel
|
|
268
268
|
* @param {string} [symbol] unified market symbol of the market orders were made in
|
|
269
269
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
270
|
-
* @param {int} [limit] the maximum number of
|
|
270
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
271
271
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
272
272
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
273
273
|
*/
|
|
@@ -268,7 +268,7 @@ class coinbasepro extends coinbasepro$1 {
|
|
|
268
268
|
* @description watches information on multiple orders made by the user
|
|
269
269
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
270
270
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
271
|
-
* @param {int} [limit] the maximum number of
|
|
271
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
272
272
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
273
273
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
274
274
|
*/
|
|
@@ -509,7 +509,7 @@ class deribit extends deribit$1 {
|
|
|
509
509
|
* @description watches information on multiple orders made by the user
|
|
510
510
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
511
511
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
512
|
-
* @param {int} [limit] the maximum number of
|
|
512
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
513
513
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
514
514
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
515
515
|
*/
|
package/dist/cjs/src/pro/gate.js
CHANGED
|
@@ -720,7 +720,7 @@ class gate extends gate$1 {
|
|
|
720
720
|
// }
|
|
721
721
|
//
|
|
722
722
|
const result = this.safeValue(message, 'result', []);
|
|
723
|
-
const timestamp = this.safeInteger(message, '
|
|
723
|
+
const timestamp = this.safeInteger(message, 'time_ms');
|
|
724
724
|
this.balance['info'] = result;
|
|
725
725
|
this.balance['timestamp'] = timestamp;
|
|
726
726
|
this.balance['datetime'] = this.iso8601(timestamp);
|
|
@@ -796,7 +796,7 @@ class gate extends gate$1 {
|
|
|
796
796
|
if (this.newUpdates) {
|
|
797
797
|
return positions;
|
|
798
798
|
}
|
|
799
|
-
return this.filterBySymbolsSinceLimit(this.positions, symbols, since, limit, true);
|
|
799
|
+
return this.filterBySymbolsSinceLimit(this.positions[type], symbols, since, limit, true);
|
|
800
800
|
}
|
|
801
801
|
setPositionsCache(client, type, symbols = undefined) {
|
|
802
802
|
if (this.positions === undefined) {
|
|
@@ -891,7 +891,7 @@ class gate extends gate$1 {
|
|
|
891
891
|
* @description watches information on multiple orders made by the user
|
|
892
892
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
893
893
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
894
|
-
* @param {int} [limit] the maximum number of
|
|
894
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
895
895
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
896
896
|
* @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
|
|
897
897
|
* @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
|
|
@@ -377,7 +377,7 @@ class gemini extends gemini$1 {
|
|
|
377
377
|
* @see https://docs.gemini.com/websocket-api/#order-events
|
|
378
378
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
379
379
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
380
|
-
* @param {int} [limit] the maximum number of
|
|
380
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
381
381
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
382
382
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
383
383
|
*/
|
|
@@ -251,7 +251,7 @@ class hollaex extends hollaex$1 {
|
|
|
251
251
|
* @description watches information on multiple orders made by the user
|
|
252
252
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
253
253
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
254
|
-
* @param {int} [limit] the maximum number of
|
|
254
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
255
255
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
256
256
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
257
257
|
*/
|
package/dist/cjs/src/pro/htx.js
CHANGED
|
@@ -767,7 +767,7 @@ class htx extends htx$1 {
|
|
|
767
767
|
* @description watches information on multiple orders made by the user
|
|
768
768
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
769
769
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
770
|
-
* @param {int} [limit] the maximum number of
|
|
770
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
771
771
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
772
772
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
773
773
|
*/
|
package/dist/cjs/src/pro/idex.js
CHANGED
|
@@ -509,7 +509,7 @@ class idex extends idex$1 {
|
|
|
509
509
|
* @description watches information on multiple orders made by the user
|
|
510
510
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
511
511
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
512
|
-
* @param {int} [limit] the maximum number of
|
|
512
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
513
513
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
514
514
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
515
515
|
*/
|
|
@@ -322,11 +322,10 @@ class kraken extends kraken$1 {
|
|
|
322
322
|
quoteVolume = Precise["default"].stringMul(baseVolume, vwap);
|
|
323
323
|
}
|
|
324
324
|
const last = this.safeString(ticker['c'], 0);
|
|
325
|
-
const timestamp = this.milliseconds();
|
|
326
325
|
const result = this.safeTicker({
|
|
327
326
|
'symbol': symbol,
|
|
328
|
-
'timestamp':
|
|
329
|
-
'datetime':
|
|
327
|
+
'timestamp': undefined,
|
|
328
|
+
'datetime': undefined,
|
|
330
329
|
'high': this.safeString(ticker['h'], 0),
|
|
331
330
|
'low': this.safeString(ticker['l'], 0),
|
|
332
331
|
'bid': this.safeString(ticker['b'], 0),
|
|
@@ -991,7 +990,7 @@ class kraken extends kraken$1 {
|
|
|
991
990
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
992
991
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
993
992
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
994
|
-
* @param {object} [params]
|
|
993
|
+
* @param {object} [params] maximum number of orderic to the exchange API endpoint
|
|
995
994
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
996
995
|
*/
|
|
997
996
|
return await this.watchPrivate('openOrders', symbol, since, limit, params);
|
|
@@ -375,7 +375,7 @@ class krakenfutures extends krakenfutures$1 {
|
|
|
375
375
|
* @see https://docs.futures.kraken.com/#websocket-api-private-feeds-fills
|
|
376
376
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
377
377
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
378
|
-
* @param {int} [limit] the maximum number of
|
|
378
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
379
379
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
380
380
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
381
381
|
*/
|
|
@@ -672,7 +672,7 @@ class kucoinfutures extends kucoinfutures$1 {
|
|
|
672
672
|
* @see https://docs.kucoin.com/futures/#trade-orders-according-to-the-market
|
|
673
673
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
674
674
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
675
|
-
* @param {int} [limit] the maximum number of
|
|
675
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
676
676
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
677
677
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
678
678
|
*/
|
package/dist/cjs/src/pro/mexc.js
CHANGED
|
@@ -737,7 +737,7 @@ class mexc extends mexc$1 {
|
|
|
737
737
|
* @description watches information on multiple orders made by the user
|
|
738
738
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
739
739
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
740
|
-
* @param {int} [limit] the maximum number of
|
|
740
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
741
741
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
742
742
|
* @param {string|undefined} params.type the type of orders to retrieve, can be 'spot' or 'margin'
|
|
743
743
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -88,7 +88,7 @@ class okcoin extends okcoin$1 {
|
|
|
88
88
|
* @description watches information on multiple orders made by the user
|
|
89
89
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
90
90
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
91
|
-
* @param {int} [limit] the maximum number of
|
|
91
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
92
92
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
93
93
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
94
94
|
*/
|
package/dist/cjs/src/pro/okx.js
CHANGED
|
@@ -789,7 +789,7 @@ class okx extends okx$1 {
|
|
|
789
789
|
'side': this.safeString(order, 'side'),
|
|
790
790
|
'price': this.safeNumber(info, 'fillPx'),
|
|
791
791
|
'amount': this.safeNumber(info, 'fillSz'),
|
|
792
|
-
'cost':
|
|
792
|
+
'cost': this.safeNumber(order, 'cost'),
|
|
793
793
|
'fee': {
|
|
794
794
|
'cost': this.safeNumber(info, 'fillFee'),
|
|
795
795
|
'currency': this.safeCurrencyCode(feeMarketId),
|
|
@@ -965,7 +965,7 @@ class okx extends okx$1 {
|
|
|
965
965
|
* @description watches information on multiple orders made by the user
|
|
966
966
|
* @param {string} [symbol] unified market symbol of the market orders were made in
|
|
967
967
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
968
|
-
* @param {int} [limit] the maximum number of
|
|
968
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
969
969
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
970
970
|
* @param {bool} [params.stop] true if fetching trigger or conditional orders
|
|
971
971
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -886,7 +886,7 @@ class phemex extends phemex$1 {
|
|
|
886
886
|
* @description watches information on multiple orders made by the user
|
|
887
887
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
888
888
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
889
|
-
* @param {int} [limit] the maximum number of
|
|
889
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
890
890
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
891
891
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
892
892
|
*/
|
|
@@ -297,7 +297,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
297
297
|
* @see https://futures-docs.poloniex.com/#private-messages
|
|
298
298
|
* @param {string} symbol filter by unified market symbol of the market orders were made in
|
|
299
299
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
300
|
-
* @param {int} [limit] the maximum number of
|
|
300
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
301
301
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
302
302
|
* @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
|
|
303
303
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
package/dist/cjs/src/pro/woo.js
CHANGED
|
@@ -143,11 +143,10 @@ class woo extends woo$1 {
|
|
|
143
143
|
// "count": 3689
|
|
144
144
|
// }
|
|
145
145
|
//
|
|
146
|
-
const timestamp = this.safeInteger(ticker, 'date', this.milliseconds());
|
|
147
146
|
return this.safeTicker({
|
|
148
147
|
'symbol': this.safeSymbol(undefined, market),
|
|
149
|
-
'timestamp':
|
|
150
|
-
'datetime':
|
|
148
|
+
'timestamp': undefined,
|
|
149
|
+
'datetime': undefined,
|
|
151
150
|
'high': this.safeString(ticker, 'high'),
|
|
152
151
|
'low': this.safeString(ticker, 'low'),
|
|
153
152
|
'bid': undefined,
|
package/dist/cjs/src/probit.js
CHANGED
|
@@ -1055,7 +1055,7 @@ class probit extends probit$1 {
|
|
|
1055
1055
|
* @description fetches information on multiple closed orders made by the user
|
|
1056
1056
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1057
1057
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1058
|
-
* @param {int} [limit] the maximum number of
|
|
1058
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1059
1059
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1060
1060
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1061
1061
|
*/
|
package/dist/cjs/src/timex.js
CHANGED
|
@@ -998,7 +998,7 @@ class timex extends timex$1 {
|
|
|
998
998
|
* @description fetches information on multiple closed orders made by the user
|
|
999
999
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1000
1000
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1001
|
-
* @param {int} [limit] the maximum number of
|
|
1001
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1002
1002
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1003
1003
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1004
1004
|
*/
|
|
@@ -1903,7 +1903,7 @@ class tokocrypto extends tokocrypto$1 {
|
|
|
1903
1903
|
* @description fetches information on multiple closed orders made by the user
|
|
1904
1904
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1905
1905
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1906
|
-
* @param {int} [limit] the maximum number of
|
|
1906
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1907
1907
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1908
1908
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1909
1909
|
*/
|
package/dist/cjs/src/upbit.js
CHANGED
|
@@ -1520,7 +1520,7 @@ class upbit extends upbit$1 {
|
|
|
1520
1520
|
* @description fetches information on multiple closed orders made by the user
|
|
1521
1521
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1522
1522
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1523
|
-
* @param {int} [limit] the maximum number of
|
|
1523
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1524
1524
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1525
1525
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1526
1526
|
*/
|
|
@@ -1632,7 +1632,7 @@ class wavesexchange extends wavesexchange$1 {
|
|
|
1632
1632
|
* @description fetches information on multiple closed orders made by the user
|
|
1633
1633
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1634
1634
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1635
|
-
* @param {int} [limit] the maximum number of
|
|
1635
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1636
1636
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1637
1637
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1638
1638
|
*/
|
package/dist/cjs/src/whitebit.js
CHANGED
|
@@ -1406,7 +1406,7 @@ class whitebit extends whitebit$1 {
|
|
|
1406
1406
|
* @see https://docs.whitebit.com/private/http-trade-v4/#query-executed-orders
|
|
1407
1407
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1408
1408
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1409
|
-
* @param {int} [limit] the maximum number of
|
|
1409
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1410
1410
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1411
1411
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1412
1412
|
*/
|
package/dist/cjs/src/woo.js
CHANGED
|
@@ -1189,7 +1189,7 @@ class woo extends woo$1 {
|
|
|
1189
1189
|
* @description fetches information on multiple orders made by the user
|
|
1190
1190
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1191
1191
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1192
|
-
* @param {int} [limit] the maximum number of
|
|
1192
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1193
1193
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1194
1194
|
* @param {boolean} [params.stop] whether the order is a stop/algo order
|
|
1195
1195
|
* @param {boolean} [params.isTriggered] whether the order has been triggered (false by default)
|
package/dist/cjs/src/zaif.js
CHANGED
|
@@ -555,7 +555,7 @@ class zaif extends zaif$1 {
|
|
|
555
555
|
* @description fetches information on multiple closed orders made by the user
|
|
556
556
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
557
557
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
558
|
-
* @param {int} [limit] the maximum number of
|
|
558
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
559
559
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
560
560
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
561
561
|
*/
|
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 type { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory, MarginMode, Greeks } 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.96";
|
|
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.97';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import ace from './src/ace.js';
|
|
@@ -19,6 +19,8 @@ interface Exchange {
|
|
|
19
19
|
spotV3PrivateGetCapitalDepositHisrec(params?: {}): Promise<implicitReturnType>;
|
|
20
20
|
spotV3PrivateGetCapitalWithdrawHistory(params?: {}): Promise<implicitReturnType>;
|
|
21
21
|
spotV3PrivatePostPostAssetTransfer(params?: {}): Promise<implicitReturnType>;
|
|
22
|
+
swapV1PrivateGetPositionSideDual(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
swapV1PrivatePostPositionSideDual(params?: {}): Promise<implicitReturnType>;
|
|
22
24
|
swapV2PublicGetServerTime(params?: {}): Promise<implicitReturnType>;
|
|
23
25
|
swapV2PublicGetQuoteContracts(params?: {}): Promise<implicitReturnType>;
|
|
24
26
|
swapV2PublicGetQuotePrice(params?: {}): Promise<implicitReturnType>;
|
|
@@ -62,12 +62,17 @@ interface Exchange {
|
|
|
62
62
|
privateGetStopOrder(params?: {}): Promise<implicitReturnType>;
|
|
63
63
|
privateGetStopOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
64
64
|
privateGetStopOrderQueryOrderByClientOid(params?: {}): Promise<implicitReturnType>;
|
|
65
|
+
privateGetOcoOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
66
|
+
privateGetOcoOrderDetailsOrderId(params?: {}): Promise<implicitReturnType>;
|
|
67
|
+
privateGetOcoClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
68
|
+
privateGetOcoOrders(params?: {}): Promise<implicitReturnType>;
|
|
65
69
|
privateGetHfMarginOrdersActive(params?: {}): Promise<implicitReturnType>;
|
|
66
70
|
privateGetHfMarginOrdersDone(params?: {}): Promise<implicitReturnType>;
|
|
67
71
|
privateGetHfMarginOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
68
72
|
privateGetHfMarginOrdersClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
69
73
|
privateGetHfMarginFills(params?: {}): Promise<implicitReturnType>;
|
|
70
74
|
privateGetEtfInfo(params?: {}): Promise<implicitReturnType>;
|
|
75
|
+
privateGetMarginCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
71
76
|
privateGetRiskLimitStrategy(params?: {}): Promise<implicitReturnType>;
|
|
72
77
|
privateGetIsolatedSymbols(params?: {}): Promise<implicitReturnType>;
|
|
73
78
|
privateGetIsolatedAccountSymbol(params?: {}): Promise<implicitReturnType>;
|
|
@@ -98,6 +103,7 @@ interface Exchange {
|
|
|
98
103
|
privatePostOrdersTest(params?: {}): Promise<implicitReturnType>;
|
|
99
104
|
privatePostOrdersMulti(params?: {}): Promise<implicitReturnType>;
|
|
100
105
|
privatePostStopOrder(params?: {}): Promise<implicitReturnType>;
|
|
106
|
+
privatePostOcoOrder(params?: {}): Promise<implicitReturnType>;
|
|
101
107
|
privatePostHfMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
102
108
|
privatePostHfMarginOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
103
109
|
privatePostMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
@@ -116,12 +122,16 @@ interface Exchange {
|
|
|
116
122
|
privateDeleteHfOrdersSyncClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
117
123
|
privateDeleteHfOrdersCancelOrderId(params?: {}): Promise<implicitReturnType>;
|
|
118
124
|
privateDeleteHfOrders(params?: {}): Promise<implicitReturnType>;
|
|
125
|
+
privateDeleteHfOrdersCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
119
126
|
privateDeleteOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
120
127
|
privateDeleteOrderClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
121
128
|
privateDeleteOrders(params?: {}): Promise<implicitReturnType>;
|
|
122
129
|
privateDeleteStopOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
123
130
|
privateDeleteStopOrderCancelOrderByClientOid(params?: {}): Promise<implicitReturnType>;
|
|
124
131
|
privateDeleteStopOrderCancel(params?: {}): Promise<implicitReturnType>;
|
|
132
|
+
privateDeleteOcoOrderOrderId(params?: {}): Promise<implicitReturnType>;
|
|
133
|
+
privateDeleteOcoClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
134
|
+
privateDeleteOcoOrders(params?: {}): Promise<implicitReturnType>;
|
|
125
135
|
privateDeleteHfMarginOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
126
136
|
privateDeleteHfMarginOrdersClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
127
137
|
privateDeleteHfMarginOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -137,6 +147,7 @@ interface Exchange {
|
|
|
137
147
|
futuresPublicGetIndexQuery(params?: {}): Promise<implicitReturnType>;
|
|
138
148
|
futuresPublicGetMarkPriceSymbolCurrent(params?: {}): Promise<implicitReturnType>;
|
|
139
149
|
futuresPublicGetPremiumQuery(params?: {}): Promise<implicitReturnType>;
|
|
150
|
+
futuresPublicGetTradeStatistics(params?: {}): Promise<implicitReturnType>;
|
|
140
151
|
futuresPublicGetFundingRateSymbolCurrent(params?: {}): Promise<implicitReturnType>;
|
|
141
152
|
futuresPublicGetTimestamp(params?: {}): Promise<implicitReturnType>;
|
|
142
153
|
futuresPublicGetStatus(params?: {}): Promise<implicitReturnType>;
|
|
@@ -167,6 +178,7 @@ interface Exchange {
|
|
|
167
178
|
futuresPrivatePostPositionRiskLimitLevelChange(params?: {}): Promise<implicitReturnType>;
|
|
168
179
|
futuresPrivatePostBulletPrivate(params?: {}): Promise<implicitReturnType>;
|
|
169
180
|
futuresPrivateDeleteOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
181
|
+
futuresPrivateDeleteOrdersClientOrderClientOid(params?: {}): Promise<implicitReturnType>;
|
|
170
182
|
futuresPrivateDeleteOrders(params?: {}): Promise<implicitReturnType>;
|
|
171
183
|
futuresPrivateDeleteStopOrders(params?: {}): Promise<implicitReturnType>;
|
|
172
184
|
webExchangeGetCurrencyCurrencyChainInfo(params?: {}): Promise<implicitReturnType>;
|