ccxt 4.1.44 → 4.1.45
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 +542 -581
- package/dist/ccxt.browser.min.js +9 -9
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +1 -3
- package/dist/cjs/src/ascendex.js +1 -3
- package/dist/cjs/src/bigone.js +2 -6
- package/dist/cjs/src/binance.js +16 -12
- package/dist/cjs/src/bit2c.js +2 -4
- package/dist/cjs/src/bitbns.js +5 -15
- package/dist/cjs/src/bitfinex.js +1 -3
- package/dist/cjs/src/bitfinex2.js +1 -3
- package/dist/cjs/src/bitflyer.js +4 -12
- package/dist/cjs/src/bitforex.js +4 -8
- package/dist/cjs/src/bithumb.js +4 -10
- package/dist/cjs/src/bitmart.js +64 -59
- package/dist/cjs/src/bitmex.js +2 -6
- package/dist/cjs/src/bitopro.js +6 -16
- package/dist/cjs/src/bitrue.js +6 -14
- package/dist/cjs/src/bitvavo.js +3 -9
- package/dist/cjs/src/btctradeua.js +2 -4
- package/dist/cjs/src/bybit.js +4 -0
- package/dist/cjs/src/cex.js +2 -4
- package/dist/cjs/src/coinbasepro.js +2 -2
- package/dist/cjs/src/coinex.js +7 -24
- package/dist/cjs/src/coinfalcon.js +1 -3
- package/dist/cjs/src/coinmate.js +2 -4
- package/dist/cjs/src/coinone.js +2 -6
- package/dist/cjs/src/coinsph.js +5 -13
- package/dist/cjs/src/currencycom.js +2 -6
- package/dist/cjs/src/gate.js +2 -6
- package/dist/cjs/src/gemini.js +1 -3
- package/dist/cjs/src/hitbtc.js +290 -100
- package/dist/cjs/src/hollaex.js +1 -3
- package/dist/cjs/src/huobi.js +3 -12
- package/dist/cjs/src/huobijp.js +1 -3
- package/dist/cjs/src/indodax.js +4 -10
- package/dist/cjs/src/kucoinfutures.js +2 -7
- package/dist/cjs/src/kuna.js +1 -0
- package/dist/cjs/src/luno.js +1 -3
- package/dist/cjs/src/mercado.js +7 -17
- package/dist/cjs/src/mexc.js +5 -15
- package/dist/cjs/src/oceanex.js +2 -4
- package/dist/cjs/src/okx.js +14 -19
- package/dist/cjs/src/phemex.js +12 -33
- package/dist/cjs/src/poloniexfutures.js +2 -6
- package/dist/cjs/src/pro/bitmart.js +2 -4
- package/dist/cjs/src/pro/bitrue.js +0 -4
- package/dist/cjs/src/pro/bitstamp.js +2 -4
- package/dist/cjs/src/pro/bitvavo.js +3 -7
- package/dist/cjs/src/pro/cex.js +2 -6
- package/dist/cjs/src/pro/whitebit.js +3 -7
- package/dist/cjs/src/probit.js +2 -6
- package/dist/cjs/src/tokocrypto.js +3 -7
- package/dist/cjs/src/wavesexchange.js +2 -4
- package/dist/cjs/src/wazirx.js +4 -10
- package/dist/cjs/src/whitebit.js +3 -7
- package/dist/cjs/src/woo.js +0 -3
- package/dist/cjs/src/yobit.js +3 -7
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bequant.d.ts +37 -7
- package/js/src/abstract/binance.d.ts +1 -0
- package/js/src/abstract/binancecoinm.d.ts +1 -0
- package/js/src/abstract/binanceus.d.ts +1 -0
- package/js/src/abstract/binanceusdm.d.ts +1 -0
- package/js/src/abstract/bitcoincom.d.ts +37 -7
- package/js/src/abstract/bybit.d.ts +3 -0
- package/js/src/abstract/fmfwio.d.ts +37 -7
- package/js/src/abstract/hitbtc.d.ts +37 -7
- package/js/src/abstract/hitbtc3.d.ts +37 -7
- package/js/src/abstract/okex.d.ts +6 -1
- package/js/src/abstract/okex5.d.ts +6 -1
- package/js/src/abstract/okx.d.ts +6 -1
- package/js/src/ace.d.ts +2 -2
- package/js/src/ace.js +2 -4
- package/js/src/alpaca.d.ts +2 -2
- package/js/src/ascendex.d.ts +2 -2
- package/js/src/ascendex.js +1 -3
- package/js/src/bigone.d.ts +2 -2
- package/js/src/bigone.js +3 -7
- package/js/src/binance.d.ts +2 -2
- package/js/src/binance.js +16 -12
- package/js/src/bingx.d.ts +2 -2
- package/js/src/bit2c.d.ts +2 -2
- package/js/src/bit2c.js +3 -5
- package/js/src/bitbank.d.ts +2 -2
- package/js/src/bitbns.d.ts +2 -2
- package/js/src/bitbns.js +5 -15
- package/js/src/bitfinex.d.ts +2 -2
- package/js/src/bitfinex.js +1 -3
- package/js/src/bitfinex2.js +1 -3
- package/js/src/bitflyer.d.ts +2 -2
- package/js/src/bitflyer.js +4 -12
- package/js/src/bitforex.d.ts +2 -2
- package/js/src/bitforex.js +5 -9
- package/js/src/bitget.d.ts +2 -2
- package/js/src/bithumb.d.ts +2 -2
- package/js/src/bithumb.js +4 -10
- package/js/src/bitmart.d.ts +2 -2
- package/js/src/bitmart.js +64 -59
- package/js/src/bitmex.js +2 -6
- package/js/src/bitopro.d.ts +2 -2
- package/js/src/bitopro.js +6 -16
- package/js/src/bitpanda.d.ts +2 -2
- package/js/src/bitrue.d.ts +2 -2
- package/js/src/bitrue.js +6 -14
- package/js/src/bitso.d.ts +2 -2
- package/js/src/bitstamp.d.ts +2 -2
- package/js/src/bitstamp1.d.ts +2 -2
- package/js/src/bittrex.d.ts +2 -2
- package/js/src/bitvavo.d.ts +2 -2
- package/js/src/bitvavo.js +3 -9
- package/js/src/bl3p.d.ts +2 -2
- package/js/src/blockchaincom.d.ts +4 -4
- package/js/src/btcalpha.d.ts +2 -2
- package/js/src/btcbox.d.ts +2 -2
- package/js/src/btcmarkets.d.ts +2 -2
- package/js/src/btctradeua.d.ts +2 -2
- package/js/src/btctradeua.js +3 -5
- package/js/src/btcturk.d.ts +2 -2
- package/js/src/bybit.d.ts +2 -2
- package/js/src/bybit.js +4 -0
- package/js/src/cex.d.ts +2 -2
- package/js/src/cex.js +2 -4
- package/js/src/coinbase.d.ts +2 -2
- package/js/src/coinbasepro.d.ts +2 -2
- package/js/src/coinbasepro.js +2 -2
- package/js/src/coincheck.d.ts +2 -2
- package/js/src/coinex.js +7 -24
- package/js/src/coinfalcon.d.ts +2 -2
- package/js/src/coinfalcon.js +2 -4
- package/js/src/coinlist.d.ts +12 -12
- package/js/src/coinmate.d.ts +3 -3
- package/js/src/coinmate.js +3 -5
- package/js/src/coinone.d.ts +2 -2
- package/js/src/coinone.js +2 -6
- package/js/src/coinsph.d.ts +2 -2
- package/js/src/coinsph.js +5 -13
- package/js/src/coinspot.d.ts +2 -2
- package/js/src/cryptocom.d.ts +2 -2
- package/js/src/currencycom.d.ts +2 -2
- package/js/src/currencycom.js +2 -6
- package/js/src/delta.d.ts +2 -2
- package/js/src/deribit.d.ts +3 -3
- package/js/src/digifinex.d.ts +2 -2
- package/js/src/gate.d.ts +2 -2
- package/js/src/gate.js +2 -6
- package/js/src/gemini.d.ts +3 -3
- package/js/src/gemini.js +1 -3
- package/js/src/hitbtc.d.ts +3 -0
- package/js/src/hitbtc.js +291 -101
- package/js/src/hollaex.js +1 -3
- package/js/src/huobi.d.ts +2 -2
- package/js/src/huobi.js +3 -12
- package/js/src/huobijp.d.ts +2 -2
- package/js/src/huobijp.js +2 -4
- package/js/src/independentreserve.d.ts +2 -2
- package/js/src/indodax.d.ts +2 -2
- package/js/src/indodax.js +4 -10
- package/js/src/kraken.d.ts +2 -2
- package/js/src/krakenfutures.d.ts +2 -2
- package/js/src/kucoin.d.ts +2 -2
- package/js/src/kucoinfutures.d.ts +2 -2
- package/js/src/kucoinfutures.js +2 -7
- package/js/src/kuna.d.ts +3 -3
- package/js/src/kuna.js +1 -0
- package/js/src/latoken.d.ts +2 -2
- package/js/src/lbank2.d.ts +2 -2
- package/js/src/luno.d.ts +2 -2
- package/js/src/luno.js +1 -3
- package/js/src/lykke.d.ts +2 -2
- package/js/src/mercado.d.ts +2 -2
- package/js/src/mercado.js +7 -17
- package/js/src/mexc.js +5 -15
- package/js/src/novadax.d.ts +2 -2
- package/js/src/oceanex.d.ts +4 -4
- package/js/src/oceanex.js +2 -4
- package/js/src/okcoin.d.ts +2 -2
- package/js/src/okx.d.ts +2 -2
- package/js/src/okx.js +14 -19
- package/js/src/paymium.d.ts +2 -2
- package/js/src/phemex.js +12 -33
- package/js/src/poloniexfutures.d.ts +2 -2
- package/js/src/poloniexfutures.js +2 -6
- package/js/src/pro/bitmart.js +2 -4
- package/js/src/pro/bitrue.js +0 -4
- package/js/src/pro/bitstamp.js +3 -5
- package/js/src/pro/bitvavo.js +4 -8
- package/js/src/pro/cex.js +3 -7
- package/js/src/pro/whitebit.js +4 -8
- package/js/src/probit.d.ts +2 -2
- package/js/src/probit.js +3 -7
- package/js/src/timex.d.ts +2 -2
- package/js/src/tokocrypto.d.ts +2 -2
- package/js/src/tokocrypto.js +4 -8
- package/js/src/wavesexchange.js +3 -5
- package/js/src/wazirx.d.ts +2 -2
- package/js/src/wazirx.js +5 -11
- package/js/src/whitebit.d.ts +2 -2
- package/js/src/whitebit.js +3 -7
- package/js/src/woo.d.ts +2 -2
- package/js/src/woo.js +1 -4
- package/js/src/yobit.js +3 -7
- package/js/src/zaif.d.ts +2 -2
- package/package.json +1 -1
|
@@ -373,9 +373,7 @@ class whitebit extends whitebit$1 {
|
|
|
373
373
|
* @param {object} [params] extra parameters specific to the whitebit api endpoint
|
|
374
374
|
* @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
375
375
|
*/
|
|
376
|
-
|
|
377
|
-
throw new errors.ArgumentsRequired(this.id + ' watchMyTrades requires a symbol argument');
|
|
378
|
-
}
|
|
376
|
+
this.checkRequiredSymbol('watchMyTrades', symbol);
|
|
379
377
|
await this.loadMarkets();
|
|
380
378
|
await this.authenticate();
|
|
381
379
|
const market = this.market(symbol);
|
|
@@ -468,13 +466,11 @@ class whitebit extends whitebit$1 {
|
|
|
468
466
|
* @description watches information on multiple orders made by the user
|
|
469
467
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
470
468
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
471
|
-
* @param {int} [limit] the maximum number of
|
|
469
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
472
470
|
* @param {object} [params] extra parameters specific to the whitebit api endpoint
|
|
473
471
|
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
|
|
474
472
|
*/
|
|
475
|
-
|
|
476
|
-
throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
|
|
477
|
-
}
|
|
473
|
+
this.checkRequiredSymbol('watchOrders', symbol);
|
|
478
474
|
await this.loadMarkets();
|
|
479
475
|
await this.authenticate();
|
|
480
476
|
const market = this.market(symbol);
|
package/dist/cjs/src/probit.js
CHANGED
|
@@ -1080,9 +1080,7 @@ class probit extends probit$1 {
|
|
|
1080
1080
|
* @param {object} [params] extra parameters specific to the probit api endpoint
|
|
1081
1081
|
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1082
1082
|
*/
|
|
1083
|
-
|
|
1084
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
|
|
1085
|
-
}
|
|
1083
|
+
this.checkRequiredSymbol('fetchOrder', symbol);
|
|
1086
1084
|
await this.loadMarkets();
|
|
1087
1085
|
const market = this.market(symbol);
|
|
1088
1086
|
const request = {
|
|
@@ -1283,9 +1281,7 @@ class probit extends probit$1 {
|
|
|
1283
1281
|
* @param {object} [params] extra parameters specific to the probit api endpoint
|
|
1284
1282
|
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1285
1283
|
*/
|
|
1286
|
-
|
|
1287
|
-
throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
|
|
1288
|
-
}
|
|
1284
|
+
this.checkRequiredSymbol('cancelOrder', symbol);
|
|
1289
1285
|
await this.loadMarkets();
|
|
1290
1286
|
const market = this.market(symbol);
|
|
1291
1287
|
const request = {
|
|
@@ -1799,13 +1799,11 @@ class tokocrypto extends tokocrypto$1 {
|
|
|
1799
1799
|
* @description fetches information on multiple orders made by the user
|
|
1800
1800
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1801
1801
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1802
|
-
* @param {int} [limit] the maximum number of
|
|
1802
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1803
1803
|
* @param {object} [params] extra parameters specific to the tokocrypto api endpoint
|
|
1804
1804
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1805
1805
|
*/
|
|
1806
|
-
|
|
1807
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
|
|
1808
|
-
}
|
|
1806
|
+
this.checkRequiredSymbol('fetchOrders', symbol);
|
|
1809
1807
|
await this.loadMarkets();
|
|
1810
1808
|
const market = this.market(symbol);
|
|
1811
1809
|
const request = {
|
|
@@ -1949,9 +1947,7 @@ class tokocrypto extends tokocrypto$1 {
|
|
|
1949
1947
|
* @param {object} [params] extra parameters specific to the tokocrypto api endpoint
|
|
1950
1948
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1951
1949
|
*/
|
|
1952
|
-
|
|
1953
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
|
|
1954
|
-
}
|
|
1950
|
+
this.checkRequiredSymbol('fetchMyTrades', symbol);
|
|
1955
1951
|
await this.loadMarkets();
|
|
1956
1952
|
const market = this.market(symbol);
|
|
1957
1953
|
const request = {
|
|
@@ -1552,15 +1552,13 @@ class wavesexchange extends wavesexchange$1 {
|
|
|
1552
1552
|
* @description fetches information on multiple orders made by the user
|
|
1553
1553
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1554
1554
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1555
|
-
* @param {int} [limit] the maximum number of
|
|
1555
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1556
1556
|
* @param {object} [params] extra parameters specific to the wavesexchange api endpoint
|
|
1557
1557
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1558
1558
|
*/
|
|
1559
1559
|
this.checkRequiredDependencies();
|
|
1560
1560
|
this.checkRequiredKeys();
|
|
1561
|
-
|
|
1562
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires symbol argument');
|
|
1563
|
-
}
|
|
1561
|
+
this.checkRequiredSymbol('fetchOrders', symbol);
|
|
1564
1562
|
await this.loadMarkets();
|
|
1565
1563
|
const market = this.market(symbol);
|
|
1566
1564
|
const timestamp = this.milliseconds();
|
package/dist/cjs/src/wazirx.js
CHANGED
|
@@ -654,13 +654,11 @@ class wazirx extends wazirx$1 {
|
|
|
654
654
|
* @description fetches information on multiple orders made by the user
|
|
655
655
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
656
656
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
657
|
-
* @param {int} [limit] the maximum number of
|
|
657
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
658
658
|
* @param {object} [params] extra parameters specific to the wazirx api endpoint
|
|
659
659
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
660
660
|
*/
|
|
661
|
-
|
|
662
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a `symbol` argument');
|
|
663
|
-
}
|
|
661
|
+
this.checkRequiredSymbol('fetchOrders', symbol);
|
|
664
662
|
await this.loadMarkets();
|
|
665
663
|
const market = this.market(symbol);
|
|
666
664
|
const request = {
|
|
@@ -766,9 +764,7 @@ class wazirx extends wazirx$1 {
|
|
|
766
764
|
* @param {object} [params] extra parameters specific to the wazirx api endpoint
|
|
767
765
|
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
768
766
|
*/
|
|
769
|
-
|
|
770
|
-
throw new errors.ArgumentsRequired(this.id + ' cancelAllOrders() requires a `symbol` argument');
|
|
771
|
-
}
|
|
767
|
+
this.checkRequiredSymbol('cancelAllOrders', symbol);
|
|
772
768
|
await this.loadMarkets();
|
|
773
769
|
const market = this.market(symbol);
|
|
774
770
|
const request = {
|
|
@@ -787,9 +783,7 @@ class wazirx extends wazirx$1 {
|
|
|
787
783
|
* @param {object} [params] extra parameters specific to the wazirx api endpoint
|
|
788
784
|
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
789
785
|
*/
|
|
790
|
-
|
|
791
|
-
throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a `symbol` argument');
|
|
792
|
-
}
|
|
786
|
+
this.checkRequiredSymbol('cancelOrder', symbol);
|
|
793
787
|
await this.loadMarkets();
|
|
794
788
|
const market = this.market(symbol);
|
|
795
789
|
const request = {
|
package/dist/cjs/src/whitebit.js
CHANGED
|
@@ -1245,9 +1245,7 @@ class whitebit extends whitebit$1 {
|
|
|
1245
1245
|
* @param {object} [params] extra parameters specific to the whitebit api endpoint
|
|
1246
1246
|
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1247
1247
|
*/
|
|
1248
|
-
|
|
1249
|
-
throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
|
|
1250
|
-
}
|
|
1248
|
+
this.checkRequiredSymbol('cancelOrder', symbol);
|
|
1251
1249
|
await this.loadMarkets();
|
|
1252
1250
|
const market = this.market(symbol);
|
|
1253
1251
|
const request = {
|
|
@@ -1336,13 +1334,11 @@ class whitebit extends whitebit$1 {
|
|
|
1336
1334
|
* @description fetch all unfilled currently open orders
|
|
1337
1335
|
* @param {string} symbol unified market symbol
|
|
1338
1336
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1339
|
-
* @param {int} [limit] the maximum number of
|
|
1337
|
+
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
1340
1338
|
* @param {object} [params] extra parameters specific to the whitebit api endpoint
|
|
1341
1339
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1342
1340
|
*/
|
|
1343
|
-
|
|
1344
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
|
|
1345
|
-
}
|
|
1341
|
+
this.checkRequiredSymbol('fetchOpenOrders', symbol);
|
|
1346
1342
|
await this.loadMarkets();
|
|
1347
1343
|
const market = this.market(symbol);
|
|
1348
1344
|
const request = {
|
package/dist/cjs/src/woo.js
CHANGED
|
@@ -421,9 +421,6 @@ class woo extends woo$1 {
|
|
|
421
421
|
* @param {object} [params] extra parameters specific to the woo api endpoint
|
|
422
422
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
423
423
|
*/
|
|
424
|
-
if (symbol === undefined) {
|
|
425
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchTrades() requires a symbol argument');
|
|
426
|
-
}
|
|
427
424
|
await this.loadMarkets();
|
|
428
425
|
const market = this.market(symbol);
|
|
429
426
|
const request = {
|
package/dist/cjs/src/yobit.js
CHANGED
|
@@ -1017,13 +1017,11 @@ class yobit extends yobit$1 {
|
|
|
1017
1017
|
* @description fetch all unfilled currently open orders
|
|
1018
1018
|
* @param {string} symbol unified market symbol
|
|
1019
1019
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1020
|
-
* @param {int} [limit] the maximum number of
|
|
1020
|
+
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
1021
1021
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
1022
1022
|
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1023
1023
|
*/
|
|
1024
|
-
|
|
1025
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
|
|
1026
|
-
}
|
|
1024
|
+
this.checkRequiredSymbol('fetchOpenOrders', symbol);
|
|
1027
1025
|
await this.loadMarkets();
|
|
1028
1026
|
const request = {};
|
|
1029
1027
|
const market = undefined;
|
|
@@ -1070,9 +1068,7 @@ class yobit extends yobit$1 {
|
|
|
1070
1068
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
1071
1069
|
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1072
1070
|
*/
|
|
1073
|
-
|
|
1074
|
-
throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a `symbol` argument');
|
|
1075
|
-
}
|
|
1071
|
+
this.checkRequiredSymbol('fetchMyTrades', symbol);
|
|
1076
1072
|
await this.loadMarkets();
|
|
1077
1073
|
const market = this.market(symbol);
|
|
1078
1074
|
// some derived classes use camelcase notation for request fields
|
package/js/ccxt.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
|
|
|
4
4
|
import * as errors from './src/base/errors.js';
|
|
5
5
|
import { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax, Position, FundingRateHistory, Liquidation, FundingHistory } 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.44";
|
|
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.45';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import ace from './src/ace.js';
|
|
@@ -2,19 +2,35 @@ import { implicitReturnType } from '../base/types.js';
|
|
|
2
2
|
import _hitbtc from '../hitbtc.js';
|
|
3
3
|
interface hitbtc {
|
|
4
4
|
publicGetPublicCurrency(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
publicGetPublicCurrencyCurrency(params?: {}): Promise<implicitReturnType>;
|
|
5
6
|
publicGetPublicSymbol(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
publicGetPublicSymbolSymbol(params?: {}): Promise<implicitReturnType>;
|
|
6
8
|
publicGetPublicTicker(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
publicGetPublicTickerSymbol(params?: {}): Promise<implicitReturnType>;
|
|
7
10
|
publicGetPublicPriceRate(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
publicGetPublicPriceHistory(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
publicGetPublicPriceTicker(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
publicGetPublicPriceTickerSymbol(params?: {}): Promise<implicitReturnType>;
|
|
8
14
|
publicGetPublicTrades(params?: {}): Promise<implicitReturnType>;
|
|
15
|
+
publicGetPublicTradesSymbol(params?: {}): Promise<implicitReturnType>;
|
|
9
16
|
publicGetPublicOrderbook(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
publicGetPublicOrderbookSymbol(params?: {}): Promise<implicitReturnType>;
|
|
10
18
|
publicGetPublicCandles(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
publicGetPublicCandlesSymbol(params?: {}): Promise<implicitReturnType>;
|
|
11
20
|
publicGetPublicFuturesInfo(params?: {}): Promise<implicitReturnType>;
|
|
21
|
+
publicGetPublicFuturesInfoSymbol(params?: {}): Promise<implicitReturnType>;
|
|
12
22
|
publicGetPublicFuturesHistoryFunding(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
publicGetPublicFuturesHistoryFundingSymbol(params?: {}): Promise<implicitReturnType>;
|
|
13
24
|
publicGetPublicFuturesCandlesIndexPrice(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
publicGetPublicFuturesCandlesIndexPriceSymbol(params?: {}): Promise<implicitReturnType>;
|
|
14
26
|
publicGetPublicFuturesCandlesMarkPrice(params?: {}): Promise<implicitReturnType>;
|
|
27
|
+
publicGetPublicFuturesCandlesMarkPriceSymbol(params?: {}): Promise<implicitReturnType>;
|
|
15
28
|
publicGetPublicFuturesCandlesPremiumIndex(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
publicGetPublicFuturesCandlesPremiumIndexSymbol(params?: {}): Promise<implicitReturnType>;
|
|
16
30
|
publicGetPublicFuturesCandlesOpenInterest(params?: {}): Promise<implicitReturnType>;
|
|
31
|
+
publicGetPublicFuturesCandlesOpenInterestSymbol(params?: {}): Promise<implicitReturnType>;
|
|
17
32
|
privateGetSpotBalance(params?: {}): Promise<implicitReturnType>;
|
|
33
|
+
privateGetSpotBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
18
34
|
privateGetSpotOrder(params?: {}): Promise<implicitReturnType>;
|
|
19
35
|
privateGetSpotOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
20
36
|
privateGetSpotFee(params?: {}): Promise<implicitReturnType>;
|
|
@@ -23,42 +39,56 @@ interface hitbtc {
|
|
|
23
39
|
privateGetSpotHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
24
40
|
privateGetMarginAccount(params?: {}): Promise<implicitReturnType>;
|
|
25
41
|
privateGetMarginAccountIsolatedSymbol(params?: {}): Promise<implicitReturnType>;
|
|
42
|
+
privateGetMarginAccountCrossCurrency(params?: {}): Promise<implicitReturnType>;
|
|
26
43
|
privateGetMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
27
44
|
privateGetMarginOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
28
|
-
|
|
45
|
+
privateGetMarginConfig(params?: {}): Promise<implicitReturnType>;
|
|
29
46
|
privateGetMarginHistoryOrder(params?: {}): Promise<implicitReturnType>;
|
|
30
|
-
privateGetMarginHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
31
47
|
privateGetMarginHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
privateGetMarginHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
privateGetMarginHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
32
50
|
privateGetFuturesBalance(params?: {}): Promise<implicitReturnType>;
|
|
51
|
+
privateGetFuturesBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
33
52
|
privateGetFuturesAccount(params?: {}): Promise<implicitReturnType>;
|
|
34
53
|
privateGetFuturesAccountIsolatedSymbol(params?: {}): Promise<implicitReturnType>;
|
|
35
54
|
privateGetFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
36
55
|
privateGetFuturesOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
56
|
+
privateGetFuturesConfig(params?: {}): Promise<implicitReturnType>;
|
|
37
57
|
privateGetFuturesFee(params?: {}): Promise<implicitReturnType>;
|
|
38
58
|
privateGetFuturesFeeSymbol(params?: {}): Promise<implicitReturnType>;
|
|
39
|
-
privateGetFuturesHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
40
59
|
privateGetFuturesHistoryOrder(params?: {}): Promise<implicitReturnType>;
|
|
41
|
-
privateGetFuturesHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
42
60
|
privateGetFuturesHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
61
|
+
privateGetFuturesHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
62
|
+
privateGetFuturesHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
43
63
|
privateGetWalletBalance(params?: {}): Promise<implicitReturnType>;
|
|
64
|
+
privateGetWalletBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
44
65
|
privateGetWalletCryptoAddress(params?: {}): Promise<implicitReturnType>;
|
|
45
66
|
privateGetWalletCryptoAddressRecentDeposit(params?: {}): Promise<implicitReturnType>;
|
|
46
67
|
privateGetWalletCryptoAddressRecentWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
47
68
|
privateGetWalletCryptoAddressCheckMine(params?: {}): Promise<implicitReturnType>;
|
|
48
69
|
privateGetWalletTransactions(params?: {}): Promise<implicitReturnType>;
|
|
49
|
-
|
|
70
|
+
privateGetWalletTransactionsTxId(params?: {}): Promise<implicitReturnType>;
|
|
50
71
|
privateGetWalletCryptoFeeEstimate(params?: {}): Promise<implicitReturnType>;
|
|
72
|
+
privateGetWalletAirdrops(params?: {}): Promise<implicitReturnType>;
|
|
73
|
+
privateGetWalletAmountLocks(params?: {}): Promise<implicitReturnType>;
|
|
51
74
|
privateGetSubAccount(params?: {}): Promise<implicitReturnType>;
|
|
52
75
|
privateGetSubAccountAcl(params?: {}): Promise<implicitReturnType>;
|
|
53
76
|
privateGetSubAccountBalanceSubAccID(params?: {}): Promise<implicitReturnType>;
|
|
54
77
|
privateGetSubAccountCryptoAddressSubAccIDCurrency(params?: {}): Promise<implicitReturnType>;
|
|
55
78
|
privatePostSpotOrder(params?: {}): Promise<implicitReturnType>;
|
|
79
|
+
privatePostSpotOrderList(params?: {}): Promise<implicitReturnType>;
|
|
56
80
|
privatePostMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
81
|
+
privatePostMarginOrderList(params?: {}): Promise<implicitReturnType>;
|
|
57
82
|
privatePostFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
58
|
-
|
|
83
|
+
privatePostFuturesOrderList(params?: {}): Promise<implicitReturnType>;
|
|
59
84
|
privatePostWalletCryptoAddress(params?: {}): Promise<implicitReturnType>;
|
|
60
85
|
privatePostWalletCryptoWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
86
|
+
privatePostWalletConvert(params?: {}): Promise<implicitReturnType>;
|
|
61
87
|
privatePostWalletTransfer(params?: {}): Promise<implicitReturnType>;
|
|
88
|
+
privatePostWalletInternalWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
89
|
+
privatePostWalletCryptoCheckOffchainAvailable(params?: {}): Promise<implicitReturnType>;
|
|
90
|
+
privatePostWalletCryptoFeesEstimate(params?: {}): Promise<implicitReturnType>;
|
|
91
|
+
privatePostWalletAirdropsIdClaim(params?: {}): Promise<implicitReturnType>;
|
|
62
92
|
privatePostSubAccountFreeze(params?: {}): Promise<implicitReturnType>;
|
|
63
93
|
privatePostSubAccountActivate(params?: {}): Promise<implicitReturnType>;
|
|
64
94
|
privatePostSubAccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
@@ -73,7 +103,7 @@ interface hitbtc {
|
|
|
73
103
|
privateDeleteMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
74
104
|
privateDeleteMarginOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
75
105
|
privateDeleteFuturesPosition(params?: {}): Promise<implicitReturnType>;
|
|
76
|
-
|
|
106
|
+
privateDeleteFuturesPositionMarginModeSymbol(params?: {}): Promise<implicitReturnType>;
|
|
77
107
|
privateDeleteFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
78
108
|
privateDeleteFuturesOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
79
109
|
privateDeleteWalletCryptoWithdrawId(params?: {}): Promise<implicitReturnType>;
|
|
@@ -547,6 +547,7 @@ interface Exchange {
|
|
|
547
547
|
publicGetKlines(params?: {}): Promise<implicitReturnType>;
|
|
548
548
|
publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
|
|
549
549
|
publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
|
|
550
|
+
publicGetTicker(params?: {}): Promise<implicitReturnType>;
|
|
550
551
|
publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
551
552
|
publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
|
|
552
553
|
publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
|
|
@@ -547,6 +547,7 @@ interface binance {
|
|
|
547
547
|
publicGetKlines(params?: {}): Promise<implicitReturnType>;
|
|
548
548
|
publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
|
|
549
549
|
publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
|
|
550
|
+
publicGetTicker(params?: {}): Promise<implicitReturnType>;
|
|
550
551
|
publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
551
552
|
publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
|
|
552
553
|
publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
|
|
@@ -547,6 +547,7 @@ interface binance {
|
|
|
547
547
|
publicGetKlines(params?: {}): Promise<implicitReturnType>;
|
|
548
548
|
publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
|
|
549
549
|
publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
|
|
550
|
+
publicGetTicker(params?: {}): Promise<implicitReturnType>;
|
|
550
551
|
publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
551
552
|
publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
|
|
552
553
|
publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
|
|
@@ -547,6 +547,7 @@ interface binance {
|
|
|
547
547
|
publicGetKlines(params?: {}): Promise<implicitReturnType>;
|
|
548
548
|
publicGetUiKlines(params?: {}): Promise<implicitReturnType>;
|
|
549
549
|
publicGetTicker24hr(params?: {}): Promise<implicitReturnType>;
|
|
550
|
+
publicGetTicker(params?: {}): Promise<implicitReturnType>;
|
|
550
551
|
publicGetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
551
552
|
publicGetTickerBookTicker(params?: {}): Promise<implicitReturnType>;
|
|
552
553
|
publicGetExchangeInfo(params?: {}): Promise<implicitReturnType>;
|
|
@@ -2,19 +2,35 @@ import { implicitReturnType } from '../base/types.js';
|
|
|
2
2
|
import _fmfwio from '../fmfwio.js';
|
|
3
3
|
interface fmfwio {
|
|
4
4
|
publicGetPublicCurrency(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
publicGetPublicCurrencyCurrency(params?: {}): Promise<implicitReturnType>;
|
|
5
6
|
publicGetPublicSymbol(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
publicGetPublicSymbolSymbol(params?: {}): Promise<implicitReturnType>;
|
|
6
8
|
publicGetPublicTicker(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
publicGetPublicTickerSymbol(params?: {}): Promise<implicitReturnType>;
|
|
7
10
|
publicGetPublicPriceRate(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
publicGetPublicPriceHistory(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
publicGetPublicPriceTicker(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
publicGetPublicPriceTickerSymbol(params?: {}): Promise<implicitReturnType>;
|
|
8
14
|
publicGetPublicTrades(params?: {}): Promise<implicitReturnType>;
|
|
15
|
+
publicGetPublicTradesSymbol(params?: {}): Promise<implicitReturnType>;
|
|
9
16
|
publicGetPublicOrderbook(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
publicGetPublicOrderbookSymbol(params?: {}): Promise<implicitReturnType>;
|
|
10
18
|
publicGetPublicCandles(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
publicGetPublicCandlesSymbol(params?: {}): Promise<implicitReturnType>;
|
|
11
20
|
publicGetPublicFuturesInfo(params?: {}): Promise<implicitReturnType>;
|
|
21
|
+
publicGetPublicFuturesInfoSymbol(params?: {}): Promise<implicitReturnType>;
|
|
12
22
|
publicGetPublicFuturesHistoryFunding(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
publicGetPublicFuturesHistoryFundingSymbol(params?: {}): Promise<implicitReturnType>;
|
|
13
24
|
publicGetPublicFuturesCandlesIndexPrice(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
publicGetPublicFuturesCandlesIndexPriceSymbol(params?: {}): Promise<implicitReturnType>;
|
|
14
26
|
publicGetPublicFuturesCandlesMarkPrice(params?: {}): Promise<implicitReturnType>;
|
|
27
|
+
publicGetPublicFuturesCandlesMarkPriceSymbol(params?: {}): Promise<implicitReturnType>;
|
|
15
28
|
publicGetPublicFuturesCandlesPremiumIndex(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
publicGetPublicFuturesCandlesPremiumIndexSymbol(params?: {}): Promise<implicitReturnType>;
|
|
16
30
|
publicGetPublicFuturesCandlesOpenInterest(params?: {}): Promise<implicitReturnType>;
|
|
31
|
+
publicGetPublicFuturesCandlesOpenInterestSymbol(params?: {}): Promise<implicitReturnType>;
|
|
17
32
|
privateGetSpotBalance(params?: {}): Promise<implicitReturnType>;
|
|
33
|
+
privateGetSpotBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
18
34
|
privateGetSpotOrder(params?: {}): Promise<implicitReturnType>;
|
|
19
35
|
privateGetSpotOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
20
36
|
privateGetSpotFee(params?: {}): Promise<implicitReturnType>;
|
|
@@ -23,42 +39,56 @@ interface fmfwio {
|
|
|
23
39
|
privateGetSpotHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
24
40
|
privateGetMarginAccount(params?: {}): Promise<implicitReturnType>;
|
|
25
41
|
privateGetMarginAccountIsolatedSymbol(params?: {}): Promise<implicitReturnType>;
|
|
42
|
+
privateGetMarginAccountCrossCurrency(params?: {}): Promise<implicitReturnType>;
|
|
26
43
|
privateGetMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
27
44
|
privateGetMarginOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
28
|
-
|
|
45
|
+
privateGetMarginConfig(params?: {}): Promise<implicitReturnType>;
|
|
29
46
|
privateGetMarginHistoryOrder(params?: {}): Promise<implicitReturnType>;
|
|
30
|
-
privateGetMarginHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
31
47
|
privateGetMarginHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
privateGetMarginHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
privateGetMarginHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
32
50
|
privateGetFuturesBalance(params?: {}): Promise<implicitReturnType>;
|
|
51
|
+
privateGetFuturesBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
33
52
|
privateGetFuturesAccount(params?: {}): Promise<implicitReturnType>;
|
|
34
53
|
privateGetFuturesAccountIsolatedSymbol(params?: {}): Promise<implicitReturnType>;
|
|
35
54
|
privateGetFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
36
55
|
privateGetFuturesOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
56
|
+
privateGetFuturesConfig(params?: {}): Promise<implicitReturnType>;
|
|
37
57
|
privateGetFuturesFee(params?: {}): Promise<implicitReturnType>;
|
|
38
58
|
privateGetFuturesFeeSymbol(params?: {}): Promise<implicitReturnType>;
|
|
39
|
-
privateGetFuturesHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
40
59
|
privateGetFuturesHistoryOrder(params?: {}): Promise<implicitReturnType>;
|
|
41
|
-
privateGetFuturesHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
42
60
|
privateGetFuturesHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
61
|
+
privateGetFuturesHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
62
|
+
privateGetFuturesHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
43
63
|
privateGetWalletBalance(params?: {}): Promise<implicitReturnType>;
|
|
64
|
+
privateGetWalletBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
44
65
|
privateGetWalletCryptoAddress(params?: {}): Promise<implicitReturnType>;
|
|
45
66
|
privateGetWalletCryptoAddressRecentDeposit(params?: {}): Promise<implicitReturnType>;
|
|
46
67
|
privateGetWalletCryptoAddressRecentWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
47
68
|
privateGetWalletCryptoAddressCheckMine(params?: {}): Promise<implicitReturnType>;
|
|
48
69
|
privateGetWalletTransactions(params?: {}): Promise<implicitReturnType>;
|
|
49
|
-
|
|
70
|
+
privateGetWalletTransactionsTxId(params?: {}): Promise<implicitReturnType>;
|
|
50
71
|
privateGetWalletCryptoFeeEstimate(params?: {}): Promise<implicitReturnType>;
|
|
72
|
+
privateGetWalletAirdrops(params?: {}): Promise<implicitReturnType>;
|
|
73
|
+
privateGetWalletAmountLocks(params?: {}): Promise<implicitReturnType>;
|
|
51
74
|
privateGetSubAccount(params?: {}): Promise<implicitReturnType>;
|
|
52
75
|
privateGetSubAccountAcl(params?: {}): Promise<implicitReturnType>;
|
|
53
76
|
privateGetSubAccountBalanceSubAccID(params?: {}): Promise<implicitReturnType>;
|
|
54
77
|
privateGetSubAccountCryptoAddressSubAccIDCurrency(params?: {}): Promise<implicitReturnType>;
|
|
55
78
|
privatePostSpotOrder(params?: {}): Promise<implicitReturnType>;
|
|
79
|
+
privatePostSpotOrderList(params?: {}): Promise<implicitReturnType>;
|
|
56
80
|
privatePostMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
81
|
+
privatePostMarginOrderList(params?: {}): Promise<implicitReturnType>;
|
|
57
82
|
privatePostFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
58
|
-
|
|
83
|
+
privatePostFuturesOrderList(params?: {}): Promise<implicitReturnType>;
|
|
59
84
|
privatePostWalletCryptoAddress(params?: {}): Promise<implicitReturnType>;
|
|
60
85
|
privatePostWalletCryptoWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
86
|
+
privatePostWalletConvert(params?: {}): Promise<implicitReturnType>;
|
|
61
87
|
privatePostWalletTransfer(params?: {}): Promise<implicitReturnType>;
|
|
88
|
+
privatePostWalletInternalWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
89
|
+
privatePostWalletCryptoCheckOffchainAvailable(params?: {}): Promise<implicitReturnType>;
|
|
90
|
+
privatePostWalletCryptoFeesEstimate(params?: {}): Promise<implicitReturnType>;
|
|
91
|
+
privatePostWalletAirdropsIdClaim(params?: {}): Promise<implicitReturnType>;
|
|
62
92
|
privatePostSubAccountFreeze(params?: {}): Promise<implicitReturnType>;
|
|
63
93
|
privatePostSubAccountActivate(params?: {}): Promise<implicitReturnType>;
|
|
64
94
|
privatePostSubAccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
@@ -73,7 +103,7 @@ interface fmfwio {
|
|
|
73
103
|
privateDeleteMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
74
104
|
privateDeleteMarginOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
75
105
|
privateDeleteFuturesPosition(params?: {}): Promise<implicitReturnType>;
|
|
76
|
-
|
|
106
|
+
privateDeleteFuturesPositionMarginModeSymbol(params?: {}): Promise<implicitReturnType>;
|
|
77
107
|
privateDeleteFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
78
108
|
privateDeleteFuturesOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
79
109
|
privateDeleteWalletCryptoWithdrawId(params?: {}): Promise<implicitReturnType>;
|
|
@@ -158,6 +158,8 @@ interface Exchange {
|
|
|
158
158
|
privateGetV5SpotCrossMarginTradeAccount(params?: {}): Promise<implicitReturnType>;
|
|
159
159
|
privateGetV5SpotCrossMarginTradeOrders(params?: {}): Promise<implicitReturnType>;
|
|
160
160
|
privateGetV5SpotCrossMarginTradeRepayHistory(params?: {}): Promise<implicitReturnType>;
|
|
161
|
+
privateGetV5InsLoanProductInfos(params?: {}): Promise<implicitReturnType>;
|
|
162
|
+
privateGetV5InsLoanEnsureTokensConvert(params?: {}): Promise<implicitReturnType>;
|
|
161
163
|
privateGetV5InsLoanLoanOrder(params?: {}): Promise<implicitReturnType>;
|
|
162
164
|
privateGetV5InsLoanRepaidHistory(params?: {}): Promise<implicitReturnType>;
|
|
163
165
|
privateGetV5InsLoanLtvConvert(params?: {}): Promise<implicitReturnType>;
|
|
@@ -275,6 +277,7 @@ interface Exchange {
|
|
|
275
277
|
privatePostV5SpotCrossMarginTradeLoan(params?: {}): Promise<implicitReturnType>;
|
|
276
278
|
privatePostV5SpotCrossMarginTradeRepay(params?: {}): Promise<implicitReturnType>;
|
|
277
279
|
privatePostV5SpotCrossMarginTradeSwitch(params?: {}): Promise<implicitReturnType>;
|
|
280
|
+
privatePostV5InsLoanAssociationUid(params?: {}): Promise<implicitReturnType>;
|
|
278
281
|
privatePostV5LendingPurchase(params?: {}): Promise<implicitReturnType>;
|
|
279
282
|
privatePostV5LendingRedeem(params?: {}): Promise<implicitReturnType>;
|
|
280
283
|
privatePostV5LendingRedeemCancel(params?: {}): Promise<implicitReturnType>;
|
|
@@ -2,19 +2,35 @@ import { implicitReturnType } from '../base/types.js';
|
|
|
2
2
|
import _hitbtc from '../hitbtc.js';
|
|
3
3
|
interface hitbtc {
|
|
4
4
|
publicGetPublicCurrency(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
publicGetPublicCurrencyCurrency(params?: {}): Promise<implicitReturnType>;
|
|
5
6
|
publicGetPublicSymbol(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
publicGetPublicSymbolSymbol(params?: {}): Promise<implicitReturnType>;
|
|
6
8
|
publicGetPublicTicker(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
publicGetPublicTickerSymbol(params?: {}): Promise<implicitReturnType>;
|
|
7
10
|
publicGetPublicPriceRate(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
publicGetPublicPriceHistory(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
publicGetPublicPriceTicker(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
publicGetPublicPriceTickerSymbol(params?: {}): Promise<implicitReturnType>;
|
|
8
14
|
publicGetPublicTrades(params?: {}): Promise<implicitReturnType>;
|
|
15
|
+
publicGetPublicTradesSymbol(params?: {}): Promise<implicitReturnType>;
|
|
9
16
|
publicGetPublicOrderbook(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
publicGetPublicOrderbookSymbol(params?: {}): Promise<implicitReturnType>;
|
|
10
18
|
publicGetPublicCandles(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
publicGetPublicCandlesSymbol(params?: {}): Promise<implicitReturnType>;
|
|
11
20
|
publicGetPublicFuturesInfo(params?: {}): Promise<implicitReturnType>;
|
|
21
|
+
publicGetPublicFuturesInfoSymbol(params?: {}): Promise<implicitReturnType>;
|
|
12
22
|
publicGetPublicFuturesHistoryFunding(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
publicGetPublicFuturesHistoryFundingSymbol(params?: {}): Promise<implicitReturnType>;
|
|
13
24
|
publicGetPublicFuturesCandlesIndexPrice(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
publicGetPublicFuturesCandlesIndexPriceSymbol(params?: {}): Promise<implicitReturnType>;
|
|
14
26
|
publicGetPublicFuturesCandlesMarkPrice(params?: {}): Promise<implicitReturnType>;
|
|
27
|
+
publicGetPublicFuturesCandlesMarkPriceSymbol(params?: {}): Promise<implicitReturnType>;
|
|
15
28
|
publicGetPublicFuturesCandlesPremiumIndex(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
publicGetPublicFuturesCandlesPremiumIndexSymbol(params?: {}): Promise<implicitReturnType>;
|
|
16
30
|
publicGetPublicFuturesCandlesOpenInterest(params?: {}): Promise<implicitReturnType>;
|
|
31
|
+
publicGetPublicFuturesCandlesOpenInterestSymbol(params?: {}): Promise<implicitReturnType>;
|
|
17
32
|
privateGetSpotBalance(params?: {}): Promise<implicitReturnType>;
|
|
33
|
+
privateGetSpotBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
18
34
|
privateGetSpotOrder(params?: {}): Promise<implicitReturnType>;
|
|
19
35
|
privateGetSpotOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
20
36
|
privateGetSpotFee(params?: {}): Promise<implicitReturnType>;
|
|
@@ -23,42 +39,56 @@ interface hitbtc {
|
|
|
23
39
|
privateGetSpotHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
24
40
|
privateGetMarginAccount(params?: {}): Promise<implicitReturnType>;
|
|
25
41
|
privateGetMarginAccountIsolatedSymbol(params?: {}): Promise<implicitReturnType>;
|
|
42
|
+
privateGetMarginAccountCrossCurrency(params?: {}): Promise<implicitReturnType>;
|
|
26
43
|
privateGetMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
27
44
|
privateGetMarginOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
28
|
-
|
|
45
|
+
privateGetMarginConfig(params?: {}): Promise<implicitReturnType>;
|
|
29
46
|
privateGetMarginHistoryOrder(params?: {}): Promise<implicitReturnType>;
|
|
30
|
-
privateGetMarginHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
31
47
|
privateGetMarginHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
privateGetMarginHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
privateGetMarginHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
32
50
|
privateGetFuturesBalance(params?: {}): Promise<implicitReturnType>;
|
|
51
|
+
privateGetFuturesBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
33
52
|
privateGetFuturesAccount(params?: {}): Promise<implicitReturnType>;
|
|
34
53
|
privateGetFuturesAccountIsolatedSymbol(params?: {}): Promise<implicitReturnType>;
|
|
35
54
|
privateGetFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
36
55
|
privateGetFuturesOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
56
|
+
privateGetFuturesConfig(params?: {}): Promise<implicitReturnType>;
|
|
37
57
|
privateGetFuturesFee(params?: {}): Promise<implicitReturnType>;
|
|
38
58
|
privateGetFuturesFeeSymbol(params?: {}): Promise<implicitReturnType>;
|
|
39
|
-
privateGetFuturesHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
40
59
|
privateGetFuturesHistoryOrder(params?: {}): Promise<implicitReturnType>;
|
|
41
|
-
privateGetFuturesHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
42
60
|
privateGetFuturesHistoryTrade(params?: {}): Promise<implicitReturnType>;
|
|
61
|
+
privateGetFuturesHistoryPositions(params?: {}): Promise<implicitReturnType>;
|
|
62
|
+
privateGetFuturesHistoryClearing(params?: {}): Promise<implicitReturnType>;
|
|
43
63
|
privateGetWalletBalance(params?: {}): Promise<implicitReturnType>;
|
|
64
|
+
privateGetWalletBalanceCurrency(params?: {}): Promise<implicitReturnType>;
|
|
44
65
|
privateGetWalletCryptoAddress(params?: {}): Promise<implicitReturnType>;
|
|
45
66
|
privateGetWalletCryptoAddressRecentDeposit(params?: {}): Promise<implicitReturnType>;
|
|
46
67
|
privateGetWalletCryptoAddressRecentWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
47
68
|
privateGetWalletCryptoAddressCheckMine(params?: {}): Promise<implicitReturnType>;
|
|
48
69
|
privateGetWalletTransactions(params?: {}): Promise<implicitReturnType>;
|
|
49
|
-
|
|
70
|
+
privateGetWalletTransactionsTxId(params?: {}): Promise<implicitReturnType>;
|
|
50
71
|
privateGetWalletCryptoFeeEstimate(params?: {}): Promise<implicitReturnType>;
|
|
72
|
+
privateGetWalletAirdrops(params?: {}): Promise<implicitReturnType>;
|
|
73
|
+
privateGetWalletAmountLocks(params?: {}): Promise<implicitReturnType>;
|
|
51
74
|
privateGetSubAccount(params?: {}): Promise<implicitReturnType>;
|
|
52
75
|
privateGetSubAccountAcl(params?: {}): Promise<implicitReturnType>;
|
|
53
76
|
privateGetSubAccountBalanceSubAccID(params?: {}): Promise<implicitReturnType>;
|
|
54
77
|
privateGetSubAccountCryptoAddressSubAccIDCurrency(params?: {}): Promise<implicitReturnType>;
|
|
55
78
|
privatePostSpotOrder(params?: {}): Promise<implicitReturnType>;
|
|
79
|
+
privatePostSpotOrderList(params?: {}): Promise<implicitReturnType>;
|
|
56
80
|
privatePostMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
81
|
+
privatePostMarginOrderList(params?: {}): Promise<implicitReturnType>;
|
|
57
82
|
privatePostFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
58
|
-
|
|
83
|
+
privatePostFuturesOrderList(params?: {}): Promise<implicitReturnType>;
|
|
59
84
|
privatePostWalletCryptoAddress(params?: {}): Promise<implicitReturnType>;
|
|
60
85
|
privatePostWalletCryptoWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
86
|
+
privatePostWalletConvert(params?: {}): Promise<implicitReturnType>;
|
|
61
87
|
privatePostWalletTransfer(params?: {}): Promise<implicitReturnType>;
|
|
88
|
+
privatePostWalletInternalWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
89
|
+
privatePostWalletCryptoCheckOffchainAvailable(params?: {}): Promise<implicitReturnType>;
|
|
90
|
+
privatePostWalletCryptoFeesEstimate(params?: {}): Promise<implicitReturnType>;
|
|
91
|
+
privatePostWalletAirdropsIdClaim(params?: {}): Promise<implicitReturnType>;
|
|
62
92
|
privatePostSubAccountFreeze(params?: {}): Promise<implicitReturnType>;
|
|
63
93
|
privatePostSubAccountActivate(params?: {}): Promise<implicitReturnType>;
|
|
64
94
|
privatePostSubAccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
@@ -73,7 +103,7 @@ interface hitbtc {
|
|
|
73
103
|
privateDeleteMarginOrder(params?: {}): Promise<implicitReturnType>;
|
|
74
104
|
privateDeleteMarginOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
75
105
|
privateDeleteFuturesPosition(params?: {}): Promise<implicitReturnType>;
|
|
76
|
-
|
|
106
|
+
privateDeleteFuturesPositionMarginModeSymbol(params?: {}): Promise<implicitReturnType>;
|
|
77
107
|
privateDeleteFuturesOrder(params?: {}): Promise<implicitReturnType>;
|
|
78
108
|
privateDeleteFuturesOrderClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
79
109
|
privateDeleteWalletCryptoWithdrawId(params?: {}): Promise<implicitReturnType>;
|