ccxt 4.3.87 → 4.3.89

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 (133) 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/ace.js +1 -0
  5. package/dist/cjs/src/alpaca.js +1 -0
  6. package/dist/cjs/src/ascendex.js +7 -19
  7. package/dist/cjs/src/base/Exchange.js +2 -2
  8. package/dist/cjs/src/bigone.js +1 -0
  9. package/dist/cjs/src/bingx.js +1 -0
  10. package/dist/cjs/src/bit2c.js +1 -0
  11. package/dist/cjs/src/bitbank.js +1 -0
  12. package/dist/cjs/src/bitfinex.js +1 -0
  13. package/dist/cjs/src/bitflyer.js +1 -0
  14. package/dist/cjs/src/bitget.js +1 -0
  15. package/dist/cjs/src/bitmex.js +1 -0
  16. package/dist/cjs/src/bitopro.js +1 -0
  17. package/dist/cjs/src/bitrue.js +62 -71
  18. package/dist/cjs/src/bitso.js +1 -0
  19. package/dist/cjs/src/bitstamp.js +1 -0
  20. package/dist/cjs/src/bitvavo.js +1 -0
  21. package/dist/cjs/src/blockchaincom.js +1 -0
  22. package/dist/cjs/src/btcalpha.js +1 -0
  23. package/dist/cjs/src/btcbox.js +1 -0
  24. package/dist/cjs/src/btcmarkets.js +1 -0
  25. package/dist/cjs/src/bybit.js +2 -0
  26. package/dist/cjs/src/cex.js +1 -0
  27. package/dist/cjs/src/coinbaseexchange.js +1 -0
  28. package/dist/cjs/src/cryptocom.js +0 -12
  29. package/dist/cjs/src/kraken.js +48 -48
  30. package/dist/cjs/src/kucoin.js +2 -0
  31. package/dist/cjs/src/mexc.js +1 -61
  32. package/dist/cjs/src/okcoin.js +4 -9
  33. package/dist/cjs/src/onetrading.js +1 -0
  34. package/dist/cjs/src/phemex.js +1 -0
  35. package/dist/cjs/src/poloniexfutures.js +1 -0
  36. package/dist/cjs/src/pro/bitfinex.js +1 -0
  37. package/dist/cjs/src/pro/bitfinex2.js +1 -0
  38. package/dist/cjs/src/pro/bitopro.js +1 -0
  39. package/dist/cjs/src/pro/bitstamp.js +1 -0
  40. package/dist/cjs/src/pro/bitvavo.js +1 -0
  41. package/dist/cjs/src/pro/blockchaincom.js +1 -0
  42. package/dist/cjs/src/pro/bybit.js +290 -1
  43. package/dist/cjs/src/pro/cex.js +2 -0
  44. package/dist/cjs/src/pro/coincheck.js +1 -0
  45. package/dist/cjs/src/pro/coinone.js +1 -0
  46. package/dist/cjs/src/pro/hashkey.js +1 -0
  47. package/dist/cjs/src/pro/hitbtc.js +1 -0
  48. package/dist/cjs/src/pro/hollaex.js +1 -0
  49. package/dist/cjs/src/pro/htx.js +1 -0
  50. package/dist/cjs/src/pro/huobijp.js +1 -0
  51. package/dist/cjs/src/pro/hyperliquid.js +7 -0
  52. package/dist/cjs/src/pro/independentreserve.js +1 -0
  53. package/dist/cjs/src/pro/lbank.js +1 -0
  54. package/dist/cjs/src/pro/luno.js +1 -0
  55. package/dist/cjs/src/pro/ndax.js +5 -0
  56. package/dist/cjs/src/pro/okcoin.js +7 -0
  57. package/dist/cjs/src/pro/onetrading.js +1 -0
  58. package/dist/cjs/src/pro/paradex.js +1 -0
  59. package/dist/cjs/src/probit.js +1 -0
  60. package/dist/cjs/src/vertex.js +1 -0
  61. package/dist/cjs/src/woo.js +1 -0
  62. package/dist/cjs/src/woofipro.js +1 -0
  63. package/js/ccxt.d.ts +1 -1
  64. package/js/ccxt.js +1 -1
  65. package/js/src/abstract/kucoin.d.ts +1 -0
  66. package/js/src/abstract/kucoinfutures.d.ts +1 -0
  67. package/js/src/ace.js +1 -0
  68. package/js/src/alpaca.js +1 -0
  69. package/js/src/ascendex.d.ts +0 -1
  70. package/js/src/ascendex.js +7 -19
  71. package/js/src/base/Exchange.d.ts +1 -1
  72. package/js/src/base/Exchange.js +2 -2
  73. package/js/src/bigone.js +1 -0
  74. package/js/src/bingx.js +1 -0
  75. package/js/src/bit2c.js +1 -0
  76. package/js/src/bitbank.js +1 -0
  77. package/js/src/bitfinex.js +1 -0
  78. package/js/src/bitflyer.js +1 -0
  79. package/js/src/bitget.js +1 -0
  80. package/js/src/bitmex.js +1 -0
  81. package/js/src/bitopro.js +1 -0
  82. package/js/src/bitrue.d.ts +0 -1
  83. package/js/src/bitrue.js +62 -71
  84. package/js/src/bitso.js +1 -0
  85. package/js/src/bitstamp.js +1 -0
  86. package/js/src/bitvavo.js +1 -0
  87. package/js/src/blockchaincom.js +1 -0
  88. package/js/src/btcalpha.js +1 -0
  89. package/js/src/btcbox.js +1 -0
  90. package/js/src/btcmarkets.js +1 -0
  91. package/js/src/bybit.js +2 -0
  92. package/js/src/cex.js +1 -0
  93. package/js/src/coinbaseexchange.js +1 -0
  94. package/js/src/coinex.d.ts +1 -1
  95. package/js/src/cryptocom.d.ts +0 -1
  96. package/js/src/cryptocom.js +0 -12
  97. package/js/src/kraken.js +48 -48
  98. package/js/src/kucoin.js +2 -0
  99. package/js/src/mexc.js +1 -61
  100. package/js/src/okcoin.d.ts +0 -1
  101. package/js/src/okcoin.js +4 -9
  102. package/js/src/onetrading.js +1 -0
  103. package/js/src/phemex.js +1 -0
  104. package/js/src/poloniexfutures.js +1 -0
  105. package/js/src/pro/bitfinex.js +1 -0
  106. package/js/src/pro/bitfinex2.js +1 -0
  107. package/js/src/pro/bitopro.js +1 -0
  108. package/js/src/pro/bitstamp.js +1 -0
  109. package/js/src/pro/bitvavo.js +1 -0
  110. package/js/src/pro/blockchaincom.js +1 -0
  111. package/js/src/pro/bybit.d.ts +12 -1
  112. package/js/src/pro/bybit.js +291 -2
  113. package/js/src/pro/cex.js +2 -0
  114. package/js/src/pro/coincheck.js +1 -0
  115. package/js/src/pro/coinone.js +1 -0
  116. package/js/src/pro/hashkey.js +1 -0
  117. package/js/src/pro/hitbtc.js +1 -0
  118. package/js/src/pro/hollaex.js +1 -0
  119. package/js/src/pro/htx.js +1 -0
  120. package/js/src/pro/huobijp.js +1 -0
  121. package/js/src/pro/hyperliquid.js +7 -0
  122. package/js/src/pro/independentreserve.js +1 -0
  123. package/js/src/pro/lbank.js +1 -0
  124. package/js/src/pro/luno.js +1 -0
  125. package/js/src/pro/ndax.js +5 -0
  126. package/js/src/pro/okcoin.js +7 -0
  127. package/js/src/pro/onetrading.js +1 -0
  128. package/js/src/pro/paradex.js +1 -0
  129. package/js/src/probit.js +1 -0
  130. package/js/src/vertex.js +1 -0
  131. package/js/src/woo.js +1 -0
  132. package/js/src/woofipro.js +1 -0
  133. package/package.json +1 -1
@@ -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/js/src/probit.js CHANGED
@@ -1076,6 +1076,7 @@ export default class probit extends Exchange {
1076
1076
  * @name probit#fetchOrder
1077
1077
  * @see https://docs-en.probit.com/reference/order-3
1078
1078
  * @description fetches information on an order made by the user
1079
+ * @param {string} id the order id
1079
1080
  * @param {string} symbol unified symbol of the market the order was made in
1080
1081
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1081
1082
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
package/js/src/vertex.js CHANGED
@@ -1971,6 +1971,7 @@ export default class vertex extends Exchange {
1971
1971
  * @name vertex#fetchOrder
1972
1972
  * @description fetches information on an order made by the user
1973
1973
  * @see https://docs.vertexprotocol.com/developer-resources/api/gateway/queries/order
1974
+ * @param {string} id the order id
1974
1975
  * @param {string} symbol unified symbol of the market the order was made in
1975
1976
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1976
1977
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
package/js/src/woo.js CHANGED
@@ -1369,6 +1369,7 @@ export default class woo extends Exchange {
1369
1369
  * @see https://docs.woo.org/#get-algo-order
1370
1370
  * @see https://docs.woo.org/#get-order
1371
1371
  * @description fetches information on an order made by the user
1372
+ * @param {string} id the order id
1372
1373
  * @param {string} symbol unified symbol of the market the order was made in
1373
1374
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1374
1375
  * @param {boolean} [params.stop] whether the order is a stop/algo order
@@ -1716,6 +1716,7 @@ export default class woofipro extends Exchange {
1716
1716
  * @see https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-order-by-order_id
1717
1717
  * @see https://orderly.network/docs/build-on-evm/evm-api/restful-api/private/get-algo-order-by-client_order_id
1718
1718
  * @description fetches information on an order made by the user
1719
+ * @param {string} id the order id
1719
1720
  * @param {string} symbol unified symbol of the market the order was made in
1720
1721
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1721
1722
  * @param {boolean} [params.trigger] whether the order is a stop/algo order
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.3.87",
3
+ "version": "4.3.89",
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",