ccxt 4.1.63 → 4.1.65

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 +4 -4
  2. package/dist/ccxt.browser.js +2769 -2653
  3. package/dist/ccxt.browser.min.js +3 -3
  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 +6 -6
  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 +33 -3
  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 +39 -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 +48 -30
  64. package/dist/cjs/src/krakenfutures.js +16 -16
  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 +27 -28
  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 +162 -123
  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 +12 -9
  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 +22 -24
  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 +22 -16
  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/doc/manual.rst +1 -1
  147. package/doc/readme.rst +1 -1
  148. package/js/ccxt.d.ts +1 -1
  149. package/js/ccxt.js +1 -1
  150. package/js/src/abstract/mexc.d.ts +2 -0
  151. package/js/src/ace.js +13 -13
  152. package/js/src/alpaca.js +10 -10
  153. package/js/src/ascendex.js +33 -33
  154. package/js/src/base/Exchange.js +6 -6
  155. package/js/src/bigone.js +23 -23
  156. package/js/src/binance.js +68 -68
  157. package/js/src/binanceus.js +33 -3
  158. package/js/src/bingx.js +33 -33
  159. package/js/src/bit2c.js +11 -11
  160. package/js/src/bitbank.js +14 -14
  161. package/js/src/bitbns.js +15 -15
  162. package/js/src/bitfinex.js +24 -24
  163. package/js/src/bitfinex2.js +30 -30
  164. package/js/src/bitflyer.js +17 -17
  165. package/js/src/bitforex.js +12 -12
  166. package/js/src/bitget.js +50 -50
  167. package/js/src/bithumb.js +13 -13
  168. package/js/src/bitmart.js +74 -59
  169. package/js/src/bitmex.js +29 -28
  170. package/js/src/bitopro.js +23 -23
  171. package/js/src/bitpanda.js +25 -25
  172. package/js/src/bitrue.js +26 -26
  173. package/js/src/bitso.js +22 -22
  174. package/js/src/bitstamp.js +24 -24
  175. package/js/src/bittrex.js +31 -31
  176. package/js/src/bitvavo.js +23 -23
  177. package/js/src/bl3p.js +7 -7
  178. package/js/src/blockchaincom.js +23 -23
  179. package/js/src/btcalpha.js +17 -17
  180. package/js/src/btcbox.js +9 -9
  181. package/js/src/btcmarkets.js +19 -19
  182. package/js/src/btcturk.js +13 -13
  183. package/js/src/bybit.js +71 -67
  184. package/js/src/cex.js +17 -17
  185. package/js/src/coinbase.js +28 -28
  186. package/js/src/coinbasepro.js +27 -27
  187. package/js/src/coincheck.js +11 -11
  188. package/js/src/coinex.js +42 -42
  189. package/js/src/coinlist.js +29 -29
  190. package/js/src/coinmate.js +14 -14
  191. package/js/src/coinone.js +13 -13
  192. package/js/src/coinsph.js +25 -25
  193. package/js/src/coinspot.js +9 -9
  194. package/js/src/cryptocom.js +33 -32
  195. package/js/src/currencycom.js +24 -24
  196. package/js/src/delta.js +29 -29
  197. package/js/src/deribit.js +35 -35
  198. package/js/src/digifinex.js +43 -43
  199. package/js/src/exmo.js +30 -30
  200. package/js/src/gate.js +39 -39
  201. package/js/src/gemini.js +18 -18
  202. package/js/src/hitbtc.js +40 -40
  203. package/js/src/hollaex.js +26 -26
  204. package/js/src/htx.js +48 -48
  205. package/js/src/huobijp.js +24 -24
  206. package/js/src/idex.js +23 -23
  207. package/js/src/independentreserve.js +12 -12
  208. package/js/src/indodax.js +16 -16
  209. package/js/src/kraken.js +48 -30
  210. package/js/src/krakenfutures.js +16 -16
  211. package/js/src/kucoin.js +39 -39
  212. package/js/src/kucoinfutures.js +24 -24
  213. package/js/src/kuna.js +25 -25
  214. package/js/src/latoken.js +20 -20
  215. package/js/src/lbank.js +24 -24
  216. package/js/src/luno.js +27 -28
  217. package/js/src/lykke.js +18 -18
  218. package/js/src/mercado.js +13 -13
  219. package/js/src/mexc.js +47 -45
  220. package/js/src/ndax.js +23 -23
  221. package/js/src/novadax.js +23 -23
  222. package/js/src/oceanex.js +19 -19
  223. package/js/src/okcoin.js +25 -25
  224. package/js/src/okx.js +53 -53
  225. package/js/src/p2b.js +14 -14
  226. package/js/src/paymium.js +10 -10
  227. package/js/src/phemex.js +162 -123
  228. package/js/src/poloniex.js +27 -27
  229. package/js/src/poloniexfutures.js +21 -21
  230. package/js/src/pro/alpaca.js +6 -6
  231. package/js/src/pro/ascendex.js +5 -5
  232. package/js/src/pro/binance.js +21 -21
  233. package/js/src/pro/bingx.js +6 -6
  234. package/js/src/pro/bitfinex.js +4 -4
  235. package/js/src/pro/bitfinex2.js +7 -7
  236. package/js/src/pro/bitget.js +12 -12
  237. package/js/src/pro/bitmart.js +5 -5
  238. package/js/src/pro/bitmex.js +8 -8
  239. package/js/src/pro/bitopro.js +4 -4
  240. package/js/src/pro/bitpanda.js +7 -7
  241. package/js/src/pro/bitrue.js +2 -2
  242. package/js/src/pro/bitstamp.js +3 -3
  243. package/js/src/pro/bittrex.js +7 -7
  244. package/js/src/pro/bitvavo.js +6 -6
  245. package/js/src/pro/blockchaincom.js +6 -6
  246. package/js/src/pro/bybit.js +12 -12
  247. package/js/src/pro/cex.js +9 -9
  248. package/js/src/pro/coinbase.js +6 -6
  249. package/js/src/pro/coinbasepro.js +10 -10
  250. package/js/src/pro/coinex.js +7 -7
  251. package/js/src/pro/cryptocom.js +13 -13
  252. package/js/src/pro/currencycom.js +5 -5
  253. package/js/src/pro/deribit.js +7 -7
  254. package/js/src/pro/exmo.js +5 -5
  255. package/js/src/pro/gate.js +10 -10
  256. package/js/src/pro/gemini.js +4 -4
  257. package/js/src/pro/hitbtc.js +11 -11
  258. package/js/src/pro/hollaex.js +5 -5
  259. package/js/src/pro/htx.js +8 -8
  260. package/js/src/pro/huobijp.js +4 -4
  261. package/js/src/pro/idex.js +5 -5
  262. package/js/src/pro/independentreserve.js +2 -2
  263. package/js/src/pro/kraken.js +11 -11
  264. package/js/src/pro/krakenfutures.js +12 -9
  265. package/js/src/pro/kucoin.js +10 -10
  266. package/js/src/pro/kucoinfutures.js +8 -8
  267. package/js/src/pro/luno.js +4 -4
  268. package/js/src/pro/mexc.js +7 -7
  269. package/js/src/pro/ndax.js +4 -4
  270. package/js/src/pro/okcoin.js +6 -6
  271. package/js/src/pro/okx.js +16 -16
  272. package/js/src/pro/phemex.js +7 -7
  273. package/js/src/pro/poloniex.js +7 -7
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +3 -3
  277. package/js/src/pro/wazirx.js +7 -7
  278. package/js/src/pro/whitebit.js +7 -7
  279. package/js/src/pro/woo.js +1 -1
  280. package/js/src/probit.js +24 -24
  281. package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
  282. package/js/src/tidex.js +15 -15
  283. package/js/src/timex.js +19 -19
  284. package/js/src/tokocrypto.js +22 -24
  285. package/js/src/upbit.js +22 -22
  286. package/js/src/wavesexchange.js +19 -19
  287. package/js/src/wazirx.js +22 -16
  288. package/js/src/whitebit.js +29 -29
  289. package/js/src/woo.js +26 -26
  290. package/js/src/yobit.js +17 -17
  291. package/js/src/zaif.js +10 -10
  292. package/js/src/zonda.js +16 -16
  293. package/package.json +1 -1
@@ -226,7 +226,7 @@ export default class coinex extends coinexRest {
226
226
  * @method
227
227
  * @name coinex#watchBalance
228
228
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
229
- * @param {object} [params] extra parameters specific to the coinex api endpoint
229
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
230
230
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
231
231
  */
232
232
  await this.loadMarkets();
@@ -406,7 +406,7 @@ export default class coinex extends coinexRest {
406
406
  * @see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
407
407
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
408
408
  * @param {string} symbol unified symbol of the market to fetch the ticker for
409
- * @param {object} [params] extra parameters specific to the coinex api endpoint
409
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
410
410
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
411
411
  */
412
412
  return await this.watchTickers([symbol], params);
@@ -418,7 +418,7 @@ export default class coinex extends coinexRest {
418
418
  * @see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
419
419
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
420
420
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
421
- * @param {object} [params] extra parameters specific to the coinex api endpoint
421
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
422
422
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
423
423
  */
424
424
  await this.loadMarkets();
@@ -452,7 +452,7 @@ export default class coinex extends coinexRest {
452
452
  * @param {string} symbol unified symbol of the market to fetch trades for
453
453
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
454
454
  * @param {int} [limit] the maximum amount of trades to fetch
455
- * @param {object} [params] extra parameters specific to the coinex api endpoint
455
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
456
456
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
457
457
  */
458
458
  await this.loadMarkets();
@@ -483,7 +483,7 @@ export default class coinex extends coinexRest {
483
483
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
484
484
  * @param {string} symbol unified symbol of the market to fetch the order book for
485
485
  * @param {int} [limit] the maximum amount of order book entries to return
486
- * @param {object} [params] extra parameters specific to the coinex api endpoint
486
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
487
487
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
488
488
  */
489
489
  await this.loadMarkets();
@@ -532,7 +532,7 @@ export default class coinex extends coinexRest {
532
532
  * @param {string} timeframe the length of time each candle represents
533
533
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
534
534
  * @param {int} [limit] the maximum amount of candles to fetch
535
- * @param {object} [params] extra parameters specific to the coinex api endpoint
535
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
536
536
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
537
537
  */
538
538
  await this.loadMarkets();
@@ -585,7 +585,7 @@ export default class coinex extends coinexRest {
585
585
  * @param {string} timeframe the length of time each candle represents
586
586
  * @param {int|undefined} since timestamp in ms of the earliest candle to fetch
587
587
  * @param {int|undefined} limit the maximum amount of candles to fetch
588
- * @param {object} params extra parameters specific to the coinex api endpoint
588
+ * @param {object} params extra parameters specific to the exchange API endpoint
589
589
  * @param {int|undefined} params.end the end time for spot markets, this.seconds () is set as default
590
590
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
591
591
  */
@@ -73,7 +73,7 @@ export default class cryptocom extends cryptocomRest {
73
73
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#book-instrument_name
74
74
  * @param {string} symbol unified symbol of the market to fetch the order book for
75
75
  * @param {int} [limit] the maximum amount of order book entries to return
76
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
76
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
77
77
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
78
78
  */
79
79
  await this.loadMarkets();
@@ -90,7 +90,7 @@ export default class cryptocom extends cryptocomRest {
90
90
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#book-instrument_name
91
91
  * @param {string[]} symbols unified array of symbols
92
92
  * @param {int} [limit] the maximum amount of order book entries to return
93
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
93
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
94
94
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
95
95
  */
96
96
  await this.loadMarkets();
@@ -156,7 +156,7 @@ export default class cryptocom extends cryptocomRest {
156
156
  * @param {string} symbol unified symbol of the market to fetch trades for
157
157
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
158
158
  * @param {int} [limit] the maximum amount of trades to fetch
159
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
159
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
160
160
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
161
161
  */
162
162
  await this.loadMarkets();
@@ -178,7 +178,7 @@ export default class cryptocom extends cryptocomRest {
178
178
  * @param {string} symbol unified symbol of the market to fetch trades for
179
179
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
180
180
  * @param {int} [limit] the maximum amount of trades to fetch
181
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
181
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
182
182
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
183
183
  */
184
184
  await this.loadMarkets();
@@ -256,7 +256,7 @@ export default class cryptocom extends cryptocomRest {
256
256
  * @param {string} symbol unified market symbol of the market trades were made in
257
257
  * @param {int} [since] the earliest time in ms to fetch trades for
258
258
  * @param {int} [limit] the maximum number of trade structures to retrieve
259
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
259
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
260
260
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
261
261
  */
262
262
  await this.loadMarkets();
@@ -280,7 +280,7 @@ export default class cryptocom extends cryptocomRest {
280
280
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
281
281
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#ticker-instrument_name
282
282
  * @param {string} symbol unified symbol of the market to fetch the ticker for
283
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
283
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
284
284
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
285
285
  */
286
286
  await this.loadMarkets();
@@ -333,7 +333,7 @@ export default class cryptocom extends cryptocomRest {
333
333
  * @param {string} timeframe the length of time each candle represents
334
334
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
335
335
  * @param {int} [limit] the maximum amount of candles to fetch
336
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
336
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
337
337
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
338
338
  */
339
339
  await this.loadMarkets();
@@ -388,7 +388,7 @@ export default class cryptocom extends cryptocomRest {
388
388
  * @param {string} symbol unified market symbol of the market orders were made in
389
389
  * @param {int} [since] the earliest time in ms to fetch orders for
390
390
  * @param {int} [limit] the maximum number of order structures to retrieve
391
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
391
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
392
392
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
393
393
  */
394
394
  await this.loadMarkets();
@@ -463,7 +463,7 @@ export default class cryptocom extends cryptocomRest {
463
463
  * @description watch all open positions
464
464
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-position_balance
465
465
  * @param {string[]|undefined} symbols list of unified market symbols
466
- * @param {object} params extra parameters specific to the cryptocom api endpoint
466
+ * @param {object} params extra parameters specific to the exchange API endpoint
467
467
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
468
468
  */
469
469
  await this.loadMarkets();
@@ -585,7 +585,7 @@ export default class cryptocom extends cryptocomRest {
585
585
  * @name cryptocom#watchBalance
586
586
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
587
587
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-balance
588
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
588
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
589
589
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
590
590
  */
591
591
  const messageHash = 'user.balance';
@@ -666,7 +666,7 @@ export default class cryptocom extends cryptocomRest {
666
666
  * @param {string} side 'buy' or 'sell'
667
667
  * @param {float} amount how much of currency you want to trade in units of base currency
668
668
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
669
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
669
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
670
670
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
671
671
  */
672
672
  await this.loadMarkets();
@@ -703,7 +703,7 @@ export default class cryptocom extends cryptocomRest {
703
703
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-order
704
704
  * @param {string} id the order id of the order to cancel
705
705
  * @param {string} [symbol] unified symbol of the market the order was made in
706
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
706
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
707
707
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
708
708
  */
709
709
  await this.loadMarkets();
@@ -724,7 +724,7 @@ export default class cryptocom extends cryptocomRest {
724
724
  * @description cancel all open orders
725
725
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
726
726
  * @param {string} symbol unified market symbol of the orders to cancel
727
- * @param {object} [params] extra parameters specific to the cryptocom api endpoint
727
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
728
728
  * @returns {object} Returns exchange raw message {@link https://docs.ccxt.com/#/?id=order-structure}
729
729
  */
730
730
  await this.loadMarkets();
@@ -331,7 +331,7 @@ export default class currencycom extends currencycomRest {
331
331
  * @method
332
332
  * @name currencycom#watchBalance
333
333
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
334
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
334
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
335
335
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
336
336
  */
337
337
  await this.loadMarkets();
@@ -343,7 +343,7 @@ export default class currencycom extends currencycomRest {
343
343
  * @name currencycom#watchTicker
344
344
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
345
345
  * @param {string} symbol unified symbol of the market to fetch the ticker for
346
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
346
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
347
347
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
348
348
  */
349
349
  await this.loadMarkets();
@@ -374,7 +374,7 @@ export default class currencycom extends currencycomRest {
374
374
  * @param {string} symbol unified symbol of the market to fetch trades for
375
375
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
376
376
  * @param {int} [limit] the maximum amount of trades to fetch
377
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
377
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
378
378
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
379
379
  */
380
380
  await this.loadMarkets();
@@ -392,7 +392,7 @@ export default class currencycom extends currencycomRest {
392
392
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
393
393
  * @param {string} symbol unified symbol of the market to fetch the order book for
394
394
  * @param {int} [limit] the maximum amount of order book entries to return
395
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
395
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
396
396
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
397
397
  */
398
398
  await this.loadMarkets();
@@ -409,7 +409,7 @@ export default class currencycom extends currencycomRest {
409
409
  * @param {string} timeframe the length of time each candle represents
410
410
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
411
411
  * @param {int} [limit] the maximum amount of candles to fetch
412
- * @param {object} [params] extra parameters specific to the currencycom api endpoint
412
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
413
413
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
414
414
  */
415
415
  await this.loadMarkets();
@@ -63,7 +63,7 @@ export default class deribit extends deribitRest {
63
63
  * @name deribit#watchBalance
64
64
  * @see https://docs.deribit.com/#user-portfolio-currency
65
65
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
66
- * @param {object} [params] extra parameters specific to the deribit api endpoint
66
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
67
67
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
68
68
  */
69
69
  await this.authenticate(params);
@@ -147,7 +147,7 @@ export default class deribit extends deribitRest {
147
147
  * @see https://docs.deribit.com/#ticker-instrument_name-interval
148
148
  * @description watches a price ticker, a statistical calculation with the information for a specific market.
149
149
  * @param {string} symbol unified symbol of the market to fetch the ticker for
150
- * @param {object} [params] extra parameters specific to the deribit api endpoint
150
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
151
151
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
152
152
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
153
153
  */
@@ -220,7 +220,7 @@ export default class deribit extends deribitRest {
220
220
  * @param {string} symbol unified symbol of the market to fetch trades for
221
221
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
222
222
  * @param {int} [limit] the maximum amount of trades to fetch
223
- * @param {object} [params] extra parameters specific to the deribit api endpoint
223
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
224
224
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
225
225
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
226
226
  */
@@ -300,7 +300,7 @@ export default class deribit extends deribitRest {
300
300
  * @param {string} symbol unified symbol of the market to fetch trades for. Use 'any' to watch all trades
301
301
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
302
302
  * @param {int} [limit] the maximum amount of trades to fetch
303
- * @param {object} [params] extra parameters specific to the deribit api endpoint
303
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
304
304
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
305
305
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
306
306
  */
@@ -384,7 +384,7 @@ export default class deribit extends deribitRest {
384
384
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
385
385
  * @param {string} symbol unified symbol of the market to fetch the order book for
386
386
  * @param {int} [limit] the maximum amount of order book entries to return
387
- * @param {object} [params] extra parameters specific to the deribit api endpoint
387
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
388
388
  * @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
389
389
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
390
390
  */
@@ -515,7 +515,7 @@ export default class deribit extends deribitRest {
515
515
  * @param {string} symbol unified market symbol of the market orders were made in
516
516
  * @param {int} [since] the earliest time in ms to fetch orders for
517
517
  * @param {int} [limit] the maximum number of orde structures to retrieve
518
- * @param {object} [params] extra parameters specific to the deribit api endpoint
518
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
519
519
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
520
520
  */
521
521
  await this.loadMarkets();
@@ -610,7 +610,7 @@ export default class deribit extends deribitRest {
610
610
  * @param {string} timeframe the length of time each candle represents
611
611
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
612
612
  * @param {int} [limit] the maximum amount of candles to fetch
613
- * @param {object} [params] extra parameters specific to the deribit api endpoint
613
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
614
614
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
615
615
  */
616
616
  await this.loadMarkets();
@@ -48,7 +48,7 @@ export default class exmo extends exmoRest {
48
48
  * @method
49
49
  * @name exmo#watchBalance
50
50
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
51
- * @param {object} [params] extra parameters specific to the exmo api endpoint
51
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
52
52
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
53
53
  */
54
54
  await this.authenticate(params);
@@ -204,7 +204,7 @@ export default class exmo extends exmoRest {
204
204
  * @name exmo#watchTicker
205
205
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
206
206
  * @param {string} symbol unified symbol of the market to fetch the ticker for
207
- * @param {object} [params] extra parameters specific to the exmo api endpoint
207
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
208
208
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
209
209
  */
210
210
  await this.loadMarkets();
@@ -261,7 +261,7 @@ export default class exmo extends exmoRest {
261
261
  * @param {string} symbol unified symbol of the market to fetch trades for
262
262
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
263
263
  * @param {int} [limit] the maximum amount of trades to fetch
264
- * @param {object} [params] extra parameters specific to the exmo api endpoint
264
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
265
265
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
266
266
  */
267
267
  await this.loadMarkets();
@@ -325,7 +325,7 @@ export default class exmo extends exmoRest {
325
325
  * @param {string} symbol unified symbol of the market to fetch trades for
326
326
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
327
327
  * @param {int} [limit] the maximum amount of trades to fetch
328
- * @param {object} [params] extra parameters specific to the exmo api endpoint
328
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
329
329
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
330
330
  */
331
331
  await this.loadMarkets();
@@ -454,7 +454,7 @@ export default class exmo extends exmoRest {
454
454
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
455
455
  * @param {string} symbol unified symbol of the market to fetch the order book for
456
456
  * @param {int} [limit] the maximum amount of order book entries to return
457
- * @param {object} [params] extra parameters specific to the exmo api endpoint
457
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
458
458
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
459
459
  */
460
460
  await this.loadMarkets();
@@ -100,7 +100,7 @@ export default class gate extends gateRest {
100
100
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
101
101
  * @param {string} symbol unified symbol of the market to fetch the order book for
102
102
  * @param {int} [limit] the maximum amount of order book entries to return
103
- * @param {object} [params] extra parameters specific to the gate api endpoint
103
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
104
104
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
105
105
  */
106
106
  await this.loadMarkets();
@@ -277,7 +277,7 @@ export default class gate extends gateRest {
277
277
  * @name gate#watchTicker
278
278
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
279
279
  * @param {string} symbol unified symbol of the market to fetch the ticker for
280
- * @param {object} [params] extra parameters specific to the gate 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();
@@ -298,7 +298,7 @@ export default class gate extends gateRest {
298
298
  * @name gate#watchTickers
299
299
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
300
300
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
301
- * @param {object} [params] extra parameters specific to the gate api endpoint
301
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
302
302
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
303
303
  */
304
304
  await this.loadMarkets();
@@ -385,7 +385,7 @@ export default class gate extends gateRest {
385
385
  * @param {string} symbol unified symbol of the market to fetch trades for
386
386
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
387
387
  * @param {int} [limit] the maximum amount of trades to fetch
388
- * @param {object} [params] extra parameters specific to the gate api endpoint
388
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
389
389
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
390
390
  */
391
391
  await this.loadMarkets();
@@ -411,7 +411,7 @@ export default class gate extends gateRest {
411
411
  * @param {string} symbol unified symbol of the market to fetch trades for
412
412
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
413
413
  * @param {int} [limit] the maximum amount of trades to fetch
414
- * @param {object} [params] extra parameters specific to the gate api endpoint
414
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
415
415
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
416
416
  */
417
417
  await this.loadMarkets();
@@ -476,7 +476,7 @@ export default class gate extends gateRest {
476
476
  * @param {string} timeframe the length of time each candle represents
477
477
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
478
478
  * @param {int} [limit] the maximum amount of candles to fetch
479
- * @param {object} [params] extra parameters specific to the gate api endpoint
479
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
480
480
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
481
481
  */
482
482
  await this.loadMarkets();
@@ -559,7 +559,7 @@ export default class gate extends gateRest {
559
559
  * @param {string} symbol unified market symbol of the market trades were made in
560
560
  * @param {int} [since] the earliest time in ms to fetch trades for
561
561
  * @param {int} [limit] the maximum number of trade structures to retrieve
562
- * @param {object} [params] extra parameters specific to the gate api endpoint
562
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
563
563
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
564
564
  */
565
565
  await this.loadMarkets();
@@ -649,7 +649,7 @@ export default class gate extends gateRest {
649
649
  * @method
650
650
  * @name gate#watchBalance
651
651
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
652
- * @param {object} [params] extra parameters specific to the gate api endpoint
652
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
653
653
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
654
654
  */
655
655
  await this.loadMarkets();
@@ -767,7 +767,7 @@ export default class gate extends gateRest {
767
767
  * @see https://www.gate.io/docs/developers/options/ws/en/#positions-channel
768
768
  * @description watch all open positions
769
769
  * @param {string[]|undefined} symbols list of unified market symbols
770
- * @param {object} params extra parameters specific to the gate api endpoint
770
+ * @param {object} params extra parameters specific to the exchange API endpoint
771
771
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
772
772
  */
773
773
  await this.loadMarkets();
@@ -905,7 +905,7 @@ export default class gate extends gateRest {
905
905
  * @param {string} symbol unified market symbol of the market orders were made in
906
906
  * @param {int} [since] the earliest time in ms to fetch orders for
907
907
  * @param {int} [limit] the maximum number of orde structures to retrieve
908
- * @param {object} [params] extra parameters specific to the gate api endpoint
908
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
909
909
  * @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
910
910
  * @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
911
911
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
@@ -44,7 +44,7 @@ export default class gemini extends geminiRest {
44
44
  * @param {string} symbol unified symbol of the market to fetch trades for
45
45
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
46
46
  * @param {int} [limit] the maximum amount of trades to fetch
47
- * @param {object} [params] extra parameters specific to the gemini api endpoint
47
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
48
48
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
49
49
  */
50
50
  await this.loadMarkets();
@@ -196,7 +196,7 @@ export default class gemini extends geminiRest {
196
196
  * @param {string} timeframe the length of time each candle represents
197
197
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
198
198
  * @param {int} [limit] the maximum amount of candles to fetch
199
- * @param {object} [params] extra parameters specific to the gemini api endpoint
199
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
200
200
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
201
201
  */
202
202
  await this.loadMarkets();
@@ -285,7 +285,7 @@ export default class gemini extends geminiRest {
285
285
  * @see https://docs.gemini.com/websocket-api/#market-data-version-2
286
286
  * @param {string} symbol unified symbol of the market to fetch the order book for
287
287
  * @param {int} [limit] the maximum amount of order book entries to return
288
- * @param {object} [params] extra parameters specific to the gemini api endpoint
288
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
289
289
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
290
290
  */
291
291
  await this.loadMarkets();
@@ -381,7 +381,7 @@ export default class gemini extends geminiRest {
381
381
  * @param {string} symbol unified market symbol of the market orders were made in
382
382
  * @param {int} [since] the earliest time in ms to fetch orders for
383
383
  * @param {int} [limit] the maximum number of orde structures to retrieve
384
- * @param {object} [params] extra parameters specific to the gemini api endpoint
384
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
385
385
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
386
386
  */
387
387
  const url = this.urls['api']['ws'] + '/v1/order/events?eventTypeFilter=initial&eventTypeFilter=accepted&eventTypeFilter=rejected&eventTypeFilter=fill&eventTypeFilter=cancelled&eventTypeFilter=booked';
@@ -188,7 +188,7 @@ export default class hitbtc extends hitbtcRest {
188
188
  * @see https://api.hitbtc.com/#subscribe-to-top-of-book-in-batches
189
189
  * @param {string} symbol unified symbol of the market to fetch the order book for
190
190
  * @param {int} [limit] the maximum amount of order book entries to return
191
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
191
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
192
192
  * @param {string} [params.method] 'orderbook/full', 'orderbook/{depth}/{speed}', 'orderbook/{depth}/{speed}/batch', 'orderbook/top/{speed}', or 'orderbook/top/{speed}/batch'
193
193
  * @param {int} [params.depth] 5 , 10, or 20 (default)
194
194
  * @param {int} [params.speed] 100 (default), 500, or 1000
@@ -293,7 +293,7 @@ export default class hitbtc extends hitbtcRest {
293
293
  * @see https://api.hitbtc.com/#subscribe-to-mini-ticker
294
294
  * @see https://api.hitbtc.com/#subscribe-to-mini-ticker-in-batches
295
295
  * @param {string} symbol unified symbol of the market to fetch the ticker for
296
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
296
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
297
297
  * @param {string} [params.method] 'ticker/{speed}' (default), or 'ticker/price/{speed}'
298
298
  * @param {string} [params.speed] '1s' (default), or '3s'
299
299
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -318,7 +318,7 @@ export default class hitbtc extends hitbtcRest {
318
318
  * @name hitbtc#watchTicker
319
319
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
320
320
  * @param {string} symbol unified symbol of the market to fetch the ticker for
321
- * @param {object} params extra parameters specific to the hitbtc api endpoint
321
+ * @param {object} params extra parameters specific to the exchange API endpoint
322
322
  * @param {string} params.method 'ticker/{speed}' (default),'ticker/price/{speed}', 'ticker/{speed}/batch', or 'ticker/{speed}/price/batch''
323
323
  * @param {string} params.speed '1s' (default), or '3s'
324
324
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
@@ -484,7 +484,7 @@ export default class hitbtc extends hitbtcRest {
484
484
  * @param {string} symbol unified symbol of the market to fetch trades for
485
485
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
486
486
  * @param {int} [limit] the maximum amount of trades to fetch
487
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
487
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
488
488
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
489
489
  */
490
490
  await this.loadMarkets();
@@ -612,7 +612,7 @@ export default class hitbtc extends hitbtcRest {
612
612
  * @param {string} [timeframe] the length of time each candle represents
613
613
  * @param {int} [since] not used by hitbtc watchOHLCV
614
614
  * @param {int} [limit] 0 – 1000, default value = 0 (no history returned)
615
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
615
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
616
616
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
617
617
  */
618
618
  const period = this.safeString(this.timeframes, timeframe, timeframe);
@@ -724,7 +724,7 @@ export default class hitbtc extends hitbtcRest {
724
724
  * @param {string} [symbol] unified CCXT market symbol
725
725
  * @param {int} [since] timestamp in ms of the earliest order to fetch
726
726
  * @param {int} [limit] the maximum amount of orders to fetch
727
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
727
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
728
728
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
729
729
  */
730
730
  await this.loadMarkets();
@@ -961,7 +961,7 @@ export default class hitbtc extends hitbtcRest {
961
961
  * @description watches balance updates, cannot subscribe to margin account balances
962
962
  * @see https://api.hitbtc.com/#subscribe-to-spot-balances
963
963
  * @see https://api.hitbtc.com/#subscribe-to-futures-balances
964
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
964
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
965
965
  * @param {string} [params.type] 'spot', 'swap', or 'future'
966
966
  *
967
967
  * EXCHANGE SPECIFIC PARAMETERS
@@ -996,7 +996,7 @@ export default class hitbtc extends hitbtcRest {
996
996
  * @param {string} side 'buy' or 'sell'
997
997
  * @param {float} amount how much of currency you want to trade in units of base currency
998
998
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
999
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
999
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1000
1000
  * @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported for spot-margin, swap supports both, default is 'cross'
1001
1001
  * @param {bool} [params.margin] true for creating a margin order
1002
1002
  * @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
@@ -1033,7 +1033,7 @@ export default class hitbtc extends hitbtcRest {
1033
1033
  * @description cancels an open order
1034
1034
  * @param {string} id order id
1035
1035
  * @param {string} symbol unified symbol of the market the order was made in
1036
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
1036
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1037
1037
  * @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
1038
1038
  * @param {bool} [params.margin] true for canceling a margin order
1039
1039
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1068,7 +1068,7 @@ export default class hitbtc extends hitbtcRest {
1068
1068
  * @see https://api.hitbtc.com/#cancel-futures-order-3
1069
1069
  * @description cancel all open orders
1070
1070
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1071
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
1071
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1072
1072
  * @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
1073
1073
  * @param {bool} [params.margin] true for canceling margin orders
1074
1074
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1103,7 +1103,7 @@ export default class hitbtc extends hitbtcRest {
1103
1103
  * @param {string} symbol unified market symbol
1104
1104
  * @param {int} [since] the earliest time in ms to fetch open orders for
1105
1105
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1106
- * @param {object} [params] extra parameters specific to the hitbtc api endpoint
1106
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1107
1107
  * @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported
1108
1108
  * @param {bool} [params.margin] true for fetching open margin orders
1109
1109
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -60,7 +60,7 @@ export default class hollaex extends hollaexRest {
60
60
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
61
61
  * @param {string} symbol unified symbol of the market to fetch the order book for
62
62
  * @param {int} [limit] the maximum amount of order book entries to return
63
- * @param {object} [params] extra parameters specific to the hollaex api endpoint
63
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
64
64
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
65
65
  */
66
66
  await this.loadMarkets();
@@ -119,7 +119,7 @@ export default class hollaex extends hollaexRest {
119
119
  * @param {string} symbol unified symbol of the market to fetch trades for
120
120
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
121
121
  * @param {int} [limit] the maximum amount of trades to fetch
122
- * @param {object} [params] extra parameters specific to the hollaex api endpoint
122
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
123
123
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
124
124
  */
125
125
  await this.loadMarkets();
@@ -175,7 +175,7 @@ export default class hollaex extends hollaexRest {
175
175
  * @param {string} symbol unified market symbol of the market trades were made in
176
176
  * @param {int} [since] the earliest time in ms to fetch trades for
177
177
  * @param {int} [limit] the maximum number of trade structures to retrieve
178
- * @param {object} [params] extra parameters specific to the hollaex 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/#/?id=trade-structure
180
180
  */
181
181
  await this.loadMarkets();
@@ -255,7 +255,7 @@ export default class hollaex extends hollaexRest {
255
255
  * @param {string} symbol unified market symbol of the market orders were made in
256
256
  * @param {int} [since] the earliest time in ms to fetch orders for
257
257
  * @param {int} [limit] the maximum number of orde structures to retrieve
258
- * @param {object} [params] extra parameters specific to the hollaex api endpoint
258
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
259
259
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
260
260
  */
261
261
  await this.loadMarkets();
@@ -373,7 +373,7 @@ export default class hollaex extends hollaexRest {
373
373
  * @method
374
374
  * @name hollaex#watchBalance
375
375
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
376
- * @param {object} [params] extra parameters specific to the hollaex api endpoint
376
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
377
377
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
378
378
  */
379
379
  const messageHash = 'wallet';