ccxt 4.1.64 → 4.1.66

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 (293) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +2790 -2607
  3. package/dist/ccxt.browser.min.js +2 -2
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +13 -13
  6. package/dist/cjs/src/alpaca.js +10 -10
  7. package/dist/cjs/src/ascendex.js +33 -33
  8. package/dist/cjs/src/base/Exchange.js +232 -80
  9. package/dist/cjs/src/bigone.js +23 -23
  10. package/dist/cjs/src/binance.js +68 -68
  11. package/dist/cjs/src/binanceus.js +1 -0
  12. package/dist/cjs/src/bingx.js +33 -33
  13. package/dist/cjs/src/bit2c.js +11 -11
  14. package/dist/cjs/src/bitbank.js +14 -14
  15. package/dist/cjs/src/bitbns.js +15 -15
  16. package/dist/cjs/src/bitfinex.js +24 -24
  17. package/dist/cjs/src/bitfinex2.js +30 -30
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitforex.js +12 -12
  20. package/dist/cjs/src/bitget.js +50 -50
  21. package/dist/cjs/src/bithumb.js +13 -13
  22. package/dist/cjs/src/bitmart.js +74 -59
  23. package/dist/cjs/src/bitmex.js +29 -28
  24. package/dist/cjs/src/bitopro.js +23 -23
  25. package/dist/cjs/src/bitpanda.js +25 -25
  26. package/dist/cjs/src/bitrue.js +26 -26
  27. package/dist/cjs/src/bitso.js +22 -22
  28. package/dist/cjs/src/bitstamp.js +24 -24
  29. package/dist/cjs/src/bittrex.js +31 -31
  30. package/dist/cjs/src/bitvavo.js +23 -23
  31. package/dist/cjs/src/bl3p.js +7 -7
  32. package/dist/cjs/src/blockchaincom.js +23 -23
  33. package/dist/cjs/src/btcalpha.js +17 -17
  34. package/dist/cjs/src/btcbox.js +9 -9
  35. package/dist/cjs/src/btcmarkets.js +19 -19
  36. package/dist/cjs/src/btcturk.js +13 -13
  37. package/dist/cjs/src/bybit.js +71 -67
  38. package/dist/cjs/src/cex.js +17 -17
  39. package/dist/cjs/src/coinbase.js +28 -28
  40. package/dist/cjs/src/coinbasepro.js +27 -27
  41. package/dist/cjs/src/coincheck.js +11 -11
  42. package/dist/cjs/src/coinex.js +42 -42
  43. package/dist/cjs/src/coinlist.js +29 -29
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinone.js +13 -13
  46. package/dist/cjs/src/coinsph.js +25 -25
  47. package/dist/cjs/src/coinspot.js +9 -9
  48. package/dist/cjs/src/cryptocom.js +33 -32
  49. package/dist/cjs/src/currencycom.js +24 -24
  50. package/dist/cjs/src/delta.js +29 -29
  51. package/dist/cjs/src/deribit.js +35 -35
  52. package/dist/cjs/src/digifinex.js +43 -43
  53. package/dist/cjs/src/exmo.js +30 -30
  54. package/dist/cjs/src/gate.js +46 -39
  55. package/dist/cjs/src/gemini.js +18 -18
  56. package/dist/cjs/src/hitbtc.js +40 -40
  57. package/dist/cjs/src/hollaex.js +26 -26
  58. package/dist/cjs/src/htx.js +48 -48
  59. package/dist/cjs/src/huobijp.js +24 -24
  60. package/dist/cjs/src/idex.js +23 -23
  61. package/dist/cjs/src/independentreserve.js +12 -12
  62. package/dist/cjs/src/indodax.js +16 -16
  63. package/dist/cjs/src/kraken.js +28 -28
  64. package/dist/cjs/src/krakenfutures.js +9 -9
  65. package/dist/cjs/src/kucoin.js +39 -39
  66. package/dist/cjs/src/kucoinfutures.js +24 -24
  67. package/dist/cjs/src/kuna.js +25 -25
  68. package/dist/cjs/src/latoken.js +20 -20
  69. package/dist/cjs/src/lbank.js +24 -24
  70. package/dist/cjs/src/luno.js +17 -17
  71. package/dist/cjs/src/lykke.js +18 -18
  72. package/dist/cjs/src/mercado.js +13 -13
  73. package/dist/cjs/src/mexc.js +47 -45
  74. package/dist/cjs/src/ndax.js +23 -23
  75. package/dist/cjs/src/novadax.js +23 -23
  76. package/dist/cjs/src/oceanex.js +19 -19
  77. package/dist/cjs/src/okcoin.js +25 -25
  78. package/dist/cjs/src/okx.js +53 -53
  79. package/dist/cjs/src/p2b.js +14 -14
  80. package/dist/cjs/src/paymium.js +10 -10
  81. package/dist/cjs/src/phemex.js +32 -32
  82. package/dist/cjs/src/poloniex.js +27 -27
  83. package/dist/cjs/src/poloniexfutures.js +21 -21
  84. package/dist/cjs/src/pro/alpaca.js +6 -6
  85. package/dist/cjs/src/pro/ascendex.js +5 -5
  86. package/dist/cjs/src/pro/binance.js +21 -21
  87. package/dist/cjs/src/pro/bingx.js +6 -6
  88. package/dist/cjs/src/pro/bitfinex.js +4 -4
  89. package/dist/cjs/src/pro/bitfinex2.js +7 -7
  90. package/dist/cjs/src/pro/bitget.js +12 -12
  91. package/dist/cjs/src/pro/bitmart.js +5 -5
  92. package/dist/cjs/src/pro/bitmex.js +8 -8
  93. package/dist/cjs/src/pro/bitopro.js +4 -4
  94. package/dist/cjs/src/pro/bitpanda.js +7 -7
  95. package/dist/cjs/src/pro/bitrue.js +2 -2
  96. package/dist/cjs/src/pro/bitstamp.js +3 -3
  97. package/dist/cjs/src/pro/bittrex.js +7 -7
  98. package/dist/cjs/src/pro/bitvavo.js +6 -6
  99. package/dist/cjs/src/pro/blockchaincom.js +6 -6
  100. package/dist/cjs/src/pro/bybit.js +12 -12
  101. package/dist/cjs/src/pro/cex.js +9 -9
  102. package/dist/cjs/src/pro/coinbase.js +6 -6
  103. package/dist/cjs/src/pro/coinbasepro.js +10 -10
  104. package/dist/cjs/src/pro/coinex.js +7 -7
  105. package/dist/cjs/src/pro/cryptocom.js +13 -13
  106. package/dist/cjs/src/pro/currencycom.js +5 -5
  107. package/dist/cjs/src/pro/deribit.js +7 -7
  108. package/dist/cjs/src/pro/exmo.js +5 -5
  109. package/dist/cjs/src/pro/gate.js +10 -10
  110. package/dist/cjs/src/pro/gemini.js +4 -4
  111. package/dist/cjs/src/pro/hitbtc.js +11 -11
  112. package/dist/cjs/src/pro/hollaex.js +5 -5
  113. package/dist/cjs/src/pro/htx.js +8 -8
  114. package/dist/cjs/src/pro/huobijp.js +4 -4
  115. package/dist/cjs/src/pro/idex.js +5 -5
  116. package/dist/cjs/src/pro/independentreserve.js +2 -2
  117. package/dist/cjs/src/pro/kraken.js +11 -11
  118. package/dist/cjs/src/pro/krakenfutures.js +8 -8
  119. package/dist/cjs/src/pro/kucoin.js +10 -10
  120. package/dist/cjs/src/pro/kucoinfutures.js +8 -8
  121. package/dist/cjs/src/pro/luno.js +4 -4
  122. package/dist/cjs/src/pro/mexc.js +7 -7
  123. package/dist/cjs/src/pro/ndax.js +4 -4
  124. package/dist/cjs/src/pro/okcoin.js +6 -6
  125. package/dist/cjs/src/pro/okx.js +16 -16
  126. package/dist/cjs/src/pro/phemex.js +7 -7
  127. package/dist/cjs/src/pro/poloniex.js +7 -7
  128. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  129. package/dist/cjs/src/pro/probit.js +6 -6
  130. package/dist/cjs/src/pro/upbit.js +3 -3
  131. package/dist/cjs/src/pro/wazirx.js +7 -7
  132. package/dist/cjs/src/pro/whitebit.js +7 -7
  133. package/dist/cjs/src/pro/woo.js +1 -1
  134. package/dist/cjs/src/probit.js +24 -24
  135. package/dist/cjs/src/tidex.js +15 -15
  136. package/dist/cjs/src/timex.js +19 -19
  137. package/dist/cjs/src/tokocrypto.js +21 -21
  138. package/dist/cjs/src/upbit.js +22 -22
  139. package/dist/cjs/src/wavesexchange.js +19 -19
  140. package/dist/cjs/src/wazirx.js +15 -15
  141. package/dist/cjs/src/whitebit.js +29 -29
  142. package/dist/cjs/src/woo.js +26 -26
  143. package/dist/cjs/src/yobit.js +17 -17
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +16 -16
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/mexc.d.ts +2 -0
  149. package/js/src/ace.js +13 -13
  150. package/js/src/alpaca.js +10 -10
  151. package/js/src/ascendex.js +33 -33
  152. package/js/src/base/Exchange.d.ts +20 -1
  153. package/js/src/base/Exchange.js +232 -80
  154. package/js/src/bigone.js +23 -23
  155. package/js/src/binance.js +68 -68
  156. package/js/src/binanceus.js +1 -0
  157. package/js/src/bingx.js +33 -33
  158. package/js/src/bit2c.js +11 -11
  159. package/js/src/bitbank.js +14 -14
  160. package/js/src/bitbns.js +15 -15
  161. package/js/src/bitfinex.js +24 -24
  162. package/js/src/bitfinex2.js +30 -30
  163. package/js/src/bitflyer.js +17 -17
  164. package/js/src/bitforex.js +12 -12
  165. package/js/src/bitget.js +50 -50
  166. package/js/src/bithumb.js +13 -13
  167. package/js/src/bitmart.js +74 -59
  168. package/js/src/bitmex.js +29 -28
  169. package/js/src/bitopro.js +23 -23
  170. package/js/src/bitpanda.js +25 -25
  171. package/js/src/bitrue.js +26 -26
  172. package/js/src/bitso.js +22 -22
  173. package/js/src/bitstamp.js +24 -24
  174. package/js/src/bittrex.js +31 -31
  175. package/js/src/bitvavo.js +23 -23
  176. package/js/src/bl3p.js +7 -7
  177. package/js/src/blockchaincom.js +23 -23
  178. package/js/src/btcalpha.js +17 -17
  179. package/js/src/btcbox.js +9 -9
  180. package/js/src/btcmarkets.js +19 -19
  181. package/js/src/btcturk.js +13 -13
  182. package/js/src/bybit.js +71 -67
  183. package/js/src/cex.js +17 -17
  184. package/js/src/coinbase.js +28 -28
  185. package/js/src/coinbasepro.js +27 -27
  186. package/js/src/coincheck.js +11 -11
  187. package/js/src/coinex.js +42 -42
  188. package/js/src/coinlist.js +29 -29
  189. package/js/src/coinmate.js +14 -14
  190. package/js/src/coinone.js +13 -13
  191. package/js/src/coinsph.js +25 -25
  192. package/js/src/coinspot.js +9 -9
  193. package/js/src/cryptocom.js +33 -32
  194. package/js/src/currencycom.js +24 -24
  195. package/js/src/delta.js +29 -29
  196. package/js/src/deribit.js +35 -35
  197. package/js/src/digifinex.js +43 -43
  198. package/js/src/exmo.js +30 -30
  199. package/js/src/gate.js +46 -39
  200. package/js/src/gemini.js +18 -18
  201. package/js/src/hitbtc.js +40 -40
  202. package/js/src/hollaex.js +26 -26
  203. package/js/src/htx.js +48 -48
  204. package/js/src/huobijp.js +24 -24
  205. package/js/src/idex.js +23 -23
  206. package/js/src/independentreserve.js +12 -12
  207. package/js/src/indodax.js +16 -16
  208. package/js/src/kraken.js +28 -28
  209. package/js/src/krakenfutures.js +9 -9
  210. package/js/src/kucoin.js +39 -39
  211. package/js/src/kucoinfutures.js +24 -24
  212. package/js/src/kuna.js +25 -25
  213. package/js/src/latoken.js +20 -20
  214. package/js/src/lbank.js +24 -24
  215. package/js/src/luno.js +17 -17
  216. package/js/src/lykke.js +18 -18
  217. package/js/src/mercado.js +13 -13
  218. package/js/src/mexc.js +47 -45
  219. package/js/src/ndax.js +23 -23
  220. package/js/src/novadax.js +23 -23
  221. package/js/src/oceanex.js +19 -19
  222. package/js/src/okcoin.js +25 -25
  223. package/js/src/okx.js +53 -53
  224. package/js/src/p2b.js +14 -14
  225. package/js/src/paymium.js +10 -10
  226. package/js/src/phemex.js +32 -32
  227. package/js/src/poloniex.js +27 -27
  228. package/js/src/poloniexfutures.js +21 -21
  229. package/js/src/pro/alpaca.js +6 -6
  230. package/js/src/pro/ascendex.js +5 -5
  231. package/js/src/pro/binance.js +21 -21
  232. package/js/src/pro/bingx.js +6 -6
  233. package/js/src/pro/bitfinex.js +4 -4
  234. package/js/src/pro/bitfinex2.js +7 -7
  235. package/js/src/pro/bitget.js +12 -12
  236. package/js/src/pro/bitmart.js +5 -5
  237. package/js/src/pro/bitmex.js +8 -8
  238. package/js/src/pro/bitopro.js +4 -4
  239. package/js/src/pro/bitpanda.js +7 -7
  240. package/js/src/pro/bitrue.js +2 -2
  241. package/js/src/pro/bitstamp.js +3 -3
  242. package/js/src/pro/bittrex.js +7 -7
  243. package/js/src/pro/bitvavo.js +6 -6
  244. package/js/src/pro/blockchaincom.js +6 -6
  245. package/js/src/pro/bybit.js +12 -12
  246. package/js/src/pro/cex.js +9 -9
  247. package/js/src/pro/coinbase.js +6 -6
  248. package/js/src/pro/coinbasepro.js +10 -10
  249. package/js/src/pro/coinex.js +7 -7
  250. package/js/src/pro/cryptocom.js +13 -13
  251. package/js/src/pro/currencycom.js +5 -5
  252. package/js/src/pro/deribit.js +7 -7
  253. package/js/src/pro/exmo.js +5 -5
  254. package/js/src/pro/gate.js +10 -10
  255. package/js/src/pro/gemini.js +4 -4
  256. package/js/src/pro/hitbtc.js +11 -11
  257. package/js/src/pro/hollaex.js +5 -5
  258. package/js/src/pro/htx.js +8 -8
  259. package/js/src/pro/huobijp.js +4 -4
  260. package/js/src/pro/idex.js +5 -5
  261. package/js/src/pro/independentreserve.js +2 -2
  262. package/js/src/pro/kraken.js +11 -11
  263. package/js/src/pro/krakenfutures.js +8 -8
  264. package/js/src/pro/kucoin.js +10 -10
  265. package/js/src/pro/kucoinfutures.js +8 -8
  266. package/js/src/pro/luno.js +4 -4
  267. package/js/src/pro/mexc.js +7 -7
  268. package/js/src/pro/ndax.js +4 -4
  269. package/js/src/pro/okcoin.js +6 -6
  270. package/js/src/pro/okx.js +16 -16
  271. package/js/src/pro/phemex.js +7 -7
  272. package/js/src/pro/poloniex.js +7 -7
  273. package/js/src/pro/poloniexfutures.js +5 -5
  274. package/js/src/pro/probit.js +6 -6
  275. package/js/src/pro/upbit.js +3 -3
  276. package/js/src/pro/wazirx.js +7 -7
  277. package/js/src/pro/whitebit.js +7 -7
  278. package/js/src/pro/woo.js +1 -1
  279. package/js/src/probit.js +24 -24
  280. package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
  281. package/js/src/tidex.js +15 -15
  282. package/js/src/timex.js +19 -19
  283. package/js/src/tokocrypto.js +21 -21
  284. package/js/src/upbit.js +22 -22
  285. package/js/src/wavesexchange.js +19 -19
  286. package/js/src/wazirx.js +15 -15
  287. package/js/src/whitebit.js +29 -29
  288. package/js/src/woo.js +26 -26
  289. package/js/src/yobit.js +17 -17
  290. package/js/src/zaif.js +10 -10
  291. package/js/src/zonda.js +16 -16
  292. package/package.json +1 -1
  293. package/skip-tests.json +14 -7
@@ -177,7 +177,7 @@ class bybit extends bybit$1 {
177
177
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
178
178
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
179
179
  * @param {string} symbol unified symbol of the market to fetch the ticker for
180
- * @param {object} [params] extra parameters specific to the bybit api endpoint
180
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
181
181
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
182
182
  */
183
183
  await this.loadMarkets();
@@ -203,7 +203,7 @@ class bybit extends bybit$1 {
203
203
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
204
204
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
205
205
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
206
- * @param {object} [params] extra parameters specific to the bybit api endpoint
206
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
207
207
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
208
208
  */
209
209
  await this.loadMarkets();
@@ -378,7 +378,7 @@ class bybit extends bybit$1 {
378
378
  * @param {string} timeframe the length of time each candle represents
379
379
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
380
380
  * @param {int} [limit] the maximum amount of candles to fetch
381
- * @param {object} [params] extra parameters specific to the bybit api endpoint
381
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
382
382
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
383
383
  */
384
384
  await this.loadMarkets();
@@ -406,7 +406,7 @@ class bybit extends bybit$1 {
406
406
  * @param {string[][]} symbolsAndTimeframes array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
407
407
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
408
408
  * @param {int} [limit] the maximum amount of candles to fetch
409
- * @param {object} [params] extra parameters specific to the bybit api endpoint
409
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
410
410
  * @returns {object} A list of candles ordered as timestamp, open, high, low, close, volume
411
411
  */
412
412
  await this.loadMarkets();
@@ -521,7 +521,7 @@ class bybit extends bybit$1 {
521
521
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
522
522
  * @param {string} symbol unified symbol of the market to fetch the order book for
523
523
  * @param {int} [limit] the maximum amount of order book entries to return.
524
- * @param {object} [params] extra parameters specific to the bybit api endpoint
524
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
525
525
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
526
526
  */
527
527
  await this.loadMarkets();
@@ -558,7 +558,7 @@ class bybit extends bybit$1 {
558
558
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
559
559
  * @param {string[]} symbols unified array of symbols
560
560
  * @param {int} [limit] the maximum amount of order book entries to return.
561
- * @param {object} [params] extra parameters specific to the bybit api endpoint
561
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
562
562
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
563
563
  */
564
564
  await this.loadMarkets();
@@ -675,7 +675,7 @@ class bybit extends bybit$1 {
675
675
  * @param {string} symbol unified market symbol of the market trades were made in
676
676
  * @param {int} [since] the earliest time in ms to fetch trades for
677
677
  * @param {int} [limit] the maximum number of trade structures to retrieve
678
- * @param {object} [params] extra parameters specific to the bybit api endpoint
678
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
679
679
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
680
680
  */
681
681
  await this.loadMarkets();
@@ -700,7 +700,7 @@ class bybit extends bybit$1 {
700
700
  * @param {string[]} symbols unified symbol of the market to fetch trades for
701
701
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
702
702
  * @param {int} [limit] the maximum amount of trades to fetch
703
- * @param {object} [params] extra parameters specific to the bybit api endpoint
703
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
704
704
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
705
705
  */
706
706
  await this.loadMarkets();
@@ -862,7 +862,7 @@ class bybit extends bybit$1 {
862
862
  * @param {string} symbol unified market symbol of the market orders were made in
863
863
  * @param {int} [since] the earliest time in ms to fetch orders for
864
864
  * @param {int} [limit] the maximum number of orde structures to retrieve
865
- * @param {object} [params] extra parameters specific to the bybit api endpoint
865
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
866
866
  * @param {boolean} [params.unifiedMargin] use unified margin account
867
867
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
868
868
  */
@@ -986,7 +986,7 @@ class bybit extends bybit$1 {
986
986
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/position
987
987
  * @description watch all open positions
988
988
  * @param {string[]|undefined} symbols list of unified market symbols
989
- * @param {object} params extra parameters specific to the bybit api endpoint
989
+ * @param {object} params extra parameters specific to the exchange API endpoint
990
990
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
991
991
  */
992
992
  await this.loadMarkets();
@@ -1127,7 +1127,7 @@ class bybit extends bybit$1 {
1127
1127
  * @param {string} symbol unified market symbol of the market orders were made in
1128
1128
  * @param {int} [since] the earliest time in ms to fetch orders for
1129
1129
  * @param {int} [limit] the maximum number of orde structures to retrieve
1130
- * @param {object} [params] extra parameters specific to the bybit api endpoint
1130
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1131
1131
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
1132
1132
  */
1133
1133
  await this.loadMarkets();
@@ -1410,7 +1410,7 @@ class bybit extends bybit$1 {
1410
1410
  * @name bybit#watchBalance
1411
1411
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1412
1412
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
1413
- * @param {object} [params] extra parameters specific to the bybit api endpoint
1413
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1414
1414
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1415
1415
  */
1416
1416
  await this.loadMarkets();
@@ -46,7 +46,7 @@ class cex extends cex$1 {
46
46
  * @name cex#watchBalance
47
47
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
48
48
  * @see https://cex.io/websocket-api#get-balance
49
- * @param {object} [params] extra parameters specific to the cex api endpoint
49
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
50
50
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
51
51
  */
52
52
  await this.authenticate(params);
@@ -108,7 +108,7 @@ class cex extends cex$1 {
108
108
  * @param {string} symbol unified symbol of the market to fetch trades for
109
109
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
110
110
  * @param {int} [limit] the maximum amount of trades to fetch
111
- * @param {object} [params] extra parameters specific to the cex api endpoint
111
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
112
112
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
113
113
  */
114
114
  await this.loadMarkets();
@@ -223,7 +223,7 @@ class cex extends cex$1 {
223
223
  * @see https://cex.io/websocket-api#ticker-subscription
224
224
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
225
225
  * @param {string} symbol unified symbol of the market to fetch the ticker for
226
- * @param {object} [params] extra parameters specific to the cex api endpoint
226
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
227
227
  * @param {string} [params.method] public or private
228
228
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
229
229
  */
@@ -259,9 +259,9 @@ class cex extends cex$1 {
259
259
  * @method
260
260
  * @name cex#watchTickers
261
261
  * @see https://cex.io/websocket-api#ticker-subscription
262
- * @description watches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
262
+ * @description watches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
263
263
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
264
- * @param {object} [params] extra parameters specific to the cex api endpoint
264
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
265
265
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
266
266
  */
267
267
  await this.loadMarkets();
@@ -380,7 +380,7 @@ class cex extends cex$1 {
380
380
  * @param {string} symbol unified symbol of the market to fetch trades for
381
381
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
382
382
  * @param {int} [limit] the maximum amount of trades to fetch
383
- * @param {object} [params] extra parameters specific to the cex api endpoint
383
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
384
384
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
385
385
  */
386
386
  if (symbol === undefined) {
@@ -418,7 +418,7 @@ class cex extends cex$1 {
418
418
  * @param {string} symbol unified symbol of the market to fetch trades for
419
419
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
420
420
  * @param {int} [limit] the maximum amount of trades to fetch
421
- * @param {object} [params] extra parameters specific to the cex api endpoint
421
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
422
422
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
423
423
  */
424
424
  if (symbol === undefined) {
@@ -851,7 +851,7 @@ class cex extends cex$1 {
851
851
  * @see https://cex.io/websocket-api#orderbook-subscribe
852
852
  * @param {string} symbol unified symbol of the market to fetch the order book for
853
853
  * @param {int} [limit] the maximum amount of order book entries to return
854
- * @param {object} [params] extra parameters specific to the cex api endpoint
854
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
855
855
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
856
856
  */
857
857
  await this.loadMarkets();
@@ -979,7 +979,7 @@ class cex extends cex$1 {
979
979
  * @param {string} timeframe the length of time each candle represents.
980
980
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
981
981
  * @param {int} [limit] the maximum amount of candles to fetch
982
- * @param {object} [params] extra parameters specific to the cex api endpoint
982
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
983
983
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
984
984
  */
985
985
  await this.loadMarkets();
@@ -54,7 +54,7 @@ class coinbase extends coinbase$1 {
54
54
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-overview#subscribe
55
55
  * @param {string} name the name of the channel
56
56
  * @param {string|string[]} [symbol] unified market symbol
57
- * @param {object} [params] extra parameters specific to the cex api endpoint
57
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
58
58
  * @returns {object} subscription to a websocket channel
59
59
  */
60
60
  await this.loadMarkets();
@@ -93,7 +93,7 @@ class coinbase extends coinbase$1 {
93
93
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
94
94
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
95
95
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
96
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
96
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
97
97
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
98
98
  */
99
99
  const name = 'ticker';
@@ -106,7 +106,7 @@ class coinbase extends coinbase$1 {
106
106
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
107
107
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
108
108
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
109
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
109
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
110
110
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
111
111
  */
112
112
  if (symbols === undefined) {
@@ -247,7 +247,7 @@ class coinbase extends coinbase$1 {
247
247
  * @param {string} symbol unified symbol of the market to fetch trades for
248
248
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
249
249
  * @param {int} [limit] the maximum amount of trades to fetch
250
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
250
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
251
251
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
252
252
  */
253
253
  await this.loadMarkets();
@@ -268,7 +268,7 @@ class coinbase extends coinbase$1 {
268
268
  * @param {string} [symbol] unified market symbol of the market orders were made in
269
269
  * @param {int} [since] the earliest time in ms to fetch orders for
270
270
  * @param {int} [limit] the maximum number of orde structures to retrieve
271
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
271
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
272
272
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
273
273
  */
274
274
  await this.loadMarkets();
@@ -287,7 +287,7 @@ class coinbase extends coinbase$1 {
287
287
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#level2-channel
288
288
  * @param {string} symbol unified symbol of the market to fetch the order book for
289
289
  * @param {int} [limit] the maximum amount of order book entries to return
290
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
290
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
291
291
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
292
292
  */
293
293
  await this.loadMarkets();
@@ -111,7 +111,7 @@ class coinbasepro extends coinbasepro$1 {
111
111
  * @name coinbasepro#watchTicker
112
112
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
113
113
  * @param {string} symbol unified symbol of the market to fetch the ticker for
114
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
114
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
115
115
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
116
116
  */
117
117
  const name = 'ticker';
@@ -124,7 +124,7 @@ class coinbasepro extends coinbasepro$1 {
124
124
  * @see https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
125
125
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
126
126
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
127
- * @param {object} [params] extra parameters specific to the okx api endpoint
127
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
128
128
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
129
129
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
130
130
  */
@@ -149,7 +149,7 @@ class coinbasepro extends coinbasepro$1 {
149
149
  * @param {string} symbol unified symbol of the market to fetch trades for
150
150
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
151
151
  * @param {int} [limit] the maximum amount of trades to fetch
152
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
152
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
153
153
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
154
154
  */
155
155
  await this.loadMarkets();
@@ -169,7 +169,7 @@ class coinbasepro extends coinbasepro$1 {
169
169
  * @param {string} symbol unified symbol of the market to fetch trades for
170
170
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
171
171
  * @param {int} [limit] the maximum amount of trades to fetch
172
- * @param {object} [params] extra parameters specific to the coinbase api endpoint
172
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
173
173
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
174
174
  */
175
175
  const symbolsLength = symbols.length;
@@ -196,7 +196,7 @@ class coinbasepro extends coinbasepro$1 {
196
196
  * @param {string} symbol unified market symbol of the market trades were made in
197
197
  * @param {int} [since] the earliest time in ms to fetch trades for
198
198
  * @param {int} [limit] the maximum number of trade structures to retrieve
199
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
199
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
200
200
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
201
201
  */
202
202
  if (symbol === undefined) {
@@ -221,7 +221,7 @@ class coinbasepro extends coinbasepro$1 {
221
221
  * @param {string[]} symbols unified symbol of the market to fetch trades for
222
222
  * @param {int} [since] the earliest time in ms to fetch trades for
223
223
  * @param {int} [limit] the maximum number of trade structures to retrieve
224
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
224
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
225
225
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
226
226
  */
227
227
  symbols = this.marketSymbols(symbols, undefined, false);
@@ -245,7 +245,7 @@ class coinbasepro extends coinbasepro$1 {
245
245
  * @param {string[]} symbols unified symbol of the market to fetch orders for
246
246
  * @param {int} [since] the earliest time in ms to fetch orders for
247
247
  * @param {int} [limit] the maximum number of trade structures to retrieve
248
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
248
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
249
249
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
250
250
  */
251
251
  symbols = this.marketSymbols(symbols, undefined, false);
@@ -269,7 +269,7 @@ class coinbasepro extends coinbasepro$1 {
269
269
  * @param {string} symbol unified market symbol of the market orders were made in
270
270
  * @param {int} [since] the earliest time in ms to fetch orders for
271
271
  * @param {int} [limit] the maximum number of orde structures to retrieve
272
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
272
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
273
273
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
274
274
  */
275
275
  if (symbol === undefined) {
@@ -293,7 +293,7 @@ class coinbasepro extends coinbasepro$1 {
293
293
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
294
294
  * @param {string} symbol unified symbol of the market to fetch the order book for
295
295
  * @param {int} [limit] the maximum amount of order book entries to return
296
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
296
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
297
297
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
298
298
  */
299
299
  const name = 'level2';
@@ -329,7 +329,7 @@ class coinbasepro extends coinbasepro$1 {
329
329
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
330
330
  * @param {string[]} symbols unified array of symbols
331
331
  * @param {int} [limit] the maximum amount of order book entries to return
332
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
332
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
333
333
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
334
334
  */
335
335
  const symbolsLength = symbols.length;
@@ -223,7 +223,7 @@ class coinex extends coinex$1 {
223
223
  * @method
224
224
  * @name coinex#watchBalance
225
225
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
226
- * @param {object} [params] extra parameters specific to the coinex api endpoint
226
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
227
227
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
228
228
  */
229
229
  await this.loadMarkets();
@@ -403,7 +403,7 @@ class coinex extends coinex$1 {
403
403
  * @see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
404
404
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
405
405
  * @param {string} symbol unified symbol of the market to fetch the ticker for
406
- * @param {object} [params] extra parameters specific to the coinex api endpoint
406
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
407
407
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
408
408
  */
409
409
  return await this.watchTickers([symbol], params);
@@ -415,7 +415,7 @@ class coinex extends coinex$1 {
415
415
  * @see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
416
416
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
417
417
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
418
- * @param {object} [params] extra parameters specific to the coinex api endpoint
418
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
419
419
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
420
420
  */
421
421
  await this.loadMarkets();
@@ -449,7 +449,7 @@ class coinex extends coinex$1 {
449
449
  * @param {string} symbol unified symbol of the market to fetch trades for
450
450
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
451
451
  * @param {int} [limit] the maximum amount of trades to fetch
452
- * @param {object} [params] extra parameters specific to the coinex api endpoint
452
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
453
453
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
454
454
  */
455
455
  await this.loadMarkets();
@@ -480,7 +480,7 @@ class coinex extends coinex$1 {
480
480
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
481
481
  * @param {string} symbol unified symbol of the market to fetch the order book for
482
482
  * @param {int} [limit] the maximum amount of order book entries to return
483
- * @param {object} [params] extra parameters specific to the coinex api endpoint
483
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
484
484
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
485
485
  */
486
486
  await this.loadMarkets();
@@ -529,7 +529,7 @@ class coinex extends coinex$1 {
529
529
  * @param {string} timeframe the length of time each candle represents
530
530
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
531
531
  * @param {int} [limit] the maximum amount of candles to fetch
532
- * @param {object} [params] extra parameters specific to the coinex api endpoint
532
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
533
533
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
534
534
  */
535
535
  await this.loadMarkets();
@@ -582,7 +582,7 @@ class coinex extends coinex$1 {
582
582
  * @param {string} timeframe the length of time each candle represents
583
583
  * @param {int|undefined} since timestamp in ms of the earliest candle to fetch
584
584
  * @param {int|undefined} limit the maximum amount of candles to fetch
585
- * @param {object} params extra parameters specific to the coinex api endpoint
585
+ * @param {object} params extra parameters specific to the exchange API endpoint
586
586
  * @param {int|undefined} params.end the end time for spot markets, this.seconds () is set as default
587
587
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
588
588
  */
@@ -70,7 +70,7 @@ class cryptocom extends cryptocom$1 {
70
70
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#book-instrument_name
71
71
  * @param {string} symbol unified symbol of the market to fetch the order book for
72
72
  * @param {int} [limit] the maximum amount of order book entries to return
73
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
73
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
74
74
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
75
75
  */
76
76
  await this.loadMarkets();
@@ -87,7 +87,7 @@ class cryptocom extends cryptocom$1 {
87
87
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#book-instrument_name
88
88
  * @param {string[]} symbols unified array of symbols
89
89
  * @param {int} [limit] the maximum amount of order book entries to return
90
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
90
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
91
91
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
92
92
  */
93
93
  await this.loadMarkets();
@@ -153,7 +153,7 @@ class cryptocom extends cryptocom$1 {
153
153
  * @param {string} symbol unified symbol of the market to fetch trades for
154
154
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
155
155
  * @param {int} [limit] the maximum amount of trades to fetch
156
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
156
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
157
157
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
158
158
  */
159
159
  await this.loadMarkets();
@@ -175,7 +175,7 @@ class cryptocom extends cryptocom$1 {
175
175
  * @param {string} symbol unified symbol of the market to fetch trades for
176
176
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
177
177
  * @param {int} [limit] the maximum amount of trades to fetch
178
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
178
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
179
179
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
180
180
  */
181
181
  await this.loadMarkets();
@@ -253,7 +253,7 @@ class cryptocom extends cryptocom$1 {
253
253
  * @param {string} symbol unified market symbol of the market trades were made in
254
254
  * @param {int} [since] the earliest time in ms to fetch trades for
255
255
  * @param {int} [limit] the maximum number of trade structures to retrieve
256
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
256
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
257
257
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
258
258
  */
259
259
  await this.loadMarkets();
@@ -277,7 +277,7 @@ class cryptocom extends cryptocom$1 {
277
277
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
278
278
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#ticker-instrument_name
279
279
  * @param {string} symbol unified symbol of the market to fetch the ticker for
280
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
280
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
281
281
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
282
282
  */
283
283
  await this.loadMarkets();
@@ -330,7 +330,7 @@ class cryptocom extends cryptocom$1 {
330
330
  * @param {string} timeframe the length of time each candle represents
331
331
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
332
332
  * @param {int} [limit] the maximum amount of candles to fetch
333
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
333
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
334
334
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
335
335
  */
336
336
  await this.loadMarkets();
@@ -385,7 +385,7 @@ class cryptocom extends cryptocom$1 {
385
385
  * @param {string} symbol unified market symbol of the market orders were made in
386
386
  * @param {int} [since] the earliest time in ms to fetch orders for
387
387
  * @param {int} [limit] the maximum number of order structures to retrieve
388
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
388
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
389
389
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
390
390
  */
391
391
  await this.loadMarkets();
@@ -460,7 +460,7 @@ class cryptocom extends cryptocom$1 {
460
460
  * @description watch all open positions
461
461
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-position_balance
462
462
  * @param {string[]|undefined} symbols list of unified market symbols
463
- * @param {object} params extra parameters specific to the cryptocom api endpoint
463
+ * @param {object} params extra parameters specific to the exchange API endpoint
464
464
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
465
465
  */
466
466
  await this.loadMarkets();
@@ -582,7 +582,7 @@ class cryptocom extends cryptocom$1 {
582
582
  * @name cryptocom#watchBalance
583
583
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
584
584
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-balance
585
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
585
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
586
586
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
587
587
  */
588
588
  const messageHash = 'user.balance';
@@ -663,7 +663,7 @@ class cryptocom extends cryptocom$1 {
663
663
  * @param {string} side 'buy' or 'sell'
664
664
  * @param {float} amount how much of currency you want to trade in units of base currency
665
665
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
666
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
666
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
667
667
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
668
668
  */
669
669
  await this.loadMarkets();
@@ -700,7 +700,7 @@ class cryptocom extends cryptocom$1 {
700
700
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-order
701
701
  * @param {string} id the order id of the order to cancel
702
702
  * @param {string} [symbol] unified symbol of the market the order was made in
703
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
703
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
704
704
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
705
705
  */
706
706
  await this.loadMarkets();
@@ -721,7 +721,7 @@ class cryptocom extends cryptocom$1 {
721
721
  * @description cancel all open orders
722
722
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
723
723
  * @param {string} symbol unified market symbol of the orders to cancel
724
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
724
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
725
725
  * @returns {object} Returns exchange raw message {@link https://docs.ccxt.com/#/?id=order-structure}
726
726
  */
727
727
  await this.loadMarkets();
@@ -328,7 +328,7 @@ class currencycom extends currencycom$1 {
328
328
  * @method
329
329
  * @name currencycom#watchBalance
330
330
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
331
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
331
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
332
332
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
333
333
  */
334
334
  await this.loadMarkets();
@@ -340,7 +340,7 @@ class currencycom extends currencycom$1 {
340
340
  * @name currencycom#watchTicker
341
341
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
342
342
  * @param {string} symbol unified symbol of the market to fetch the ticker for
343
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
343
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
344
344
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
345
345
  */
346
346
  await this.loadMarkets();
@@ -371,7 +371,7 @@ class currencycom extends currencycom$1 {
371
371
  * @param {string} symbol unified symbol of the market to fetch trades for
372
372
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
373
373
  * @param {int} [limit] the maximum amount of trades to fetch
374
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
374
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
375
375
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
376
376
  */
377
377
  await this.loadMarkets();
@@ -389,7 +389,7 @@ class currencycom extends currencycom$1 {
389
389
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
390
390
  * @param {string} symbol unified symbol of the market to fetch the order book for
391
391
  * @param {int} [limit] the maximum amount of order book entries to return
392
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
392
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
393
393
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
394
394
  */
395
395
  await this.loadMarkets();
@@ -406,7 +406,7 @@ class currencycom extends currencycom$1 {
406
406
  * @param {string} timeframe the length of time each candle represents
407
407
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
408
408
  * @param {int} [limit] the maximum amount of candles to fetch
409
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
409
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
410
410
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
411
411
  */
412
412
  await this.loadMarkets();
@@ -60,7 +60,7 @@ class deribit extends deribit$1 {
60
60
  * @name deribit#watchBalance
61
61
  * @see https://docs.deribit.com/#user-portfolio-currency
62
62
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
63
- * @param {object} [params] extra parameters specific to the deribit api endpoint
63
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
64
64
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
65
65
  */
66
66
  await this.authenticate(params);
@@ -144,7 +144,7 @@ class deribit extends deribit$1 {
144
144
  * @see https://docs.deribit.com/#ticker-instrument_name-interval
145
145
  * @description watches a price ticker, a statistical calculation with the information for a specific market.
146
146
  * @param {string} symbol unified symbol of the market to fetch the ticker for
147
- * @param {object} [params] extra parameters specific to the deribit api endpoint
147
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
148
148
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
149
149
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
150
150
  */
@@ -217,7 +217,7 @@ class deribit extends deribit$1 {
217
217
  * @param {string} symbol unified symbol of the market to fetch trades for
218
218
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
219
219
  * @param {int} [limit] the maximum amount of trades to fetch
220
- * @param {object} [params] extra parameters specific to the deribit api endpoint
220
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
221
221
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
222
222
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
223
223
  */
@@ -297,7 +297,7 @@ class deribit extends deribit$1 {
297
297
  * @param {string} symbol unified symbol of the market to fetch trades for. Use 'any' to watch all trades
298
298
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
299
299
  * @param {int} [limit] the maximum amount of trades to fetch
300
- * @param {object} [params] extra parameters specific to the deribit api endpoint
300
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
301
301
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
302
302
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
303
303
  */
@@ -379,7 +379,7 @@ class deribit extends deribit$1 {
379
379
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
380
380
  * @param {string} symbol unified symbol of the market to fetch the order book for
381
381
  * @param {int} [limit] the maximum amount of order book entries to return
382
- * @param {object} [params] extra parameters specific to the deribit api endpoint
382
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
383
383
  * @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
384
384
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
385
385
  */
@@ -510,7 +510,7 @@ class deribit extends deribit$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 deribit api endpoint
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();
@@ -605,7 +605,7 @@ class deribit extends deribit$1 {
605
605
  * @param {string} timeframe the length of time each candle represents
606
606
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
607
607
  * @param {int} [limit] the maximum amount of candles to fetch
608
- * @param {object} [params] extra parameters specific to the deribit api endpoint
608
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
609
609
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
610
610
  */
611
611
  await this.loadMarkets();