ccxt 4.1.64 → 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 (290) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +2558 -2534
  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 +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 +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 +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 +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.js +6 -6
  153. package/js/src/bigone.js +23 -23
  154. package/js/src/binance.js +68 -68
  155. package/js/src/binanceus.js +1 -0
  156. package/js/src/bingx.js +33 -33
  157. package/js/src/bit2c.js +11 -11
  158. package/js/src/bitbank.js +14 -14
  159. package/js/src/bitbns.js +15 -15
  160. package/js/src/bitfinex.js +24 -24
  161. package/js/src/bitfinex2.js +30 -30
  162. package/js/src/bitflyer.js +17 -17
  163. package/js/src/bitforex.js +12 -12
  164. package/js/src/bitget.js +50 -50
  165. package/js/src/bithumb.js +13 -13
  166. package/js/src/bitmart.js +74 -59
  167. package/js/src/bitmex.js +29 -28
  168. package/js/src/bitopro.js +23 -23
  169. package/js/src/bitpanda.js +25 -25
  170. package/js/src/bitrue.js +26 -26
  171. package/js/src/bitso.js +22 -22
  172. package/js/src/bitstamp.js +24 -24
  173. package/js/src/bittrex.js +31 -31
  174. package/js/src/bitvavo.js +23 -23
  175. package/js/src/bl3p.js +7 -7
  176. package/js/src/blockchaincom.js +23 -23
  177. package/js/src/btcalpha.js +17 -17
  178. package/js/src/btcbox.js +9 -9
  179. package/js/src/btcmarkets.js +19 -19
  180. package/js/src/btcturk.js +13 -13
  181. package/js/src/bybit.js +71 -67
  182. package/js/src/cex.js +17 -17
  183. package/js/src/coinbase.js +28 -28
  184. package/js/src/coinbasepro.js +27 -27
  185. package/js/src/coincheck.js +11 -11
  186. package/js/src/coinex.js +42 -42
  187. package/js/src/coinlist.js +29 -29
  188. package/js/src/coinmate.js +14 -14
  189. package/js/src/coinone.js +13 -13
  190. package/js/src/coinsph.js +25 -25
  191. package/js/src/coinspot.js +9 -9
  192. package/js/src/cryptocom.js +33 -32
  193. package/js/src/currencycom.js +24 -24
  194. package/js/src/delta.js +29 -29
  195. package/js/src/deribit.js +35 -35
  196. package/js/src/digifinex.js +43 -43
  197. package/js/src/exmo.js +30 -30
  198. package/js/src/gate.js +39 -39
  199. package/js/src/gemini.js +18 -18
  200. package/js/src/hitbtc.js +40 -40
  201. package/js/src/hollaex.js +26 -26
  202. package/js/src/htx.js +48 -48
  203. package/js/src/huobijp.js +24 -24
  204. package/js/src/idex.js +23 -23
  205. package/js/src/independentreserve.js +12 -12
  206. package/js/src/indodax.js +16 -16
  207. package/js/src/kraken.js +28 -28
  208. package/js/src/krakenfutures.js +9 -9
  209. package/js/src/kucoin.js +39 -39
  210. package/js/src/kucoinfutures.js +24 -24
  211. package/js/src/kuna.js +25 -25
  212. package/js/src/latoken.js +20 -20
  213. package/js/src/lbank.js +24 -24
  214. package/js/src/luno.js +17 -17
  215. package/js/src/lykke.js +18 -18
  216. package/js/src/mercado.js +13 -13
  217. package/js/src/mexc.js +47 -45
  218. package/js/src/ndax.js +23 -23
  219. package/js/src/novadax.js +23 -23
  220. package/js/src/oceanex.js +19 -19
  221. package/js/src/okcoin.js +25 -25
  222. package/js/src/okx.js +53 -53
  223. package/js/src/p2b.js +14 -14
  224. package/js/src/paymium.js +10 -10
  225. package/js/src/phemex.js +32 -32
  226. package/js/src/poloniex.js +27 -27
  227. package/js/src/poloniexfutures.js +21 -21
  228. package/js/src/pro/alpaca.js +6 -6
  229. package/js/src/pro/ascendex.js +5 -5
  230. package/js/src/pro/binance.js +21 -21
  231. package/js/src/pro/bingx.js +6 -6
  232. package/js/src/pro/bitfinex.js +4 -4
  233. package/js/src/pro/bitfinex2.js +7 -7
  234. package/js/src/pro/bitget.js +12 -12
  235. package/js/src/pro/bitmart.js +5 -5
  236. package/js/src/pro/bitmex.js +8 -8
  237. package/js/src/pro/bitopro.js +4 -4
  238. package/js/src/pro/bitpanda.js +7 -7
  239. package/js/src/pro/bitrue.js +2 -2
  240. package/js/src/pro/bitstamp.js +3 -3
  241. package/js/src/pro/bittrex.js +7 -7
  242. package/js/src/pro/bitvavo.js +6 -6
  243. package/js/src/pro/blockchaincom.js +6 -6
  244. package/js/src/pro/bybit.js +12 -12
  245. package/js/src/pro/cex.js +9 -9
  246. package/js/src/pro/coinbase.js +6 -6
  247. package/js/src/pro/coinbasepro.js +10 -10
  248. package/js/src/pro/coinex.js +7 -7
  249. package/js/src/pro/cryptocom.js +13 -13
  250. package/js/src/pro/currencycom.js +5 -5
  251. package/js/src/pro/deribit.js +7 -7
  252. package/js/src/pro/exmo.js +5 -5
  253. package/js/src/pro/gate.js +10 -10
  254. package/js/src/pro/gemini.js +4 -4
  255. package/js/src/pro/hitbtc.js +11 -11
  256. package/js/src/pro/hollaex.js +5 -5
  257. package/js/src/pro/htx.js +8 -8
  258. package/js/src/pro/huobijp.js +4 -4
  259. package/js/src/pro/idex.js +5 -5
  260. package/js/src/pro/independentreserve.js +2 -2
  261. package/js/src/pro/kraken.js +11 -11
  262. package/js/src/pro/krakenfutures.js +8 -8
  263. package/js/src/pro/kucoin.js +10 -10
  264. package/js/src/pro/kucoinfutures.js +8 -8
  265. package/js/src/pro/luno.js +4 -4
  266. package/js/src/pro/mexc.js +7 -7
  267. package/js/src/pro/ndax.js +4 -4
  268. package/js/src/pro/okcoin.js +6 -6
  269. package/js/src/pro/okx.js +16 -16
  270. package/js/src/pro/phemex.js +7 -7
  271. package/js/src/pro/poloniex.js +7 -7
  272. package/js/src/pro/poloniexfutures.js +5 -5
  273. package/js/src/pro/probit.js +6 -6
  274. package/js/src/pro/upbit.js +3 -3
  275. package/js/src/pro/wazirx.js +7 -7
  276. package/js/src/pro/whitebit.js +7 -7
  277. package/js/src/pro/woo.js +1 -1
  278. package/js/src/probit.js +24 -24
  279. package/js/src/tidex.js +15 -15
  280. package/js/src/timex.js +19 -19
  281. package/js/src/tokocrypto.js +21 -21
  282. package/js/src/upbit.js +22 -22
  283. package/js/src/wavesexchange.js +19 -19
  284. package/js/src/wazirx.js +15 -15
  285. package/js/src/whitebit.js +29 -29
  286. package/js/src/woo.js +26 -26
  287. package/js/src/yobit.js +17 -17
  288. package/js/src/zaif.js +10 -10
  289. package/js/src/zonda.js +16 -16
  290. package/package.json +1 -1
@@ -180,7 +180,7 @@ export default class bybit extends bybitRest {
180
180
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
181
181
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
182
182
  * @param {string} symbol unified symbol of the market to fetch the ticker for
183
- * @param {object} [params] extra parameters specific to the bybit api endpoint
183
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
184
184
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
185
185
  */
186
186
  await this.loadMarkets();
@@ -206,7 +206,7 @@ export default class bybit extends bybitRest {
206
206
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
207
207
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
208
208
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
209
- * @param {object} [params] extra parameters specific to the bybit api endpoint
209
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
210
210
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
211
211
  */
212
212
  await this.loadMarkets();
@@ -381,7 +381,7 @@ export default class bybit extends bybitRest {
381
381
  * @param {string} timeframe the length of time each candle represents
382
382
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
383
383
  * @param {int} [limit] the maximum amount of candles to fetch
384
- * @param {object} [params] extra parameters specific to the bybit api endpoint
384
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
385
385
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
386
386
  */
387
387
  await this.loadMarkets();
@@ -409,7 +409,7 @@ export default class bybit extends bybitRest {
409
409
  * @param {string[][]} symbolsAndTimeframes array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
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 bybit api endpoint
412
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
413
413
  * @returns {object} A list of candles ordered as timestamp, open, high, low, close, volume
414
414
  */
415
415
  await this.loadMarkets();
@@ -524,7 +524,7 @@ export default class bybit extends bybitRest {
524
524
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
525
525
  * @param {string} symbol unified symbol of the market to fetch the order book for
526
526
  * @param {int} [limit] the maximum amount of order book entries to return.
527
- * @param {object} [params] extra parameters specific to the bybit api endpoint
527
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
528
528
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
529
529
  */
530
530
  await this.loadMarkets();
@@ -561,7 +561,7 @@ export default class bybit extends bybitRest {
561
561
  * @see https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
562
562
  * @param {string[]} symbols unified array of symbols
563
563
  * @param {int} [limit] the maximum amount of order book entries to return.
564
- * @param {object} [params] extra parameters specific to the bybit api endpoint
564
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
565
565
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
566
566
  */
567
567
  await this.loadMarkets();
@@ -678,7 +678,7 @@ export default class bybit extends bybitRest {
678
678
  * @param {string} symbol unified market symbol of the market trades were made in
679
679
  * @param {int} [since] the earliest time in ms to fetch trades for
680
680
  * @param {int} [limit] the maximum number of trade structures to retrieve
681
- * @param {object} [params] extra parameters specific to the bybit api endpoint
681
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
682
682
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
683
683
  */
684
684
  await this.loadMarkets();
@@ -703,7 +703,7 @@ export default class bybit extends bybitRest {
703
703
  * @param {string[]} symbols unified symbol of the market to fetch trades for
704
704
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
705
705
  * @param {int} [limit] the maximum amount of trades to fetch
706
- * @param {object} [params] extra parameters specific to the bybit api endpoint
706
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
707
707
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
708
708
  */
709
709
  await this.loadMarkets();
@@ -865,7 +865,7 @@ export default class bybit extends bybitRest {
865
865
  * @param {string} symbol unified market symbol of the market orders were made in
866
866
  * @param {int} [since] the earliest time in ms to fetch orders for
867
867
  * @param {int} [limit] the maximum number of orde structures to retrieve
868
- * @param {object} [params] extra parameters specific to the bybit api endpoint
868
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
869
869
  * @param {boolean} [params.unifiedMargin] use unified margin account
870
870
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
871
871
  */
@@ -989,7 +989,7 @@ export default class bybit extends bybitRest {
989
989
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/position
990
990
  * @description watch all open positions
991
991
  * @param {string[]|undefined} symbols list of unified market symbols
992
- * @param {object} params extra parameters specific to the bybit api endpoint
992
+ * @param {object} params extra parameters specific to the exchange API endpoint
993
993
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
994
994
  */
995
995
  await this.loadMarkets();
@@ -1130,7 +1130,7 @@ export default class bybit extends bybitRest {
1130
1130
  * @param {string} symbol unified market symbol of the market orders were made in
1131
1131
  * @param {int} [since] the earliest time in ms to fetch orders for
1132
1132
  * @param {int} [limit] the maximum number of orde structures to retrieve
1133
- * @param {object} [params] extra parameters specific to the bybit api endpoint
1133
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1134
1134
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
1135
1135
  */
1136
1136
  await this.loadMarkets();
@@ -1413,7 +1413,7 @@ export default class bybit extends bybitRest {
1413
1413
  * @name bybit#watchBalance
1414
1414
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1415
1415
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
1416
- * @param {object} [params] extra parameters specific to the bybit api endpoint
1416
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1417
1417
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1418
1418
  */
1419
1419
  await this.loadMarkets();
package/js/src/pro/cex.js CHANGED
@@ -49,7 +49,7 @@ export default class cex extends cexRest {
49
49
  * @name cex#watchBalance
50
50
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
51
51
  * @see https://cex.io/websocket-api#get-balance
52
- * @param {object} [params] extra parameters specific to the cex api endpoint
52
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
53
53
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
54
54
  */
55
55
  await this.authenticate(params);
@@ -111,7 +111,7 @@ export default class cex extends cexRest {
111
111
  * @param {string} symbol unified symbol of the market to fetch trades for
112
112
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
113
113
  * @param {int} [limit] the maximum amount of trades to fetch
114
- * @param {object} [params] extra parameters specific to the cex api endpoint
114
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
115
115
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
116
116
  */
117
117
  await this.loadMarkets();
@@ -226,7 +226,7 @@ export default class cex extends cexRest {
226
226
  * @see https://cex.io/websocket-api#ticker-subscription
227
227
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
228
228
  * @param {string} symbol unified symbol of the market to fetch the ticker for
229
- * @param {object} [params] extra parameters specific to the cex api endpoint
229
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
230
230
  * @param {string} [params.method] public or private
231
231
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
232
232
  */
@@ -262,9 +262,9 @@ export default class cex extends cexRest {
262
262
  * @method
263
263
  * @name cex#watchTickers
264
264
  * @see https://cex.io/websocket-api#ticker-subscription
265
- * @description watches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
265
+ * @description watches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
266
266
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
267
- * @param {object} [params] extra parameters specific to the cex api endpoint
267
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
268
268
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
269
269
  */
270
270
  await this.loadMarkets();
@@ -383,7 +383,7 @@ export default class cex extends cexRest {
383
383
  * @param {string} symbol unified symbol of the market to fetch trades for
384
384
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
385
385
  * @param {int} [limit] the maximum amount of trades to fetch
386
- * @param {object} [params] extra parameters specific to the cex api endpoint
386
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
387
387
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
388
388
  */
389
389
  if (symbol === undefined) {
@@ -421,7 +421,7 @@ export default class cex extends cexRest {
421
421
  * @param {string} symbol unified symbol of the market to fetch trades for
422
422
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
423
423
  * @param {int} [limit] the maximum amount of trades to fetch
424
- * @param {object} [params] extra parameters specific to the cex api endpoint
424
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
425
425
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
426
426
  */
427
427
  if (symbol === undefined) {
@@ -854,7 +854,7 @@ export default class cex extends cexRest {
854
854
  * @see https://cex.io/websocket-api#orderbook-subscribe
855
855
  * @param {string} symbol unified symbol of the market to fetch the order book for
856
856
  * @param {int} [limit] the maximum amount of order book entries to return
857
- * @param {object} [params] extra parameters specific to the cex api endpoint
857
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
858
858
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
859
859
  */
860
860
  await this.loadMarkets();
@@ -982,7 +982,7 @@ export default class cex extends cexRest {
982
982
  * @param {string} timeframe the length of time each candle represents.
983
983
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
984
984
  * @param {int} [limit] the maximum amount of candles to fetch
985
- * @param {object} [params] extra parameters specific to the cex api endpoint
985
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
986
986
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
987
987
  */
988
988
  await this.loadMarkets();
@@ -57,7 +57,7 @@ export default class coinbase extends coinbaseRest {
57
57
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-overview#subscribe
58
58
  * @param {string} name the name of the channel
59
59
  * @param {string|string[]} [symbol] unified market symbol
60
- * @param {object} [params] extra parameters specific to the cex api endpoint
60
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
61
61
  * @returns {object} subscription to a websocket channel
62
62
  */
63
63
  await this.loadMarkets();
@@ -96,7 +96,7 @@ export default class coinbase extends coinbaseRest {
96
96
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
97
97
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
98
98
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
99
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
99
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
100
100
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
101
101
  */
102
102
  const name = 'ticker';
@@ -109,7 +109,7 @@ export default class coinbase extends coinbaseRest {
109
109
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
110
110
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
111
111
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
112
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
112
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
113
113
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
114
114
  */
115
115
  if (symbols === undefined) {
@@ -250,7 +250,7 @@ export default class coinbase extends coinbaseRest {
250
250
  * @param {string} symbol unified symbol of the market to fetch trades for
251
251
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
252
252
  * @param {int} [limit] the maximum amount of trades to fetch
253
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
253
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
254
254
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
255
255
  */
256
256
  await this.loadMarkets();
@@ -271,7 +271,7 @@ export default class coinbase extends coinbaseRest {
271
271
  * @param {string} [symbol] unified market symbol of the market orders were made in
272
272
  * @param {int} [since] the earliest time in ms to fetch orders for
273
273
  * @param {int} [limit] the maximum number of orde structures to retrieve
274
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
274
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
275
275
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
276
276
  */
277
277
  await this.loadMarkets();
@@ -290,7 +290,7 @@ export default class coinbase extends coinbaseRest {
290
290
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#level2-channel
291
291
  * @param {string} symbol unified symbol of the market to fetch the order book for
292
292
  * @param {int} [limit] the maximum amount of order book entries to return
293
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
293
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
294
294
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
295
295
  */
296
296
  await this.loadMarkets();
@@ -114,7 +114,7 @@ export default class coinbasepro extends coinbaseproRest {
114
114
  * @name coinbasepro#watchTicker
115
115
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
116
116
  * @param {string} symbol unified symbol of the market to fetch the ticker for
117
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
117
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
118
118
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
119
119
  */
120
120
  const name = 'ticker';
@@ -127,7 +127,7 @@ export default class coinbasepro extends coinbaseproRest {
127
127
  * @see https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
128
128
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
129
129
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
130
- * @param {object} [params] extra parameters specific to the okx api endpoint
130
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
131
131
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
132
132
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
133
133
  */
@@ -152,7 +152,7 @@ export default class coinbasepro extends coinbaseproRest {
152
152
  * @param {string} symbol unified symbol of the market to fetch trades for
153
153
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
154
154
  * @param {int} [limit] the maximum amount of trades to fetch
155
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
155
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
156
156
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
157
157
  */
158
158
  await this.loadMarkets();
@@ -172,7 +172,7 @@ export default class coinbasepro extends coinbaseproRest {
172
172
  * @param {string} symbol unified symbol of the market to fetch trades for
173
173
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
174
174
  * @param {int} [limit] the maximum amount of trades to fetch
175
- * @param {object} [params] extra parameters specific to the coinbase api endpoint
175
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
176
176
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
177
177
  */
178
178
  const symbolsLength = symbols.length;
@@ -199,7 +199,7 @@ export default class coinbasepro extends coinbaseproRest {
199
199
  * @param {string} symbol unified market symbol of the market trades were made in
200
200
  * @param {int} [since] the earliest time in ms to fetch trades for
201
201
  * @param {int} [limit] the maximum number of trade structures to retrieve
202
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
202
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
203
203
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
204
204
  */
205
205
  if (symbol === undefined) {
@@ -224,7 +224,7 @@ export default class coinbasepro extends coinbaseproRest {
224
224
  * @param {string[]} symbols unified symbol of the market to fetch trades for
225
225
  * @param {int} [since] the earliest time in ms to fetch trades for
226
226
  * @param {int} [limit] the maximum number of trade structures to retrieve
227
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
227
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
228
228
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
229
229
  */
230
230
  symbols = this.marketSymbols(symbols, undefined, false);
@@ -248,7 +248,7 @@ export default class coinbasepro extends coinbaseproRest {
248
248
  * @param {string[]} symbols unified symbol of the market to fetch orders for
249
249
  * @param {int} [since] the earliest time in ms to fetch orders for
250
250
  * @param {int} [limit] the maximum number of trade structures to retrieve
251
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
251
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
252
252
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
253
253
  */
254
254
  symbols = this.marketSymbols(symbols, undefined, false);
@@ -272,7 +272,7 @@ export default class coinbasepro extends coinbaseproRest {
272
272
  * @param {string} symbol unified market symbol of the market orders were made in
273
273
  * @param {int} [since] the earliest time in ms to fetch orders for
274
274
  * @param {int} [limit] the maximum number of orde structures to retrieve
275
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
275
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
276
276
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
277
277
  */
278
278
  if (symbol === undefined) {
@@ -296,7 +296,7 @@ export default class coinbasepro extends coinbaseproRest {
296
296
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
297
297
  * @param {string} symbol unified symbol of the market to fetch the order book for
298
298
  * @param {int} [limit] the maximum amount of order book entries to return
299
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
299
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
300
300
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
301
301
  */
302
302
  const name = 'level2';
@@ -332,7 +332,7 @@ export default class coinbasepro extends coinbaseproRest {
332
332
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
333
333
  * @param {string[]} symbols unified array of symbols
334
334
  * @param {int} [limit] the maximum amount of order book entries to return
335
- * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
335
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
336
336
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
337
337
  */
338
338
  const symbolsLength = symbols.length;
@@ -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();