ccxt 4.1.64 → 4.1.65
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 +2558 -2534
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +13 -13
- package/dist/cjs/src/alpaca.js +10 -10
- package/dist/cjs/src/ascendex.js +33 -33
- package/dist/cjs/src/base/Exchange.js +6 -6
- package/dist/cjs/src/bigone.js +23 -23
- package/dist/cjs/src/binance.js +68 -68
- package/dist/cjs/src/binanceus.js +1 -0
- package/dist/cjs/src/bingx.js +33 -33
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +14 -14
- package/dist/cjs/src/bitbns.js +15 -15
- package/dist/cjs/src/bitfinex.js +24 -24
- package/dist/cjs/src/bitfinex2.js +30 -30
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitforex.js +12 -12
- package/dist/cjs/src/bitget.js +50 -50
- package/dist/cjs/src/bithumb.js +13 -13
- package/dist/cjs/src/bitmart.js +74 -59
- package/dist/cjs/src/bitmex.js +29 -28
- package/dist/cjs/src/bitopro.js +23 -23
- package/dist/cjs/src/bitpanda.js +25 -25
- package/dist/cjs/src/bitrue.js +26 -26
- package/dist/cjs/src/bitso.js +22 -22
- package/dist/cjs/src/bitstamp.js +24 -24
- package/dist/cjs/src/bittrex.js +31 -31
- package/dist/cjs/src/bitvavo.js +23 -23
- package/dist/cjs/src/bl3p.js +7 -7
- package/dist/cjs/src/blockchaincom.js +23 -23
- package/dist/cjs/src/btcalpha.js +17 -17
- package/dist/cjs/src/btcbox.js +9 -9
- package/dist/cjs/src/btcmarkets.js +19 -19
- package/dist/cjs/src/btcturk.js +13 -13
- package/dist/cjs/src/bybit.js +71 -67
- package/dist/cjs/src/cex.js +17 -17
- package/dist/cjs/src/coinbase.js +28 -28
- package/dist/cjs/src/coinbasepro.js +27 -27
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +42 -42
- package/dist/cjs/src/coinlist.js +29 -29
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinone.js +13 -13
- package/dist/cjs/src/coinsph.js +25 -25
- package/dist/cjs/src/coinspot.js +9 -9
- package/dist/cjs/src/cryptocom.js +33 -32
- package/dist/cjs/src/currencycom.js +24 -24
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +35 -35
- package/dist/cjs/src/digifinex.js +43 -43
- package/dist/cjs/src/exmo.js +30 -30
- package/dist/cjs/src/gate.js +39 -39
- package/dist/cjs/src/gemini.js +18 -18
- package/dist/cjs/src/hitbtc.js +40 -40
- package/dist/cjs/src/hollaex.js +26 -26
- package/dist/cjs/src/htx.js +48 -48
- package/dist/cjs/src/huobijp.js +24 -24
- package/dist/cjs/src/idex.js +23 -23
- package/dist/cjs/src/independentreserve.js +12 -12
- package/dist/cjs/src/indodax.js +16 -16
- package/dist/cjs/src/kraken.js +28 -28
- package/dist/cjs/src/krakenfutures.js +9 -9
- package/dist/cjs/src/kucoin.js +39 -39
- package/dist/cjs/src/kucoinfutures.js +24 -24
- package/dist/cjs/src/kuna.js +25 -25
- package/dist/cjs/src/latoken.js +20 -20
- package/dist/cjs/src/lbank.js +24 -24
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/lykke.js +18 -18
- package/dist/cjs/src/mercado.js +13 -13
- package/dist/cjs/src/mexc.js +47 -45
- package/dist/cjs/src/ndax.js +23 -23
- package/dist/cjs/src/novadax.js +23 -23
- package/dist/cjs/src/oceanex.js +19 -19
- package/dist/cjs/src/okcoin.js +25 -25
- package/dist/cjs/src/okx.js +53 -53
- package/dist/cjs/src/p2b.js +14 -14
- package/dist/cjs/src/paymium.js +10 -10
- package/dist/cjs/src/phemex.js +32 -32
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/poloniexfutures.js +21 -21
- package/dist/cjs/src/pro/alpaca.js +6 -6
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/binance.js +21 -21
- package/dist/cjs/src/pro/bingx.js +6 -6
- package/dist/cjs/src/pro/bitfinex.js +4 -4
- package/dist/cjs/src/pro/bitfinex2.js +7 -7
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bitmart.js +5 -5
- package/dist/cjs/src/pro/bitmex.js +8 -8
- package/dist/cjs/src/pro/bitopro.js +4 -4
- package/dist/cjs/src/pro/bitpanda.js +7 -7
- 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 +7 -7
- package/dist/cjs/src/pro/bitvavo.js +6 -6
- package/dist/cjs/src/pro/blockchaincom.js +6 -6
- package/dist/cjs/src/pro/bybit.js +12 -12
- package/dist/cjs/src/pro/cex.js +9 -9
- package/dist/cjs/src/pro/coinbase.js +6 -6
- package/dist/cjs/src/pro/coinbasepro.js +10 -10
- package/dist/cjs/src/pro/coinex.js +7 -7
- package/dist/cjs/src/pro/cryptocom.js +13 -13
- package/dist/cjs/src/pro/currencycom.js +5 -5
- package/dist/cjs/src/pro/deribit.js +7 -7
- package/dist/cjs/src/pro/exmo.js +5 -5
- package/dist/cjs/src/pro/gate.js +10 -10
- package/dist/cjs/src/pro/gemini.js +4 -4
- package/dist/cjs/src/pro/hitbtc.js +11 -11
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +8 -8
- package/dist/cjs/src/pro/huobijp.js +4 -4
- package/dist/cjs/src/pro/idex.js +5 -5
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +11 -11
- package/dist/cjs/src/pro/krakenfutures.js +8 -8
- package/dist/cjs/src/pro/kucoin.js +10 -10
- package/dist/cjs/src/pro/kucoinfutures.js +8 -8
- package/dist/cjs/src/pro/luno.js +4 -4
- package/dist/cjs/src/pro/mexc.js +7 -7
- package/dist/cjs/src/pro/ndax.js +4 -4
- package/dist/cjs/src/pro/okcoin.js +6 -6
- package/dist/cjs/src/pro/okx.js +16 -16
- package/dist/cjs/src/pro/phemex.js +7 -7
- 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 +7 -7
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +1 -1
- package/dist/cjs/src/probit.js +24 -24
- package/dist/cjs/src/tidex.js +15 -15
- package/dist/cjs/src/timex.js +19 -19
- package/dist/cjs/src/tokocrypto.js +21 -21
- package/dist/cjs/src/upbit.js +22 -22
- package/dist/cjs/src/wavesexchange.js +19 -19
- package/dist/cjs/src/wazirx.js +15 -15
- package/dist/cjs/src/whitebit.js +29 -29
- package/dist/cjs/src/woo.js +26 -26
- package/dist/cjs/src/yobit.js +17 -17
- package/dist/cjs/src/zaif.js +10 -10
- package/dist/cjs/src/zonda.js +16 -16
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/mexc.d.ts +2 -0
- package/js/src/ace.js +13 -13
- package/js/src/alpaca.js +10 -10
- package/js/src/ascendex.js +33 -33
- package/js/src/base/Exchange.js +6 -6
- package/js/src/bigone.js +23 -23
- package/js/src/binance.js +68 -68
- package/js/src/binanceus.js +1 -0
- package/js/src/bingx.js +33 -33
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.js +14 -14
- package/js/src/bitbns.js +15 -15
- package/js/src/bitfinex.js +24 -24
- package/js/src/bitfinex2.js +30 -30
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitforex.js +12 -12
- package/js/src/bitget.js +50 -50
- package/js/src/bithumb.js +13 -13
- package/js/src/bitmart.js +74 -59
- package/js/src/bitmex.js +29 -28
- package/js/src/bitopro.js +23 -23
- package/js/src/bitpanda.js +25 -25
- package/js/src/bitrue.js +26 -26
- package/js/src/bitso.js +22 -22
- package/js/src/bitstamp.js +24 -24
- package/js/src/bittrex.js +31 -31
- package/js/src/bitvavo.js +23 -23
- package/js/src/bl3p.js +7 -7
- package/js/src/blockchaincom.js +23 -23
- package/js/src/btcalpha.js +17 -17
- package/js/src/btcbox.js +9 -9
- package/js/src/btcmarkets.js +19 -19
- package/js/src/btcturk.js +13 -13
- package/js/src/bybit.js +71 -67
- package/js/src/cex.js +17 -17
- package/js/src/coinbase.js +28 -28
- package/js/src/coinbasepro.js +27 -27
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.js +42 -42
- package/js/src/coinlist.js +29 -29
- package/js/src/coinmate.js +14 -14
- package/js/src/coinone.js +13 -13
- package/js/src/coinsph.js +25 -25
- package/js/src/coinspot.js +9 -9
- package/js/src/cryptocom.js +33 -32
- package/js/src/currencycom.js +24 -24
- package/js/src/delta.js +29 -29
- package/js/src/deribit.js +35 -35
- package/js/src/digifinex.js +43 -43
- package/js/src/exmo.js +30 -30
- package/js/src/gate.js +39 -39
- package/js/src/gemini.js +18 -18
- package/js/src/hitbtc.js +40 -40
- package/js/src/hollaex.js +26 -26
- package/js/src/htx.js +48 -48
- package/js/src/huobijp.js +24 -24
- package/js/src/idex.js +23 -23
- package/js/src/independentreserve.js +12 -12
- package/js/src/indodax.js +16 -16
- package/js/src/kraken.js +28 -28
- package/js/src/krakenfutures.js +9 -9
- package/js/src/kucoin.js +39 -39
- package/js/src/kucoinfutures.js +24 -24
- package/js/src/kuna.js +25 -25
- package/js/src/latoken.js +20 -20
- package/js/src/lbank.js +24 -24
- package/js/src/luno.js +17 -17
- package/js/src/lykke.js +18 -18
- package/js/src/mercado.js +13 -13
- package/js/src/mexc.js +47 -45
- package/js/src/ndax.js +23 -23
- package/js/src/novadax.js +23 -23
- package/js/src/oceanex.js +19 -19
- package/js/src/okcoin.js +25 -25
- package/js/src/okx.js +53 -53
- package/js/src/p2b.js +14 -14
- package/js/src/paymium.js +10 -10
- package/js/src/phemex.js +32 -32
- package/js/src/poloniex.js +27 -27
- package/js/src/poloniexfutures.js +21 -21
- package/js/src/pro/alpaca.js +6 -6
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/binance.js +21 -21
- package/js/src/pro/bingx.js +6 -6
- package/js/src/pro/bitfinex.js +4 -4
- package/js/src/pro/bitfinex2.js +7 -7
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bitmart.js +5 -5
- package/js/src/pro/bitmex.js +8 -8
- package/js/src/pro/bitopro.js +4 -4
- package/js/src/pro/bitpanda.js +7 -7
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrex.js +7 -7
- package/js/src/pro/bitvavo.js +6 -6
- package/js/src/pro/blockchaincom.js +6 -6
- package/js/src/pro/bybit.js +12 -12
- package/js/src/pro/cex.js +9 -9
- package/js/src/pro/coinbase.js +6 -6
- package/js/src/pro/coinbasepro.js +10 -10
- package/js/src/pro/coinex.js +7 -7
- package/js/src/pro/cryptocom.js +13 -13
- package/js/src/pro/currencycom.js +5 -5
- package/js/src/pro/deribit.js +7 -7
- package/js/src/pro/exmo.js +5 -5
- package/js/src/pro/gate.js +10 -10
- package/js/src/pro/gemini.js +4 -4
- package/js/src/pro/hitbtc.js +11 -11
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.js +8 -8
- package/js/src/pro/huobijp.js +4 -4
- package/js/src/pro/idex.js +5 -5
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.js +11 -11
- package/js/src/pro/krakenfutures.js +8 -8
- package/js/src/pro/kucoin.js +10 -10
- package/js/src/pro/kucoinfutures.js +8 -8
- package/js/src/pro/luno.js +4 -4
- package/js/src/pro/mexc.js +7 -7
- package/js/src/pro/ndax.js +4 -4
- package/js/src/pro/okcoin.js +6 -6
- package/js/src/pro/okx.js +16 -16
- package/js/src/pro/phemex.js +7 -7
- 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 +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.js +1 -1
- package/js/src/probit.js +24 -24
- package/js/src/tidex.js +15 -15
- package/js/src/timex.js +19 -19
- package/js/src/tokocrypto.js +21 -21
- package/js/src/upbit.js +22 -22
- package/js/src/wavesexchange.js +19 -19
- package/js/src/wazirx.js +15 -15
- package/js/src/whitebit.js +29 -29
- package/js/src/woo.js +26 -26
- package/js/src/yobit.js +17 -17
- package/js/src/zaif.js +10 -10
- package/js/src/zonda.js +16 -16
- package/package.json +1 -1
package/dist/cjs/src/pro/exmo.js
CHANGED
|
@@ -45,7 +45,7 @@ class exmo extends exmo$1 {
|
|
|
45
45
|
* @method
|
|
46
46
|
* @name exmo#watchBalance
|
|
47
47
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
48
|
-
* @param {object} [params] extra parameters specific to the
|
|
48
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
49
49
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
50
50
|
*/
|
|
51
51
|
await this.authenticate(params);
|
|
@@ -201,7 +201,7 @@ class exmo extends exmo$1 {
|
|
|
201
201
|
* @name exmo#watchTicker
|
|
202
202
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
203
203
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
204
|
-
* @param {object} [params] extra parameters specific to the
|
|
204
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
205
205
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
206
206
|
*/
|
|
207
207
|
await this.loadMarkets();
|
|
@@ -258,7 +258,7 @@ class exmo extends exmo$1 {
|
|
|
258
258
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
259
259
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
260
260
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
261
|
-
* @param {object} [params] extra parameters specific to the
|
|
261
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
262
262
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
263
263
|
*/
|
|
264
264
|
await this.loadMarkets();
|
|
@@ -322,7 +322,7 @@ class exmo extends exmo$1 {
|
|
|
322
322
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
323
323
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
324
324
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
325
|
-
* @param {object} [params] extra parameters specific to the
|
|
325
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
326
326
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
327
327
|
*/
|
|
328
328
|
await this.loadMarkets();
|
|
@@ -451,7 +451,7 @@ class exmo extends exmo$1 {
|
|
|
451
451
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
452
452
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
453
453
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
454
|
-
* @param {object} [params] extra parameters specific to the
|
|
454
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
455
455
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
456
456
|
*/
|
|
457
457
|
await this.loadMarkets();
|
package/dist/cjs/src/pro/gate.js
CHANGED
|
@@ -97,7 +97,7 @@ class gate extends gate$1 {
|
|
|
97
97
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
98
98
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
99
99
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
100
|
-
* @param {object} [params] extra parameters specific to the
|
|
100
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
101
101
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
102
102
|
*/
|
|
103
103
|
await this.loadMarkets();
|
|
@@ -274,7 +274,7 @@ class gate extends gate$1 {
|
|
|
274
274
|
* @name gate#watchTicker
|
|
275
275
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
276
276
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
277
|
-
* @param {object} [params] extra parameters specific to the
|
|
277
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
278
278
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
279
279
|
*/
|
|
280
280
|
await this.loadMarkets();
|
|
@@ -295,7 +295,7 @@ class gate extends gate$1 {
|
|
|
295
295
|
* @name gate#watchTickers
|
|
296
296
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
297
297
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
298
|
-
* @param {object} [params] extra parameters specific to the
|
|
298
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
299
299
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
300
300
|
*/
|
|
301
301
|
await this.loadMarkets();
|
|
@@ -382,7 +382,7 @@ class gate extends gate$1 {
|
|
|
382
382
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
383
383
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
384
384
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
385
|
-
* @param {object} [params] extra parameters specific to the
|
|
385
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
386
386
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
387
387
|
*/
|
|
388
388
|
await this.loadMarkets();
|
|
@@ -408,7 +408,7 @@ class gate extends gate$1 {
|
|
|
408
408
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
409
409
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
410
410
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
411
|
-
* @param {object} [params] extra parameters specific to the
|
|
411
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
412
412
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
|
|
413
413
|
*/
|
|
414
414
|
await this.loadMarkets();
|
|
@@ -473,7 +473,7 @@ class gate extends gate$1 {
|
|
|
473
473
|
* @param {string} timeframe the length of time each candle represents
|
|
474
474
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
475
475
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
476
|
-
* @param {object} [params] extra parameters specific to the
|
|
476
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
477
477
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
478
478
|
*/
|
|
479
479
|
await this.loadMarkets();
|
|
@@ -556,7 +556,7 @@ class gate extends gate$1 {
|
|
|
556
556
|
* @param {string} symbol unified market symbol of the market trades were made in
|
|
557
557
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
558
558
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
559
|
-
* @param {object} [params] extra parameters specific to the
|
|
559
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
560
560
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
561
561
|
*/
|
|
562
562
|
await this.loadMarkets();
|
|
@@ -646,7 +646,7 @@ class gate extends gate$1 {
|
|
|
646
646
|
* @method
|
|
647
647
|
* @name gate#watchBalance
|
|
648
648
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
649
|
-
* @param {object} [params] extra parameters specific to the
|
|
649
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
650
650
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
651
651
|
*/
|
|
652
652
|
await this.loadMarkets();
|
|
@@ -764,7 +764,7 @@ class gate extends gate$1 {
|
|
|
764
764
|
* @see https://www.gate.io/docs/developers/options/ws/en/#positions-channel
|
|
765
765
|
* @description watch all open positions
|
|
766
766
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
767
|
-
* @param {object} params extra parameters specific to the
|
|
767
|
+
* @param {object} params extra parameters specific to the exchange API endpoint
|
|
768
768
|
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
|
|
769
769
|
*/
|
|
770
770
|
await this.loadMarkets();
|
|
@@ -902,7 +902,7 @@ class gate extends gate$1 {
|
|
|
902
902
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
903
903
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
904
904
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
905
|
-
* @param {object} [params] extra parameters specific to the
|
|
905
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
906
906
|
* @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
|
|
907
907
|
* @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
|
|
908
908
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
|
|
@@ -41,7 +41,7 @@ class gemini extends gemini$1 {
|
|
|
41
41
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
42
42
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
43
43
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
44
|
-
* @param {object} [params] extra parameters specific to the
|
|
44
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
45
45
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
46
46
|
*/
|
|
47
47
|
await this.loadMarkets();
|
|
@@ -193,7 +193,7 @@ class gemini extends gemini$1 {
|
|
|
193
193
|
* @param {string} timeframe the length of time each candle represents
|
|
194
194
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
195
195
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
196
|
-
* @param {object} [params] extra parameters specific to the
|
|
196
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
197
197
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
198
198
|
*/
|
|
199
199
|
await this.loadMarkets();
|
|
@@ -282,7 +282,7 @@ class gemini extends gemini$1 {
|
|
|
282
282
|
* @see https://docs.gemini.com/websocket-api/#market-data-version-2
|
|
283
283
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
284
284
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
285
|
-
* @param {object} [params] extra parameters specific to the
|
|
285
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
286
286
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
287
287
|
*/
|
|
288
288
|
await this.loadMarkets();
|
|
@@ -378,7 +378,7 @@ class gemini extends gemini$1 {
|
|
|
378
378
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
379
379
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
380
380
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
381
|
-
* @param {object} [params] extra parameters specific to the
|
|
381
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
382
382
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
383
383
|
*/
|
|
384
384
|
const url = this.urls['api']['ws'] + '/v1/order/events?eventTypeFilter=initial&eventTypeFilter=accepted&eventTypeFilter=rejected&eventTypeFilter=fill&eventTypeFilter=cancelled&eventTypeFilter=booked';
|
|
@@ -185,7 +185,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
185
185
|
* @see https://api.hitbtc.com/#subscribe-to-top-of-book-in-batches
|
|
186
186
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
187
187
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
188
|
-
* @param {object} [params] extra parameters specific to the
|
|
188
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
189
189
|
* @param {string} [params.method] 'orderbook/full', 'orderbook/{depth}/{speed}', 'orderbook/{depth}/{speed}/batch', 'orderbook/top/{speed}', or 'orderbook/top/{speed}/batch'
|
|
190
190
|
* @param {int} [params.depth] 5 , 10, or 20 (default)
|
|
191
191
|
* @param {int} [params.speed] 100 (default), 500, or 1000
|
|
@@ -290,7 +290,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
290
290
|
* @see https://api.hitbtc.com/#subscribe-to-mini-ticker
|
|
291
291
|
* @see https://api.hitbtc.com/#subscribe-to-mini-ticker-in-batches
|
|
292
292
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
293
|
-
* @param {object} [params] extra parameters specific to the
|
|
293
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
294
294
|
* @param {string} [params.method] 'ticker/{speed}' (default), or 'ticker/price/{speed}'
|
|
295
295
|
* @param {string} [params.speed] '1s' (default), or '3s'
|
|
296
296
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -315,7 +315,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
315
315
|
* @name hitbtc#watchTicker
|
|
316
316
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
317
317
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
318
|
-
* @param {object} params extra parameters specific to the
|
|
318
|
+
* @param {object} params extra parameters specific to the exchange API endpoint
|
|
319
319
|
* @param {string} params.method 'ticker/{speed}' (default),'ticker/price/{speed}', 'ticker/{speed}/batch', or 'ticker/{speed}/price/batch''
|
|
320
320
|
* @param {string} params.speed '1s' (default), or '3s'
|
|
321
321
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
|
|
@@ -481,7 +481,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
481
481
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
482
482
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
483
483
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
484
|
-
* @param {object} [params] extra parameters specific to the
|
|
484
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
485
485
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
486
486
|
*/
|
|
487
487
|
await this.loadMarkets();
|
|
@@ -609,7 +609,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
609
609
|
* @param {string} [timeframe] the length of time each candle represents
|
|
610
610
|
* @param {int} [since] not used by hitbtc watchOHLCV
|
|
611
611
|
* @param {int} [limit] 0 – 1000, default value = 0 (no history returned)
|
|
612
|
-
* @param {object} [params] extra parameters specific to the
|
|
612
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
613
613
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
614
614
|
*/
|
|
615
615
|
const period = this.safeString(this.timeframes, timeframe, timeframe);
|
|
@@ -721,7 +721,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
721
721
|
* @param {string} [symbol] unified CCXT market symbol
|
|
722
722
|
* @param {int} [since] timestamp in ms of the earliest order to fetch
|
|
723
723
|
* @param {int} [limit] the maximum amount of orders to fetch
|
|
724
|
-
* @param {object} [params] extra parameters specific to the
|
|
724
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
725
725
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
|
|
726
726
|
*/
|
|
727
727
|
await this.loadMarkets();
|
|
@@ -958,7 +958,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
958
958
|
* @description watches balance updates, cannot subscribe to margin account balances
|
|
959
959
|
* @see https://api.hitbtc.com/#subscribe-to-spot-balances
|
|
960
960
|
* @see https://api.hitbtc.com/#subscribe-to-futures-balances
|
|
961
|
-
* @param {object} [params] extra parameters specific to the
|
|
961
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
962
962
|
* @param {string} [params.type] 'spot', 'swap', or 'future'
|
|
963
963
|
*
|
|
964
964
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
@@ -993,7 +993,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
993
993
|
* @param {string} side 'buy' or 'sell'
|
|
994
994
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
995
995
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
996
|
-
* @param {object} [params] extra parameters specific to the
|
|
996
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
997
997
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported for spot-margin, swap supports both, default is 'cross'
|
|
998
998
|
* @param {bool} [params.margin] true for creating a margin order
|
|
999
999
|
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
@@ -1030,7 +1030,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1030
1030
|
* @description cancels an open order
|
|
1031
1031
|
* @param {string} id order id
|
|
1032
1032
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1033
|
-
* @param {object} [params] extra parameters specific to the
|
|
1033
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1034
1034
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1035
1035
|
* @param {bool} [params.margin] true for canceling a margin order
|
|
1036
1036
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1065,7 +1065,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1065
1065
|
* @see https://api.hitbtc.com/#cancel-futures-order-3
|
|
1066
1066
|
* @description cancel all open orders
|
|
1067
1067
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1068
|
-
* @param {object} [params] extra parameters specific to the
|
|
1068
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1069
1069
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1070
1070
|
* @param {bool} [params.margin] true for canceling margin orders
|
|
1071
1071
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1100,7 +1100,7 @@ class hitbtc extends hitbtc$1 {
|
|
|
1100
1100
|
* @param {string} symbol unified market symbol
|
|
1101
1101
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1102
1102
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1103
|
-
* @param {object} [params] extra parameters specific to the
|
|
1103
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1104
1104
|
* @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
|
|
1105
1105
|
* @param {bool} [params.margin] true for fetching open margin orders
|
|
1106
1106
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -57,7 +57,7 @@ class hollaex extends hollaex$1 {
|
|
|
57
57
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
58
58
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
59
59
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
60
|
-
* @param {object} [params] extra parameters specific to the
|
|
60
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
61
61
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
62
62
|
*/
|
|
63
63
|
await this.loadMarkets();
|
|
@@ -116,7 +116,7 @@ class hollaex extends hollaex$1 {
|
|
|
116
116
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
117
117
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
118
118
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
119
|
-
* @param {object} [params] extra parameters specific to the
|
|
119
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
120
120
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
121
121
|
*/
|
|
122
122
|
await this.loadMarkets();
|
|
@@ -172,7 +172,7 @@ class hollaex extends hollaex$1 {
|
|
|
172
172
|
* @param {string} symbol unified market symbol of the market trades were made in
|
|
173
173
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
174
174
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
175
|
-
* @param {object} [params] extra parameters specific to the
|
|
175
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
176
176
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
177
177
|
*/
|
|
178
178
|
await this.loadMarkets();
|
|
@@ -252,7 +252,7 @@ class hollaex extends hollaex$1 {
|
|
|
252
252
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
253
253
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
254
254
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
255
|
-
* @param {object} [params] extra parameters specific to the
|
|
255
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
256
256
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
257
257
|
*/
|
|
258
258
|
await this.loadMarkets();
|
|
@@ -370,7 +370,7 @@ class hollaex extends hollaex$1 {
|
|
|
370
370
|
* @method
|
|
371
371
|
* @name hollaex#watchBalance
|
|
372
372
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
373
|
-
* @param {object} [params] extra parameters specific to the
|
|
373
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
374
374
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
375
375
|
*/
|
|
376
376
|
const messageHash = 'wallet';
|
package/dist/cjs/src/pro/htx.js
CHANGED
|
@@ -131,7 +131,7 @@ class htx extends htx$1 {
|
|
|
131
131
|
* @name huobi#watchTicker
|
|
132
132
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
133
133
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
134
|
-
* @param {object} [params] extra parameters specific to the
|
|
134
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
135
135
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
136
136
|
*/
|
|
137
137
|
await this.loadMarkets();
|
|
@@ -201,7 +201,7 @@ class htx extends htx$1 {
|
|
|
201
201
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
202
202
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
203
203
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
204
|
-
* @param {object} [params] extra parameters specific to the
|
|
204
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
205
205
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
206
206
|
*/
|
|
207
207
|
await this.loadMarkets();
|
|
@@ -265,7 +265,7 @@ class htx extends htx$1 {
|
|
|
265
265
|
* @param {string} timeframe the length of time each candle represents
|
|
266
266
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
267
267
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
268
|
-
* @param {object} [params] extra parameters specific to the
|
|
268
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
269
269
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
270
270
|
*/
|
|
271
271
|
await this.loadMarkets();
|
|
@@ -326,7 +326,7 @@ class htx extends htx$1 {
|
|
|
326
326
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
327
327
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
328
328
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
329
|
-
* @param {object} [params] extra parameters specific to the
|
|
329
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
330
330
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
331
331
|
*/
|
|
332
332
|
await this.loadMarkets();
|
|
@@ -663,7 +663,7 @@ class htx extends htx$1 {
|
|
|
663
663
|
* @param {string} symbol unified market symbol of the market trades were made in
|
|
664
664
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
665
665
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
666
|
-
* @param {object} [params] extra parameters specific to the
|
|
666
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
667
667
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
668
668
|
*/
|
|
669
669
|
this.checkRequiredCredentials();
|
|
@@ -766,7 +766,7 @@ class htx extends htx$1 {
|
|
|
766
766
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
767
767
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
768
768
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
769
|
-
* @param {object} [params] extra parameters specific to the
|
|
769
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
770
770
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
771
771
|
*/
|
|
772
772
|
await this.loadMarkets();
|
|
@@ -1216,7 +1216,7 @@ class htx extends htx$1 {
|
|
|
1216
1216
|
* @see https://www.huobi.com/en-in/opend/newApiPages/?id=5d5156b5-77b6-11ed-9966-0242ac110003
|
|
1217
1217
|
* @description watch all open positions. Note: huobi has one channel for each marginMode and type
|
|
1218
1218
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
1219
|
-
* @param {object} params extra parameters specific to the
|
|
1219
|
+
* @param {object} params extra parameters specific to the exchange API endpoint
|
|
1220
1220
|
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
|
|
1221
1221
|
*/
|
|
1222
1222
|
await this.loadMarkets();
|
|
@@ -1332,7 +1332,7 @@ class htx extends htx$1 {
|
|
|
1332
1332
|
* @method
|
|
1333
1333
|
* @name huobi#watchBalance
|
|
1334
1334
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
1335
|
-
* @param {object} [params] extra parameters specific to the
|
|
1335
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1336
1336
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1337
1337
|
*/
|
|
1338
1338
|
let type = undefined;
|
|
@@ -49,7 +49,7 @@ class huobijp extends huobijp$1 {
|
|
|
49
49
|
* @name huobijp#watchTicker
|
|
50
50
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
51
51
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
52
|
-
* @param {object} [params] extra parameters specific to the
|
|
52
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
53
53
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
54
54
|
*/
|
|
55
55
|
await this.loadMarkets();
|
|
@@ -113,7 +113,7 @@ class huobijp extends huobijp$1 {
|
|
|
113
113
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
114
114
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
115
115
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
116
|
-
* @param {object} [params] extra parameters specific to the
|
|
116
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
117
117
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
118
118
|
*/
|
|
119
119
|
await this.loadMarkets();
|
|
@@ -191,7 +191,7 @@ class huobijp extends huobijp$1 {
|
|
|
191
191
|
* @param {string} timeframe the length of time each candle represents
|
|
192
192
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
193
193
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
194
|
-
* @param {object} [params] extra parameters specific to the
|
|
194
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
195
195
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
196
196
|
*/
|
|
197
197
|
await this.loadMarkets();
|
|
@@ -263,7 +263,7 @@ class huobijp extends huobijp$1 {
|
|
|
263
263
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
264
264
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
265
265
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
266
|
-
* @param {object} [params] extra parameters specific to the
|
|
266
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
267
267
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
268
268
|
*/
|
|
269
269
|
if ((limit !== undefined) && (limit !== 150)) {
|
package/dist/cjs/src/pro/idex.js
CHANGED
|
@@ -69,7 +69,7 @@ class idex extends idex$1 {
|
|
|
69
69
|
* @name idex#watchTicker
|
|
70
70
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
71
71
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
72
|
-
* @param {object} [params] extra parameters specific to the
|
|
72
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
73
73
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
74
74
|
*/
|
|
75
75
|
await this.loadMarkets();
|
|
@@ -143,7 +143,7 @@ class idex extends idex$1 {
|
|
|
143
143
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
144
144
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
145
145
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
146
|
-
* @param {object} [params] extra parameters specific to the
|
|
146
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
147
147
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
148
148
|
*/
|
|
149
149
|
await this.loadMarkets();
|
|
@@ -238,7 +238,7 @@ class idex extends idex$1 {
|
|
|
238
238
|
* @param {string} timeframe the length of time each candle represents
|
|
239
239
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
240
240
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
241
|
-
* @param {object} [params] extra parameters specific to the
|
|
241
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
242
242
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
243
243
|
*/
|
|
244
244
|
await this.loadMarkets();
|
|
@@ -406,7 +406,7 @@ class idex extends idex$1 {
|
|
|
406
406
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
407
407
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
408
408
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
409
|
-
* @param {object} [params] extra parameters specific to the
|
|
409
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
410
410
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
411
411
|
*/
|
|
412
412
|
await this.loadMarkets();
|
|
@@ -510,7 +510,7 @@ class idex extends idex$1 {
|
|
|
510
510
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
511
511
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
512
512
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
513
|
-
* @param {object} [params] extra parameters specific to the
|
|
513
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
514
514
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
515
515
|
*/
|
|
516
516
|
await this.loadMarkets();
|
|
@@ -40,7 +40,7 @@ class independentreserve extends independentreserve$1 {
|
|
|
40
40
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
41
41
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
42
42
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
43
|
-
* @param {object} [params] extra parameters specific to the
|
|
43
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
44
44
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
45
45
|
*/
|
|
46
46
|
await this.loadMarkets();
|
|
@@ -123,7 +123,7 @@ class independentreserve extends independentreserve$1 {
|
|
|
123
123
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
124
124
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
125
125
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
126
|
-
* @param {object} [params] extra parameters specific to the
|
|
126
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
127
127
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
128
128
|
*/
|
|
129
129
|
await this.loadMarkets();
|
|
@@ -114,7 +114,7 @@ class kraken extends kraken$1 {
|
|
|
114
114
|
* @param {string} side 'buy' or 'sell'
|
|
115
115
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
116
116
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
117
|
-
* @param {object} [params] extra parameters specific to the
|
|
117
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
118
118
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
119
119
|
*/
|
|
120
120
|
await this.loadMarkets();
|
|
@@ -171,7 +171,7 @@ class kraken extends kraken$1 {
|
|
|
171
171
|
* @param {string} side 'buy' or 'sell'
|
|
172
172
|
* @param {float} amount how much of the currency you want to trade in units of the base currency
|
|
173
173
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
174
|
-
* @param {object} [params] extra parameters specific to the
|
|
174
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
175
175
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
176
176
|
*/
|
|
177
177
|
await this.loadMarkets();
|
|
@@ -199,7 +199,7 @@ class kraken extends kraken$1 {
|
|
|
199
199
|
* @description cancel multiple orders
|
|
200
200
|
* @param {string[]} ids order ids
|
|
201
201
|
* @param {string} symbol unified market symbol, default is undefined
|
|
202
|
-
* @param {object} [params] extra parameters specific to the
|
|
202
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
203
203
|
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
204
204
|
*/
|
|
205
205
|
await this.loadMarkets();
|
|
@@ -223,7 +223,7 @@ class kraken extends kraken$1 {
|
|
|
223
223
|
* @description cancels an open order
|
|
224
224
|
* @param {string} id order id
|
|
225
225
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
226
|
-
* @param {object} [params] extra parameters specific to the
|
|
226
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
227
227
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
228
228
|
*/
|
|
229
229
|
await this.loadMarkets();
|
|
@@ -260,7 +260,7 @@ class kraken extends kraken$1 {
|
|
|
260
260
|
* @see https://docs.kraken.com/websockets/#message-cancelAll
|
|
261
261
|
* @description cancel all open orders
|
|
262
262
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
263
|
-
* @param {object} [params] extra parameters specific to the
|
|
263
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
264
264
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
265
265
|
*/
|
|
266
266
|
if (symbol !== undefined) {
|
|
@@ -465,7 +465,7 @@ class kraken extends kraken$1 {
|
|
|
465
465
|
* @name kraken#watchTicker
|
|
466
466
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
467
467
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
468
|
-
* @param {object} [params] extra parameters specific to the
|
|
468
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
469
469
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
470
470
|
*/
|
|
471
471
|
return await this.watchPublic('ticker', symbol, params);
|
|
@@ -478,7 +478,7 @@ class kraken extends kraken$1 {
|
|
|
478
478
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
479
479
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
480
480
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
481
|
-
* @param {object} [params] extra parameters specific to the
|
|
481
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
482
482
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
483
483
|
*/
|
|
484
484
|
await this.loadMarkets();
|
|
@@ -497,7 +497,7 @@ class kraken extends kraken$1 {
|
|
|
497
497
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
498
498
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
499
499
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
500
|
-
* @param {object} [params] extra parameters specific to the
|
|
500
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
501
501
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
502
502
|
*/
|
|
503
503
|
const name = 'book';
|
|
@@ -524,7 +524,7 @@ class kraken extends kraken$1 {
|
|
|
524
524
|
* @param {string} timeframe the length of time each candle represents
|
|
525
525
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
526
526
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
527
|
-
* @param {object} [params] extra parameters specific to the
|
|
527
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
528
528
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
529
529
|
*/
|
|
530
530
|
await this.loadMarkets();
|
|
@@ -829,7 +829,7 @@ class kraken extends kraken$1 {
|
|
|
829
829
|
* @param {string} symbol unified market symbol of the market trades were made in
|
|
830
830
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
831
831
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
832
|
-
* @param {object} [params] extra parameters specific to the
|
|
832
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
833
833
|
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
|
|
834
834
|
*/
|
|
835
835
|
return await this.watchPrivate('ownTrades', symbol, since, limit, params);
|
|
@@ -991,7 +991,7 @@ class kraken extends kraken$1 {
|
|
|
991
991
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
992
992
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
993
993
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
994
|
-
* @param {object} [params] extra parameters specific to the
|
|
994
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
995
995
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
996
996
|
*/
|
|
997
997
|
return await this.watchPrivate('openOrders', symbol, since, limit, params);
|