ccxt 4.4.70 → 4.4.71

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 (60) hide show
  1. package/README.md +5 -8
  2. package/dist/ccxt.browser.min.js +7 -7
  3. package/dist/cjs/ccxt.js +1 -6
  4. package/dist/cjs/src/abstract/poloniexfutures.js +1 -1
  5. package/dist/cjs/src/base/Exchange.js +22 -0
  6. package/dist/cjs/src/binance.js +106 -101
  7. package/dist/cjs/src/bingx.js +64 -42
  8. package/dist/cjs/src/bitget.js +1 -5
  9. package/dist/cjs/src/bitmart.js +15 -1
  10. package/dist/cjs/src/bitopro.js +1 -0
  11. package/dist/cjs/src/bitrue.js +1 -0
  12. package/dist/cjs/src/cex.js +1 -0
  13. package/dist/cjs/src/coinbaseexchange.js +1 -0
  14. package/dist/cjs/src/deribit.js +1 -0
  15. package/dist/cjs/src/hashkey.js +4 -2
  16. package/dist/cjs/src/kraken.js +83 -6
  17. package/dist/cjs/src/kucoin.js +4 -2
  18. package/dist/cjs/src/mexc.js +8 -4
  19. package/dist/cjs/src/okx.js +58 -46
  20. package/dist/cjs/src/poloniex.js +1311 -81
  21. package/dist/cjs/src/poloniexfutures.js +1 -1
  22. package/dist/cjs/src/pro/binance.js +94 -94
  23. package/dist/cjs/src/pro/bingx.js +63 -52
  24. package/dist/cjs/src/pro/poloniexfutures.js +1 -1
  25. package/dist/cjs/src/whitebit.js +4 -2
  26. package/js/ccxt.d.ts +3 -9
  27. package/js/ccxt.js +2 -6
  28. package/js/src/abstract/bingx.d.ts +1 -0
  29. package/js/src/abstract/bitmart.d.ts +1 -0
  30. package/js/src/abstract/poloniex.d.ts +36 -0
  31. package/js/src/abstract/poloniexfutures.js +6 -0
  32. package/js/src/base/Exchange.d.ts +11 -2
  33. package/js/src/base/Exchange.js +22 -0
  34. package/js/src/base/types.d.ts +31 -0
  35. package/js/src/binance.d.ts +98 -97
  36. package/js/src/binance.js +106 -101
  37. package/js/src/bingx.js +64 -42
  38. package/js/src/bitget.js +1 -5
  39. package/js/src/bitmart.d.ts +1 -0
  40. package/js/src/bitmart.js +15 -1
  41. package/js/src/bitopro.js +1 -0
  42. package/js/src/bitrue.js +1 -0
  43. package/js/src/cex.js +1 -0
  44. package/js/src/coinbaseexchange.js +1 -0
  45. package/js/src/deribit.js +1 -0
  46. package/js/src/hashkey.js +4 -2
  47. package/js/src/kraken.d.ts +1 -0
  48. package/js/src/kraken.js +83 -6
  49. package/js/src/kucoin.js +4 -2
  50. package/js/src/mexc.js +8 -4
  51. package/js/src/okx.js +58 -46
  52. package/js/src/poloniex.d.ts +109 -1
  53. package/js/src/poloniex.js +1311 -81
  54. package/js/src/poloniexfutures.js +6 -0
  55. package/js/src/pro/binance.d.ts +94 -94
  56. package/js/src/pro/binance.js +94 -94
  57. package/js/src/pro/bingx.js +63 -52
  58. package/js/src/pro/poloniexfutures.js +6 -0
  59. package/js/src/whitebit.js +4 -2
  60. package/package.json +1 -1
@@ -6,7 +6,7 @@ var number = require('./base/functions/number.js');
6
6
  var errors = require('./base/errors.js');
7
7
  var sha256 = require('./static_dependencies/noble-hashes/sha256.js');
8
8
 
9
- // ---------------------------------------------------------------------------
9
+ // ----------------------------------------------------------------------------
10
10
  // ---------------------------------------------------------------------------
11
11
  /**
12
12
  * @class poloniexfutures
@@ -543,13 +543,13 @@ class binance extends binance$1 {
543
543
  /**
544
544
  * @method
545
545
  * @name binance#watchOrderBook
546
- * @see https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
547
- * @see https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
548
- * @see https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
549
- * @see https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
550
- * @see https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
551
- * @see https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
552
546
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
547
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
548
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
549
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
550
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
551
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
552
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
553
553
  * @param {string} symbol unified symbol of the market to fetch the order book for
554
554
  * @param {int} [limit] the maximum amount of order book entries to return
555
555
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -598,13 +598,13 @@ class binance extends binance$1 {
598
598
  /**
599
599
  * @method
600
600
  * @name binance#watchOrderBookForSymbols
601
- * @see https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
602
- * @see https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
603
- * @see https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
604
- * @see https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
605
- * @see https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
606
- * @see https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
607
601
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
602
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
603
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
604
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
605
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
606
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
607
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
608
608
  * @param {string[]} symbols unified array of symbols
609
609
  * @param {int} [limit] the maximum amount of order book entries to return
610
610
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -661,13 +661,13 @@ class binance extends binance$1 {
661
661
  /**
662
662
  * @method
663
663
  * @name binance#unWatchOrderBookForSymbols
664
- * @see https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
665
- * @see https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
666
- * @see https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
667
- * @see https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
668
- * @see https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
669
- * @see https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
670
664
  * @description unWatches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
665
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
666
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
667
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
668
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
669
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
670
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
671
671
  * @param {string[]} symbols unified array of symbols
672
672
  * @param {object} [params] extra parameters specific to the exchange API endpoint
673
673
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
@@ -719,13 +719,13 @@ class binance extends binance$1 {
719
719
  /**
720
720
  * @method
721
721
  * @name binance#unWatchOrderBook
722
- * @see https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
723
- * @see https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
724
- * @see https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
725
- * @see https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
726
- * @see https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
727
- * @see https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
728
722
  * @description unWatches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
723
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
724
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
725
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
726
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
727
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
728
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
729
729
  * @param {string} symbol unified array of symbols
730
730
  * @param {object} [params] extra parameters specific to the exchange API endpoint
731
731
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
@@ -737,7 +737,7 @@ class binance extends binance$1 {
737
737
  * @method
738
738
  * @name binance#fetchOrderBookWs
739
739
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
740
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#order-book
740
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#order-book
741
741
  * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Order-Book
742
742
  * @param {string} symbol unified symbol of the market to fetch the order book for
743
743
  * @param {int} [limit] the maximum amount of order book entries to return
@@ -1040,10 +1040,10 @@ class binance extends binance$1 {
1040
1040
  * @method
1041
1041
  * @name binance#watchTradesForSymbols
1042
1042
  * @description get the list of most recent trades for a list of symbols
1043
- * @see https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1044
- * @see https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1045
- * @see https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1046
- * @see https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1043
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
1044
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
1045
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1046
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1047
1047
  * @param {string[]} symbols unified symbol of the market to fetch trades for
1048
1048
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1049
1049
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -1103,10 +1103,10 @@ class binance extends binance$1 {
1103
1103
  * @method
1104
1104
  * @name binance#unWatchTradesForSymbols
1105
1105
  * @description unsubscribes from the trades channel
1106
- * @see https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1107
- * @see https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1108
- * @see https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1109
- * @see https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1106
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
1107
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
1108
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1109
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1110
1110
  * @param {string[]} symbols unified symbol of the market to fetch trades for
1111
1111
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1112
1112
  * @param {string} [params.name] the name of the method to call, 'trade' or 'aggTrade', default is 'trade'
@@ -1165,10 +1165,10 @@ class binance extends binance$1 {
1165
1165
  * @method
1166
1166
  * @name binance#unWatchTrades
1167
1167
  * @description unsubscribes from the trades channel
1168
- * @see https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1169
- * @see https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1170
- * @see https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1171
- * @see https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1168
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
1169
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
1170
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1171
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1172
1172
  * @param {string} symbol unified symbol of the market to fetch trades for
1173
1173
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1174
1174
  * @param {string} [params.name] the name of the method to call, 'trade' or 'aggTrade', default is 'trade'
@@ -1182,10 +1182,10 @@ class binance extends binance$1 {
1182
1182
  * @method
1183
1183
  * @name binance#watchTrades
1184
1184
  * @description get the list of most recent trades for a particular symbol
1185
- * @see https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1186
- * @see https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1187
- * @see https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1188
- * @see https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1185
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
1186
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
1187
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1188
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
1189
1189
  * @param {string} symbol unified symbol of the market to fetch trades for
1190
1190
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1191
1191
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -1382,9 +1382,9 @@ class binance extends binance$1 {
1382
1382
  * @method
1383
1383
  * @name binance#watchOHLCV
1384
1384
  * @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1385
- * @see https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1386
- * @see https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1387
- * @see https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1385
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
1386
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1387
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1388
1388
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
1389
1389
  * @param {string} timeframe the length of time each candle represents
1390
1390
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -1405,9 +1405,9 @@ class binance extends binance$1 {
1405
1405
  * @method
1406
1406
  * @name binance#watchOHLCVForSymbols
1407
1407
  * @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1408
- * @see https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1409
- * @see https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1410
- * @see https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1408
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
1409
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1410
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1411
1411
  * @param {string[][]} symbolsAndTimeframes array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
1412
1412
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1413
1413
  * @param {int} [limit] the maximum amount of candles to fetch
@@ -1471,9 +1471,9 @@ class binance extends binance$1 {
1471
1471
  * @method
1472
1472
  * @name binance#unWatchOHLCVForSymbols
1473
1473
  * @description unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1474
- * @see https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1475
- * @see https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1476
- * @see https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1474
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
1475
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1476
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1477
1477
  * @param {string[][]} symbolsAndTimeframes array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
1478
1478
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1479
1479
  * @param {object} [params.timezone] if provided, kline intervals are interpreted in that timezone instead of UTC, example '+08:00'
@@ -1538,9 +1538,9 @@ class binance extends binance$1 {
1538
1538
  * @method
1539
1539
  * @name binance#unWatchOHLCV
1540
1540
  * @description unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1541
- * @see https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1542
- * @see https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1543
- * @see https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1541
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
1542
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1543
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
1544
1544
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
1545
1545
  * @param {string} timeframe the length of time each candle represents
1546
1546
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1663,7 +1663,7 @@ class binance extends binance$1 {
1663
1663
  * @method
1664
1664
  * @name binance#fetchOHLCVWs
1665
1665
  * @description query historical candlestick data containing the open, high, low, and close price, and the volume of a market
1666
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#klines
1666
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
1667
1667
  * @param {string} symbol unified symbol of the market to query OHLCV data for
1668
1668
  * @param {string} timeframe the length of time each candle represents
1669
1669
  * @param {int} since timestamp in ms of the earliest candle to fetch
@@ -1754,13 +1754,13 @@ class binance extends binance$1 {
1754
1754
  /**
1755
1755
  * @method
1756
1756
  * @name binance#watchTicker
1757
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1758
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1759
- * @see https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1760
- * @see https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1761
- * @see https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1762
- * @see https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1763
1757
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1758
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
1759
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
1760
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1761
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1762
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1763
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1764
1764
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1765
1765
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1766
1766
  * @param {string} [params.name] stream to use can be ticker or miniTicker
@@ -1775,8 +1775,8 @@ class binance extends binance$1 {
1775
1775
  /**
1776
1776
  * @method
1777
1777
  * @name binance#watchMarkPrice
1778
- * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream
1779
1778
  * @description watches a mark price for a specific market
1779
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream
1780
1780
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1781
1781
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1782
1782
  * @param {boolean} [params.use1sFreq] *default is true* if set to true, the mark price will be updated every second, otherwise every 3 seconds
@@ -1791,8 +1791,8 @@ class binance extends binance$1 {
1791
1791
  /**
1792
1792
  * @method
1793
1793
  * @name binance#watchMarkPrices
1794
- * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream-for-All-market
1795
1794
  * @description watches the mark price for all markets
1795
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream-for-All-market
1796
1796
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
1797
1797
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1798
1798
  * @param {boolean} [params.use1sFreq] *default is true* if set to true, the mark price will be updated every second, otherwise every 3 seconds
@@ -1813,13 +1813,13 @@ class binance extends binance$1 {
1813
1813
  /**
1814
1814
  * @method
1815
1815
  * @name binance#watchTickers
1816
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1817
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1818
- * @see https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1819
- * @see https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1820
- * @see https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1821
- * @see https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1822
1816
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
1817
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
1818
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
1819
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1820
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1821
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1822
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1823
1823
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
1824
1824
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1825
1825
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -1839,13 +1839,13 @@ class binance extends binance$1 {
1839
1839
  /**
1840
1840
  * @method
1841
1841
  * @name binance#unWatchTickers
1842
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1843
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1844
- * @see https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1845
- * @see https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1846
- * @see https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1847
- * @see https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1848
1842
  * @description unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
1843
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
1844
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
1845
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1846
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1847
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1848
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1849
1849
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
1850
1850
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1851
1851
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -1928,13 +1928,13 @@ class binance extends binance$1 {
1928
1928
  /**
1929
1929
  * @method
1930
1930
  * @name binance#unWatchTicker
1931
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1932
- * @see https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1933
- * @see https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1934
- * @see https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1935
- * @see https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1936
- * @see https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1937
1931
  * @description unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
1932
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
1933
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
1934
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1935
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1936
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
1937
+ * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
1938
1938
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1939
1939
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1940
1940
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -1946,9 +1946,9 @@ class binance extends binance$1 {
1946
1946
  * @method
1947
1947
  * @name binance#watchBidsAsks
1948
1948
  * @description watches best bid & ask for symbols
1949
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#symbol-order-book-ticker
1950
- * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
1949
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#symbol-order-book-ticker
1951
1950
  * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
1951
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
1952
1952
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
1953
1953
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1954
1954
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -2505,7 +2505,7 @@ class binance extends binance$1 {
2505
2505
  * @name binance#fetchBalanceWs
2506
2506
  * @description fetch balance and get the amount of funds available for trading or funds locked in orders
2507
2507
  * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance
2508
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-information-user_data
2508
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-information-user_data
2509
2509
  * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/account/websocket-api
2510
2510
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2511
2511
  * @param {string|undefined} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
@@ -2612,8 +2612,8 @@ class binance extends binance$1 {
2612
2612
  /**
2613
2613
  * @method
2614
2614
  * @name binance#fetchPositionWs
2615
- * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information
2616
2615
  * @description fetch data on an open position
2616
+ * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information
2617
2617
  * @param {string} symbol unified market symbol of the market the position is held in
2618
2618
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2619
2619
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
@@ -2875,7 +2875,7 @@ class binance extends binance$1 {
2875
2875
  * @method
2876
2876
  * @name binance#createOrderWs
2877
2877
  * @description create a trade order
2878
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#place-new-order-trade
2878
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#place-new-order-trade
2879
2879
  * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/New-Order
2880
2880
  * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api
2881
2881
  * @param {string} symbol unified symbol of the market to create an order in
@@ -3024,7 +3024,7 @@ class binance extends binance$1 {
3024
3024
  * @method
3025
3025
  * @name binance#editOrderWs
3026
3026
  * @description edit a trade order
3027
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-and-replace-order-trade
3027
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-and-replace-order-trade
3028
3028
  * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Modify-Order
3029
3029
  * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api/Modify-Order
3030
3030
  * @param {string} id order id
@@ -3182,7 +3182,7 @@ class binance extends binance$1 {
3182
3182
  * @method
3183
3183
  * @name binance#cancelOrderWs
3184
3184
  * @description cancel multiple orders
3185
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-order-trade
3185
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-order-trade
3186
3186
  * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Cancel-Order
3187
3187
  * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api/Cancel-Order
3188
3188
  * @param {string} id order id
@@ -3229,7 +3229,7 @@ class binance extends binance$1 {
3229
3229
  * @method
3230
3230
  * @name binance#cancelAllOrdersWs
3231
3231
  * @description cancel all open orders in a market
3232
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-open-orders-trade
3232
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-open-orders-trade
3233
3233
  * @param {string} [symbol] unified market symbol of the market to cancel orders in
3234
3234
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3235
3235
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -3264,7 +3264,7 @@ class binance extends binance$1 {
3264
3264
  * @method
3265
3265
  * @name binance#fetchOrderWs
3266
3266
  * @description fetches information on an order made by the user
3267
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-user_data
3267
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#query-order-user_data
3268
3268
  * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Query-Order
3269
3269
  * @see https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api/Query-Order
3270
3270
  * @param {string} id order id
@@ -3312,7 +3312,7 @@ class binance extends binance$1 {
3312
3312
  * @method
3313
3313
  * @name binance#fetchOrdersWs
3314
3314
  * @description fetches information on multiple orders made by the user
3315
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-list-user_data
3315
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#order-lists
3316
3316
  * @param {string} symbol unified market symbol of the market orders were made in
3317
3317
  * @param {int|undefined} [since] the earliest time in ms to fetch orders for
3318
3318
  * @param {int|undefined} [limit] the maximum number of order structures to retrieve
@@ -3357,7 +3357,7 @@ class binance extends binance$1 {
3357
3357
  * @method
3358
3358
  * @name binance#fetchClosedOrdersWs
3359
3359
  * @description fetch closed orders
3360
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-list-user_data
3360
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#order-lists
3361
3361
  * @param {string} symbol unified market symbol
3362
3362
  * @param {int} [since] the earliest time in ms to fetch open orders for
3363
3363
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -3379,7 +3379,7 @@ class binance extends binance$1 {
3379
3379
  * @method
3380
3380
  * @name binance#fetchOpenOrdersWs
3381
3381
  * @description fetch all unfilled currently open orders
3382
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#current-open-orders-user_data
3382
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#current-open-orders-user_data
3383
3383
  * @param {string} symbol unified market symbol
3384
3384
  * @param {int|undefined} [since] the earliest time in ms to fetch open orders for
3385
3385
  * @param {int|undefined} [limit] the maximum number of open orders structures to retrieve
@@ -3942,7 +3942,7 @@ class binance extends binance$1 {
3942
3942
  * @method
3943
3943
  * @name binance#fetchMyTradesWs
3944
3944
  * @description fetch all trades made by the user
3945
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-trade-history-user_data
3945
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-trade-history-user_data
3946
3946
  * @param {string} symbol unified market symbol
3947
3947
  * @param {int|undefined} [since] the earliest time in ms to fetch trades for
3948
3948
  * @param {int|undefined} [limit] the maximum number of trades structures to retrieve
@@ -3995,7 +3995,7 @@ class binance extends binance$1 {
3995
3995
  * @method
3996
3996
  * @name binance#fetchTradesWs
3997
3997
  * @description fetch all trades made by the user
3998
- * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#recent-trades
3998
+ * @see https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
3999
3999
  * @param {string} symbol unified market symbol
4000
4000
  * @param {int} [since] the earliest time in ms to fetch trades for
4001
4001
  * @param {int} [limit] the maximum number of trades structures to retrieve, default=500, max=1000
@@ -680,60 +680,67 @@ class bingx extends bingx$1 {
680
680
  //
681
681
  // spot
682
682
  //
683
- // {
684
- // "code": 0,
685
- // "dataType": "BTC-USDT@depth20",
686
- // "data": {
687
- // "bids": [
688
- // [ '28852.9', "34.2621" ],
689
- // ...
690
- // ],
691
- // "asks": [
692
- // [ '28864.9', "23.4079" ],
693
- // ...
694
- // ]
695
- // },
696
- // "dataType": "BTC-USDT@depth20",
697
- // "success": true
698
- // }
683
+ // {
684
+ // "code":0,
685
+ // "data":
686
+ // {
687
+ // "asks":[
688
+ // ["84119.73","0.000011"],
689
+ // ["84116.52","0.000014"],
690
+ // ["84116.40","0.000039"]
691
+ // ],
692
+ // "bids":[
693
+ // ["83656.98","2.570805"],
694
+ // ["83655.51","0.000347"],
695
+ // ["83654.59","0.000082"]
696
+ // ],
697
+ // "lastUpdateId":13565694850
698
+ // },
699
+ // "dataType":"BTC-USDT@depth100",
700
+ // "success":true,
701
+ // "timestamp":1743241379958
702
+ // }
699
703
  //
700
704
  // linear swap
701
705
  //
702
- // {
703
- // "code": 0,
704
- // "dataType": "BTC-USDT@depth20@100ms", //or "all@depth20@100ms"
705
- // "data": {
706
- // "bids": [
707
- // [ '28852.9', "34.2621" ],
708
- // ...
709
- // ],
710
- // "asks": [
711
- // [ '28864.9', "23.4079" ],
712
- // ...
713
- // ],
714
- // "symbol": "BTC-USDT", // this key exists only in "all" subscription
715
- // }
716
- // }
706
+ // {
707
+ // "code":0,
708
+ // "dataType":"BTC-USDT@depth100@500ms",
709
+ // "ts":1743241563651,
710
+ // "data":
711
+ // {
712
+ // "bids":[
713
+ // ["83363.2","0.1908"],
714
+ // ["83360.0","0.0003"],
715
+ // ["83356.5","0.0245"],
716
+ // ],
717
+ // "asks":[
718
+ // ["83495.0","0.0024"],
719
+ // ["83490.0","0.0001"],
720
+ // ["83488.0","0.0004"],
721
+ // ]
722
+ // }
723
+ // }
717
724
  //
718
725
  // inverse swap
719
726
  //
720
727
  // {
721
- // "code": 0,
722
- // "dataType": "BTC-USD@depth100",
723
- // "data": {
724
- // {
725
- // "symbol": "BTC-USD",
726
- // "bids": [
727
- // { "p": "58074.2", "a": "1.422318", "v": "826.0" },
728
- // ...
729
- // ],
730
- // "asks": [
731
- // { "p": "62878.0", "a": "0.001590", "v": "1.0" },
732
- // ...
733
- // ],
734
- // "aggPrecision": "0.1",
735
- // "timestamp": 1723705093529
736
- // }
728
+ // "code":0,
729
+ // "dataType":"BTC-USD@depth100",
730
+ // "data":{
731
+ // "symbol":"BTC-USD",
732
+ // "bids":[
733
+ // {"p":"83411.2","a":"2.979216","v":"2485.0"},
734
+ // {"p":"83411.1","a":"1.592114","v":"1328.0"},
735
+ // {"p":"83410.8","a":"2.656730","v":"2216.0"},
736
+ // ],
737
+ // "asks":[
738
+ // {"p":"88200.0","a":"0.344671","v":"304.0"},
739
+ // {"p":"88023.8","a":"0.045442","v":"40.0"},
740
+ // {"p":"88001.0","a":"0.003409","v":"3.0"},
741
+ // ],
742
+ // "aggPrecision":"0.1",
743
+ // "timestamp":1743242290710
737
744
  // }
738
745
  // }
739
746
  //
@@ -747,23 +754,27 @@ class bingx extends bingx$1 {
747
754
  const marketType = isSwap ? 'swap' : 'spot';
748
755
  const market = this.safeMarket(marketId, undefined, undefined, marketType);
749
756
  const symbol = market['symbol'];
750
- if (this.safeValue(this.orderbooks, symbol) === undefined) {
757
+ let orderbook = this.safeValue(this.orderbooks, symbol);
758
+ if (orderbook === undefined) {
751
759
  // const limit = [ 5, 10, 20, 50, 100 ]
752
760
  const subscriptionHash = dataType;
753
761
  const subscription = client.subscriptions[subscriptionHash];
754
762
  const limit = this.safeInteger(subscription, 'limit');
755
763
  this.orderbooks[symbol] = this.orderBook({}, limit);
756
764
  }
757
- const orderbook = this.orderbooks[symbol];
765
+ orderbook = this.orderbooks[symbol];
758
766
  let snapshot = undefined;
767
+ let timestamp = this.safeInteger2(message, 'timestamp', 'ts');
768
+ timestamp = this.safeInteger2(data, 'timestamp', 'ts', timestamp);
759
769
  if (market['inverse']) {
760
- snapshot = this.parseOrderBook(data, symbol, undefined, 'bids', 'asks', 'p', 'a');
770
+ snapshot = this.parseOrderBook(data, symbol, timestamp, 'bids', 'asks', 'p', 'a');
761
771
  }
762
772
  else {
763
- snapshot = this.parseOrderBook(data, symbol, undefined, 'bids', 'asks', 0, 1);
773
+ snapshot = this.parseOrderBook(data, symbol, timestamp, 'bids', 'asks', 0, 1);
764
774
  }
775
+ const nonce = this.safeInteger(data, 'lastUpdateId');
776
+ snapshot['nonce'] = nonce;
765
777
  orderbook.reset(snapshot);
766
- this.orderbooks[symbol] = orderbook;
767
778
  const messageHash = this.getMessageHash('orderbook', symbol);
768
779
  client.resolve(orderbook, messageHash);
769
780
  // resolve for "all"
@@ -4,7 +4,7 @@ var poloniexfutures$1 = require('../poloniexfutures.js');
4
4
  var errors = require('../base/errors.js');
5
5
  var Cache = require('../base/ws/Cache.js');
6
6
 
7
- // ---------------------------------------------------------------------------
7
+ // ----------------------------------------------------------------------------
8
8
  // ---------------------------------------------------------------------------
9
9
  class poloniexfutures extends poloniexfutures$1 {
10
10
  describe() {