ccxt 4.1.63 → 4.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2769 -2653
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +13 -13
  6. package/dist/cjs/src/alpaca.js +10 -10
  7. package/dist/cjs/src/ascendex.js +33 -33
  8. package/dist/cjs/src/base/Exchange.js +6 -6
  9. package/dist/cjs/src/bigone.js +23 -23
  10. package/dist/cjs/src/binance.js +68 -68
  11. package/dist/cjs/src/binanceus.js +33 -3
  12. package/dist/cjs/src/bingx.js +33 -33
  13. package/dist/cjs/src/bit2c.js +11 -11
  14. package/dist/cjs/src/bitbank.js +14 -14
  15. package/dist/cjs/src/bitbns.js +15 -15
  16. package/dist/cjs/src/bitfinex.js +24 -24
  17. package/dist/cjs/src/bitfinex2.js +30 -30
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitforex.js +12 -12
  20. package/dist/cjs/src/bitget.js +50 -50
  21. package/dist/cjs/src/bithumb.js +13 -13
  22. package/dist/cjs/src/bitmart.js +74 -59
  23. package/dist/cjs/src/bitmex.js +29 -28
  24. package/dist/cjs/src/bitopro.js +23 -23
  25. package/dist/cjs/src/bitpanda.js +25 -25
  26. package/dist/cjs/src/bitrue.js +26 -26
  27. package/dist/cjs/src/bitso.js +22 -22
  28. package/dist/cjs/src/bitstamp.js +24 -24
  29. package/dist/cjs/src/bittrex.js +31 -31
  30. package/dist/cjs/src/bitvavo.js +23 -23
  31. package/dist/cjs/src/bl3p.js +7 -7
  32. package/dist/cjs/src/blockchaincom.js +23 -23
  33. package/dist/cjs/src/btcalpha.js +17 -17
  34. package/dist/cjs/src/btcbox.js +9 -9
  35. package/dist/cjs/src/btcmarkets.js +19 -19
  36. package/dist/cjs/src/btcturk.js +13 -13
  37. package/dist/cjs/src/bybit.js +71 -67
  38. package/dist/cjs/src/cex.js +17 -17
  39. package/dist/cjs/src/coinbase.js +28 -28
  40. package/dist/cjs/src/coinbasepro.js +27 -27
  41. package/dist/cjs/src/coincheck.js +11 -11
  42. package/dist/cjs/src/coinex.js +42 -42
  43. package/dist/cjs/src/coinlist.js +29 -29
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinone.js +13 -13
  46. package/dist/cjs/src/coinsph.js +25 -25
  47. package/dist/cjs/src/coinspot.js +9 -9
  48. package/dist/cjs/src/cryptocom.js +33 -32
  49. package/dist/cjs/src/currencycom.js +24 -24
  50. package/dist/cjs/src/delta.js +29 -29
  51. package/dist/cjs/src/deribit.js +35 -35
  52. package/dist/cjs/src/digifinex.js +43 -43
  53. package/dist/cjs/src/exmo.js +30 -30
  54. package/dist/cjs/src/gate.js +39 -39
  55. package/dist/cjs/src/gemini.js +18 -18
  56. package/dist/cjs/src/hitbtc.js +40 -40
  57. package/dist/cjs/src/hollaex.js +26 -26
  58. package/dist/cjs/src/htx.js +48 -48
  59. package/dist/cjs/src/huobijp.js +24 -24
  60. package/dist/cjs/src/idex.js +23 -23
  61. package/dist/cjs/src/independentreserve.js +12 -12
  62. package/dist/cjs/src/indodax.js +16 -16
  63. package/dist/cjs/src/kraken.js +48 -30
  64. package/dist/cjs/src/krakenfutures.js +16 -16
  65. package/dist/cjs/src/kucoin.js +39 -39
  66. package/dist/cjs/src/kucoinfutures.js +24 -24
  67. package/dist/cjs/src/kuna.js +25 -25
  68. package/dist/cjs/src/latoken.js +20 -20
  69. package/dist/cjs/src/lbank.js +24 -24
  70. package/dist/cjs/src/luno.js +27 -28
  71. package/dist/cjs/src/lykke.js +18 -18
  72. package/dist/cjs/src/mercado.js +13 -13
  73. package/dist/cjs/src/mexc.js +47 -45
  74. package/dist/cjs/src/ndax.js +23 -23
  75. package/dist/cjs/src/novadax.js +23 -23
  76. package/dist/cjs/src/oceanex.js +19 -19
  77. package/dist/cjs/src/okcoin.js +25 -25
  78. package/dist/cjs/src/okx.js +53 -53
  79. package/dist/cjs/src/p2b.js +14 -14
  80. package/dist/cjs/src/paymium.js +10 -10
  81. package/dist/cjs/src/phemex.js +162 -123
  82. package/dist/cjs/src/poloniex.js +27 -27
  83. package/dist/cjs/src/poloniexfutures.js +21 -21
  84. package/dist/cjs/src/pro/alpaca.js +6 -6
  85. package/dist/cjs/src/pro/ascendex.js +5 -5
  86. package/dist/cjs/src/pro/binance.js +21 -21
  87. package/dist/cjs/src/pro/bingx.js +6 -6
  88. package/dist/cjs/src/pro/bitfinex.js +4 -4
  89. package/dist/cjs/src/pro/bitfinex2.js +7 -7
  90. package/dist/cjs/src/pro/bitget.js +12 -12
  91. package/dist/cjs/src/pro/bitmart.js +5 -5
  92. package/dist/cjs/src/pro/bitmex.js +8 -8
  93. package/dist/cjs/src/pro/bitopro.js +4 -4
  94. package/dist/cjs/src/pro/bitpanda.js +7 -7
  95. package/dist/cjs/src/pro/bitrue.js +2 -2
  96. package/dist/cjs/src/pro/bitstamp.js +3 -3
  97. package/dist/cjs/src/pro/bittrex.js +7 -7
  98. package/dist/cjs/src/pro/bitvavo.js +6 -6
  99. package/dist/cjs/src/pro/blockchaincom.js +6 -6
  100. package/dist/cjs/src/pro/bybit.js +12 -12
  101. package/dist/cjs/src/pro/cex.js +9 -9
  102. package/dist/cjs/src/pro/coinbase.js +6 -6
  103. package/dist/cjs/src/pro/coinbasepro.js +10 -10
  104. package/dist/cjs/src/pro/coinex.js +7 -7
  105. package/dist/cjs/src/pro/cryptocom.js +13 -13
  106. package/dist/cjs/src/pro/currencycom.js +5 -5
  107. package/dist/cjs/src/pro/deribit.js +7 -7
  108. package/dist/cjs/src/pro/exmo.js +5 -5
  109. package/dist/cjs/src/pro/gate.js +10 -10
  110. package/dist/cjs/src/pro/gemini.js +4 -4
  111. package/dist/cjs/src/pro/hitbtc.js +11 -11
  112. package/dist/cjs/src/pro/hollaex.js +5 -5
  113. package/dist/cjs/src/pro/htx.js +8 -8
  114. package/dist/cjs/src/pro/huobijp.js +4 -4
  115. package/dist/cjs/src/pro/idex.js +5 -5
  116. package/dist/cjs/src/pro/independentreserve.js +2 -2
  117. package/dist/cjs/src/pro/kraken.js +11 -11
  118. package/dist/cjs/src/pro/krakenfutures.js +12 -9
  119. package/dist/cjs/src/pro/kucoin.js +10 -10
  120. package/dist/cjs/src/pro/kucoinfutures.js +8 -8
  121. package/dist/cjs/src/pro/luno.js +4 -4
  122. package/dist/cjs/src/pro/mexc.js +7 -7
  123. package/dist/cjs/src/pro/ndax.js +4 -4
  124. package/dist/cjs/src/pro/okcoin.js +6 -6
  125. package/dist/cjs/src/pro/okx.js +16 -16
  126. package/dist/cjs/src/pro/phemex.js +7 -7
  127. package/dist/cjs/src/pro/poloniex.js +7 -7
  128. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  129. package/dist/cjs/src/pro/probit.js +6 -6
  130. package/dist/cjs/src/pro/upbit.js +3 -3
  131. package/dist/cjs/src/pro/wazirx.js +7 -7
  132. package/dist/cjs/src/pro/whitebit.js +7 -7
  133. package/dist/cjs/src/pro/woo.js +1 -1
  134. package/dist/cjs/src/probit.js +24 -24
  135. package/dist/cjs/src/tidex.js +15 -15
  136. package/dist/cjs/src/timex.js +19 -19
  137. package/dist/cjs/src/tokocrypto.js +22 -24
  138. package/dist/cjs/src/upbit.js +22 -22
  139. package/dist/cjs/src/wavesexchange.js +19 -19
  140. package/dist/cjs/src/wazirx.js +22 -16
  141. package/dist/cjs/src/whitebit.js +29 -29
  142. package/dist/cjs/src/woo.js +26 -26
  143. package/dist/cjs/src/yobit.js +17 -17
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +16 -16
  146. package/doc/manual.rst +1 -1
  147. package/doc/readme.rst +1 -1
  148. package/js/ccxt.d.ts +1 -1
  149. package/js/ccxt.js +1 -1
  150. package/js/src/abstract/mexc.d.ts +2 -0
  151. package/js/src/ace.js +13 -13
  152. package/js/src/alpaca.js +10 -10
  153. package/js/src/ascendex.js +33 -33
  154. package/js/src/base/Exchange.js +6 -6
  155. package/js/src/bigone.js +23 -23
  156. package/js/src/binance.js +68 -68
  157. package/js/src/binanceus.js +33 -3
  158. package/js/src/bingx.js +33 -33
  159. package/js/src/bit2c.js +11 -11
  160. package/js/src/bitbank.js +14 -14
  161. package/js/src/bitbns.js +15 -15
  162. package/js/src/bitfinex.js +24 -24
  163. package/js/src/bitfinex2.js +30 -30
  164. package/js/src/bitflyer.js +17 -17
  165. package/js/src/bitforex.js +12 -12
  166. package/js/src/bitget.js +50 -50
  167. package/js/src/bithumb.js +13 -13
  168. package/js/src/bitmart.js +74 -59
  169. package/js/src/bitmex.js +29 -28
  170. package/js/src/bitopro.js +23 -23
  171. package/js/src/bitpanda.js +25 -25
  172. package/js/src/bitrue.js +26 -26
  173. package/js/src/bitso.js +22 -22
  174. package/js/src/bitstamp.js +24 -24
  175. package/js/src/bittrex.js +31 -31
  176. package/js/src/bitvavo.js +23 -23
  177. package/js/src/bl3p.js +7 -7
  178. package/js/src/blockchaincom.js +23 -23
  179. package/js/src/btcalpha.js +17 -17
  180. package/js/src/btcbox.js +9 -9
  181. package/js/src/btcmarkets.js +19 -19
  182. package/js/src/btcturk.js +13 -13
  183. package/js/src/bybit.js +71 -67
  184. package/js/src/cex.js +17 -17
  185. package/js/src/coinbase.js +28 -28
  186. package/js/src/coinbasepro.js +27 -27
  187. package/js/src/coincheck.js +11 -11
  188. package/js/src/coinex.js +42 -42
  189. package/js/src/coinlist.js +29 -29
  190. package/js/src/coinmate.js +14 -14
  191. package/js/src/coinone.js +13 -13
  192. package/js/src/coinsph.js +25 -25
  193. package/js/src/coinspot.js +9 -9
  194. package/js/src/cryptocom.js +33 -32
  195. package/js/src/currencycom.js +24 -24
  196. package/js/src/delta.js +29 -29
  197. package/js/src/deribit.js +35 -35
  198. package/js/src/digifinex.js +43 -43
  199. package/js/src/exmo.js +30 -30
  200. package/js/src/gate.js +39 -39
  201. package/js/src/gemini.js +18 -18
  202. package/js/src/hitbtc.js +40 -40
  203. package/js/src/hollaex.js +26 -26
  204. package/js/src/htx.js +48 -48
  205. package/js/src/huobijp.js +24 -24
  206. package/js/src/idex.js +23 -23
  207. package/js/src/independentreserve.js +12 -12
  208. package/js/src/indodax.js +16 -16
  209. package/js/src/kraken.js +48 -30
  210. package/js/src/krakenfutures.js +16 -16
  211. package/js/src/kucoin.js +39 -39
  212. package/js/src/kucoinfutures.js +24 -24
  213. package/js/src/kuna.js +25 -25
  214. package/js/src/latoken.js +20 -20
  215. package/js/src/lbank.js +24 -24
  216. package/js/src/luno.js +27 -28
  217. package/js/src/lykke.js +18 -18
  218. package/js/src/mercado.js +13 -13
  219. package/js/src/mexc.js +47 -45
  220. package/js/src/ndax.js +23 -23
  221. package/js/src/novadax.js +23 -23
  222. package/js/src/oceanex.js +19 -19
  223. package/js/src/okcoin.js +25 -25
  224. package/js/src/okx.js +53 -53
  225. package/js/src/p2b.js +14 -14
  226. package/js/src/paymium.js +10 -10
  227. package/js/src/phemex.js +162 -123
  228. package/js/src/poloniex.js +27 -27
  229. package/js/src/poloniexfutures.js +21 -21
  230. package/js/src/pro/alpaca.js +6 -6
  231. package/js/src/pro/ascendex.js +5 -5
  232. package/js/src/pro/binance.js +21 -21
  233. package/js/src/pro/bingx.js +6 -6
  234. package/js/src/pro/bitfinex.js +4 -4
  235. package/js/src/pro/bitfinex2.js +7 -7
  236. package/js/src/pro/bitget.js +12 -12
  237. package/js/src/pro/bitmart.js +5 -5
  238. package/js/src/pro/bitmex.js +8 -8
  239. package/js/src/pro/bitopro.js +4 -4
  240. package/js/src/pro/bitpanda.js +7 -7
  241. package/js/src/pro/bitrue.js +2 -2
  242. package/js/src/pro/bitstamp.js +3 -3
  243. package/js/src/pro/bittrex.js +7 -7
  244. package/js/src/pro/bitvavo.js +6 -6
  245. package/js/src/pro/blockchaincom.js +6 -6
  246. package/js/src/pro/bybit.js +12 -12
  247. package/js/src/pro/cex.js +9 -9
  248. package/js/src/pro/coinbase.js +6 -6
  249. package/js/src/pro/coinbasepro.js +10 -10
  250. package/js/src/pro/coinex.js +7 -7
  251. package/js/src/pro/cryptocom.js +13 -13
  252. package/js/src/pro/currencycom.js +5 -5
  253. package/js/src/pro/deribit.js +7 -7
  254. package/js/src/pro/exmo.js +5 -5
  255. package/js/src/pro/gate.js +10 -10
  256. package/js/src/pro/gemini.js +4 -4
  257. package/js/src/pro/hitbtc.js +11 -11
  258. package/js/src/pro/hollaex.js +5 -5
  259. package/js/src/pro/htx.js +8 -8
  260. package/js/src/pro/huobijp.js +4 -4
  261. package/js/src/pro/idex.js +5 -5
  262. package/js/src/pro/independentreserve.js +2 -2
  263. package/js/src/pro/kraken.js +11 -11
  264. package/js/src/pro/krakenfutures.js +12 -9
  265. package/js/src/pro/kucoin.js +10 -10
  266. package/js/src/pro/kucoinfutures.js +8 -8
  267. package/js/src/pro/luno.js +4 -4
  268. package/js/src/pro/mexc.js +7 -7
  269. package/js/src/pro/ndax.js +4 -4
  270. package/js/src/pro/okcoin.js +6 -6
  271. package/js/src/pro/okx.js +16 -16
  272. package/js/src/pro/phemex.js +7 -7
  273. package/js/src/pro/poloniex.js +7 -7
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +3 -3
  277. package/js/src/pro/wazirx.js +7 -7
  278. package/js/src/pro/whitebit.js +7 -7
  279. package/js/src/pro/woo.js +1 -1
  280. package/js/src/probit.js +24 -24
  281. package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
  282. package/js/src/tidex.js +15 -15
  283. package/js/src/timex.js +19 -19
  284. package/js/src/tokocrypto.js +22 -24
  285. package/js/src/upbit.js +22 -22
  286. package/js/src/wavesexchange.js +19 -19
  287. package/js/src/wazirx.js +22 -16
  288. package/js/src/whitebit.js +29 -29
  289. package/js/src/woo.js +26 -26
  290. package/js/src/yobit.js +17 -17
  291. package/js/src/zaif.js +10 -10
  292. package/js/src/zonda.js +16 -16
  293. package/package.json +1 -1
@@ -41,7 +41,7 @@ class ndax extends ndax$1 {
41
41
  * @name ndax#watchTicker
42
42
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
43
43
  * @param {string} symbol unified symbol of the market to fetch the ticker for
44
- * @param {object} [params] extra parameters specific to the ndax api endpoint
44
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
45
45
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
46
46
  */
47
47
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -108,7 +108,7 @@ class ndax extends ndax$1 {
108
108
  * @param {string} symbol unified symbol of the market to fetch trades for
109
109
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
110
110
  * @param {int} [limit] the maximum amount of trades to fetch
111
- * @param {object} [params] extra parameters specific to the ndax api endpoint
111
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
112
112
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
113
113
  */
114
114
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -190,7 +190,7 @@ class ndax extends ndax$1 {
190
190
  * @param {string} timeframe the length of time each candle represents
191
191
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
192
192
  * @param {int} [limit] the maximum amount of candles to fetch
193
- * @param {object} [params] extra parameters specific to the ndax api endpoint
193
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
194
194
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
195
195
  */
196
196
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -320,7 +320,7 @@ class ndax extends ndax$1 {
320
320
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
321
321
  * @param {string} symbol unified symbol of the market to fetch the order book for
322
322
  * @param {int} [limit] the maximum amount of order book entries to return
323
- * @param {object} [params] extra parameters specific to the ndax api endpoint
323
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
324
324
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
325
325
  */
326
326
  const omsId = this.safeInteger(this.options, 'omsId', 1);
@@ -70,7 +70,7 @@ class okcoin extends okcoin$1 {
70
70
  * @param {string} symbol unified symbol of the market to fetch trades for
71
71
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
72
72
  * @param {int} [limit] the maximum amount of trades to fetch
73
- * @param {object} [params] extra parameters specific to the okcoin api endpoint
73
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
74
74
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
75
75
  */
76
76
  await this.loadMarkets();
@@ -89,7 +89,7 @@ class okcoin extends okcoin$1 {
89
89
  * @param {string} symbol unified market symbol of the market orders were made in
90
90
  * @param {int} [since] the earliest time in ms to fetch orders for
91
91
  * @param {int} [limit] the maximum number of orde structures to retrieve
92
- * @param {object} [params] extra parameters specific to the okcoin api endpoint
92
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
93
93
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
94
94
  */
95
95
  await this.loadMarkets();
@@ -173,7 +173,7 @@ class okcoin extends okcoin$1 {
173
173
  * @name okcoin#watchTicker
174
174
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
175
175
  * @param {string} symbol unified symbol of the market to fetch the ticker for
176
- * @param {object} [params] extra parameters specific to the okcoin api endpoint
176
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
177
177
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
178
178
  */
179
179
  return await this.subscribe('ticker', symbol, params);
@@ -256,7 +256,7 @@ class okcoin extends okcoin$1 {
256
256
  * @param {string} timeframe the length of time each candle represents
257
257
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
258
258
  * @param {int} [limit] the maximum amount of candles to fetch
259
- * @param {object} [params] extra parameters specific to the okcoin api endpoint
259
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
260
260
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
261
261
  */
262
262
  await this.loadMarkets();
@@ -321,7 +321,7 @@ class okcoin extends okcoin$1 {
321
321
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
322
322
  * @param {string} symbol unified symbol of the market to fetch the order book for
323
323
  * @param {int} [limit] the maximum amount of order book entries to return
324
- * @param {object} [params] extra parameters specific to the okcoin api endpoint
324
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
325
325
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
326
326
  */
327
327
  const options = this.safeValue(this.options, 'watchOrderBook', {});
@@ -482,7 +482,7 @@ class okcoin extends okcoin$1 {
482
482
  * @method
483
483
  * @name okcoin#watchBalance
484
484
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
485
- * @param {object} [params] extra parameters specific to the okcoin api endpoint
485
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
486
486
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
487
487
  */
488
488
  const defaultType = this.safeString2(this.options, 'watchBalance', 'defaultType');
@@ -162,7 +162,7 @@ class okx extends okx$1 {
162
162
  * @param {string} symbol unified symbol of the market to fetch trades for
163
163
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
164
164
  * @param {int} [limit] the maximum amount of trades to fetch
165
- * @param {object} [params] extra parameters specific to the okx api endpoint
165
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
166
166
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
167
167
  */
168
168
  await this.loadMarkets();
@@ -181,7 +181,7 @@ class okx extends okx$1 {
181
181
  * @param {string} symbol unified symbol of the market to fetch trades for
182
182
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
183
183
  * @param {int} [limit] the maximum amount of trades to fetch
184
- * @param {object} [params] extra parameters specific to the okx api endpoint
184
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
185
185
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
186
186
  */
187
187
  const symbolsLength = symbols.length;
@@ -257,7 +257,7 @@ class okx extends okx$1 {
257
257
  * @see https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
258
258
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
259
259
  * @param {string} symbol unified symbol of the market to fetch the ticker for
260
- * @param {object} [params] extra parameters specific to the okx api endpoint
260
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
261
261
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
262
262
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
263
263
  */
@@ -274,7 +274,7 @@ class okx extends okx$1 {
274
274
  * @see https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
275
275
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
276
276
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
277
- * @param {object} [params] extra parameters specific to the okx api endpoint
277
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
278
278
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
279
279
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
280
280
  */
@@ -349,7 +349,7 @@ class okx extends okx$1 {
349
349
  * @param {string} timeframe the length of time each candle represents
350
350
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
351
351
  * @param {int} [limit] the maximum amount of candles to fetch
352
- * @param {object} [params] extra parameters specific to the okx api endpoint
352
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
353
353
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
354
354
  */
355
355
  await this.loadMarkets();
@@ -409,7 +409,7 @@ class okx extends okx$1 {
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 okx 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
  const options = this.safeValue(this.options, 'watchOrderBook', {});
@@ -450,7 +450,7 @@ class okx extends okx$1 {
450
450
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
451
451
  * @param {string[]} symbols unified array of symbols
452
452
  * @param {int} [limit] the maximum amount of order book entries to return
453
- * @param {object} [params] extra parameters specific to the okx api endpoint
453
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
454
454
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
455
455
  */
456
456
  await this.loadMarkets();
@@ -725,7 +725,7 @@ class okx extends okx$1 {
725
725
  * @method
726
726
  * @name okx#watchBalance
727
727
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
728
- * @param {object} [params] extra parameters specific to the okx api endpoint
728
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
729
729
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
730
730
  */
731
731
  await this.loadMarkets();
@@ -818,7 +818,7 @@ class okx extends okx$1 {
818
818
  * @param {string} [symbol] unified market symbol of the market trades were made in
819
819
  * @param {int} [since] the earliest time in ms to fetch trades for
820
820
  * @param {int} [limit] the maximum number of trade structures to retrieve
821
- * @param {object} [params] extra parameters specific to the okx api endpoint
821
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
822
822
  * @param {bool} [params.stop] true if fetching trigger or conditional trades
823
823
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
824
824
  */
@@ -858,7 +858,7 @@ class okx extends okx$1 {
858
858
  * @see https://www.okx.com/docs-v5/en/#trading-account-websocket-positions-channel
859
859
  * @description watch all open positions
860
860
  * @param {string[]|undefined} symbols list of unified market symbols
861
- * @param {object} params extra parameters specific to the okx api endpoint
861
+ * @param {object} params extra parameters specific to the exchange API endpoint
862
862
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
863
863
  */
864
864
  if (this.isEmpty(symbols)) {
@@ -979,7 +979,7 @@ class okx extends okx$1 {
979
979
  * @param {string} [symbol] unified market symbol of the market orders were made in
980
980
  * @param {int} [since] the earliest time in ms to fetch orders for
981
981
  * @param {int} [limit] the maximum number of orde structures to retrieve
982
- * @param {object} [params] extra parameters specific to the okx api endpoint
982
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
983
983
  * @param {bool} [params.stop] true if fetching trigger or conditional orders
984
984
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
985
985
  */
@@ -1197,7 +1197,7 @@ class okx extends okx$1 {
1197
1197
  * @param {string} side 'buy' or 'sell'
1198
1198
  * @param {float} amount how much of currency you want to trade in units of base currency
1199
1199
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1200
- * @param {object} [params] extra parameters specific to the okx api endpoint
1200
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1201
1201
  * @param {boolean} params.test test order, default false
1202
1202
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1203
1203
  */
@@ -1267,7 +1267,7 @@ class okx extends okx$1 {
1267
1267
  * @param {string} side 'buy' or 'sell'
1268
1268
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1269
1269
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1270
- * @param {object} [params] extra parameters specific to the okx api endpoint
1270
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1271
1271
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1272
1272
  */
1273
1273
  await this.loadMarkets();
@@ -1292,7 +1292,7 @@ class okx extends okx$1 {
1292
1292
  * @description cancel multiple orders
1293
1293
  * @param {string} id order id
1294
1294
  * @param {string} symbol unified market symbol, default is undefined
1295
- * @param {object} [params] extra parameters specific to the okx api endpoint
1295
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1296
1296
  * @param {string} [params.clOrdId] client order id
1297
1297
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1298
1298
  */
@@ -1329,7 +1329,7 @@ class okx extends okx$1 {
1329
1329
  * @description cancel multiple orders
1330
1330
  * @param {string[]} ids order ids
1331
1331
  * @param {string} symbol unified market symbol, default is undefined
1332
- * @param {object} [params] extra parameters specific to the okx api endpoint
1332
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1333
1333
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1334
1334
  */
1335
1335
  const idsLength = ids.length;
@@ -1365,7 +1365,7 @@ class okx extends okx$1 {
1365
1365
  * @see https://docs.okx.com/websockets/#message-cancelAll
1366
1366
  * @description cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
1367
1367
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1368
- * @param {object} [params] extra parameters specific to the okx api endpoint
1368
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1369
1369
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1370
1370
  */
1371
1371
  if (symbol === undefined) {
@@ -298,7 +298,7 @@ class phemex extends phemex$1 {
298
298
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#subscribe-account-order-position-aop
299
299
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#subscribe-wallet-order-messages
300
300
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
301
- * @param {object} [params] extra parameters specific to the phemex api endpoint
301
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
302
302
  * @param {string} [params.settle] set to USDT to use hedged perpetual api
303
303
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
304
304
  */
@@ -494,7 +494,7 @@ class phemex extends phemex$1 {
494
494
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#subscribe-24-hours-ticker
495
495
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
496
496
  * @param {string} symbol unified symbol of the market to fetch the ticker for
497
- * @param {object} [params] extra parameters specific to the phemex api endpoint
497
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
498
498
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
499
499
  */
500
500
  await this.loadMarkets();
@@ -529,7 +529,7 @@ class phemex extends phemex$1 {
529
529
  * @param {string} symbol unified symbol of the market to fetch trades for
530
530
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
531
531
  * @param {int} [limit] the maximum amount of trades to fetch
532
- * @param {object} [params] extra parameters specific to the phemex api endpoint
532
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
533
533
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
534
534
  */
535
535
  await this.loadMarkets();
@@ -566,7 +566,7 @@ class phemex extends phemex$1 {
566
566
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
567
567
  * @param {string} symbol unified symbol of the market to fetch the order book for
568
568
  * @param {int} [limit] the maximum amount of order book entries to return
569
- * @param {object} [params] extra parameters specific to the phemex api endpoint
569
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
570
570
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
571
571
  */
572
572
  await this.loadMarkets();
@@ -602,7 +602,7 @@ class phemex extends phemex$1 {
602
602
  * @param {string} timeframe the length of time each candle represents
603
603
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
604
604
  * @param {int} [limit] the maximum amount of candles to fetch
605
- * @param {object} [params] extra parameters specific to the phemex api endpoint
605
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
606
606
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
607
607
  */
608
608
  await this.loadMarkets();
@@ -724,7 +724,7 @@ class phemex extends phemex$1 {
724
724
  * @param {string} symbol unified market symbol of the market trades were made in
725
725
  * @param {int} [since] the earliest time in ms to fetch trades for
726
726
  * @param {int} [limit] the maximum number of trade structures to retrieve
727
- * @param {object} [params] extra parameters specific to the phemex api endpoint
727
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
728
728
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
729
729
  */
730
730
  await this.loadMarkets();
@@ -887,7 +887,7 @@ class phemex extends phemex$1 {
887
887
  * @param {string} symbol unified market symbol of the market orders were made in
888
888
  * @param {int} [since] the earliest time in ms to fetch orders for
889
889
  * @param {int} [limit] the maximum number of orde structures to retrieve
890
- * @param {object} [params] extra parameters specific to the phemex api endpoint
890
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
891
891
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
892
892
  */
893
893
  await this.loadMarkets();
@@ -329,7 +329,7 @@ class poloniex extends poloniex$1 {
329
329
  * @param {string} timeframe the length of time each candle represents
330
330
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
331
331
  * @param {int} [limit] the maximum amount of candles to fetch
332
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
332
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
333
333
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
334
334
  */
335
335
  await this.loadMarkets();
@@ -351,7 +351,7 @@ class poloniex extends poloniex$1 {
351
351
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
352
352
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
353
353
  * @param {string} symbol unified symbol of the market to fetch the ticker for
354
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
354
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
355
355
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
356
356
  */
357
357
  await this.loadMarkets();
@@ -366,7 +366,7 @@ class poloniex extends poloniex$1 {
366
366
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
367
367
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
368
368
  * @param {string} symbol unified symbol of the market to fetch the ticker for
369
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
369
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
370
370
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
371
371
  */
372
372
  await this.loadMarkets();
@@ -387,7 +387,7 @@ class poloniex extends poloniex$1 {
387
387
  * @param {string} symbol unified symbol of the market to fetch trades for
388
388
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
389
389
  * @param {int} [limit] the maximum amount of trades to fetch
390
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
390
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
391
391
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
392
392
  */
393
393
  await this.loadMarkets();
@@ -407,7 +407,7 @@ class poloniex extends poloniex$1 {
407
407
  * @see https://docs.poloniex.com/#public-channels-market-data-book-level-2
408
408
  * @param {string} symbol unified symbol of the market to fetch the order book for
409
409
  * @param {int} [limit] not used by poloniex watchOrderBook
410
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
410
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
411
411
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
412
412
  */
413
413
  await this.loadMarkets();
@@ -426,7 +426,7 @@ class poloniex extends poloniex$1 {
426
426
  * @param {string} symbol unified market symbol of the market orders were made in
427
427
  * @param {int} [since] not used by poloniex watchOrders
428
428
  * @param {int} [limit] not used by poloniex watchOrders
429
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
429
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
430
430
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
431
431
  */
432
432
  await this.loadMarkets();
@@ -474,7 +474,7 @@ class poloniex extends poloniex$1 {
474
474
  * @name poloniex#watchBalance
475
475
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
476
476
  * @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
477
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
477
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
478
478
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
479
479
  */
480
480
  await this.loadMarkets();
@@ -228,7 +228,7 @@ class poloniexfutures extends poloniexfutures$1 {
228
228
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
229
229
  * @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
230
230
  * @param {string} symbol unified symbol of the market to fetch the ticker for
231
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
231
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
232
232
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
233
233
  */
234
234
  await this.loadMarkets();
@@ -245,7 +245,7 @@ class poloniexfutures extends poloniexfutures$1 {
245
245
  * @param {string} symbol unified symbol of the market to fetch trades for
246
246
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
247
247
  * @param {int} [limit] the maximum amount of trades to fetch
248
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
248
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
249
249
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
250
250
  */
251
251
  await this.loadMarkets();
@@ -267,7 +267,7 @@ class poloniexfutures extends poloniexfutures$1 {
267
267
  * @see https://futures-docs.poloniex.com/#level-2-market-data
268
268
  * @param {string} symbol unified symbol of the market to fetch the order book for
269
269
  * @param {int} [limit] not used by poloniexfutures watchOrderBook
270
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
270
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
271
271
  * @param {string} [params.method] the method to use. Defaults to /contractMarket/level2 can also be /contractMarket/level3v2 to receive the raw stream of orders
272
272
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
273
273
  */
@@ -298,7 +298,7 @@ class poloniexfutures extends poloniexfutures$1 {
298
298
  * @param {string} symbol filter by unified market symbol of the market orders were made in
299
299
  * @param {int} [since] the earliest time in ms to fetch orders for
300
300
  * @param {int} [limit] the maximum number of orde structures to retrieve
301
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
301
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
302
302
  * @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
303
303
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
304
304
  */
@@ -322,7 +322,7 @@ class poloniexfutures extends poloniexfutures$1 {
322
322
  * @name poloniexfutures#watchBalance
323
323
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
324
324
  * @see https://futures-docs.poloniex.com/#account-balance-events
325
- * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
325
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
326
326
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
327
327
  */
328
328
  await this.loadMarkets();
@@ -52,7 +52,7 @@ class probit extends probit$1 {
52
52
  * @name probit#watchBalance
53
53
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
54
54
  * @see https://docs-en.probit.com/reference/balance-1
55
- * @param {object} [params] extra parameters specific to the probit api endpoint
55
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
56
56
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
57
57
  */
58
58
  await this.authenticate(params);
@@ -119,7 +119,7 @@ class probit extends probit$1 {
119
119
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
120
120
  * @see https://docs-en.probit.com/reference/marketdata
121
121
  * @param {string} symbol unified symbol of the market to fetch the ticker for
122
- * @param {object} [params] extra parameters specific to the probit api endpoint
122
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
123
123
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
124
124
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
125
125
  */
@@ -164,7 +164,7 @@ class probit extends probit$1 {
164
164
  * @param {string} symbol unified symbol of the market to fetch trades for
165
165
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
166
166
  * @param {int} [limit] the maximum amount of trades to fetch
167
- * @param {object} [params] extra parameters specific to the probit api endpoint
167
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
168
168
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
169
169
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
170
170
  */
@@ -225,7 +225,7 @@ class probit extends probit$1 {
225
225
  * @param {string} symbol unified symbol of the market to fetch trades for
226
226
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
227
227
  * @param {int} [limit] the maximum amount of trades to fetch
228
- * @param {object} [params] extra parameters specific to the probit api endpoint
228
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
229
229
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
230
230
  */
231
231
  await this.loadMarkets();
@@ -306,7 +306,7 @@ class probit extends probit$1 {
306
306
  * @param {string} symbol unified symbol of the market the order was made in
307
307
  * @param {int} [since] timestamp in ms of the earliest order to watch
308
308
  * @param {int} [limit] the maximum amount of orders to watch
309
- * @param {object} [params] extra parameters specific to the aax api endpoint
309
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
310
310
  * @param {string} [params.channel] choose what channel to use. Can open_order or order_history.
311
311
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
312
312
  */
@@ -392,7 +392,7 @@ class probit extends probit$1 {
392
392
  * @see https://docs-en.probit.com/reference/marketdata
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 probit 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
  let filter = undefined;
@@ -54,7 +54,7 @@ class upbit extends upbit$1 {
54
54
  * @name upbit#watchTicker
55
55
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
56
56
  * @param {string} symbol unified symbol of the market to fetch the ticker for
57
- * @param {object} [params] extra parameters specific to the upbit api endpoint
57
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
58
58
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
59
59
  */
60
60
  return await this.watchPublic(symbol, 'ticker');
@@ -67,7 +67,7 @@ class upbit extends upbit$1 {
67
67
  * @param {string} symbol unified symbol of the market to fetch trades for
68
68
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
69
69
  * @param {int} [limit] the maximum amount of trades to fetch
70
- * @param {object} [params] extra parameters specific to the upbit api endpoint
70
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
71
71
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
72
72
  */
73
73
  await this.loadMarkets();
@@ -85,7 +85,7 @@ class upbit extends upbit$1 {
85
85
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
86
86
  * @param {string} symbol unified symbol of the market to fetch the order book for
87
87
  * @param {int} [limit] the maximum amount of order book entries to return
88
- * @param {object} [params] extra parameters specific to the upbit api endpoint
88
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
89
89
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
90
90
  */
91
91
  const orderbook = await this.watchPublic(symbol, 'orderbook');
@@ -43,7 +43,7 @@ class wazirx extends wazirx$1 {
43
43
  * @name wazirx#watchBalance
44
44
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
45
45
  * @see https://docs.wazirx.com/#account-update
46
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
46
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
47
47
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
48
48
  */
49
49
  await this.loadMarkets();
@@ -164,7 +164,7 @@ class wazirx extends wazirx$1 {
164
164
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
165
165
  * @see https://docs.wazirx.com/#all-market-tickers-stream
166
166
  * @param {string} symbol unified symbol of the market to fetch the ticker for
167
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
167
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
168
168
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
169
169
  */
170
170
  await this.loadMarkets();
@@ -187,7 +187,7 @@ class wazirx extends wazirx$1 {
187
187
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
188
188
  * @see https://docs.wazirx.com/#all-market-tickers-stream
189
189
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
190
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
190
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
191
191
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
192
192
  */
193
193
  await this.loadMarkets();
@@ -287,7 +287,7 @@ class wazirx extends wazirx$1 {
287
287
  * @param {string} symbol unified symbol of the market to fetch trades for
288
288
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
289
289
  * @param {int} [limit] the maximum amount of trades to fetch
290
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
290
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
291
291
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
292
292
  */
293
293
  await this.loadMarkets();
@@ -353,7 +353,7 @@ class wazirx extends wazirx$1 {
353
353
  * @param {string} symbol unified symbol of the market to fetch trades for
354
354
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
355
355
  * @param {int} [limit] the maximum amount of trades to fetch
356
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
356
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
357
357
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
358
358
  */
359
359
  await this.loadMarkets();
@@ -385,7 +385,7 @@ class wazirx extends wazirx$1 {
385
385
  * @param {string} timeframe the length of time each candle represents
386
386
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
387
387
  * @param {int} [limit] the maximum amount of candles to fetch
388
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
388
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
389
389
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
390
390
  */
391
391
  await this.loadMarkets();
@@ -472,7 +472,7 @@ class wazirx extends wazirx$1 {
472
472
  * @see https://docs.wazirx.com/#depth-stream
473
473
  * @param {string} symbol unified symbol of the market to fetch the order book for
474
474
  * @param {int} [limit] the maximum amount of order book entries to return
475
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
475
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
476
476
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
477
477
  */
478
478
  await this.loadMarkets();
@@ -65,7 +65,7 @@ class whitebit extends whitebit$1 {
65
65
  * @param {string} timeframe the length of time each candle represents
66
66
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
67
67
  * @param {int} [limit] the maximum amount of candles to fetch
68
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
68
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
69
69
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
70
70
  */
71
71
  await this.loadMarkets();
@@ -133,7 +133,7 @@ class whitebit extends whitebit$1 {
133
133
  * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
134
134
  * @param {string} symbol unified symbol of the market to fetch the order book for
135
135
  * @param {int} [limit] the maximum amount of order book entries to return
136
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
136
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
137
137
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
138
138
  */
139
139
  await this.loadMarkets();
@@ -236,7 +236,7 @@ class whitebit extends whitebit$1 {
236
236
  * @name whitebit#watchTicker
237
237
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
238
238
  * @param {string} symbol unified symbol of the market to fetch the ticker for
239
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
239
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
240
240
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
241
241
  */
242
242
  await this.loadMarkets();
@@ -304,7 +304,7 @@ class whitebit extends whitebit$1 {
304
304
  * @param {string} symbol unified symbol of the market to fetch trades for
305
305
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
306
306
  * @param {int} [limit] the maximum amount of trades to fetch
307
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
307
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
308
308
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
309
309
  */
310
310
  await this.loadMarkets();
@@ -370,7 +370,7 @@ class whitebit extends whitebit$1 {
370
370
  * @param {str} symbol unified market symbol
371
371
  * @param {int} [since] the earliest time in ms to fetch trades for
372
372
  * @param {int} [limit] the maximum number of trades structures to retrieve
373
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
373
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
374
374
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
375
375
  */
376
376
  if (symbol === undefined) {
@@ -469,7 +469,7 @@ class whitebit extends whitebit$1 {
469
469
  * @param {string} symbol unified market symbol of the market orders were made in
470
470
  * @param {int} [since] the earliest time in ms to fetch orders for
471
471
  * @param {int} [limit] the maximum number of order structures to retrieve
472
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
472
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
473
473
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
474
474
  */
475
475
  if (symbol === undefined) {
@@ -641,7 +641,7 @@ class whitebit extends whitebit$1 {
641
641
  * @method
642
642
  * @name whitebit#watchBalance
643
643
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
644
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
644
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
645
645
  * @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
646
646
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
647
647
  */
@@ -610,7 +610,7 @@ class woo extends woo$1 {
610
610
  * @see https://docs.woo.org/#balance
611
611
  * @name woo#watchBalance
612
612
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
613
- * @param {object} [params] extra parameters specific to the woo api endpoint
613
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
614
614
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
615
615
  */
616
616
  await this.loadMarkets();