ccxt 4.3.87 → 4.3.88
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.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/base/Exchange.js +2 -2
- package/dist/cjs/src/kucoin.js +2 -0
- package/dist/cjs/src/pro/bitfinex.js +1 -0
- package/dist/cjs/src/pro/bitfinex2.js +1 -0
- package/dist/cjs/src/pro/bitopro.js +1 -0
- package/dist/cjs/src/pro/bitstamp.js +1 -0
- package/dist/cjs/src/pro/blockchaincom.js +1 -0
- package/dist/cjs/src/pro/cex.js +1 -0
- package/dist/cjs/src/pro/coincheck.js +1 -0
- package/dist/cjs/src/pro/coinone.js +1 -0
- package/dist/cjs/src/pro/hashkey.js +1 -0
- package/dist/cjs/src/pro/hitbtc.js +1 -0
- package/dist/cjs/src/pro/hollaex.js +1 -0
- package/dist/cjs/src/pro/htx.js +1 -0
- package/dist/cjs/src/pro/huobijp.js +1 -0
- package/dist/cjs/src/pro/hyperliquid.js +7 -0
- package/dist/cjs/src/pro/independentreserve.js +1 -0
- package/dist/cjs/src/pro/lbank.js +1 -0
- package/dist/cjs/src/pro/luno.js +1 -0
- package/dist/cjs/src/pro/ndax.js +5 -0
- package/dist/cjs/src/pro/okcoin.js +7 -0
- package/dist/cjs/src/pro/onetrading.js +1 -0
- package/dist/cjs/src/pro/paradex.js +1 -0
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/kucoin.d.ts +1 -0
- package/js/src/abstract/kucoinfutures.d.ts +1 -0
- package/js/src/base/Exchange.d.ts +1 -1
- package/js/src/base/Exchange.js +2 -2
- package/js/src/coinex.d.ts +1 -1
- package/js/src/kucoin.js +2 -0
- package/js/src/pro/bitfinex.js +1 -0
- package/js/src/pro/bitfinex2.js +1 -0
- package/js/src/pro/bitopro.js +1 -0
- package/js/src/pro/bitstamp.js +1 -0
- package/js/src/pro/blockchaincom.js +1 -0
- package/js/src/pro/cex.js +1 -0
- package/js/src/pro/coincheck.js +1 -0
- package/js/src/pro/coinone.js +1 -0
- package/js/src/pro/hashkey.js +1 -0
- package/js/src/pro/hitbtc.js +1 -0
- package/js/src/pro/hollaex.js +1 -0
- package/js/src/pro/htx.js +1 -0
- package/js/src/pro/huobijp.js +1 -0
- package/js/src/pro/hyperliquid.js +7 -0
- package/js/src/pro/independentreserve.js +1 -0
- package/js/src/pro/lbank.js +1 -0
- package/js/src/pro/luno.js +1 -0
- package/js/src/pro/ndax.js +5 -0
- package/js/src/pro/okcoin.js +7 -0
- package/js/src/pro/onetrading.js +1 -0
- package/js/src/pro/paradex.js +1 -0
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
25
25
|
'watchTicker': false,
|
|
26
26
|
'watchTickers': true,
|
|
27
27
|
'watchTrades': true,
|
|
28
|
+
'watchTradesForSymbols': false,
|
|
28
29
|
'watchPosition': false,
|
|
29
30
|
},
|
|
30
31
|
'urls': {
|
|
@@ -140,6 +141,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
140
141
|
* @method
|
|
141
142
|
* @name hyperliquid#watchOrderBook
|
|
142
143
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
144
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
143
145
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
144
146
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
145
147
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -213,6 +215,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
213
215
|
* @method
|
|
214
216
|
* @name hyperliquid#watchTickers
|
|
215
217
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
218
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
216
219
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
217
220
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
218
221
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -239,6 +242,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
239
242
|
* @method
|
|
240
243
|
* @name hyperliquid#watchMyTrades
|
|
241
244
|
* @description watches information on multiple trades made by the user
|
|
245
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
242
246
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
243
247
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
244
248
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -406,6 +410,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
406
410
|
* @method
|
|
407
411
|
* @name hyperliquid#watchTrades
|
|
408
412
|
* @description watches information on multiple trades made in a market
|
|
413
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
409
414
|
* @param {string} symbol unified market symbol of the market trades were made in
|
|
410
415
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
411
416
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
@@ -536,6 +541,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
536
541
|
* @method
|
|
537
542
|
* @name hyperliquid#watchOHLCV
|
|
538
543
|
* @description watches historical candlestick data containing the open, high, low, close price, and the volume of a market
|
|
544
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
539
545
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
540
546
|
* @param {string} timeframe the length of time each candle represents
|
|
541
547
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -621,6 +627,7 @@ export default class hyperliquid extends hyperliquidRest {
|
|
|
621
627
|
* @method
|
|
622
628
|
* @name hyperliquid#watchOrders
|
|
623
629
|
* @description watches information on multiple orders made by the user
|
|
630
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
|
|
624
631
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
625
632
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
626
633
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
package/js/src/pro/lbank.js
CHANGED
package/js/src/pro/luno.js
CHANGED
package/js/src/pro/ndax.js
CHANGED
|
@@ -15,6 +15,7 @@ export default class ndax extends ndaxRest {
|
|
|
15
15
|
'ws': true,
|
|
16
16
|
'watchOrderBook': true,
|
|
17
17
|
'watchTrades': true,
|
|
18
|
+
'watchTradesForSymbols': false,
|
|
18
19
|
'watchTicker': true,
|
|
19
20
|
'watchOHLCV': true,
|
|
20
21
|
},
|
|
@@ -43,6 +44,7 @@ export default class ndax extends ndaxRest {
|
|
|
43
44
|
* @method
|
|
44
45
|
* @name ndax#watchTicker
|
|
45
46
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
47
|
+
* @see https://apidoc.ndax.io/#subscribelevel1
|
|
46
48
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
47
49
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
48
50
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -108,6 +110,7 @@ export default class ndax extends ndaxRest {
|
|
|
108
110
|
* @method
|
|
109
111
|
* @name ndax#watchTrades
|
|
110
112
|
* @description get the list of most recent trades for a particular symbol
|
|
113
|
+
* @see https://apidoc.ndax.io/#subscribetrades
|
|
111
114
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
112
115
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
113
116
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -189,6 +192,7 @@ export default class ndax extends ndaxRest {
|
|
|
189
192
|
* @method
|
|
190
193
|
* @name ndax#watchOHLCV
|
|
191
194
|
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
195
|
+
* @see https://apidoc.ndax.io/#subscribeticker
|
|
192
196
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
193
197
|
* @param {string} timeframe the length of time each candle represents
|
|
194
198
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -321,6 +325,7 @@ export default class ndax extends ndaxRest {
|
|
|
321
325
|
* @method
|
|
322
326
|
* @name ndax#watchOrderBook
|
|
323
327
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
328
|
+
* @see https://apidoc.ndax.io/#subscribelevel2
|
|
324
329
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
325
330
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
326
331
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
package/js/src/pro/okcoin.js
CHANGED
|
@@ -20,6 +20,7 @@ export default class okcoin extends okcoinRest {
|
|
|
20
20
|
'watchOrderBook': true,
|
|
21
21
|
'watchOrders': true,
|
|
22
22
|
'watchTrades': true,
|
|
23
|
+
'watchTradesForSymbols': false,
|
|
23
24
|
'watchBalance': true,
|
|
24
25
|
'watchOHLCV': true,
|
|
25
26
|
},
|
|
@@ -70,6 +71,7 @@ export default class okcoin extends okcoinRest {
|
|
|
70
71
|
* @method
|
|
71
72
|
* @name okcoin#watchTrades
|
|
72
73
|
* @description get the list of most recent trades for a particular symbol
|
|
74
|
+
* @see https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-trades-channel
|
|
73
75
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
74
76
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
75
77
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -89,6 +91,7 @@ export default class okcoin extends okcoinRest {
|
|
|
89
91
|
* @method
|
|
90
92
|
* @name okcoin#watchOrders
|
|
91
93
|
* @description watches information on multiple orders made by the user
|
|
94
|
+
* @see https://www.okcoin.com/docs-v5/en/#websocket-api-private-channel-order-channel
|
|
92
95
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
93
96
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
94
97
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -175,6 +178,7 @@ export default class okcoin extends okcoinRest {
|
|
|
175
178
|
* @method
|
|
176
179
|
* @name okcoin#watchTicker
|
|
177
180
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
181
|
+
* @see https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-tickers-channel
|
|
178
182
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
179
183
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
180
184
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -255,6 +259,7 @@ export default class okcoin extends okcoinRest {
|
|
|
255
259
|
* @method
|
|
256
260
|
* @name okcoin#watchOHLCV
|
|
257
261
|
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
262
|
+
* @see https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-candlesticks-channel
|
|
258
263
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
259
264
|
* @param {string} timeframe the length of time each candle represents
|
|
260
265
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -322,6 +327,7 @@ export default class okcoin extends okcoinRest {
|
|
|
322
327
|
* @method
|
|
323
328
|
* @name okcoin#watchOrderBook
|
|
324
329
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
330
|
+
* @see https://www.okcoin.com/docs-v5/en/#websocket-api-public-channel-order-book-channel
|
|
325
331
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
326
332
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
327
333
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -485,6 +491,7 @@ export default class okcoin extends okcoinRest {
|
|
|
485
491
|
* @method
|
|
486
492
|
* @name okcoin#watchBalance
|
|
487
493
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
494
|
+
* @see https://www.okcoin.com/docs-v5/en/#websocket-api-private-channel-account-channel
|
|
488
495
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
489
496
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
490
497
|
*/
|
package/js/src/pro/onetrading.js
CHANGED
package/js/src/pro/paradex.js
CHANGED
package/package.json
CHANGED