ccxt 4.1.96 → 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/dist/ccxt.browser.js +1189 -1154
- 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/bingx.js +42 -1
- package/dist/cjs/src/bitfinex.js +1 -1
- package/dist/cjs/src/bitfinex2.js +1 -1
- package/dist/cjs/src/bitflyer.js +2 -2
- package/dist/cjs/src/bitmart.js +1 -1
- 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 +1 -1
- 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/coinbasepro.js +2 -2
- package/dist/cjs/src/coinex.js +1 -1
- package/dist/cjs/src/coinlist.js +1 -1
- package/dist/cjs/src/deribit.js +1 -1
- package/dist/cjs/src/digifinex.js +1 -1
- package/dist/cjs/src/gate.js +1 -1
- 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 +1 -1
- package/dist/cjs/src/kucoin.js +4 -4
- package/dist/cjs/src/kucoinfutures.js +1 -1
- 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 +2 -2
- package/dist/cjs/src/pro/bingx.js +6 -3
- package/dist/cjs/src/pro/bitfinex.js +1 -1
- 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/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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/src/pro/phemex.js +1 -1
- package/dist/cjs/src/pro/poloniexfutures.js +1 -1
- 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/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/bingx.d.ts +1 -0
- package/js/src/bingx.js +42 -1
- package/js/src/bitfinex.js +1 -1
- package/js/src/bitfinex2.js +1 -1
- package/js/src/bitflyer.js +2 -2
- package/js/src/bitmart.js +1 -1
- 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 +1 -1
- 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/coinbasepro.js +2 -2
- package/js/src/coinex.js +1 -1
- package/js/src/coinlist.js +1 -1
- package/js/src/deribit.js +1 -1
- package/js/src/digifinex.js +1 -1
- package/js/src/gate.js +1 -1
- 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 +1 -1
- package/js/src/kucoin.js +4 -4
- package/js/src/kucoinfutures.js +1 -1
- 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 +2 -2
- package/js/src/pro/bingx.js +6 -3
- package/js/src/pro/bitfinex.js +1 -1
- 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/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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/js/src/pro/phemex.js +1 -1
- package/js/src/pro/poloniexfutures.js +1 -1
- 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 +1 -1
- package/skip-tests.json +1 -0
package/dist/cjs/src/latoken.js
CHANGED
|
@@ -1138,7 +1138,7 @@ class latoken extends latoken$1 {
|
|
|
1138
1138
|
* @see https://api.latoken.com/doc/v2/#tag/StopOrder/operation/getMyStopOrdersByPair // stop
|
|
1139
1139
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1140
1140
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1141
|
-
* @param {int} [limit] the maximum number of
|
|
1141
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1142
1142
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1143
1143
|
* @param {boolean} [params.trigger] true if fetching trigger orders
|
|
1144
1144
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
package/dist/cjs/src/luno.js
CHANGED
|
@@ -471,7 +471,7 @@ class luno extends luno$1 {
|
|
|
471
471
|
* @description fetches information on multiple orders made by the user
|
|
472
472
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
473
473
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
474
|
-
* @param {int} [limit] the maximum number of
|
|
474
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
475
475
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
476
476
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
477
477
|
*/
|
|
@@ -497,7 +497,7 @@ class luno extends luno$1 {
|
|
|
497
497
|
* @description fetches information on multiple closed orders made by the user
|
|
498
498
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
499
499
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
500
|
-
* @param {int} [limit] the maximum number of
|
|
500
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
501
501
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
502
502
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
503
503
|
*/
|
package/dist/cjs/src/lykke.js
CHANGED
|
@@ -972,7 +972,7 @@ class lykke extends lykke$1 {
|
|
|
972
972
|
* @description fetches information on multiple closed orders made by the user
|
|
973
973
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
974
974
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
975
|
-
* @param {int} [limit] the maximum number of
|
|
975
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
976
976
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
977
977
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
978
978
|
*/
|
package/dist/cjs/src/mexc.js
CHANGED
|
@@ -2511,7 +2511,7 @@ class mexc extends mexc$1 {
|
|
|
2511
2511
|
* @description fetches information on multiple orders made by the user
|
|
2512
2512
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
2513
2513
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
2514
|
-
* @param {int} [limit] the maximum number of
|
|
2514
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2515
2515
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2516
2516
|
* @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
|
|
2517
2517
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -2834,7 +2834,7 @@ class mexc extends mexc$1 {
|
|
|
2834
2834
|
* @description fetches information on multiple closed orders made by the user
|
|
2835
2835
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
2836
2836
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
2837
|
-
* @param {int} [limit] the maximum number of
|
|
2837
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2838
2838
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2839
2839
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
2840
2840
|
*/
|
package/dist/cjs/src/ndax.js
CHANGED
|
@@ -1681,7 +1681,7 @@ class ndax extends ndax$1 {
|
|
|
1681
1681
|
* @description fetches information on multiple orders made by the user
|
|
1682
1682
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1683
1683
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1684
|
-
* @param {int} [limit] the maximum number of
|
|
1684
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1685
1685
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1686
1686
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1687
1687
|
*/
|
package/dist/cjs/src/novadax.js
CHANGED
|
@@ -903,7 +903,7 @@ class novadax extends novadax$1 {
|
|
|
903
903
|
* @see https://doc.novadax.com/en-US/#get-order-history
|
|
904
904
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
905
905
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
906
|
-
* @param {int} [limit] the maximum number of
|
|
906
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
907
907
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
908
908
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
909
909
|
*/
|
|
@@ -980,7 +980,7 @@ class novadax extends novadax$1 {
|
|
|
980
980
|
* @see https://doc.novadax.com/en-US/#get-order-history
|
|
981
981
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
982
982
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
983
|
-
* @param {int} [limit] the maximum number of
|
|
983
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
984
984
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
985
985
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
986
986
|
*/
|
package/dist/cjs/src/oceanex.js
CHANGED
|
@@ -703,7 +703,7 @@ class oceanex extends oceanex$1 {
|
|
|
703
703
|
* @see https://api.oceanex.pro/doc/v1/#order-status-get
|
|
704
704
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
705
705
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
706
|
-
* @param {int} [limit] the maximum number of
|
|
706
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
707
707
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
708
708
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
709
709
|
*/
|
package/dist/cjs/src/okcoin.js
CHANGED
|
@@ -2058,7 +2058,7 @@ class okcoin extends okcoin$1 {
|
|
|
2058
2058
|
* @description fetches information on multiple closed orders made by the user
|
|
2059
2059
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
2060
2060
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
2061
|
-
* @param {int} [limit] the maximum number of
|
|
2061
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2062
2062
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2063
2063
|
* @param {bool} [params.stop] True if fetching trigger or conditional orders
|
|
2064
2064
|
* @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
|
package/dist/cjs/src/okx.js
CHANGED
|
@@ -3903,7 +3903,7 @@ class okx extends okx$1 {
|
|
|
3903
3903
|
* @see https://www.okx.com/docs-v5/en/#order-book-trading-algo-trading-get-algo-order-history
|
|
3904
3904
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
3905
3905
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
3906
|
-
* @param {int} [limit] the maximum number of
|
|
3906
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
3907
3907
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3908
3908
|
* @param {bool} [params.stop] True if fetching trigger or conditional orders
|
|
3909
3909
|
* @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
|
|
@@ -1366,7 +1366,7 @@ class poloniexfutures extends poloniexfutures$1 {
|
|
|
1366
1366
|
* @see https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
|
|
1367
1367
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1368
1368
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1369
|
-
* @param {int} [limit] the maximum number of
|
|
1369
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1370
1370
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1371
1371
|
* @param {int} [params.till] end time in ms
|
|
1372
1372
|
* @param {string} [params.side] buy or sell
|
|
@@ -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
|
*/
|
|
@@ -1927,7 +1927,7 @@ class binance extends binance$1 {
|
|
|
1927
1927
|
* @description watches information on multiple orders made by the user
|
|
1928
1928
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1929
1929
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1930
|
-
* @param {int} [limit] the maximum number of
|
|
1930
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1931
1931
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1932
1932
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1933
1933
|
*/
|
|
@@ -2483,7 +2483,7 @@ class binance extends binance$1 {
|
|
|
2483
2483
|
* @description watches information on multiple trades made by the user
|
|
2484
2484
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
2485
2485
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
2486
|
-
* @param {int} [limit] the maximum number of
|
|
2486
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2487
2487
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2488
2488
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
2489
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
|
*/
|
|
@@ -457,7 +457,7 @@ class bitfinex extends bitfinex$1 {
|
|
|
457
457
|
* @description watches information on multiple orders made by the user
|
|
458
458
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
459
459
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
460
|
-
* @param {int} [limit] the maximum number of
|
|
460
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
461
461
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
462
462
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
463
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
|
*/
|
|
@@ -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
|
@@ -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
|
*/
|
|
@@ -990,7 +990,7 @@ class kraken extends kraken$1 {
|
|
|
990
990
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
991
991
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
992
992
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
993
|
-
* @param {object} [params]
|
|
993
|
+
* @param {object} [params] maximum number of orderic to the exchange API endpoint
|
|
994
994
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
995
995
|
*/
|
|
996
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
|
@@ -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/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>;
|
package/js/src/ace.js
CHANGED
|
@@ -700,7 +700,7 @@ export default class ace extends Exchange {
|
|
|
700
700
|
* @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-list
|
|
701
701
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
702
702
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
703
|
-
* @param {int} [limit] the maximum number of
|
|
703
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
704
704
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
705
705
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
706
706
|
*/
|
package/js/src/ascendex.js
CHANGED
|
@@ -1992,7 +1992,7 @@ export default class ascendex extends Exchange {
|
|
|
1992
1992
|
* @see https://ascendex.github.io/ascendex-futures-pro-api-v2/#list-current-history-orders
|
|
1993
1993
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1994
1994
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1995
|
-
* @param {int} [limit] the maximum number of
|
|
1995
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1996
1996
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1997
1997
|
* @param {int} [params.until] the latest time in ms to fetch orders for
|
|
1998
1998
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|