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
@@ -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';
package/js/src/pro/htx.js CHANGED
@@ -134,7 +134,7 @@ export default class htx extends htxRest {
134
134
  * @name huobi#watchTicker
135
135
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
136
136
  * @param {string} symbol unified symbol of the market to fetch the ticker for
137
- * @param {object} [params] extra parameters specific to the huobi api endpoint
137
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
138
138
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
139
139
  */
140
140
  await this.loadMarkets();
@@ -204,7 +204,7 @@ export default class htx extends htxRest {
204
204
  * @param {string} symbol unified symbol of the market to fetch trades for
205
205
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
206
206
  * @param {int} [limit] the maximum amount of trades to fetch
207
- * @param {object} [params] extra parameters specific to the huobi api endpoint
207
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
208
208
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
209
209
  */
210
210
  await this.loadMarkets();
@@ -268,7 +268,7 @@ export default class htx extends htxRest {
268
268
  * @param {string} timeframe the length of time each candle represents
269
269
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
270
270
  * @param {int} [limit] the maximum amount of candles to fetch
271
- * @param {object} [params] extra parameters specific to the huobi api endpoint
271
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
272
272
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
273
273
  */
274
274
  await this.loadMarkets();
@@ -329,7 +329,7 @@ export default class htx extends htxRest {
329
329
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
330
330
  * @param {string} symbol unified symbol of the market to fetch the order book for
331
331
  * @param {int} [limit] the maximum amount of order book entries to return
332
- * @param {object} [params] extra parameters specific to the huobi api endpoint
332
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
333
333
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
334
334
  */
335
335
  await this.loadMarkets();
@@ -666,7 +666,7 @@ export default class htx extends htxRest {
666
666
  * @param {string} symbol unified market symbol of the market trades were made in
667
667
  * @param {int} [since] the earliest time in ms to fetch trades for
668
668
  * @param {int} [limit] the maximum number of trade structures to retrieve
669
- * @param {object} [params] extra parameters specific to the huobi api endpoint
669
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
670
670
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
671
671
  */
672
672
  this.checkRequiredCredentials();
@@ -769,7 +769,7 @@ export default class htx extends htxRest {
769
769
  * @param {string} symbol unified market symbol of the market orders were made in
770
770
  * @param {int} [since] the earliest time in ms to fetch orders for
771
771
  * @param {int} [limit] the maximum number of orde structures to retrieve
772
- * @param {object} [params] extra parameters specific to the huobi api endpoint
772
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
773
773
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
774
774
  */
775
775
  await this.loadMarkets();
@@ -1219,7 +1219,7 @@ export default class htx extends htxRest {
1219
1219
  * @see https://www.huobi.com/en-in/opend/newApiPages/?id=5d5156b5-77b6-11ed-9966-0242ac110003
1220
1220
  * @description watch all open positions. Note: huobi has one channel for each marginMode and type
1221
1221
  * @param {string[]|undefined} symbols list of unified market symbols
1222
- * @param {object} params extra parameters specific to the huobi api endpoint
1222
+ * @param {object} params extra parameters specific to the exchange API endpoint
1223
1223
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
1224
1224
  */
1225
1225
  await this.loadMarkets();
@@ -1335,7 +1335,7 @@ export default class htx extends htxRest {
1335
1335
  * @method
1336
1336
  * @name huobi#watchBalance
1337
1337
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1338
- * @param {object} [params] extra parameters specific to the huobi api endpoint
1338
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1339
1339
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1340
1340
  */
1341
1341
  let type = undefined;
@@ -52,7 +52,7 @@ export default class huobijp extends huobijpRest {
52
52
  * @name huobijp#watchTicker
53
53
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
54
54
  * @param {string} symbol unified symbol of the market to fetch the ticker for
55
- * @param {object} [params] extra parameters specific to the huobijp api endpoint
55
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
56
56
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
57
57
  */
58
58
  await this.loadMarkets();
@@ -116,7 +116,7 @@ export default class huobijp extends huobijpRest {
116
116
  * @param {string} symbol unified symbol of the market to fetch trades for
117
117
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
118
118
  * @param {int} [limit] the maximum amount of trades to fetch
119
- * @param {object} [params] extra parameters specific to the huobijp api endpoint
119
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
120
120
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
121
121
  */
122
122
  await this.loadMarkets();
@@ -194,7 +194,7 @@ export default class huobijp extends huobijpRest {
194
194
  * @param {string} timeframe the length of time each candle represents
195
195
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
196
196
  * @param {int} [limit] the maximum amount of candles to fetch
197
- * @param {object} [params] extra parameters specific to the huobijp api endpoint
197
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
198
198
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
199
199
  */
200
200
  await this.loadMarkets();
@@ -266,7 +266,7 @@ export default class huobijp extends huobijpRest {
266
266
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
267
267
  * @param {string} symbol unified symbol of the market to fetch the order book for
268
268
  * @param {int} [limit] the maximum amount of order book entries to return
269
- * @param {object} [params] extra parameters specific to the huobijp api endpoint
269
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
270
270
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
271
271
  */
272
272
  if ((limit !== undefined) && (limit !== 150)) {
@@ -72,7 +72,7 @@ export default class idex extends idexRest {
72
72
  * @name idex#watchTicker
73
73
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
74
74
  * @param {string} symbol unified symbol of the market to fetch the ticker for
75
- * @param {object} [params] extra parameters specific to the idex api endpoint
75
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
76
76
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
77
77
  */
78
78
  await this.loadMarkets();
@@ -146,7 +146,7 @@ export default class idex extends idexRest {
146
146
  * @param {string} symbol unified symbol of the market to fetch trades for
147
147
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
148
148
  * @param {int} [limit] the maximum amount of trades to fetch
149
- * @param {object} [params] extra parameters specific to the idex api endpoint
149
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
150
150
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
151
151
  */
152
152
  await this.loadMarkets();
@@ -241,7 +241,7 @@ export default class idex extends idexRest {
241
241
  * @param {string} timeframe the length of time each candle represents
242
242
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
243
243
  * @param {int} [limit] the maximum amount of candles to fetch
244
- * @param {object} [params] extra parameters specific to the idex api endpoint
244
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
245
245
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
246
246
  */
247
247
  await this.loadMarkets();
@@ -409,7 +409,7 @@ export default class idex extends idexRest {
409
409
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
410
410
  * @param {string} symbol unified symbol of the market to fetch the order book for
411
411
  * @param {int} [limit] the maximum amount of order book entries to return
412
- * @param {object} [params] extra parameters specific to the idex api endpoint
412
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
413
413
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
414
414
  */
415
415
  await this.loadMarkets();
@@ -513,7 +513,7 @@ export default class idex extends idexRest {
513
513
  * @param {string} symbol unified market symbol of the market orders were made in
514
514
  * @param {int} [since] the earliest time in ms to fetch orders for
515
515
  * @param {int} [limit] the maximum number of orde structures to retrieve
516
- * @param {object} [params] extra parameters specific to the idex api endpoint
516
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
517
517
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
518
518
  */
519
519
  await this.loadMarkets();
@@ -43,7 +43,7 @@ export default class independentreserve extends independentreserveRest {
43
43
  * @param {string} symbol unified symbol of the market to fetch trades for
44
44
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
45
45
  * @param {int} [limit] the maximum amount of trades to fetch
46
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
46
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
47
47
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
48
48
  */
49
49
  await this.loadMarkets();
@@ -126,7 +126,7 @@ export default class independentreserve extends independentreserveRest {
126
126
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
127
127
  * @param {string} symbol unified symbol of the market to fetch the order book for
128
128
  * @param {int} [limit] the maximum amount of order book entries to return
129
- * @param {object} [params] extra parameters specific to the independentreserve api endpoint
129
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
130
130
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
131
131
  */
132
132
  await this.loadMarkets();
@@ -117,7 +117,7 @@ export default class kraken extends krakenRest {
117
117
  * @param {string} side 'buy' or 'sell'
118
118
  * @param {float} amount how much of currency you want to trade in units of base currency
119
119
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
120
- * @param {object} [params] extra parameters specific to the kraken api endpoint
120
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
121
121
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
122
122
  */
123
123
  await this.loadMarkets();
@@ -174,7 +174,7 @@ export default class kraken extends krakenRest {
174
174
  * @param {string} side 'buy' or 'sell'
175
175
  * @param {float} amount how much of the currency you want to trade in units of the base currency
176
176
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
177
- * @param {object} [params] extra parameters specific to the kraken api endpoint
177
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
178
178
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
179
179
  */
180
180
  await this.loadMarkets();
@@ -202,7 +202,7 @@ export default class kraken extends krakenRest {
202
202
  * @description cancel multiple orders
203
203
  * @param {string[]} ids order ids
204
204
  * @param {string} symbol unified market symbol, default is undefined
205
- * @param {object} [params] extra parameters specific to the kraken api endpoint
205
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
206
206
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
207
207
  */
208
208
  await this.loadMarkets();
@@ -226,7 +226,7 @@ export default class kraken extends krakenRest {
226
226
  * @description cancels an open order
227
227
  * @param {string} id order id
228
228
  * @param {string} symbol unified symbol of the market the order was made in
229
- * @param {object} [params] extra parameters specific to the kraken api endpoint
229
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
230
230
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
231
231
  */
232
232
  await this.loadMarkets();
@@ -263,7 +263,7 @@ export default class kraken extends krakenRest {
263
263
  * @see https://docs.kraken.com/websockets/#message-cancelAll
264
264
  * @description cancel all open orders
265
265
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
266
- * @param {object} [params] extra parameters specific to the kraken api endpoint
266
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
267
267
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
268
268
  */
269
269
  if (symbol !== undefined) {
@@ -468,7 +468,7 @@ export default class kraken extends krakenRest {
468
468
  * @name kraken#watchTicker
469
469
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
470
470
  * @param {string} symbol unified symbol of the market to fetch the ticker for
471
- * @param {object} [params] extra parameters specific to the kraken api endpoint
471
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
472
472
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
473
473
  */
474
474
  return await this.watchPublic('ticker', symbol, params);
@@ -481,7 +481,7 @@ export default class kraken extends krakenRest {
481
481
  * @param {string} symbol unified symbol of the market to fetch trades for
482
482
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
483
483
  * @param {int} [limit] the maximum amount of trades to fetch
484
- * @param {object} [params] extra parameters specific to the kraken api endpoint
484
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
485
485
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
486
486
  */
487
487
  await this.loadMarkets();
@@ -500,7 +500,7 @@ export default class kraken extends krakenRest {
500
500
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
501
501
  * @param {string} symbol unified symbol of the market to fetch the order book for
502
502
  * @param {int} [limit] the maximum amount of order book entries to return
503
- * @param {object} [params] extra parameters specific to the kraken api endpoint
503
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
504
504
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
505
505
  */
506
506
  const name = 'book';
@@ -527,7 +527,7 @@ export default class kraken extends krakenRest {
527
527
  * @param {string} timeframe the length of time each candle represents
528
528
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
529
529
  * @param {int} [limit] the maximum amount of candles to fetch
530
- * @param {object} [params] extra parameters specific to the kraken api endpoint
530
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
531
531
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
532
532
  */
533
533
  await this.loadMarkets();
@@ -832,7 +832,7 @@ export default class kraken extends krakenRest {
832
832
  * @param {string} symbol unified market symbol of the market trades were made in
833
833
  * @param {int} [since] the earliest time in ms to fetch trades for
834
834
  * @param {int} [limit] the maximum number of trade structures to retrieve
835
- * @param {object} [params] extra parameters specific to the kraken api endpoint
835
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
836
836
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
837
837
  */
838
838
  return await this.watchPrivate('ownTrades', symbol, since, limit, params);
@@ -994,7 +994,7 @@ export default class kraken extends krakenRest {
994
994
  * @param {string} symbol unified market symbol of the market orders were made in
995
995
  * @param {int} [since] the earliest time in ms to fetch orders for
996
996
  * @param {int} [limit] the maximum number of orde structures to retrieve
997
- * @param {object} [params] extra parameters specific to the kraken api endpoint
997
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
998
998
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
999
999
  */
1000
1000
  return await this.watchPrivate('openOrders', symbol, since, limit, params);