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
@@ -181,7 +181,7 @@ class wazirx extends wazirx$1 {
181
181
  * @name wazirx#fetchMarkets
182
182
  * @see https://docs.wazirx.com/#exchange-info
183
183
  * @description retrieves data on all markets for wazirx
184
- * @param {object} [params] extra parameters specific to the exchange api endpoint
184
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
185
185
  * @returns {object[]} an array of objects representing market data
186
186
  */
187
187
  const response = await this.publicGetExchangeInfo(params);
@@ -298,7 +298,7 @@ class wazirx extends wazirx$1 {
298
298
  * @param {string} timeframe the length of time each candle represents. Available values [1m,5m,15m,30m,1h,2h,4h,6h,12h,1d,1w]
299
299
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
300
300
  * @param {int} [limit] the maximum amount of candles to fetch
301
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
301
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
302
302
  * @param {int} [params.until] timestamp in s of the latest candle to fetch
303
303
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
304
304
  */
@@ -349,7 +349,7 @@ class wazirx extends wazirx$1 {
349
349
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
350
350
  * @param {string} symbol unified symbol of the market to fetch the order book for
351
351
  * @param {int} [limit] the maximum amount of order book entries to return
352
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
352
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
353
353
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
354
354
  */
355
355
  await this.loadMarkets();
@@ -384,7 +384,7 @@ class wazirx extends wazirx$1 {
384
384
  * @see https://docs.wazirx.com/#24hr-ticker-price-change-statistics
385
385
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
386
386
  * @param {string} symbol unified symbol of the market to fetch the ticker for
387
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
387
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
388
388
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
389
389
  */
390
390
  await this.loadMarkets();
@@ -415,9 +415,9 @@ class wazirx extends wazirx$1 {
415
415
  * @method
416
416
  * @name wazirx#fetchTickers
417
417
  * @see https://docs.wazirx.com/#24hr-tickers-price-change-statistics
418
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
418
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
419
419
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
420
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
420
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
421
421
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
422
422
  */
423
423
  await this.loadMarkets();
@@ -457,7 +457,7 @@ class wazirx extends wazirx$1 {
457
457
  * @param {string} symbol unified symbol of the market to fetch trades for
458
458
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
459
459
  * @param {int} [limit] the maximum amount of trades to fetch
460
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
460
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
461
461
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
462
462
  */
463
463
  await this.loadMarkets();
@@ -469,7 +469,13 @@ class wazirx extends wazirx$1 {
469
469
  request['limit'] = Math.min(limit, 1000); // Default 500; max 1000.
470
470
  }
471
471
  const method = this.safeString(this.options, 'fetchTradesMethod', 'publicGetTrades');
472
- const response = await this[method](this.extend(request, params));
472
+ let response = undefined;
473
+ if (method === 'privateGetHistoricalTrades') {
474
+ response = await this.privateGetHistoricalTrades(this.extend(request, params));
475
+ }
476
+ else {
477
+ response = await this.publicGetTrades(this.extend(request, params));
478
+ }
473
479
  // [
474
480
  // {
475
481
  // "id":322307791,
@@ -524,7 +530,7 @@ class wazirx extends wazirx$1 {
524
530
  * @name wazirx#fetchStatus
525
531
  * @see https://docs.wazirx.com/#system-status
526
532
  * @description the latest known information on the availability of the exchange API
527
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
533
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
528
534
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
529
535
  */
530
536
  const response = await this.publicGetSystemStatus(params);
@@ -549,7 +555,7 @@ class wazirx extends wazirx$1 {
549
555
  * @name wazirx#fetchTime
550
556
  * @see https://docs.wazirx.com/#check-server-time
551
557
  * @description fetches the current integer timestamp in milliseconds from the exchange server
552
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
558
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
553
559
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
554
560
  */
555
561
  const response = await this.publicGetTime(params);
@@ -629,7 +635,7 @@ class wazirx extends wazirx$1 {
629
635
  * @name wazirx#fetchBalance
630
636
  * @see https://docs.wazirx.com/#fund-details-user_data
631
637
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
632
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
638
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
633
639
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
634
640
  */
635
641
  await this.loadMarkets();
@@ -654,7 +660,7 @@ class wazirx extends wazirx$1 {
654
660
  * @param {string} symbol unified market symbol of the market orders were made in
655
661
  * @param {int} [since] the earliest time in ms to fetch orders for
656
662
  * @param {int} [limit] the maximum number of order structures to retrieve
657
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
663
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
658
664
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
659
665
  */
660
666
  if (symbol === undefined) {
@@ -714,7 +720,7 @@ class wazirx extends wazirx$1 {
714
720
  * @param {string} symbol unified market symbol
715
721
  * @param {int} [since] the earliest time in ms to fetch open orders for
716
722
  * @param {int} [limit] the maximum number of open orders structures to retrieve
717
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
723
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
718
724
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
719
725
  */
720
726
  await this.loadMarkets();
@@ -762,7 +768,7 @@ class wazirx extends wazirx$1 {
762
768
  * @see https://docs.wazirx.com/#cancel-all-open-orders-on-a-symbol-trade
763
769
  * @description cancel all open orders in a market
764
770
  * @param {string} symbol unified market symbol of the market to cancel orders in
765
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
771
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
766
772
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
767
773
  */
768
774
  if (symbol === undefined) {
@@ -783,7 +789,7 @@ class wazirx extends wazirx$1 {
783
789
  * @description cancels an open order
784
790
  * @param {string} id order id
785
791
  * @param {string} symbol unified symbol of the market the order was made in
786
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
792
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
787
793
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
788
794
  */
789
795
  if (symbol === undefined) {
@@ -809,7 +815,7 @@ class wazirx extends wazirx$1 {
809
815
  * @param {string} side 'buy' or 'sell'
810
816
  * @param {float} amount how much of currency you want to trade in units of base currency
811
817
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
812
- * @param {object} [params] extra parameters specific to the wazirx api endpoint
818
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
813
819
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
814
820
  */
815
821
  type = type.toLowerCase();
@@ -272,7 +272,7 @@ class whitebit extends whitebit$1 {
272
272
  * @name whitebit#fetchMarkets
273
273
  * @description retrieves data on all markets for whitebit
274
274
  * @see https://whitebit-exchange.github.io/api-docs/docs/Public/http-v4#market-info
275
- * @param {object} [params] extra parameters specific to the exchange api endpoint
275
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
276
276
  * @returns {object[]} an array of objects representing market data
277
277
  */
278
278
  const markets = await this.v4PublicGetMarkets();
@@ -395,7 +395,7 @@ class whitebit extends whitebit$1 {
395
395
  * @method
396
396
  * @name whitebit#fetchCurrencies
397
397
  * @description fetches all available currencies on an exchange
398
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
398
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
399
399
  * @returns {object} an associative dictionary of currencies
400
400
  */
401
401
  const response = await this.v4PublicGetAssets(params);
@@ -455,7 +455,7 @@ class whitebit extends whitebit$1 {
455
455
  * @deprecated
456
456
  * @description please use fetchDepositWithdrawFees instead
457
457
  * @param {string[]|undefined} codes not used by fetchTransactionFees ()
458
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
458
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
459
459
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
460
460
  */
461
461
  await this.loadMarkets();
@@ -509,7 +509,7 @@ class whitebit extends whitebit$1 {
509
509
  * @name whitebit#fetchDepositWithdrawFees
510
510
  * @description fetch deposit and withdraw fees
511
511
  * @param {string[]|undefined} codes not used by fetchDepositWithdrawFees ()
512
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
512
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
513
513
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
514
514
  */
515
515
  await this.loadMarkets();
@@ -657,7 +657,7 @@ class whitebit extends whitebit$1 {
657
657
  * @method
658
658
  * @name whitebit#fetchTradingFees
659
659
  * @description fetch the trading fees for multiple markets
660
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
660
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
661
661
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
662
662
  */
663
663
  await this.loadMarkets();
@@ -705,7 +705,7 @@ class whitebit extends whitebit$1 {
705
705
  * @name whitebit#fetchTicker
706
706
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
707
707
  * @param {string} symbol unified symbol of the market to fetch the ticker for
708
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
708
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
709
709
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
710
710
  */
711
711
  await this.loadMarkets();
@@ -791,9 +791,9 @@ class whitebit extends whitebit$1 {
791
791
  /**
792
792
  * @method
793
793
  * @name whitebit#fetchTickers
794
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
794
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
795
795
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
796
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
796
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
797
797
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
798
798
  */
799
799
  await this.loadMarkets();
@@ -829,7 +829,7 @@ class whitebit extends whitebit$1 {
829
829
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
830
830
  * @param {string} symbol unified symbol of the market to fetch the order book for
831
831
  * @param {int} [limit] the maximum amount of order book entries to return
832
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
832
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
833
833
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
834
834
  */
835
835
  await this.loadMarkets();
@@ -871,7 +871,7 @@ class whitebit extends whitebit$1 {
871
871
  * @param {string} symbol unified symbol of the market to fetch trades for
872
872
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
873
873
  * @param {int} [limit] the maximum amount of trades to fetch
874
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
874
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
875
875
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
876
876
  */
877
877
  await this.loadMarkets();
@@ -902,7 +902,7 @@ class whitebit extends whitebit$1 {
902
902
  * @param {string} symbol unified symbol of the market to fetch trades for
903
903
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
904
904
  * @param {int} [limit] the maximum amount of trades to fetch
905
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
905
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
906
906
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
907
907
  */
908
908
  await this.loadMarkets();
@@ -1056,7 +1056,7 @@ class whitebit extends whitebit$1 {
1056
1056
  * @param {string} timeframe the length of time each candle represents
1057
1057
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1058
1058
  * @param {int} [limit] the maximum amount of candles to fetch
1059
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1059
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1060
1060
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1061
1061
  */
1062
1062
  await this.loadMarkets();
@@ -1118,7 +1118,7 @@ class whitebit extends whitebit$1 {
1118
1118
  * @method
1119
1119
  * @name whitebit#fetchStatus
1120
1120
  * @description the latest known information on the availability of the exchange API
1121
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1121
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1122
1122
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
1123
1123
  */
1124
1124
  const response = await this.v4PublicGetPing(params);
@@ -1141,7 +1141,7 @@ class whitebit extends whitebit$1 {
1141
1141
  * @method
1142
1142
  * @name whitebit#fetchTime
1143
1143
  * @description fetches the current integer timestamp in milliseconds from the exchange server
1144
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1144
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1145
1145
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1146
1146
  */
1147
1147
  const response = await this.v4PublicGetTime(params);
@@ -1162,7 +1162,7 @@ class whitebit extends whitebit$1 {
1162
1162
  * @param {string} side 'buy' or 'sell'
1163
1163
  * @param {float} amount how much of currency you want to trade in units of base currency
1164
1164
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1165
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1165
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1166
1166
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1167
1167
  */
1168
1168
  await this.loadMarkets();
@@ -1241,7 +1241,7 @@ class whitebit extends whitebit$1 {
1241
1241
  * @description cancels an open order
1242
1242
  * @param {string} id order id
1243
1243
  * @param {string} symbol unified symbol of the market the order was made in
1244
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1244
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1245
1245
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1246
1246
  */
1247
1247
  if (symbol === undefined) {
@@ -1282,7 +1282,7 @@ class whitebit extends whitebit$1 {
1282
1282
  * @method
1283
1283
  * @name whitebit#fetchBalance
1284
1284
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1285
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1285
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1286
1286
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1287
1287
  */
1288
1288
  await this.loadMarkets();
@@ -1336,7 +1336,7 @@ class whitebit extends whitebit$1 {
1336
1336
  * @param {string} symbol unified market symbol
1337
1337
  * @param {int} [since] the earliest time in ms to fetch open orders for
1338
1338
  * @param {int} [limit] the maximum number of open order structures to retrieve
1339
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1339
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1340
1340
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1341
1341
  */
1342
1342
  if (symbol === undefined) {
@@ -1381,7 +1381,7 @@ class whitebit extends whitebit$1 {
1381
1381
  * @param {string} symbol unified market symbol of the market orders were made in
1382
1382
  * @param {int} [since] the earliest time in ms to fetch orders for
1383
1383
  * @param {int} [limit] the maximum number of orde structures to retrieve
1384
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1384
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1385
1385
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1386
1386
  */
1387
1387
  await this.loadMarkets();
@@ -1542,7 +1542,7 @@ class whitebit extends whitebit$1 {
1542
1542
  * @param {string} symbol unified market symbol
1543
1543
  * @param {int} [since] the earliest time in ms to fetch trades for
1544
1544
  * @param {int} [limit] the maximum number of trades to retrieve
1545
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1545
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1546
1546
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1547
1547
  */
1548
1548
  await this.loadMarkets();
@@ -1586,7 +1586,7 @@ class whitebit extends whitebit$1 {
1586
1586
  * @name whitebit#fetchDepositAddress
1587
1587
  * @description fetch the deposit address for a currency associated with this account
1588
1588
  * @param {string} code unified currency code
1589
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1589
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1590
1590
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1591
1591
  */
1592
1592
  await this.loadMarkets();
@@ -1659,7 +1659,7 @@ class whitebit extends whitebit$1 {
1659
1659
  * @description set the level of leverage for a market
1660
1660
  * @param {float} leverage the rate of leverage
1661
1661
  * @param {string} symbol unified market symbol
1662
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1662
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1663
1663
  * @returns {object} response from the exchange
1664
1664
  */
1665
1665
  await this.loadMarkets();
@@ -1687,7 +1687,7 @@ class whitebit extends whitebit$1 {
1687
1687
  * @param {float} amount amount to transfer
1688
1688
  * @param {string} fromAccount account to transfer from - main, spot, collateral
1689
1689
  * @param {string} toAccount account to transfer to - main, spot, collateral
1690
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1690
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1691
1691
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1692
1692
  */
1693
1693
  await this.loadMarkets();
@@ -1733,7 +1733,7 @@ class whitebit extends whitebit$1 {
1733
1733
  * @param {float} amount the amount to withdraw
1734
1734
  * @param {string} address the address to withdraw to
1735
1735
  * @param {string} tag
1736
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1736
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1737
1737
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1738
1738
  */
1739
1739
  await this.loadMarkets();
@@ -1857,7 +1857,7 @@ class whitebit extends whitebit$1 {
1857
1857
  * @description fetch information on a deposit
1858
1858
  * @param {string} id deposit id
1859
1859
  * @param {string} code not used by whitebit fetchDeposit ()
1860
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1860
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1861
1861
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1862
1862
  */
1863
1863
  await this.loadMarkets();
@@ -1922,7 +1922,7 @@ class whitebit extends whitebit$1 {
1922
1922
  * @param {string} code unified currency code
1923
1923
  * @param {int} [since] the earliest time in ms to fetch deposits for
1924
1924
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1925
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1925
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1926
1926
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1927
1927
  */
1928
1928
  await this.loadMarkets();
@@ -1990,7 +1990,7 @@ class whitebit extends whitebit$1 {
1990
1990
  * @param {string} symbol unified market symbol
1991
1991
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
1992
1992
  * @param {int} [limit] the maximum number of structures to retrieve
1993
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1993
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1994
1994
  * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
1995
1995
  */
1996
1996
  await this.loadMarkets();
@@ -2067,7 +2067,7 @@ class whitebit extends whitebit$1 {
2067
2067
  * @see https://whitebit-exchange.github.io/api-docs/public/http-v4/#available-futures-markets-list
2068
2068
  * @description fetch the current funding rate
2069
2069
  * @param {string} symbol unified market symbol
2070
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
2070
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2071
2071
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
2072
2072
  */
2073
2073
  await this.loadMarkets();
@@ -2082,7 +2082,7 @@ class whitebit extends whitebit$1 {
2082
2082
  * @see https://whitebit-exchange.github.io/api-docs/public/http-v4/#available-futures-markets-list
2083
2083
  * @description fetch the funding rate for multiple markets
2084
2084
  * @param {string[]|undefined} symbols list of unified market symbols
2085
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
2085
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2086
2086
  * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
2087
2087
  */
2088
2088
  await this.loadMarkets();
@@ -304,7 +304,7 @@ class woo extends woo$1 {
304
304
  * @method
305
305
  * @name woo#fetchMarkets
306
306
  * @description retrieves data on all markets for woo
307
- * @param {object} [params] extra parameters specific to the exchange api endpoint
307
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
308
308
  * @returns {object[]} an array of objects representing market data
309
309
  */
310
310
  const response = await this.v1PublicGetInfo(params);
@@ -424,7 +424,7 @@ class woo extends woo$1 {
424
424
  * @param {string} symbol unified symbol of the market to fetch trades for
425
425
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
426
426
  * @param {int} [limit] the maximum amount of trades to fetch
427
- * @param {object} [params] extra parameters specific to the woo api endpoint
427
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
428
428
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
429
429
  */
430
430
  await this.loadMarkets();
@@ -548,7 +548,7 @@ class woo extends woo$1 {
548
548
  * @name woo#fetchTradingFees
549
549
  * @description fetch the trading fees for multiple markets
550
550
  * @see https://docs.woo.org/#get-account-information-new
551
- * @param {object} [params] extra parameters specific to the woo api endpoint
551
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
552
552
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
553
553
  */
554
554
  await this.loadMarkets();
@@ -603,7 +603,7 @@ class woo extends woo$1 {
603
603
  * @method
604
604
  * @name woo#fetchCurrencies
605
605
  * @description fetches all available currencies on an exchange
606
- * @param {object} [params] extra parameters specific to the woo api endpoint
606
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
607
607
  * @returns {object} an associative dictionary of currencies
608
608
  */
609
609
  const result = {};
@@ -746,7 +746,7 @@ class woo extends woo$1 {
746
746
  * @param {string} side 'buy' or 'sell'
747
747
  * @param {float} amount how much of currency you want to trade in units of base currency
748
748
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
749
- * @param {object} [params] extra parameters specific to the woo api endpoint
749
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
750
750
  * @param {float} [params.triggerPrice] The price a trigger order is triggered at
751
751
  * @param {object} [params.takeProfit] *takeProfit object in params* containing the triggerPrice at which the attached take profit order will be triggered (perpetual swap markets only)
752
752
  * @param {float} [params.takeProfit.triggerPrice] take profit trigger price
@@ -926,7 +926,7 @@ class woo extends woo$1 {
926
926
  * @param {string} side 'buy' or 'sell'
927
927
  * @param {float} amount how much of currency you want to trade in units of base currency
928
928
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
929
- * @param {object} [params] extra parameters specific to the woo api endpoint
929
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
930
930
  * @param {float} [params.triggerPrice] The price a trigger order is triggered at
931
931
  * @param {float} [params.stopLossPrice] price to trigger stop-loss orders
932
932
  * @param {float} [params.takeProfitPrice] price to trigger take-profit orders
@@ -997,7 +997,7 @@ class woo extends woo$1 {
997
997
  * @description cancels an open order
998
998
  * @param {string} id order id
999
999
  * @param {string} symbol unified symbol of the market the order was made in
1000
- * @param {object} [params] extra parameters specific to the woo api endpoint
1000
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1001
1001
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1002
1002
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1003
1003
  */
@@ -1053,7 +1053,7 @@ class woo extends woo$1 {
1053
1053
  * @see https://docs.woo.org/#cancel-all-pending-algo-orders
1054
1054
  * @description cancel all open orders in a market
1055
1055
  * @param {string} symbol unified market symbol
1056
- * @param {object} [params] extra parameters specific to the woo api endpoint
1056
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1057
1057
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1058
1058
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1059
1059
  */
@@ -1087,7 +1087,7 @@ class woo extends woo$1 {
1087
1087
  * @see https://docs.woo.org/#get-order
1088
1088
  * @description fetches information on an order made by the user
1089
1089
  * @param {string} symbol unified symbol of the market the order was made in
1090
- * @param {object} [params] extra parameters specific to the woo api endpoint
1090
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1091
1091
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1092
1092
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1093
1093
  */
@@ -1158,7 +1158,7 @@ class woo extends woo$1 {
1158
1158
  * @param {string} symbol unified market symbol of the market orders were made in
1159
1159
  * @param {int} [since] the earliest time in ms to fetch orders for
1160
1160
  * @param {int} [limit] the maximum number of orde structures to retrieve
1161
- * @param {object} [params] extra parameters specific to the woo api endpoint
1161
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1162
1162
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1163
1163
  * @param {boolean} [params.isTriggered] whether the order has been triggered (false by default)
1164
1164
  * @param {string} [params.side] 'buy' or 'sell'
@@ -1369,7 +1369,7 @@ class woo extends woo$1 {
1369
1369
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
1370
1370
  * @param {string} symbol unified symbol of the market to fetch the order book for
1371
1371
  * @param {int} [limit] the maximum amount of order book entries to return
1372
- * @param {object} [params] extra parameters specific to the woo api endpoint
1372
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1373
1373
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1374
1374
  */
1375
1375
  await this.loadMarkets();
@@ -1411,7 +1411,7 @@ class woo extends woo$1 {
1411
1411
  * @param {string} timeframe the length of time each candle represents
1412
1412
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1413
1413
  * @param {int} [limit] the maximum amount of candles to fetch
1414
- * @param {object} [params] extra parameters specific to the woo api endpoint
1414
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1415
1415
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1416
1416
  */
1417
1417
  await this.loadMarkets();
@@ -1477,7 +1477,7 @@ class woo extends woo$1 {
1477
1477
  * @param {string} symbol unified market symbol
1478
1478
  * @param {int} [since] the earliest time in ms to fetch trades for
1479
1479
  * @param {int} [limit] the maximum number of trades to retrieve
1480
- * @param {object} [params] extra parameters specific to the woo api endpoint
1480
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1481
1481
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1482
1482
  */
1483
1483
  await this.loadMarkets();
@@ -1518,7 +1518,7 @@ class woo extends woo$1 {
1518
1518
  * @param {string} symbol unified market symbol
1519
1519
  * @param {int} [since] the earliest time in ms to fetch trades for
1520
1520
  * @param {int} [limit] the maximum number of trades structures to retrieve
1521
- * @param {object} [params] extra parameters specific to the woo api endpoint
1521
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1522
1522
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1523
1523
  */
1524
1524
  await this.loadMarkets();
@@ -1563,7 +1563,7 @@ class woo extends woo$1 {
1563
1563
  * @method
1564
1564
  * @name woo#fetchAccounts
1565
1565
  * @description fetch all the accounts associated with a profile
1566
- * @param {object} [params] extra parameters specific to the woo api endpoint
1566
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1567
1567
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
1568
1568
  */
1569
1569
  const response = await this.v1PrivateGetSubAccountAssets(params);
@@ -1609,7 +1609,7 @@ class woo extends woo$1 {
1609
1609
  * @name woo#fetchBalance
1610
1610
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1611
1611
  * @see https://docs.woo.org/#get-current-holding-get-balance-new
1612
- * @param {object} [params] extra parameters specific to the woo api endpoint
1612
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1613
1613
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1614
1614
  */
1615
1615
  await this.loadMarkets();
@@ -1661,7 +1661,7 @@ class woo extends woo$1 {
1661
1661
  * @name woo#fetchDepositAddress
1662
1662
  * @description fetch the deposit address for a currency associated with this account
1663
1663
  * @param {string} code unified currency code
1664
- * @param {object} [params] extra parameters specific to the woo api endpoint
1664
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1665
1665
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1666
1666
  */
1667
1667
  // this method is TODO because of networks unification
@@ -1755,7 +1755,7 @@ class woo extends woo$1 {
1755
1755
  * @param {string} code unified currency code, default is undefined
1756
1756
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1757
1757
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1758
- * @param {object} [params] extra parameters specific to the woo api endpoint
1758
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1759
1759
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1760
1760
  */
1761
1761
  const [currency, rows] = await this.getAssetHistoryRows(code, since, limit, params);
@@ -1819,7 +1819,7 @@ class woo extends woo$1 {
1819
1819
  * @param {string} code unified currency code
1820
1820
  * @param {int} [since] the earliest time in ms to fetch deposits for
1821
1821
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1822
- * @param {object} [params] extra parameters specific to the woo api endpoint
1822
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1823
1823
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1824
1824
  */
1825
1825
  const request = {
@@ -1835,7 +1835,7 @@ class woo extends woo$1 {
1835
1835
  * @param {string} code unified currency code
1836
1836
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1837
1837
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1838
- * @param {object} [params] extra parameters specific to the woo api endpoint
1838
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1839
1839
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1840
1840
  */
1841
1841
  const request = {
@@ -1851,7 +1851,7 @@ class woo extends woo$1 {
1851
1851
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1852
1852
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1853
1853
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1854
- * @param {object} [params] extra parameters specific to the woo api endpoint
1854
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1855
1855
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1856
1856
  */
1857
1857
  const request = {
@@ -1926,7 +1926,7 @@ class woo extends woo$1 {
1926
1926
  * @param {float} amount amount to transfer
1927
1927
  * @param {string} fromAccount account to transfer from
1928
1928
  * @param {string} toAccount account to transfer to
1929
- * @param {object} [params] extra parameters specific to the woo api endpoint
1929
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1930
1930
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1931
1931
  */
1932
1932
  await this.loadMarkets();
@@ -1962,7 +1962,7 @@ class woo extends woo$1 {
1962
1962
  * @param {string} code unified currency code of the currency transferred
1963
1963
  * @param {int} [since] the earliest time in ms to fetch transfers for
1964
1964
  * @param {int} [limit] the maximum number of transfers structures to retrieve
1965
- * @param {object} [params] extra parameters specific to the woo api endpoint
1965
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1966
1966
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1967
1967
  */
1968
1968
  const request = {
@@ -2053,7 +2053,7 @@ class woo extends woo$1 {
2053
2053
  * @param {float} amount the amount to withdraw
2054
2054
  * @param {string} address the address to withdraw to
2055
2055
  * @param {string} tag
2056
- * @param {object} [params] extra parameters specific to the woo api endpoint
2056
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2057
2057
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2058
2058
  */
2059
2059
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -2095,7 +2095,7 @@ class woo extends woo$1 {
2095
2095
  * @param {string} code unified currency code of the currency to repay
2096
2096
  * @param {float} amount the amount to repay
2097
2097
  * @param {string} symbol not used by woo.repayMargin ()
2098
- * @param {object} [params] extra parameters specific to the woo api endpoint
2098
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2099
2099
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
2100
2100
  */
2101
2101
  await this.loadMarkets();
@@ -2385,7 +2385,7 @@ class woo extends woo$1 {
2385
2385
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
2386
2386
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
2387
2387
  * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
2388
- * @param {object} [params] extra parameters specific to the woo api endpoint
2388
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2389
2389
  * @param {int} [params.until] timestamp in ms of the latest funding rate
2390
2390
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2391
2391
  * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}