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.
Files changed (56) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.min.js +2 -2
  3. package/dist/cjs/ccxt.js +1 -1
  4. package/dist/cjs/src/base/Exchange.js +2 -2
  5. package/dist/cjs/src/kucoin.js +2 -0
  6. package/dist/cjs/src/pro/bitfinex.js +1 -0
  7. package/dist/cjs/src/pro/bitfinex2.js +1 -0
  8. package/dist/cjs/src/pro/bitopro.js +1 -0
  9. package/dist/cjs/src/pro/bitstamp.js +1 -0
  10. package/dist/cjs/src/pro/blockchaincom.js +1 -0
  11. package/dist/cjs/src/pro/cex.js +1 -0
  12. package/dist/cjs/src/pro/coincheck.js +1 -0
  13. package/dist/cjs/src/pro/coinone.js +1 -0
  14. package/dist/cjs/src/pro/hashkey.js +1 -0
  15. package/dist/cjs/src/pro/hitbtc.js +1 -0
  16. package/dist/cjs/src/pro/hollaex.js +1 -0
  17. package/dist/cjs/src/pro/htx.js +1 -0
  18. package/dist/cjs/src/pro/huobijp.js +1 -0
  19. package/dist/cjs/src/pro/hyperliquid.js +7 -0
  20. package/dist/cjs/src/pro/independentreserve.js +1 -0
  21. package/dist/cjs/src/pro/lbank.js +1 -0
  22. package/dist/cjs/src/pro/luno.js +1 -0
  23. package/dist/cjs/src/pro/ndax.js +5 -0
  24. package/dist/cjs/src/pro/okcoin.js +7 -0
  25. package/dist/cjs/src/pro/onetrading.js +1 -0
  26. package/dist/cjs/src/pro/paradex.js +1 -0
  27. package/js/ccxt.d.ts +1 -1
  28. package/js/ccxt.js +1 -1
  29. package/js/src/abstract/kucoin.d.ts +1 -0
  30. package/js/src/abstract/kucoinfutures.d.ts +1 -0
  31. package/js/src/base/Exchange.d.ts +1 -1
  32. package/js/src/base/Exchange.js +2 -2
  33. package/js/src/coinex.d.ts +1 -1
  34. package/js/src/kucoin.js +2 -0
  35. package/js/src/pro/bitfinex.js +1 -0
  36. package/js/src/pro/bitfinex2.js +1 -0
  37. package/js/src/pro/bitopro.js +1 -0
  38. package/js/src/pro/bitstamp.js +1 -0
  39. package/js/src/pro/blockchaincom.js +1 -0
  40. package/js/src/pro/cex.js +1 -0
  41. package/js/src/pro/coincheck.js +1 -0
  42. package/js/src/pro/coinone.js +1 -0
  43. package/js/src/pro/hashkey.js +1 -0
  44. package/js/src/pro/hitbtc.js +1 -0
  45. package/js/src/pro/hollaex.js +1 -0
  46. package/js/src/pro/htx.js +1 -0
  47. package/js/src/pro/huobijp.js +1 -0
  48. package/js/src/pro/hyperliquid.js +7 -0
  49. package/js/src/pro/independentreserve.js +1 -0
  50. package/js/src/pro/lbank.js +1 -0
  51. package/js/src/pro/luno.js +1 -0
  52. package/js/src/pro/ndax.js +5 -0
  53. package/js/src/pro/okcoin.js +7 -0
  54. package/js/src/pro/onetrading.js +1 -0
  55. package/js/src/pro/paradex.js +1 -0
  56. 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
@@ -18,6 +18,7 @@ export default class independentreserve extends independentreserveRest {
18
18
  'watchTicker': false,
19
19
  'watchTickers': false,
20
20
  'watchTrades': true,
21
+ 'watchTradesForSymbols': false,
21
22
  'watchMyTrades': false,
22
23
  'watchOrders': false,
23
24
  'watchOrderBook': true,
@@ -21,6 +21,7 @@ export default class lbank extends lbankRest {
21
21
  'watchTicker': true,
22
22
  'watchTickers': false,
23
23
  'watchTrades': true,
24
+ 'watchTradesForSymbols': false,
24
25
  'watchMyTrades': false,
25
26
  'watchOrders': true,
26
27
  'watchOrderBook': true,
@@ -16,6 +16,7 @@ export default class luno extends lunoRest {
16
16
  'watchTicker': false,
17
17
  'watchTickers': false,
18
18
  'watchTrades': true,
19
+ 'watchTradesForSymbols': false,
19
20
  'watchMyTrades': false,
20
21
  'watchOrders': undefined,
21
22
  'watchOrderBook': true,
@@ -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
@@ -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
  */
@@ -19,6 +19,7 @@ export default class onetrading extends onetradingRest {
19
19
  'watchTicker': true,
20
20
  'watchTickers': true,
21
21
  'watchTrades': false,
22
+ 'watchTradesForSymbols': false,
22
23
  'watchMyTrades': true,
23
24
  'watchOrders': true,
24
25
  'watchOrderBook': true,
@@ -18,6 +18,7 @@ export default class paradex extends paradexRest {
18
18
  'watchOrderBook': true,
19
19
  'watchOrders': false,
20
20
  'watchTrades': true,
21
+ 'watchTradesForSymbols': false,
21
22
  'watchBalance': false,
22
23
  'watchOHLCV': false,
23
24
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.3.87",
3
+ "version": "4.3.88",
4
4
  "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges",
5
5
  "unpkg": "dist/ccxt.browser.min.js",
6
6
  "type": "module",