ccxt 4.0.74 → 4.0.76
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 +4 -4
- package/dist/ccxt.browser.js +2635 -2383
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +11 -11
- package/dist/cjs/src/alpaca.js +7 -7
- package/dist/cjs/src/ascendex.js +25 -25
- package/dist/cjs/src/base/Exchange.js +4 -4
- package/dist/cjs/src/bigone.js +19 -19
- package/dist/cjs/src/binance.js +56 -56
- package/dist/cjs/src/bingx.js +85 -40
- package/dist/cjs/src/bit2c.js +12 -12
- package/dist/cjs/src/bitbank.js +13 -13
- package/dist/cjs/src/bitbns.js +14 -14
- package/dist/cjs/src/bitfinex.js +21 -21
- package/dist/cjs/src/bitfinex2.js +29 -29
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitforex.js +11 -11
- package/dist/cjs/src/bitget.js +39 -39
- package/dist/cjs/src/bithumb.js +11 -11
- package/dist/cjs/src/bitmart.js +44 -31
- package/dist/cjs/src/bitmex.js +24 -24
- package/dist/cjs/src/bitopro.js +21 -21
- package/dist/cjs/src/bitpanda.js +21 -21
- package/dist/cjs/src/bitrue.js +18 -18
- package/dist/cjs/src/bitso.js +21 -21
- package/dist/cjs/src/bitstamp.js +21 -21
- package/dist/cjs/src/bitstamp1.js +8 -8
- package/dist/cjs/src/bittrex.js +27 -27
- package/dist/cjs/src/bitvavo.js +19 -19
- package/dist/cjs/src/bkex.js +21 -21
- package/dist/cjs/src/bl3p.js +8 -8
- package/dist/cjs/src/blockchaincom.js +21 -21
- package/dist/cjs/src/btcalpha.js +15 -15
- package/dist/cjs/src/btcbox.js +10 -10
- package/dist/cjs/src/btcmarkets.js +17 -17
- package/dist/cjs/src/btctradeua.js +8 -8
- package/dist/cjs/src/btcturk.js +11 -11
- package/dist/cjs/src/bybit.js +153 -121
- package/dist/cjs/src/cex.js +14 -14
- package/dist/cjs/src/coinbase.js +23 -23
- package/dist/cjs/src/coinbasepro.js +24 -24
- package/dist/cjs/src/coincheck.js +12 -12
- package/dist/cjs/src/coinex.js +87 -41
- package/dist/cjs/src/coinfalcon.js +16 -16
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinone.js +12 -12
- package/dist/cjs/src/coinsph.js +27 -22
- package/dist/cjs/src/coinspot.js +8 -8
- package/dist/cjs/src/cryptocom.js +29 -29
- package/dist/cjs/src/currencycom.js +20 -20
- package/dist/cjs/src/delta.js +25 -25
- package/dist/cjs/src/deribit.js +30 -30
- package/dist/cjs/src/digifinex.js +31 -31
- package/dist/cjs/src/exmo.js +26 -26
- package/dist/cjs/src/gate.js +38 -38
- package/dist/cjs/src/gemini.js +17 -17
- package/dist/cjs/src/hitbtc.js +34 -34
- package/dist/cjs/src/hollaex.js +23 -23
- package/dist/cjs/src/huobi.js +45 -45
- package/dist/cjs/src/huobijp.js +20 -20
- package/dist/cjs/src/idex.js +19 -19
- package/dist/cjs/src/independentreserve.js +12 -12
- package/dist/cjs/src/indodax.js +14 -14
- package/dist/cjs/src/kraken.js +27 -27
- package/dist/cjs/src/krakenfutures.js +12 -12
- package/dist/cjs/src/kucoin.js +33 -33
- package/dist/cjs/src/kucoinfutures.js +24 -24
- package/dist/cjs/src/kuna.js +12 -12
- package/dist/cjs/src/latoken.js +17 -17
- package/dist/cjs/src/lbank.js +12 -12
- package/dist/cjs/src/lbank2.js +23 -23
- package/dist/cjs/src/luno.js +16 -16
- package/dist/cjs/src/lykke.js +16 -16
- package/dist/cjs/src/mercado.js +12 -12
- package/dist/cjs/src/mexc.js +44 -42
- package/dist/cjs/src/ndax.js +20 -20
- package/dist/cjs/src/novadax.js +20 -20
- package/dist/cjs/src/oceanex.js +16 -16
- package/dist/cjs/src/okcoin.js +21 -21
- package/dist/cjs/src/okx.js +52 -52
- package/dist/cjs/src/paymium.js +11 -11
- package/dist/cjs/src/phemex.js +26 -26
- package/dist/cjs/src/poloniex.js +237 -136
- package/dist/cjs/src/poloniexfutures.js +18 -18
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +4 -4
- package/dist/cjs/src/pro/binance.js +16 -16
- package/dist/cjs/src/pro/bitfinex.js +4 -4
- package/dist/cjs/src/pro/bitfinex2.js +6 -6
- package/dist/cjs/src/pro/bitget.js +6 -6
- package/dist/cjs/src/pro/bitmart.js +4 -4
- package/dist/cjs/src/pro/bitmex.js +6 -6
- package/dist/cjs/src/pro/bitopro.js +4 -4
- package/dist/cjs/src/pro/bitpanda.js +6 -6
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrex.js +6 -6
- package/dist/cjs/src/pro/bitvavo.js +5 -5
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/bybit.js +6 -6
- package/dist/cjs/src/pro/cex.js +7 -7
- package/dist/cjs/src/pro/coinbase.js +5 -5
- package/dist/cjs/src/pro/coinbasepro.js +6 -6
- package/dist/cjs/src/pro/coinex.js +5 -5
- package/dist/cjs/src/pro/cryptocom.js +10 -10
- package/dist/cjs/src/pro/currencycom.js +4 -4
- package/dist/cjs/src/pro/deribit.js +6 -6
- package/dist/cjs/src/pro/exmo.js +5 -5
- package/dist/cjs/src/pro/gate.js +7 -7
- package/dist/cjs/src/pro/gemini.js +3 -3
- package/dist/cjs/src/pro/hitbtc.js +3 -3
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/huobi.js +6 -6
- package/dist/cjs/src/pro/huobijp.js +3 -3
- package/dist/cjs/src/pro/idex.js +4 -4
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +12 -12
- package/dist/cjs/src/pro/krakenfutures.js +7 -7
- package/dist/cjs/src/pro/kucoin.js +6 -6
- package/dist/cjs/src/pro/kucoinfutures.js +6 -5
- package/dist/cjs/src/pro/luno.js +2 -2
- package/dist/cjs/src/pro/mexc.js +6 -6
- package/dist/cjs/src/pro/ndax.js +3 -3
- package/dist/cjs/src/pro/okcoin.js +5 -5
- package/dist/cjs/src/pro/okx.js +19 -18
- package/dist/cjs/src/pro/phemex.js +6 -6
- package/dist/cjs/src/pro/poloniex.js +7 -7
- package/dist/cjs/src/pro/poloniexfutures.js +5 -5
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/upbit.js +3 -3
- package/dist/cjs/src/pro/wazirx.js +6 -6
- package/dist/cjs/src/pro/whitebit.js +6 -6
- package/dist/cjs/src/probit.js +19 -19
- package/dist/cjs/src/tidex.js +13 -13
- package/dist/cjs/src/timex.js +16 -16
- package/dist/cjs/src/tokocrypto.js +18 -18
- package/dist/cjs/src/upbit.js +20 -20
- package/dist/cjs/src/wavesexchange.js +16 -16
- package/dist/cjs/src/wazirx.js +12 -12
- package/dist/cjs/src/whitebit.js +24 -24
- package/dist/cjs/src/woo.js +30 -24
- package/dist/cjs/src/yobit.js +16 -16
- package/dist/cjs/src/zaif.js +10 -10
- package/dist/cjs/src/zonda.js +15 -15
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bingx.d.ts +2 -0
- package/js/src/abstract/bitmart.d.ts +13 -0
- package/js/src/abstract/bybit.d.ts +33 -21
- package/js/src/abstract/coinsph.d.ts +5 -0
- package/js/src/abstract/woo.d.ts +6 -0
- package/js/src/ace.js +11 -11
- package/js/src/alpaca.js +7 -7
- package/js/src/ascendex.js +25 -25
- package/js/src/base/Exchange.js +4 -4
- package/js/src/bigone.js +19 -19
- package/js/src/binance.js +56 -56
- package/js/src/bingx.d.ts +1 -0
- package/js/src/bingx.js +85 -40
- package/js/src/bit2c.js +12 -12
- package/js/src/bitbank.js +13 -13
- package/js/src/bitbns.js +14 -14
- package/js/src/bitfinex.js +21 -21
- package/js/src/bitfinex2.js +29 -29
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitforex.js +11 -11
- package/js/src/bitget.js +39 -39
- package/js/src/bithumb.js +11 -11
- package/js/src/bitmart.js +44 -31
- package/js/src/bitmex.js +24 -24
- package/js/src/bitopro.js +21 -21
- package/js/src/bitpanda.js +21 -21
- package/js/src/bitrue.js +18 -18
- package/js/src/bitso.js +21 -21
- package/js/src/bitstamp.js +21 -21
- package/js/src/bitstamp1.js +8 -8
- package/js/src/bittrex.js +27 -27
- package/js/src/bitvavo.js +19 -19
- package/js/src/bkex.js +21 -21
- package/js/src/bl3p.js +8 -8
- package/js/src/blockchaincom.js +21 -21
- package/js/src/btcalpha.js +15 -15
- package/js/src/btcbox.js +10 -10
- package/js/src/btcmarkets.js +17 -17
- package/js/src/btctradeua.js +8 -8
- package/js/src/btcturk.js +11 -11
- package/js/src/bybit.js +153 -121
- package/js/src/cex.js +14 -14
- package/js/src/coinbase.js +23 -23
- package/js/src/coinbasepro.js +24 -24
- package/js/src/coincheck.js +12 -12
- package/js/src/coinex.d.ts +1 -0
- package/js/src/coinex.js +87 -41
- package/js/src/coinfalcon.js +16 -16
- package/js/src/coinmate.js +14 -14
- package/js/src/coinone.js +12 -12
- package/js/src/coinsph.js +27 -22
- package/js/src/coinspot.js +8 -8
- package/js/src/cryptocom.js +29 -29
- package/js/src/currencycom.js +20 -20
- package/js/src/delta.js +25 -25
- package/js/src/deribit.js +30 -30
- package/js/src/digifinex.js +31 -31
- package/js/src/exmo.js +26 -26
- package/js/src/gate.js +38 -38
- package/js/src/gemini.js +17 -17
- package/js/src/hitbtc.js +34 -34
- package/js/src/hollaex.js +23 -23
- package/js/src/huobi.js +45 -45
- package/js/src/huobijp.js +20 -20
- package/js/src/idex.js +19 -19
- package/js/src/independentreserve.js +12 -12
- package/js/src/indodax.js +14 -14
- package/js/src/kraken.js +27 -27
- package/js/src/krakenfutures.js +12 -12
- package/js/src/kucoin.js +33 -33
- package/js/src/kucoinfutures.js +24 -24
- package/js/src/kuna.js +12 -12
- package/js/src/latoken.js +17 -17
- package/js/src/lbank.js +12 -12
- package/js/src/lbank2.js +23 -23
- package/js/src/luno.js +16 -16
- package/js/src/lykke.js +16 -16
- package/js/src/mercado.js +12 -12
- package/js/src/mexc.js +45 -43
- package/js/src/ndax.js +20 -20
- package/js/src/novadax.js +20 -20
- package/js/src/oceanex.js +16 -16
- package/js/src/okcoin.js +21 -21
- package/js/src/okx.js +52 -52
- package/js/src/paymium.js +11 -11
- package/js/src/phemex.js +26 -26
- package/js/src/poloniex.d.ts +1 -1
- package/js/src/poloniex.js +237 -136
- package/js/src/poloniexfutures.js +18 -18
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/ascendex.js +4 -4
- package/js/src/pro/binance.js +16 -16
- package/js/src/pro/bitfinex.js +4 -4
- package/js/src/pro/bitfinex2.js +6 -6
- package/js/src/pro/bitget.js +6 -6
- package/js/src/pro/bitmart.js +4 -4
- package/js/src/pro/bitmex.js +6 -6
- package/js/src/pro/bitopro.js +4 -4
- package/js/src/pro/bitpanda.js +6 -6
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrex.js +6 -6
- package/js/src/pro/bitvavo.js +5 -5
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/bybit.js +6 -6
- package/js/src/pro/cex.js +7 -7
- package/js/src/pro/coinbase.js +5 -5
- package/js/src/pro/coinbasepro.js +6 -6
- package/js/src/pro/coinex.js +5 -5
- package/js/src/pro/cryptocom.js +10 -10
- package/js/src/pro/currencycom.js +4 -4
- package/js/src/pro/deribit.js +6 -6
- package/js/src/pro/exmo.js +5 -5
- package/js/src/pro/gate.js +7 -7
- package/js/src/pro/gemini.js +3 -3
- package/js/src/pro/hitbtc.js +3 -3
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/huobi.js +6 -6
- package/js/src/pro/huobijp.js +3 -3
- package/js/src/pro/idex.js +4 -4
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.js +12 -12
- package/js/src/pro/krakenfutures.js +7 -7
- package/js/src/pro/kucoin.js +6 -6
- package/js/src/pro/kucoinfutures.js +6 -5
- package/js/src/pro/luno.js +2 -2
- package/js/src/pro/mexc.js +6 -6
- package/js/src/pro/ndax.js +3 -3
- package/js/src/pro/okcoin.js +5 -5
- package/js/src/pro/okx.d.ts +1 -1
- package/js/src/pro/okx.js +19 -18
- package/js/src/pro/phemex.js +6 -6
- package/js/src/pro/poloniex.js +7 -7
- package/js/src/pro/poloniexfutures.js +5 -5
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/upbit.js +3 -3
- package/js/src/pro/wazirx.js +6 -6
- package/js/src/pro/whitebit.js +6 -6
- package/js/src/probit.js +19 -19
- package/js/src/tidex.js +13 -13
- package/js/src/timex.js +16 -16
- package/js/src/tokocrypto.js +18 -18
- package/js/src/upbit.js +20 -20
- package/js/src/wavesexchange.js +16 -16
- package/js/src/wazirx.js +12 -12
- package/js/src/whitebit.js +24 -24
- package/js/src/woo.js +30 -24
- package/js/src/yobit.js +16 -16
- package/js/src/zaif.js +10 -10
- package/js/src/zonda.js +15 -15
- package/package.json +1 -1
- package/skip-tests.json +2 -0
package/dist/cjs/src/yobit.js
CHANGED
|
@@ -306,7 +306,7 @@ class yobit extends yobit$1 {
|
|
|
306
306
|
* @see https://yobit.net/en/api
|
|
307
307
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
308
308
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
309
|
-
* @returns {object} a [balance structure]{@link https://
|
|
309
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
310
310
|
*/
|
|
311
311
|
await this.loadMarkets();
|
|
312
312
|
const response = await this.privatePostGetInfo(params);
|
|
@@ -442,7 +442,7 @@ class yobit extends yobit$1 {
|
|
|
442
442
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
443
443
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
444
444
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
445
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
445
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
446
446
|
*/
|
|
447
447
|
await this.loadMarkets();
|
|
448
448
|
const market = this.market(symbol);
|
|
@@ -469,7 +469,7 @@ class yobit extends yobit$1 {
|
|
|
469
469
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
470
470
|
* @param {int} [limit] max number of entries per orderbook to return, default is undefined
|
|
471
471
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
472
|
-
* @returns {object} a dictionary of [order book structures]{@link https://
|
|
472
|
+
* @returns {object} a dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbol
|
|
473
473
|
*/
|
|
474
474
|
await this.loadMarkets();
|
|
475
475
|
let ids = undefined;
|
|
@@ -549,7 +549,7 @@ class yobit extends yobit$1 {
|
|
|
549
549
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
550
550
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
551
551
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
552
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
552
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
553
553
|
*/
|
|
554
554
|
if (symbols === undefined) {
|
|
555
555
|
throw new errors.ArgumentsRequired(this.id + ' fetchTickers() requires "symbols" argument');
|
|
@@ -595,7 +595,7 @@ class yobit extends yobit$1 {
|
|
|
595
595
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
596
596
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
597
597
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
598
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
598
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
599
599
|
*/
|
|
600
600
|
const tickers = await this.fetchTickers([symbol], params);
|
|
601
601
|
return tickers[symbol];
|
|
@@ -689,7 +689,7 @@ class yobit extends yobit$1 {
|
|
|
689
689
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
690
690
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
691
691
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
692
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
692
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
693
693
|
*/
|
|
694
694
|
await this.loadMarkets();
|
|
695
695
|
const market = this.market(symbol);
|
|
@@ -729,7 +729,7 @@ class yobit extends yobit$1 {
|
|
|
729
729
|
* @see https://yobit.net/en/api
|
|
730
730
|
* @description fetch the trading fees for multiple markets
|
|
731
731
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
732
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
732
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
733
733
|
*/
|
|
734
734
|
await this.loadMarkets();
|
|
735
735
|
const response = await this.publicGetInfo(params);
|
|
@@ -784,9 +784,9 @@ class yobit extends yobit$1 {
|
|
|
784
784
|
* @param {string} type must be 'limit'
|
|
785
785
|
* @param {string} side 'buy' or 'sell'
|
|
786
786
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
787
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
787
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
788
788
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
789
|
-
* @returns {object} an [order structure]{@link https://
|
|
789
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
790
790
|
*/
|
|
791
791
|
if (type === 'market') {
|
|
792
792
|
throw new errors.ExchangeError(this.id + ' createOrder() allows limit orders only');
|
|
@@ -833,7 +833,7 @@ class yobit extends yobit$1 {
|
|
|
833
833
|
* @param {string} id order id
|
|
834
834
|
* @param {string} symbol not used by yobit cancelOrder ()
|
|
835
835
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
836
|
-
* @returns {object} An [order structure]{@link https://
|
|
836
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
837
837
|
*/
|
|
838
838
|
await this.loadMarkets();
|
|
839
839
|
const request = {
|
|
@@ -982,7 +982,7 @@ class yobit extends yobit$1 {
|
|
|
982
982
|
* @description fetches information on an order made by the user
|
|
983
983
|
* @param {string} symbol not used by yobit fetchOrder
|
|
984
984
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
985
|
-
* @returns {object} An [order structure]{@link https://
|
|
985
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
986
986
|
*/
|
|
987
987
|
await this.loadMarkets();
|
|
988
988
|
const request = {
|
|
@@ -1019,7 +1019,7 @@ class yobit extends yobit$1 {
|
|
|
1019
1019
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1020
1020
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1021
1021
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
1022
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1022
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1023
1023
|
*/
|
|
1024
1024
|
if (symbol === undefined) {
|
|
1025
1025
|
throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
|
|
@@ -1068,7 +1068,7 @@ class yobit extends yobit$1 {
|
|
|
1068
1068
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1069
1069
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1070
1070
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
1071
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1071
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1072
1072
|
*/
|
|
1073
1073
|
if (symbol === undefined) {
|
|
1074
1074
|
throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a `symbol` argument');
|
|
@@ -1129,7 +1129,7 @@ class yobit extends yobit$1 {
|
|
|
1129
1129
|
* @description create a currency deposit address
|
|
1130
1130
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1131
1131
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
1132
|
-
* @returns {object} an [address structure]{@link https://
|
|
1132
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1133
1133
|
*/
|
|
1134
1134
|
const request = {
|
|
1135
1135
|
'need_new': 1,
|
|
@@ -1152,7 +1152,7 @@ class yobit extends yobit$1 {
|
|
|
1152
1152
|
* @description fetch the deposit address for a currency associated with this account
|
|
1153
1153
|
* @param {string} code unified currency code
|
|
1154
1154
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
1155
|
-
* @returns {object} an [address structure]{@link https://
|
|
1155
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1156
1156
|
*/
|
|
1157
1157
|
await this.loadMarkets();
|
|
1158
1158
|
const currency = this.currency(code);
|
|
@@ -1192,7 +1192,7 @@ class yobit extends yobit$1 {
|
|
|
1192
1192
|
* @param {string} address the address to withdraw to
|
|
1193
1193
|
* @param {string} tag
|
|
1194
1194
|
* @param {object} [params] extra parameters specific to the yobit api endpoint
|
|
1195
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1195
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1196
1196
|
*/
|
|
1197
1197
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1198
1198
|
this.checkAddress(address);
|
package/dist/cjs/src/zaif.js
CHANGED
|
@@ -274,7 +274,7 @@ class zaif extends zaif$1 {
|
|
|
274
274
|
* @see https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id10
|
|
275
275
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
276
276
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
277
|
-
* @returns {object} a [balance structure]{@link https://
|
|
277
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
278
278
|
*/
|
|
279
279
|
await this.loadMarkets();
|
|
280
280
|
const response = await this.privatePostGetInfo(params);
|
|
@@ -289,7 +289,7 @@ class zaif extends zaif$1 {
|
|
|
289
289
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
290
290
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
291
291
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
292
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
292
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
293
293
|
*/
|
|
294
294
|
await this.loadMarkets();
|
|
295
295
|
const market = this.market(symbol);
|
|
@@ -348,7 +348,7 @@ class zaif extends zaif$1 {
|
|
|
348
348
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
349
349
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
350
350
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
351
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
351
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
352
352
|
*/
|
|
353
353
|
await this.loadMarkets();
|
|
354
354
|
const market = this.market(symbol);
|
|
@@ -416,7 +416,7 @@ class zaif extends zaif$1 {
|
|
|
416
416
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
417
417
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
418
418
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
419
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
419
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
420
420
|
*/
|
|
421
421
|
await this.loadMarkets();
|
|
422
422
|
const market = this.market(symbol);
|
|
@@ -455,9 +455,9 @@ class zaif extends zaif$1 {
|
|
|
455
455
|
* @param {string} type must be 'limit'
|
|
456
456
|
* @param {string} side 'buy' or 'sell'
|
|
457
457
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
458
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
458
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
459
459
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
460
|
-
* @returns {object} an [order structure]{@link https://
|
|
460
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
461
461
|
*/
|
|
462
462
|
await this.loadMarkets();
|
|
463
463
|
if (type !== 'limit') {
|
|
@@ -485,7 +485,7 @@ class zaif extends zaif$1 {
|
|
|
485
485
|
* @param {string} id order id
|
|
486
486
|
* @param {string} symbol not used by zaif cancelOrder ()
|
|
487
487
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
488
|
-
* @returns {object} An [order structure]{@link https://
|
|
488
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
489
489
|
*/
|
|
490
490
|
const request = {
|
|
491
491
|
'order_id': id,
|
|
@@ -546,7 +546,7 @@ class zaif extends zaif$1 {
|
|
|
546
546
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
547
547
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
548
548
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
549
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
549
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
550
550
|
*/
|
|
551
551
|
await this.loadMarkets();
|
|
552
552
|
let market = undefined;
|
|
@@ -571,7 +571,7 @@ class zaif extends zaif$1 {
|
|
|
571
571
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
572
572
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
573
573
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
574
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
574
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
575
575
|
*/
|
|
576
576
|
await this.loadMarkets();
|
|
577
577
|
let market = undefined;
|
|
@@ -603,7 +603,7 @@ class zaif extends zaif$1 {
|
|
|
603
603
|
* @param {string} address the address to withdraw to
|
|
604
604
|
* @param {string} tag
|
|
605
605
|
* @param {object} [params] extra parameters specific to the zaif api endpoint
|
|
606
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
606
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
607
607
|
*/
|
|
608
608
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
609
609
|
this.checkAddress(address);
|
package/dist/cjs/src/zonda.js
CHANGED
|
@@ -400,7 +400,7 @@ class zonda extends zonda$1 {
|
|
|
400
400
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
401
401
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
402
402
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
403
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
403
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
404
404
|
*/
|
|
405
405
|
await this.loadMarkets();
|
|
406
406
|
const request = {};
|
|
@@ -468,7 +468,7 @@ class zonda extends zonda$1 {
|
|
|
468
468
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
469
469
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
470
470
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
471
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
471
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
472
472
|
*/
|
|
473
473
|
await this.loadMarkets();
|
|
474
474
|
const request = {};
|
|
@@ -530,7 +530,7 @@ class zonda extends zonda$1 {
|
|
|
530
530
|
* @see https://docs.zonda.exchange/reference/list-of-wallets
|
|
531
531
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
532
532
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
533
|
-
* @returns {object} a [balance structure]{@link https://
|
|
533
|
+
* @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
|
|
534
534
|
*/
|
|
535
535
|
await this.loadMarkets();
|
|
536
536
|
const response = await this.v1_01PrivateGetBalancesBITBAYBalance(params);
|
|
@@ -545,7 +545,7 @@ class zonda extends zonda$1 {
|
|
|
545
545
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
546
546
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
547
547
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
548
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
548
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
549
549
|
*/
|
|
550
550
|
await this.loadMarkets();
|
|
551
551
|
const market = this.market(symbol);
|
|
@@ -657,7 +657,7 @@ class zonda extends zonda$1 {
|
|
|
657
657
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
658
658
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
659
659
|
* @param {string} [params.method] v1_01PublicGetTradingTickerSymbol (default) or v1_01PublicGetTradingStatsSymbol
|
|
660
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
660
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
661
661
|
*/
|
|
662
662
|
await this.loadMarkets();
|
|
663
663
|
const market = this.market(symbol);
|
|
@@ -730,7 +730,7 @@ class zonda extends zonda$1 {
|
|
|
730
730
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
731
731
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
732
732
|
* @param {string} [params.method] v1_01PublicGetTradingTicker (default) or v1_01PublicGetTradingStats
|
|
733
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
733
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
734
734
|
*/
|
|
735
735
|
await this.loadMarkets();
|
|
736
736
|
const method = 'v1_01PublicGetTradingTicker';
|
|
@@ -805,7 +805,7 @@ class zonda extends zonda$1 {
|
|
|
805
805
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
806
806
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
807
807
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
808
|
-
* @returns {object} a [ledger structure]{@link https://
|
|
808
|
+
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
809
809
|
*/
|
|
810
810
|
const balanceCurrencies = [];
|
|
811
811
|
if (code !== undefined) {
|
|
@@ -1305,7 +1305,7 @@ class zonda extends zonda$1 {
|
|
|
1305
1305
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1306
1306
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1307
1307
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
1308
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1308
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
|
|
1309
1309
|
*/
|
|
1310
1310
|
await this.loadMarkets();
|
|
1311
1311
|
const market = this.market(symbol);
|
|
@@ -1332,9 +1332,9 @@ class zonda extends zonda$1 {
|
|
|
1332
1332
|
* @param {string} type 'market' or 'limit'
|
|
1333
1333
|
* @param {string} side 'buy' or 'sell'
|
|
1334
1334
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1335
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1335
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1336
1336
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
1337
|
-
* @returns {object} an [order structure]{@link https://
|
|
1337
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1338
1338
|
*/
|
|
1339
1339
|
await this.loadMarkets();
|
|
1340
1340
|
const market = this.market(symbol);
|
|
@@ -1459,7 +1459,7 @@ class zonda extends zonda$1 {
|
|
|
1459
1459
|
* @param {string} id order id
|
|
1460
1460
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1461
1461
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
1462
|
-
* @returns {object} An [order structure]{@link https://
|
|
1462
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1463
1463
|
*/
|
|
1464
1464
|
const side = this.safeString(params, 'side');
|
|
1465
1465
|
if (side === undefined) {
|
|
@@ -1520,7 +1520,7 @@ class zonda extends zonda$1 {
|
|
|
1520
1520
|
* @param {string} code unified currency code
|
|
1521
1521
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
1522
1522
|
* @param {string} [params.walletId] Wallet id to filter deposit adresses.
|
|
1523
|
-
* @returns {object} an [address structure]{@link https://
|
|
1523
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1524
1524
|
*/
|
|
1525
1525
|
await this.loadMarkets();
|
|
1526
1526
|
const currency = this.currency(code);
|
|
@@ -1553,7 +1553,7 @@ class zonda extends zonda$1 {
|
|
|
1553
1553
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
1554
1554
|
* @param {string[]|undefined} codes zonda does not support filtering filtering by multiple codes and will ignore this parameter.
|
|
1555
1555
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
1556
|
-
* @returns {object} a list of [address structures]{@link https://
|
|
1556
|
+
* @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1557
1557
|
*/
|
|
1558
1558
|
await this.loadMarkets();
|
|
1559
1559
|
const response = await this.v1_01PrivateGetApiPaymentsDepositsCryptoAddresses(params);
|
|
@@ -1584,7 +1584,7 @@ class zonda extends zonda$1 {
|
|
|
1584
1584
|
* @param {string} fromAccount account to transfer from
|
|
1585
1585
|
* @param {string} toAccount account to transfer to
|
|
1586
1586
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
1587
|
-
* @returns {object} a [transfer structure]{@link https://
|
|
1587
|
+
* @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
1588
1588
|
*/
|
|
1589
1589
|
await this.loadMarkets();
|
|
1590
1590
|
const currency = this.currency(code);
|
|
@@ -1696,7 +1696,7 @@ class zonda extends zonda$1 {
|
|
|
1696
1696
|
* @param {string} address the address to withdraw to
|
|
1697
1697
|
* @param {string} tag
|
|
1698
1698
|
* @param {object} [params] extra parameters specific to the zonda api endpoint
|
|
1699
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1699
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1700
1700
|
*/
|
|
1701
1701
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1702
1702
|
this.checkAddress(address);
|
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 } 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 } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.0.
|
|
7
|
+
declare const version = "4.0.75";
|
|
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 } from './src/base/errors.js';
|
|
39
39
|
//-----------------------------------------------------------------------------
|
|
40
40
|
// this is updated by vss.js when building
|
|
41
|
-
const version = '4.0.
|
|
41
|
+
const version = '4.0.76';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import ace from './src/ace.js';
|
|
@@ -9,9 +9,11 @@ interface Exchange {
|
|
|
9
9
|
spotV1PrivateGetTradeOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
10
10
|
spotV1PrivateGetTradeHistoryOrders(params?: {}): Promise<implicitReturnType>;
|
|
11
11
|
spotV1PrivateGetAccountBalance(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
spotV1PrivateGetTicker24hr(params?: {}): Promise<implicitReturnType>;
|
|
12
13
|
spotV1PrivatePostTradeOrder(params?: {}): Promise<implicitReturnType>;
|
|
13
14
|
spotV1PrivatePostTradeCancel(params?: {}): Promise<implicitReturnType>;
|
|
14
15
|
spotV1PrivatePostTradeBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
16
|
+
spotV1PrivatePostTradeCancelOrders(params?: {}): Promise<implicitReturnType>;
|
|
15
17
|
spotV3PrivateGetGetAssetTransfer(params?: {}): Promise<implicitReturnType>;
|
|
16
18
|
spotV3PrivateGetAssetTransfer(params?: {}): Promise<implicitReturnType>;
|
|
17
19
|
spotV3PrivateGetCapitalDepositHisrec(params?: {}): Promise<implicitReturnType>;
|
|
@@ -6,8 +6,15 @@ interface Exchange {
|
|
|
6
6
|
publicGetSpotV1Currencies(params?: {}): Promise<implicitReturnType>;
|
|
7
7
|
publicGetSpotV1Symbols(params?: {}): Promise<implicitReturnType>;
|
|
8
8
|
publicGetSpotV1SymbolsDetails(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
publicGetSpotQuotationV3Tickers(params?: {}): Promise<implicitReturnType>;
|
|
10
|
+
publicGetSpotQuotationV3Ticker(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
publicGetSpotQuotationV3LiteKlines(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
publicGetSpotQuotationV3Klines(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
publicGetSpotQuotationV3Books(params?: {}): Promise<implicitReturnType>;
|
|
14
|
+
publicGetSpotQuotationV3Trades(params?: {}): Promise<implicitReturnType>;
|
|
9
15
|
publicGetSpotV1Ticker(params?: {}): Promise<implicitReturnType>;
|
|
10
16
|
publicGetSpotV2Ticker(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
publicGetSpotV1TickerDetail(params?: {}): Promise<implicitReturnType>;
|
|
11
18
|
publicGetSpotV1Steps(params?: {}): Promise<implicitReturnType>;
|
|
12
19
|
publicGetSpotV1SymbolsKline(params?: {}): Promise<implicitReturnType>;
|
|
13
20
|
publicGetSpotV1SymbolsBook(params?: {}): Promise<implicitReturnType>;
|
|
@@ -56,6 +63,12 @@ interface Exchange {
|
|
|
56
63
|
privatePostSpotV1BatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
57
64
|
privatePostSpotV2CancelOrder(params?: {}): Promise<implicitReturnType>;
|
|
58
65
|
privatePostSpotV1CancelOrders(params?: {}): Promise<implicitReturnType>;
|
|
66
|
+
privatePostSpotV4QueryOrder(params?: {}): Promise<implicitReturnType>;
|
|
67
|
+
privatePostSpotV4QueryClientOrder(params?: {}): Promise<implicitReturnType>;
|
|
68
|
+
privatePostSpotV4QueryOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
69
|
+
privatePostSpotV4QueryHistoryOrders(params?: {}): Promise<implicitReturnType>;
|
|
70
|
+
privatePostSpotV4QueryTrades(params?: {}): Promise<implicitReturnType>;
|
|
71
|
+
privatePostSpotV4QueryOrderTrades(params?: {}): Promise<implicitReturnType>;
|
|
59
72
|
privatePostSpotV3CancelOrder(params?: {}): Promise<implicitReturnType>;
|
|
60
73
|
privatePostSpotV2BatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
61
74
|
privatePostSpotV2SubmitOrder(params?: {}): Promise<implicitReturnType>;
|
|
@@ -80,6 +80,7 @@ interface Exchange {
|
|
|
80
80
|
publicGetDerivativesV3PublicRecentTrade(params?: {}): Promise<implicitReturnType>;
|
|
81
81
|
publicGetDerivativesV3PublicOpenInterest(params?: {}): Promise<implicitReturnType>;
|
|
82
82
|
publicGetDerivativesV3PublicInsurance(params?: {}): Promise<implicitReturnType>;
|
|
83
|
+
publicGetV5AnnouncementsIndex(params?: {}): Promise<implicitReturnType>;
|
|
83
84
|
publicGetV5MarketTime(params?: {}): Promise<implicitReturnType>;
|
|
84
85
|
publicGetV5MarketKline(params?: {}): Promise<implicitReturnType>;
|
|
85
86
|
publicGetV5MarketMarkPriceKline(params?: {}): Promise<implicitReturnType>;
|
|
@@ -97,9 +98,10 @@ interface Exchange {
|
|
|
97
98
|
publicGetV5MarketDeliveryPrice(params?: {}): Promise<implicitReturnType>;
|
|
98
99
|
publicGetV5SpotLeverTokenInfo(params?: {}): Promise<implicitReturnType>;
|
|
99
100
|
publicGetV5SpotLeverTokenReference(params?: {}): Promise<implicitReturnType>;
|
|
100
|
-
|
|
101
|
+
publicGetV5SpotCrossMarginTradeData(params?: {}): Promise<implicitReturnType>;
|
|
101
102
|
publicGetV5SpotCrossMarginTradePledgeToken(params?: {}): Promise<implicitReturnType>;
|
|
102
103
|
publicGetV5SpotCrossMarginTradeBorrowToken(params?: {}): Promise<implicitReturnType>;
|
|
104
|
+
publicGetV5InsLoanProductInfos(params?: {}): Promise<implicitReturnType>;
|
|
103
105
|
publicGetV5InsLoanEnsureTokensConvert(params?: {}): Promise<implicitReturnType>;
|
|
104
106
|
privateGetV2PrivateOrderList(params?: {}): Promise<implicitReturnType>;
|
|
105
107
|
privateGetV2PrivateOrder(params?: {}): Promise<implicitReturnType>;
|
|
@@ -209,25 +211,32 @@ interface Exchange {
|
|
|
209
211
|
privateGetAssetV3PublicDepositAllowedDepositListQuery(params?: {}): Promise<implicitReturnType>;
|
|
210
212
|
privateGetAssetV3PrivateDepositRecordQuery(params?: {}): Promise<implicitReturnType>;
|
|
211
213
|
privateGetAssetV3PrivateWithdrawRecordQuery(params?: {}): Promise<implicitReturnType>;
|
|
214
|
+
privateGetV5OrderRealtime(params?: {}): Promise<implicitReturnType>;
|
|
212
215
|
privateGetV5OrderHistory(params?: {}): Promise<implicitReturnType>;
|
|
213
216
|
privateGetV5OrderSpotBorrowCheck(params?: {}): Promise<implicitReturnType>;
|
|
214
|
-
privateGetV5OrderRealtime(params?: {}): Promise<implicitReturnType>;
|
|
215
217
|
privateGetV5PositionList(params?: {}): Promise<implicitReturnType>;
|
|
216
|
-
privateGetV5PositionSwitchMode(params?: {}): Promise<implicitReturnType>;
|
|
217
218
|
privateGetV5ExecutionList(params?: {}): Promise<implicitReturnType>;
|
|
218
219
|
privateGetV5PositionClosedPnl(params?: {}): Promise<implicitReturnType>;
|
|
220
|
+
privateGetV5PreUpgradeOrderHistory(params?: {}): Promise<implicitReturnType>;
|
|
221
|
+
privateGetV5PreUpgradeExecutionList(params?: {}): Promise<implicitReturnType>;
|
|
222
|
+
privateGetV5PreUpgradePositionClosedPnl(params?: {}): Promise<implicitReturnType>;
|
|
223
|
+
privateGetV5PreUpgradeAccountTransactionLog(params?: {}): Promise<implicitReturnType>;
|
|
224
|
+
privateGetV5PreUpgradeAssetDeliveryRecord(params?: {}): Promise<implicitReturnType>;
|
|
225
|
+
privateGetV5PreUpgradeAssetSettlementRecord(params?: {}): Promise<implicitReturnType>;
|
|
219
226
|
privateGetV5AccountWalletBalance(params?: {}): Promise<implicitReturnType>;
|
|
220
227
|
privateGetV5AccountBorrowHistory(params?: {}): Promise<implicitReturnType>;
|
|
228
|
+
privateGetV5AccountSetCollateralSwitch(params?: {}): Promise<implicitReturnType>;
|
|
221
229
|
privateGetV5AccountCollateralInfo(params?: {}): Promise<implicitReturnType>;
|
|
222
|
-
privateGetV5AccountMmpState(params?: {}): Promise<implicitReturnType>;
|
|
223
230
|
privateGetV5AssetCoinGreeks(params?: {}): Promise<implicitReturnType>;
|
|
231
|
+
privateGetV5AccountFeeRate(params?: {}): Promise<implicitReturnType>;
|
|
224
232
|
privateGetV5AccountInfo(params?: {}): Promise<implicitReturnType>;
|
|
225
233
|
privateGetV5AccountTransactionLog(params?: {}): Promise<implicitReturnType>;
|
|
226
|
-
|
|
234
|
+
privateGetV5AccountMmpState(params?: {}): Promise<implicitReturnType>;
|
|
227
235
|
privateGetV5AssetExchangeOrderRecord(params?: {}): Promise<implicitReturnType>;
|
|
228
236
|
privateGetV5AssetDeliveryRecord(params?: {}): Promise<implicitReturnType>;
|
|
229
237
|
privateGetV5AssetSettlementRecord(params?: {}): Promise<implicitReturnType>;
|
|
230
238
|
privateGetV5AssetTransferQueryAssetInfo(params?: {}): Promise<implicitReturnType>;
|
|
239
|
+
privateGetV5AssetTransferQueryAccountCoinsBalance(params?: {}): Promise<implicitReturnType>;
|
|
231
240
|
privateGetV5AssetTransferQueryAccountCoinBalance(params?: {}): Promise<implicitReturnType>;
|
|
232
241
|
privateGetV5AssetTransferQueryTransferCoinList(params?: {}): Promise<implicitReturnType>;
|
|
233
242
|
privateGetV5AssetTransferQueryInterTransferList(params?: {}): Promise<implicitReturnType>;
|
|
@@ -236,30 +245,29 @@ interface Exchange {
|
|
|
236
245
|
privateGetV5AssetDepositQueryAllowedList(params?: {}): Promise<implicitReturnType>;
|
|
237
246
|
privateGetV5AssetDepositQueryRecord(params?: {}): Promise<implicitReturnType>;
|
|
238
247
|
privateGetV5AssetDepositQuerySubMemberRecord(params?: {}): Promise<implicitReturnType>;
|
|
248
|
+
privateGetV5AssetDepositQueryInternalRecord(params?: {}): Promise<implicitReturnType>;
|
|
239
249
|
privateGetV5AssetDepositQueryAddress(params?: {}): Promise<implicitReturnType>;
|
|
240
250
|
privateGetV5AssetDepositQuerySubMemberAddress(params?: {}): Promise<implicitReturnType>;
|
|
241
|
-
privateGetV5AssetDepositQueryInternalRecord(params?: {}): Promise<implicitReturnType>;
|
|
242
251
|
privateGetV5AssetCoinQueryInfo(params?: {}): Promise<implicitReturnType>;
|
|
243
252
|
privateGetV5AssetWithdrawQueryRecord(params?: {}): Promise<implicitReturnType>;
|
|
244
253
|
privateGetV5AssetWithdrawWithdrawableAmount(params?: {}): Promise<implicitReturnType>;
|
|
245
|
-
privateGetV5AssetTransferQueryAccountCoinsBalance(params?: {}): Promise<implicitReturnType>;
|
|
246
254
|
privateGetV5UserQuerySubMembers(params?: {}): Promise<implicitReturnType>;
|
|
247
255
|
privateGetV5UserQueryApi(params?: {}): Promise<implicitReturnType>;
|
|
248
256
|
privateGetV5UserGetMemberType(params?: {}): Promise<implicitReturnType>;
|
|
249
257
|
privateGetV5UserAffCustomerInfo(params?: {}): Promise<implicitReturnType>;
|
|
250
|
-
|
|
258
|
+
privateGetV5SpotLeverTokenOrderRecord(params?: {}): Promise<implicitReturnType>;
|
|
259
|
+
privateGetV5SpotMarginTradeState(params?: {}): Promise<implicitReturnType>;
|
|
251
260
|
privateGetV5SpotCrossMarginTradeLoanInfo(params?: {}): Promise<implicitReturnType>;
|
|
252
261
|
privateGetV5SpotCrossMarginTradeAccount(params?: {}): Promise<implicitReturnType>;
|
|
253
262
|
privateGetV5SpotCrossMarginTradeOrders(params?: {}): Promise<implicitReturnType>;
|
|
254
263
|
privateGetV5SpotCrossMarginTradeRepayHistory(params?: {}): Promise<implicitReturnType>;
|
|
264
|
+
privateGetV5InsLoanLoanOrder(params?: {}): Promise<implicitReturnType>;
|
|
265
|
+
privateGetV5InsLoanRepaidHistory(params?: {}): Promise<implicitReturnType>;
|
|
255
266
|
privateGetV5InsLoanLtvConvert(params?: {}): Promise<implicitReturnType>;
|
|
267
|
+
privateGetV5LendingInfo(params?: {}): Promise<implicitReturnType>;
|
|
268
|
+
privateGetV5LendingHistoryOrder(params?: {}): Promise<implicitReturnType>;
|
|
269
|
+
privateGetV5LendingAccount(params?: {}): Promise<implicitReturnType>;
|
|
256
270
|
privateGetV5BrokerEarningRecord(params?: {}): Promise<implicitReturnType>;
|
|
257
|
-
privateGetV5PreUpgradeOrderHistory(params?: {}): Promise<implicitReturnType>;
|
|
258
|
-
privateGetV5PreUpgradeExecutionList(params?: {}): Promise<implicitReturnType>;
|
|
259
|
-
privateGetV5PreUpgradePositionClosedPnl(params?: {}): Promise<implicitReturnType>;
|
|
260
|
-
privateGetV5PreUpgradeAccountTransactionLog(params?: {}): Promise<implicitReturnType>;
|
|
261
|
-
privateGetV5PreUpgradeAssetDeliveryRecord(params?: {}): Promise<implicitReturnType>;
|
|
262
|
-
privateGetV5PreUpgradeAssetSettlementRecord(params?: {}): Promise<implicitReturnType>;
|
|
263
271
|
privatePostV2PrivateOrderCreate(params?: {}): Promise<implicitReturnType>;
|
|
264
272
|
privatePostV2PrivateOrderCancel(params?: {}): Promise<implicitReturnType>;
|
|
265
273
|
privatePostV2PrivateOrderCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
@@ -409,25 +417,23 @@ interface Exchange {
|
|
|
409
417
|
privatePostV5OrderCancelBatch(params?: {}): Promise<implicitReturnType>;
|
|
410
418
|
privatePostV5OrderDisconnectedCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
411
419
|
privatePostV5PositionSetLeverage(params?: {}): Promise<implicitReturnType>;
|
|
420
|
+
privatePostV5PositionSwitchIsolated(params?: {}): Promise<implicitReturnType>;
|
|
412
421
|
privatePostV5PositionSetTpslMode(params?: {}): Promise<implicitReturnType>;
|
|
422
|
+
privatePostV5PositionSwitchMode(params?: {}): Promise<implicitReturnType>;
|
|
413
423
|
privatePostV5PositionSetRiskLimit(params?: {}): Promise<implicitReturnType>;
|
|
414
424
|
privatePostV5PositionTradingStop(params?: {}): Promise<implicitReturnType>;
|
|
415
|
-
privatePostV5PositionSwitchIsolated(params?: {}): Promise<implicitReturnType>;
|
|
416
|
-
privatePostV5PositionSwitchMode(params?: {}): Promise<implicitReturnType>;
|
|
417
425
|
privatePostV5PositionSetAutoAddMargin(params?: {}): Promise<implicitReturnType>;
|
|
426
|
+
privatePostV5PositionAddMargin(params?: {}): Promise<implicitReturnType>;
|
|
418
427
|
privatePostV5AccountUpgradeToUta(params?: {}): Promise<implicitReturnType>;
|
|
419
428
|
privatePostV5AccountSetMarginMode(params?: {}): Promise<implicitReturnType>;
|
|
429
|
+
privatePostV5AccountMmpModify(params?: {}): Promise<implicitReturnType>;
|
|
430
|
+
privatePostV5AccountMmpReset(params?: {}): Promise<implicitReturnType>;
|
|
420
431
|
privatePostV5AssetTransferInterTransfer(params?: {}): Promise<implicitReturnType>;
|
|
421
432
|
privatePostV5AssetTransferSaveTransferSubMember(params?: {}): Promise<implicitReturnType>;
|
|
422
433
|
privatePostV5AssetTransferUniversalTransfer(params?: {}): Promise<implicitReturnType>;
|
|
423
434
|
privatePostV5AssetDepositDepositToAccount(params?: {}): Promise<implicitReturnType>;
|
|
424
435
|
privatePostV5AssetWithdrawCreate(params?: {}): Promise<implicitReturnType>;
|
|
425
436
|
privatePostV5AssetWithdrawCancel(params?: {}): Promise<implicitReturnType>;
|
|
426
|
-
privatePostV5SpotLeverTokenPurchase(params?: {}): Promise<implicitReturnType>;
|
|
427
|
-
privatePostV5SpotLeverTokenRedeem(params?: {}): Promise<implicitReturnType>;
|
|
428
|
-
privatePostV5SpotLeverTokenOrderRecord(params?: {}): Promise<implicitReturnType>;
|
|
429
|
-
privatePostV5SpotMarginTradeSwitchMode(params?: {}): Promise<implicitReturnType>;
|
|
430
|
-
privatePostV5SpotMarginTradeSetLeverage(params?: {}): Promise<implicitReturnType>;
|
|
431
437
|
privatePostV5UserCreateSubMember(params?: {}): Promise<implicitReturnType>;
|
|
432
438
|
privatePostV5UserCreateSubApi(params?: {}): Promise<implicitReturnType>;
|
|
433
439
|
privatePostV5UserFrozenSubMember(params?: {}): Promise<implicitReturnType>;
|
|
@@ -435,9 +441,15 @@ interface Exchange {
|
|
|
435
441
|
privatePostV5UserUpdateSubApi(params?: {}): Promise<implicitReturnType>;
|
|
436
442
|
privatePostV5UserDeleteApi(params?: {}): Promise<implicitReturnType>;
|
|
437
443
|
privatePostV5UserDeleteSubApi(params?: {}): Promise<implicitReturnType>;
|
|
444
|
+
privatePostV5SpotLeverTokenPurchase(params?: {}): Promise<implicitReturnType>;
|
|
445
|
+
privatePostV5SpotLeverTokenRedeem(params?: {}): Promise<implicitReturnType>;
|
|
446
|
+
privatePostV5SpotMarginTradeSwitchMode(params?: {}): Promise<implicitReturnType>;
|
|
447
|
+
privatePostV5SpotMarginTradeSetLeverage(params?: {}): Promise<implicitReturnType>;
|
|
438
448
|
privatePostV5SpotCrossMarginTradeLoan(params?: {}): Promise<implicitReturnType>;
|
|
439
449
|
privatePostV5SpotCrossMarginTradeRepay(params?: {}): Promise<implicitReturnType>;
|
|
440
450
|
privatePostV5SpotCrossMarginTradeSwitch(params?: {}): Promise<implicitReturnType>;
|
|
451
|
+
privatePostV5LendingPurchase(params?: {}): Promise<implicitReturnType>;
|
|
452
|
+
privatePostV5LendingRedeem(params?: {}): Promise<implicitReturnType>;
|
|
441
453
|
privateDeleteSpotV1Order(params?: {}): Promise<implicitReturnType>;
|
|
442
454
|
privateDeleteSpotV1OrderFast(params?: {}): Promise<implicitReturnType>;
|
|
443
455
|
privateDeleteSpotOrderBatchCancel(params?: {}): Promise<implicitReturnType>;
|
|
@@ -42,6 +42,11 @@ interface Exchange {
|
|
|
42
42
|
privatePostOpenapiConvertV1GetSupportedTradingPairs(params?: {}): Promise<implicitReturnType>;
|
|
43
43
|
privatePostOpenapiConvertV1GetQuote(params?: {}): Promise<implicitReturnType>;
|
|
44
44
|
privatePostOpenapiConvertV1AccpetQuote(params?: {}): Promise<implicitReturnType>;
|
|
45
|
+
privatePostOpenapiFiatV1SupportChannel(params?: {}): Promise<implicitReturnType>;
|
|
46
|
+
privatePostOpenapiFiatV1CashOut(params?: {}): Promise<implicitReturnType>;
|
|
47
|
+
privatePostOpenapiFiatV1History(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
privatePostOpenapiMigrationV4Sellorder(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
privatePostOpenapiMigrationV4ValidateField(params?: {}): Promise<implicitReturnType>;
|
|
45
50
|
privatePostOpenapiTransferV3Transfers(params?: {}): Promise<implicitReturnType>;
|
|
46
51
|
privateDeleteOpenapiV1Order(params?: {}): Promise<implicitReturnType>;
|
|
47
52
|
privateDeleteOpenapiV1OpenOrders(params?: {}): Promise<implicitReturnType>;
|
package/js/src/abstract/woo.d.ts
CHANGED
|
@@ -54,7 +54,13 @@ interface Exchange {
|
|
|
54
54
|
v3PrivateGetBuypower(params?: {}): Promise<implicitReturnType>;
|
|
55
55
|
v3PrivateGetReferrals(params?: {}): Promise<implicitReturnType>;
|
|
56
56
|
v3PrivateGetReferralRewards(params?: {}): Promise<implicitReturnType>;
|
|
57
|
+
v3PrivateGetConvertExchangeInfo(params?: {}): Promise<implicitReturnType>;
|
|
58
|
+
v3PrivateGetConvertAssetInfo(params?: {}): Promise<implicitReturnType>;
|
|
59
|
+
v3PrivateGetConvertRfq(params?: {}): Promise<implicitReturnType>;
|
|
60
|
+
v3PrivateGetConvertTrade(params?: {}): Promise<implicitReturnType>;
|
|
61
|
+
v3PrivateGetConvertTrades(params?: {}): Promise<implicitReturnType>;
|
|
57
62
|
v3PrivatePostAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
63
|
+
v3PrivatePostConvertRft(params?: {}): Promise<implicitReturnType>;
|
|
58
64
|
v3PrivatePutOrderOid(params?: {}): Promise<implicitReturnType>;
|
|
59
65
|
v3PrivatePutOrderClientClientOrderId(params?: {}): Promise<implicitReturnType>;
|
|
60
66
|
v3PrivatePutAlgoOrderOid(params?: {}): Promise<implicitReturnType>;
|