ccxt 4.1.64 → 4.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +2558 -2534
  3. package/dist/ccxt.browser.min.js +2 -2
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +13 -13
  6. package/dist/cjs/src/alpaca.js +10 -10
  7. package/dist/cjs/src/ascendex.js +33 -33
  8. package/dist/cjs/src/base/Exchange.js +6 -6
  9. package/dist/cjs/src/bigone.js +23 -23
  10. package/dist/cjs/src/binance.js +68 -68
  11. package/dist/cjs/src/binanceus.js +1 -0
  12. package/dist/cjs/src/bingx.js +33 -33
  13. package/dist/cjs/src/bit2c.js +11 -11
  14. package/dist/cjs/src/bitbank.js +14 -14
  15. package/dist/cjs/src/bitbns.js +15 -15
  16. package/dist/cjs/src/bitfinex.js +24 -24
  17. package/dist/cjs/src/bitfinex2.js +30 -30
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitforex.js +12 -12
  20. package/dist/cjs/src/bitget.js +50 -50
  21. package/dist/cjs/src/bithumb.js +13 -13
  22. package/dist/cjs/src/bitmart.js +74 -59
  23. package/dist/cjs/src/bitmex.js +29 -28
  24. package/dist/cjs/src/bitopro.js +23 -23
  25. package/dist/cjs/src/bitpanda.js +25 -25
  26. package/dist/cjs/src/bitrue.js +26 -26
  27. package/dist/cjs/src/bitso.js +22 -22
  28. package/dist/cjs/src/bitstamp.js +24 -24
  29. package/dist/cjs/src/bittrex.js +31 -31
  30. package/dist/cjs/src/bitvavo.js +23 -23
  31. package/dist/cjs/src/bl3p.js +7 -7
  32. package/dist/cjs/src/blockchaincom.js +23 -23
  33. package/dist/cjs/src/btcalpha.js +17 -17
  34. package/dist/cjs/src/btcbox.js +9 -9
  35. package/dist/cjs/src/btcmarkets.js +19 -19
  36. package/dist/cjs/src/btcturk.js +13 -13
  37. package/dist/cjs/src/bybit.js +71 -67
  38. package/dist/cjs/src/cex.js +17 -17
  39. package/dist/cjs/src/coinbase.js +28 -28
  40. package/dist/cjs/src/coinbasepro.js +27 -27
  41. package/dist/cjs/src/coincheck.js +11 -11
  42. package/dist/cjs/src/coinex.js +42 -42
  43. package/dist/cjs/src/coinlist.js +29 -29
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinone.js +13 -13
  46. package/dist/cjs/src/coinsph.js +25 -25
  47. package/dist/cjs/src/coinspot.js +9 -9
  48. package/dist/cjs/src/cryptocom.js +33 -32
  49. package/dist/cjs/src/currencycom.js +24 -24
  50. package/dist/cjs/src/delta.js +29 -29
  51. package/dist/cjs/src/deribit.js +35 -35
  52. package/dist/cjs/src/digifinex.js +43 -43
  53. package/dist/cjs/src/exmo.js +30 -30
  54. package/dist/cjs/src/gate.js +39 -39
  55. package/dist/cjs/src/gemini.js +18 -18
  56. package/dist/cjs/src/hitbtc.js +40 -40
  57. package/dist/cjs/src/hollaex.js +26 -26
  58. package/dist/cjs/src/htx.js +48 -48
  59. package/dist/cjs/src/huobijp.js +24 -24
  60. package/dist/cjs/src/idex.js +23 -23
  61. package/dist/cjs/src/independentreserve.js +12 -12
  62. package/dist/cjs/src/indodax.js +16 -16
  63. package/dist/cjs/src/kraken.js +28 -28
  64. package/dist/cjs/src/krakenfutures.js +9 -9
  65. package/dist/cjs/src/kucoin.js +39 -39
  66. package/dist/cjs/src/kucoinfutures.js +24 -24
  67. package/dist/cjs/src/kuna.js +25 -25
  68. package/dist/cjs/src/latoken.js +20 -20
  69. package/dist/cjs/src/lbank.js +24 -24
  70. package/dist/cjs/src/luno.js +17 -17
  71. package/dist/cjs/src/lykke.js +18 -18
  72. package/dist/cjs/src/mercado.js +13 -13
  73. package/dist/cjs/src/mexc.js +47 -45
  74. package/dist/cjs/src/ndax.js +23 -23
  75. package/dist/cjs/src/novadax.js +23 -23
  76. package/dist/cjs/src/oceanex.js +19 -19
  77. package/dist/cjs/src/okcoin.js +25 -25
  78. package/dist/cjs/src/okx.js +53 -53
  79. package/dist/cjs/src/p2b.js +14 -14
  80. package/dist/cjs/src/paymium.js +10 -10
  81. package/dist/cjs/src/phemex.js +32 -32
  82. package/dist/cjs/src/poloniex.js +27 -27
  83. package/dist/cjs/src/poloniexfutures.js +21 -21
  84. package/dist/cjs/src/pro/alpaca.js +6 -6
  85. package/dist/cjs/src/pro/ascendex.js +5 -5
  86. package/dist/cjs/src/pro/binance.js +21 -21
  87. package/dist/cjs/src/pro/bingx.js +6 -6
  88. package/dist/cjs/src/pro/bitfinex.js +4 -4
  89. package/dist/cjs/src/pro/bitfinex2.js +7 -7
  90. package/dist/cjs/src/pro/bitget.js +12 -12
  91. package/dist/cjs/src/pro/bitmart.js +5 -5
  92. package/dist/cjs/src/pro/bitmex.js +8 -8
  93. package/dist/cjs/src/pro/bitopro.js +4 -4
  94. package/dist/cjs/src/pro/bitpanda.js +7 -7
  95. package/dist/cjs/src/pro/bitrue.js +2 -2
  96. package/dist/cjs/src/pro/bitstamp.js +3 -3
  97. package/dist/cjs/src/pro/bittrex.js +7 -7
  98. package/dist/cjs/src/pro/bitvavo.js +6 -6
  99. package/dist/cjs/src/pro/blockchaincom.js +6 -6
  100. package/dist/cjs/src/pro/bybit.js +12 -12
  101. package/dist/cjs/src/pro/cex.js +9 -9
  102. package/dist/cjs/src/pro/coinbase.js +6 -6
  103. package/dist/cjs/src/pro/coinbasepro.js +10 -10
  104. package/dist/cjs/src/pro/coinex.js +7 -7
  105. package/dist/cjs/src/pro/cryptocom.js +13 -13
  106. package/dist/cjs/src/pro/currencycom.js +5 -5
  107. package/dist/cjs/src/pro/deribit.js +7 -7
  108. package/dist/cjs/src/pro/exmo.js +5 -5
  109. package/dist/cjs/src/pro/gate.js +10 -10
  110. package/dist/cjs/src/pro/gemini.js +4 -4
  111. package/dist/cjs/src/pro/hitbtc.js +11 -11
  112. package/dist/cjs/src/pro/hollaex.js +5 -5
  113. package/dist/cjs/src/pro/htx.js +8 -8
  114. package/dist/cjs/src/pro/huobijp.js +4 -4
  115. package/dist/cjs/src/pro/idex.js +5 -5
  116. package/dist/cjs/src/pro/independentreserve.js +2 -2
  117. package/dist/cjs/src/pro/kraken.js +11 -11
  118. package/dist/cjs/src/pro/krakenfutures.js +8 -8
  119. package/dist/cjs/src/pro/kucoin.js +10 -10
  120. package/dist/cjs/src/pro/kucoinfutures.js +8 -8
  121. package/dist/cjs/src/pro/luno.js +4 -4
  122. package/dist/cjs/src/pro/mexc.js +7 -7
  123. package/dist/cjs/src/pro/ndax.js +4 -4
  124. package/dist/cjs/src/pro/okcoin.js +6 -6
  125. package/dist/cjs/src/pro/okx.js +16 -16
  126. package/dist/cjs/src/pro/phemex.js +7 -7
  127. package/dist/cjs/src/pro/poloniex.js +7 -7
  128. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  129. package/dist/cjs/src/pro/probit.js +6 -6
  130. package/dist/cjs/src/pro/upbit.js +3 -3
  131. package/dist/cjs/src/pro/wazirx.js +7 -7
  132. package/dist/cjs/src/pro/whitebit.js +7 -7
  133. package/dist/cjs/src/pro/woo.js +1 -1
  134. package/dist/cjs/src/probit.js +24 -24
  135. package/dist/cjs/src/tidex.js +15 -15
  136. package/dist/cjs/src/timex.js +19 -19
  137. package/dist/cjs/src/tokocrypto.js +21 -21
  138. package/dist/cjs/src/upbit.js +22 -22
  139. package/dist/cjs/src/wavesexchange.js +19 -19
  140. package/dist/cjs/src/wazirx.js +15 -15
  141. package/dist/cjs/src/whitebit.js +29 -29
  142. package/dist/cjs/src/woo.js +26 -26
  143. package/dist/cjs/src/yobit.js +17 -17
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +16 -16
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/mexc.d.ts +2 -0
  149. package/js/src/ace.js +13 -13
  150. package/js/src/alpaca.js +10 -10
  151. package/js/src/ascendex.js +33 -33
  152. package/js/src/base/Exchange.js +6 -6
  153. package/js/src/bigone.js +23 -23
  154. package/js/src/binance.js +68 -68
  155. package/js/src/binanceus.js +1 -0
  156. package/js/src/bingx.js +33 -33
  157. package/js/src/bit2c.js +11 -11
  158. package/js/src/bitbank.js +14 -14
  159. package/js/src/bitbns.js +15 -15
  160. package/js/src/bitfinex.js +24 -24
  161. package/js/src/bitfinex2.js +30 -30
  162. package/js/src/bitflyer.js +17 -17
  163. package/js/src/bitforex.js +12 -12
  164. package/js/src/bitget.js +50 -50
  165. package/js/src/bithumb.js +13 -13
  166. package/js/src/bitmart.js +74 -59
  167. package/js/src/bitmex.js +29 -28
  168. package/js/src/bitopro.js +23 -23
  169. package/js/src/bitpanda.js +25 -25
  170. package/js/src/bitrue.js +26 -26
  171. package/js/src/bitso.js +22 -22
  172. package/js/src/bitstamp.js +24 -24
  173. package/js/src/bittrex.js +31 -31
  174. package/js/src/bitvavo.js +23 -23
  175. package/js/src/bl3p.js +7 -7
  176. package/js/src/blockchaincom.js +23 -23
  177. package/js/src/btcalpha.js +17 -17
  178. package/js/src/btcbox.js +9 -9
  179. package/js/src/btcmarkets.js +19 -19
  180. package/js/src/btcturk.js +13 -13
  181. package/js/src/bybit.js +71 -67
  182. package/js/src/cex.js +17 -17
  183. package/js/src/coinbase.js +28 -28
  184. package/js/src/coinbasepro.js +27 -27
  185. package/js/src/coincheck.js +11 -11
  186. package/js/src/coinex.js +42 -42
  187. package/js/src/coinlist.js +29 -29
  188. package/js/src/coinmate.js +14 -14
  189. package/js/src/coinone.js +13 -13
  190. package/js/src/coinsph.js +25 -25
  191. package/js/src/coinspot.js +9 -9
  192. package/js/src/cryptocom.js +33 -32
  193. package/js/src/currencycom.js +24 -24
  194. package/js/src/delta.js +29 -29
  195. package/js/src/deribit.js +35 -35
  196. package/js/src/digifinex.js +43 -43
  197. package/js/src/exmo.js +30 -30
  198. package/js/src/gate.js +39 -39
  199. package/js/src/gemini.js +18 -18
  200. package/js/src/hitbtc.js +40 -40
  201. package/js/src/hollaex.js +26 -26
  202. package/js/src/htx.js +48 -48
  203. package/js/src/huobijp.js +24 -24
  204. package/js/src/idex.js +23 -23
  205. package/js/src/independentreserve.js +12 -12
  206. package/js/src/indodax.js +16 -16
  207. package/js/src/kraken.js +28 -28
  208. package/js/src/krakenfutures.js +9 -9
  209. package/js/src/kucoin.js +39 -39
  210. package/js/src/kucoinfutures.js +24 -24
  211. package/js/src/kuna.js +25 -25
  212. package/js/src/latoken.js +20 -20
  213. package/js/src/lbank.js +24 -24
  214. package/js/src/luno.js +17 -17
  215. package/js/src/lykke.js +18 -18
  216. package/js/src/mercado.js +13 -13
  217. package/js/src/mexc.js +47 -45
  218. package/js/src/ndax.js +23 -23
  219. package/js/src/novadax.js +23 -23
  220. package/js/src/oceanex.js +19 -19
  221. package/js/src/okcoin.js +25 -25
  222. package/js/src/okx.js +53 -53
  223. package/js/src/p2b.js +14 -14
  224. package/js/src/paymium.js +10 -10
  225. package/js/src/phemex.js +32 -32
  226. package/js/src/poloniex.js +27 -27
  227. package/js/src/poloniexfutures.js +21 -21
  228. package/js/src/pro/alpaca.js +6 -6
  229. package/js/src/pro/ascendex.js +5 -5
  230. package/js/src/pro/binance.js +21 -21
  231. package/js/src/pro/bingx.js +6 -6
  232. package/js/src/pro/bitfinex.js +4 -4
  233. package/js/src/pro/bitfinex2.js +7 -7
  234. package/js/src/pro/bitget.js +12 -12
  235. package/js/src/pro/bitmart.js +5 -5
  236. package/js/src/pro/bitmex.js +8 -8
  237. package/js/src/pro/bitopro.js +4 -4
  238. package/js/src/pro/bitpanda.js +7 -7
  239. package/js/src/pro/bitrue.js +2 -2
  240. package/js/src/pro/bitstamp.js +3 -3
  241. package/js/src/pro/bittrex.js +7 -7
  242. package/js/src/pro/bitvavo.js +6 -6
  243. package/js/src/pro/blockchaincom.js +6 -6
  244. package/js/src/pro/bybit.js +12 -12
  245. package/js/src/pro/cex.js +9 -9
  246. package/js/src/pro/coinbase.js +6 -6
  247. package/js/src/pro/coinbasepro.js +10 -10
  248. package/js/src/pro/coinex.js +7 -7
  249. package/js/src/pro/cryptocom.js +13 -13
  250. package/js/src/pro/currencycom.js +5 -5
  251. package/js/src/pro/deribit.js +7 -7
  252. package/js/src/pro/exmo.js +5 -5
  253. package/js/src/pro/gate.js +10 -10
  254. package/js/src/pro/gemini.js +4 -4
  255. package/js/src/pro/hitbtc.js +11 -11
  256. package/js/src/pro/hollaex.js +5 -5
  257. package/js/src/pro/htx.js +8 -8
  258. package/js/src/pro/huobijp.js +4 -4
  259. package/js/src/pro/idex.js +5 -5
  260. package/js/src/pro/independentreserve.js +2 -2
  261. package/js/src/pro/kraken.js +11 -11
  262. package/js/src/pro/krakenfutures.js +8 -8
  263. package/js/src/pro/kucoin.js +10 -10
  264. package/js/src/pro/kucoinfutures.js +8 -8
  265. package/js/src/pro/luno.js +4 -4
  266. package/js/src/pro/mexc.js +7 -7
  267. package/js/src/pro/ndax.js +4 -4
  268. package/js/src/pro/okcoin.js +6 -6
  269. package/js/src/pro/okx.js +16 -16
  270. package/js/src/pro/phemex.js +7 -7
  271. package/js/src/pro/poloniex.js +7 -7
  272. package/js/src/pro/poloniexfutures.js +5 -5
  273. package/js/src/pro/probit.js +6 -6
  274. package/js/src/pro/upbit.js +3 -3
  275. package/js/src/pro/wazirx.js +7 -7
  276. package/js/src/pro/whitebit.js +7 -7
  277. package/js/src/pro/woo.js +1 -1
  278. package/js/src/probit.js +24 -24
  279. package/js/src/tidex.js +15 -15
  280. package/js/src/timex.js +19 -19
  281. package/js/src/tokocrypto.js +21 -21
  282. package/js/src/upbit.js +22 -22
  283. package/js/src/wavesexchange.js +19 -19
  284. package/js/src/wazirx.js +15 -15
  285. package/js/src/whitebit.js +29 -29
  286. package/js/src/woo.js +26 -26
  287. package/js/src/yobit.js +17 -17
  288. package/js/src/zaif.js +10 -10
  289. package/js/src/zonda.js +16 -16
  290. package/package.json +1 -1
@@ -275,7 +275,7 @@ export default class whitebit extends Exchange {
275
275
  * @name whitebit#fetchMarkets
276
276
  * @description retrieves data on all markets for whitebit
277
277
  * @see https://whitebit-exchange.github.io/api-docs/docs/Public/http-v4#market-info
278
- * @param {object} [params] extra parameters specific to the exchange api endpoint
278
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
279
279
  * @returns {object[]} an array of objects representing market data
280
280
  */
281
281
  const markets = await this.v4PublicGetMarkets();
@@ -398,7 +398,7 @@ export default class whitebit extends Exchange {
398
398
  * @method
399
399
  * @name whitebit#fetchCurrencies
400
400
  * @description fetches all available currencies on an exchange
401
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
401
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
402
402
  * @returns {object} an associative dictionary of currencies
403
403
  */
404
404
  const response = await this.v4PublicGetAssets(params);
@@ -458,7 +458,7 @@ export default class whitebit extends Exchange {
458
458
  * @deprecated
459
459
  * @description please use fetchDepositWithdrawFees instead
460
460
  * @param {string[]|undefined} codes not used by fetchTransactionFees ()
461
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
461
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
462
462
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
463
463
  */
464
464
  await this.loadMarkets();
@@ -512,7 +512,7 @@ export default class whitebit extends Exchange {
512
512
  * @name whitebit#fetchDepositWithdrawFees
513
513
  * @description fetch deposit and withdraw fees
514
514
  * @param {string[]|undefined} codes not used by fetchDepositWithdrawFees ()
515
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
515
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
516
516
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
517
517
  */
518
518
  await this.loadMarkets();
@@ -660,7 +660,7 @@ export default class whitebit extends Exchange {
660
660
  * @method
661
661
  * @name whitebit#fetchTradingFees
662
662
  * @description fetch the trading fees for multiple markets
663
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
663
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
664
664
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
665
665
  */
666
666
  await this.loadMarkets();
@@ -708,7 +708,7 @@ export default class whitebit extends Exchange {
708
708
  * @name whitebit#fetchTicker
709
709
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
710
710
  * @param {string} symbol unified symbol of the market to fetch the ticker for
711
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
711
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
712
712
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
713
713
  */
714
714
  await this.loadMarkets();
@@ -794,9 +794,9 @@ export default class whitebit extends Exchange {
794
794
  /**
795
795
  * @method
796
796
  * @name whitebit#fetchTickers
797
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
797
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
798
798
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
799
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
799
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
800
800
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
801
801
  */
802
802
  await this.loadMarkets();
@@ -832,7 +832,7 @@ export default class whitebit extends Exchange {
832
832
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
833
833
  * @param {string} symbol unified symbol of the market to fetch the order book for
834
834
  * @param {int} [limit] the maximum amount of order book entries to return
835
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
835
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
836
836
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
837
837
  */
838
838
  await this.loadMarkets();
@@ -874,7 +874,7 @@ export default class whitebit extends Exchange {
874
874
  * @param {string} symbol unified symbol of the market to fetch trades for
875
875
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
876
876
  * @param {int} [limit] the maximum amount of trades to fetch
877
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
877
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
878
878
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
879
879
  */
880
880
  await this.loadMarkets();
@@ -905,7 +905,7 @@ export default class whitebit extends Exchange {
905
905
  * @param {string} symbol unified symbol of the market to fetch trades for
906
906
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
907
907
  * @param {int} [limit] the maximum amount of trades to fetch
908
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
908
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
909
909
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
910
910
  */
911
911
  await this.loadMarkets();
@@ -1059,7 +1059,7 @@ export default class whitebit extends Exchange {
1059
1059
  * @param {string} timeframe the length of time each candle represents
1060
1060
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1061
1061
  * @param {int} [limit] the maximum amount of candles to fetch
1062
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1062
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1063
1063
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1064
1064
  */
1065
1065
  await this.loadMarkets();
@@ -1121,7 +1121,7 @@ export default class whitebit extends Exchange {
1121
1121
  * @method
1122
1122
  * @name whitebit#fetchStatus
1123
1123
  * @description the latest known information on the availability of the exchange API
1124
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1124
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1125
1125
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
1126
1126
  */
1127
1127
  const response = await this.v4PublicGetPing(params);
@@ -1144,7 +1144,7 @@ export default class whitebit extends Exchange {
1144
1144
  * @method
1145
1145
  * @name whitebit#fetchTime
1146
1146
  * @description fetches the current integer timestamp in milliseconds from the exchange server
1147
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1147
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1148
1148
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1149
1149
  */
1150
1150
  const response = await this.v4PublicGetTime(params);
@@ -1165,7 +1165,7 @@ export default class whitebit extends Exchange {
1165
1165
  * @param {string} side 'buy' or 'sell'
1166
1166
  * @param {float} amount how much of currency you want to trade in units of base currency
1167
1167
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1168
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1168
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1169
1169
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1170
1170
  */
1171
1171
  await this.loadMarkets();
@@ -1244,7 +1244,7 @@ export default class whitebit extends Exchange {
1244
1244
  * @description cancels an open order
1245
1245
  * @param {string} id order id
1246
1246
  * @param {string} symbol unified symbol of the market the order was made in
1247
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1247
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1248
1248
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1249
1249
  */
1250
1250
  if (symbol === undefined) {
@@ -1285,7 +1285,7 @@ export default class whitebit extends Exchange {
1285
1285
  * @method
1286
1286
  * @name whitebit#fetchBalance
1287
1287
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1288
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1288
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1289
1289
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1290
1290
  */
1291
1291
  await this.loadMarkets();
@@ -1339,7 +1339,7 @@ export default class whitebit extends Exchange {
1339
1339
  * @param {string} symbol unified market symbol
1340
1340
  * @param {int} [since] the earliest time in ms to fetch open orders for
1341
1341
  * @param {int} [limit] the maximum number of open order structures to retrieve
1342
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1342
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1343
1343
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1344
1344
  */
1345
1345
  if (symbol === undefined) {
@@ -1384,7 +1384,7 @@ export default class whitebit extends Exchange {
1384
1384
  * @param {string} symbol unified market symbol of the market orders were made in
1385
1385
  * @param {int} [since] the earliest time in ms to fetch orders for
1386
1386
  * @param {int} [limit] the maximum number of orde structures to retrieve
1387
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1387
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1388
1388
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1389
1389
  */
1390
1390
  await this.loadMarkets();
@@ -1545,7 +1545,7 @@ export default class whitebit extends Exchange {
1545
1545
  * @param {string} symbol unified market symbol
1546
1546
  * @param {int} [since] the earliest time in ms to fetch trades for
1547
1547
  * @param {int} [limit] the maximum number of trades to retrieve
1548
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1548
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1549
1549
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1550
1550
  */
1551
1551
  await this.loadMarkets();
@@ -1589,7 +1589,7 @@ export default class whitebit extends Exchange {
1589
1589
  * @name whitebit#fetchDepositAddress
1590
1590
  * @description fetch the deposit address for a currency associated with this account
1591
1591
  * @param {string} code unified currency code
1592
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1592
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1593
1593
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1594
1594
  */
1595
1595
  await this.loadMarkets();
@@ -1662,7 +1662,7 @@ export default class whitebit extends Exchange {
1662
1662
  * @description set the level of leverage for a market
1663
1663
  * @param {float} leverage the rate of leverage
1664
1664
  * @param {string} symbol unified market symbol
1665
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1665
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1666
1666
  * @returns {object} response from the exchange
1667
1667
  */
1668
1668
  await this.loadMarkets();
@@ -1690,7 +1690,7 @@ export default class whitebit extends Exchange {
1690
1690
  * @param {float} amount amount to transfer
1691
1691
  * @param {string} fromAccount account to transfer from - main, spot, collateral
1692
1692
  * @param {string} toAccount account to transfer to - main, spot, collateral
1693
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1693
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1694
1694
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1695
1695
  */
1696
1696
  await this.loadMarkets();
@@ -1736,7 +1736,7 @@ export default class whitebit extends Exchange {
1736
1736
  * @param {float} amount the amount to withdraw
1737
1737
  * @param {string} address the address to withdraw to
1738
1738
  * @param {string} tag
1739
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1739
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1740
1740
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1741
1741
  */
1742
1742
  await this.loadMarkets();
@@ -1860,7 +1860,7 @@ export default class whitebit extends Exchange {
1860
1860
  * @description fetch information on a deposit
1861
1861
  * @param {string} id deposit id
1862
1862
  * @param {string} code not used by whitebit fetchDeposit ()
1863
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1863
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1864
1864
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1865
1865
  */
1866
1866
  await this.loadMarkets();
@@ -1925,7 +1925,7 @@ export default class whitebit extends Exchange {
1925
1925
  * @param {string} code unified currency code
1926
1926
  * @param {int} [since] the earliest time in ms to fetch deposits for
1927
1927
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1928
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1928
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1929
1929
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1930
1930
  */
1931
1931
  await this.loadMarkets();
@@ -1993,7 +1993,7 @@ export default class whitebit extends Exchange {
1993
1993
  * @param {string} symbol unified market symbol
1994
1994
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
1995
1995
  * @param {int} [limit] the maximum number of structures to retrieve
1996
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
1996
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1997
1997
  * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
1998
1998
  */
1999
1999
  await this.loadMarkets();
@@ -2070,7 +2070,7 @@ export default class whitebit extends Exchange {
2070
2070
  * @see https://whitebit-exchange.github.io/api-docs/public/http-v4/#available-futures-markets-list
2071
2071
  * @description fetch the current funding rate
2072
2072
  * @param {string} symbol unified market symbol
2073
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
2073
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2074
2074
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
2075
2075
  */
2076
2076
  await this.loadMarkets();
@@ -2085,7 +2085,7 @@ export default class whitebit extends Exchange {
2085
2085
  * @see https://whitebit-exchange.github.io/api-docs/public/http-v4/#available-futures-markets-list
2086
2086
  * @description fetch the funding rate for multiple markets
2087
2087
  * @param {string[]|undefined} symbols list of unified market symbols
2088
- * @param {object} [params] extra parameters specific to the whitebit api endpoint
2088
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2089
2089
  * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
2090
2090
  */
2091
2091
  await this.loadMarkets();
package/js/src/woo.js CHANGED
@@ -307,7 +307,7 @@ export default class woo extends Exchange {
307
307
  * @method
308
308
  * @name woo#fetchMarkets
309
309
  * @description retrieves data on all markets for woo
310
- * @param {object} [params] extra parameters specific to the exchange api endpoint
310
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
311
311
  * @returns {object[]} an array of objects representing market data
312
312
  */
313
313
  const response = await this.v1PublicGetInfo(params);
@@ -427,7 +427,7 @@ export default class woo extends Exchange {
427
427
  * @param {string} symbol unified symbol of the market to fetch trades for
428
428
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
429
429
  * @param {int} [limit] the maximum amount of trades to fetch
430
- * @param {object} [params] extra parameters specific to the woo api endpoint
430
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
431
431
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
432
432
  */
433
433
  await this.loadMarkets();
@@ -551,7 +551,7 @@ export default class woo extends Exchange {
551
551
  * @name woo#fetchTradingFees
552
552
  * @description fetch the trading fees for multiple markets
553
553
  * @see https://docs.woo.org/#get-account-information-new
554
- * @param {object} [params] extra parameters specific to the woo api endpoint
554
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
555
555
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
556
556
  */
557
557
  await this.loadMarkets();
@@ -606,7 +606,7 @@ export default class woo extends Exchange {
606
606
  * @method
607
607
  * @name woo#fetchCurrencies
608
608
  * @description fetches all available currencies on an exchange
609
- * @param {object} [params] extra parameters specific to the woo api endpoint
609
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
610
610
  * @returns {object} an associative dictionary of currencies
611
611
  */
612
612
  const result = {};
@@ -749,7 +749,7 @@ export default class woo extends Exchange {
749
749
  * @param {string} side 'buy' or 'sell'
750
750
  * @param {float} amount how much of currency you want to trade in units of base currency
751
751
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
752
- * @param {object} [params] extra parameters specific to the woo api endpoint
752
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
753
753
  * @param {float} [params.triggerPrice] The price a trigger order is triggered at
754
754
  * @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)
755
755
  * @param {float} [params.takeProfit.triggerPrice] take profit trigger price
@@ -929,7 +929,7 @@ export default class woo extends Exchange {
929
929
  * @param {string} side 'buy' or 'sell'
930
930
  * @param {float} amount how much of currency you want to trade in units of base currency
931
931
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
932
- * @param {object} [params] extra parameters specific to the woo api endpoint
932
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
933
933
  * @param {float} [params.triggerPrice] The price a trigger order is triggered at
934
934
  * @param {float} [params.stopLossPrice] price to trigger stop-loss orders
935
935
  * @param {float} [params.takeProfitPrice] price to trigger take-profit orders
@@ -1000,7 +1000,7 @@ export default class woo extends Exchange {
1000
1000
  * @description cancels an open order
1001
1001
  * @param {string} id order id
1002
1002
  * @param {string} symbol unified symbol of the market the order was made in
1003
- * @param {object} [params] extra parameters specific to the woo api endpoint
1003
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1004
1004
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1005
1005
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1006
1006
  */
@@ -1056,7 +1056,7 @@ export default class woo extends Exchange {
1056
1056
  * @see https://docs.woo.org/#cancel-all-pending-algo-orders
1057
1057
  * @description cancel all open orders in a market
1058
1058
  * @param {string} symbol unified market symbol
1059
- * @param {object} [params] extra parameters specific to the woo api endpoint
1059
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1060
1060
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1061
1061
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1062
1062
  */
@@ -1090,7 +1090,7 @@ export default class woo extends Exchange {
1090
1090
  * @see https://docs.woo.org/#get-order
1091
1091
  * @description fetches information on an order made by the user
1092
1092
  * @param {string} symbol unified symbol of the market the order was made in
1093
- * @param {object} [params] extra parameters specific to the woo api endpoint
1093
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1094
1094
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1095
1095
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1096
1096
  */
@@ -1161,7 +1161,7 @@ export default class woo extends Exchange {
1161
1161
  * @param {string} symbol unified market symbol of the market orders were made in
1162
1162
  * @param {int} [since] the earliest time in ms to fetch orders for
1163
1163
  * @param {int} [limit] the maximum number of orde structures to retrieve
1164
- * @param {object} [params] extra parameters specific to the woo api endpoint
1164
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1165
1165
  * @param {boolean} [params.stop] whether the order is a stop/algo order
1166
1166
  * @param {boolean} [params.isTriggered] whether the order has been triggered (false by default)
1167
1167
  * @param {string} [params.side] 'buy' or 'sell'
@@ -1372,7 +1372,7 @@ export default class woo extends Exchange {
1372
1372
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
1373
1373
  * @param {string} symbol unified symbol of the market to fetch the order book for
1374
1374
  * @param {int} [limit] the maximum amount of order book entries to return
1375
- * @param {object} [params] extra parameters specific to the woo api endpoint
1375
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1376
1376
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1377
1377
  */
1378
1378
  await this.loadMarkets();
@@ -1414,7 +1414,7 @@ export default class woo extends Exchange {
1414
1414
  * @param {string} timeframe the length of time each candle represents
1415
1415
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1416
1416
  * @param {int} [limit] the maximum amount of candles to fetch
1417
- * @param {object} [params] extra parameters specific to the woo api endpoint
1417
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1418
1418
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1419
1419
  */
1420
1420
  await this.loadMarkets();
@@ -1480,7 +1480,7 @@ export default class woo extends Exchange {
1480
1480
  * @param {string} symbol unified market symbol
1481
1481
  * @param {int} [since] the earliest time in ms to fetch trades for
1482
1482
  * @param {int} [limit] the maximum number of trades to retrieve
1483
- * @param {object} [params] extra parameters specific to the woo api endpoint
1483
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1484
1484
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1485
1485
  */
1486
1486
  await this.loadMarkets();
@@ -1521,7 +1521,7 @@ export default class woo extends Exchange {
1521
1521
  * @param {string} symbol unified market symbol
1522
1522
  * @param {int} [since] the earliest time in ms to fetch trades for
1523
1523
  * @param {int} [limit] the maximum number of trades structures to retrieve
1524
- * @param {object} [params] extra parameters specific to the woo api endpoint
1524
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1525
1525
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1526
1526
  */
1527
1527
  await this.loadMarkets();
@@ -1566,7 +1566,7 @@ export default class woo extends Exchange {
1566
1566
  * @method
1567
1567
  * @name woo#fetchAccounts
1568
1568
  * @description fetch all the accounts associated with a profile
1569
- * @param {object} [params] extra parameters specific to the woo api endpoint
1569
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1570
1570
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
1571
1571
  */
1572
1572
  const response = await this.v1PrivateGetSubAccountAssets(params);
@@ -1612,7 +1612,7 @@ export default class woo extends Exchange {
1612
1612
  * @name woo#fetchBalance
1613
1613
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1614
1614
  * @see https://docs.woo.org/#get-current-holding-get-balance-new
1615
- * @param {object} [params] extra parameters specific to the woo api endpoint
1615
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1616
1616
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1617
1617
  */
1618
1618
  await this.loadMarkets();
@@ -1664,7 +1664,7 @@ export default class woo extends Exchange {
1664
1664
  * @name woo#fetchDepositAddress
1665
1665
  * @description fetch the deposit address for a currency associated with this account
1666
1666
  * @param {string} code unified currency code
1667
- * @param {object} [params] extra parameters specific to the woo api endpoint
1667
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1668
1668
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1669
1669
  */
1670
1670
  // this method is TODO because of networks unification
@@ -1758,7 +1758,7 @@ export default class woo extends Exchange {
1758
1758
  * @param {string} code unified currency code, default is undefined
1759
1759
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1760
1760
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1761
- * @param {object} [params] extra parameters specific to the woo api endpoint
1761
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1762
1762
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1763
1763
  */
1764
1764
  const [currency, rows] = await this.getAssetHistoryRows(code, since, limit, params);
@@ -1822,7 +1822,7 @@ export default class woo extends Exchange {
1822
1822
  * @param {string} code unified currency code
1823
1823
  * @param {int} [since] the earliest time in ms to fetch deposits for
1824
1824
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1825
- * @param {object} [params] extra parameters specific to the woo api endpoint
1825
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1826
1826
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1827
1827
  */
1828
1828
  const request = {
@@ -1838,7 +1838,7 @@ export default class woo extends Exchange {
1838
1838
  * @param {string} code unified currency code
1839
1839
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1840
1840
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1841
- * @param {object} [params] extra parameters specific to the woo api endpoint
1841
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1842
1842
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1843
1843
  */
1844
1844
  const request = {
@@ -1854,7 +1854,7 @@ export default class woo extends Exchange {
1854
1854
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1855
1855
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1856
1856
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1857
- * @param {object} [params] extra parameters specific to the woo api endpoint
1857
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1858
1858
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1859
1859
  */
1860
1860
  const request = {
@@ -1929,7 +1929,7 @@ export default class woo extends Exchange {
1929
1929
  * @param {float} amount amount to transfer
1930
1930
  * @param {string} fromAccount account to transfer from
1931
1931
  * @param {string} toAccount account to transfer to
1932
- * @param {object} [params] extra parameters specific to the woo api endpoint
1932
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1933
1933
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1934
1934
  */
1935
1935
  await this.loadMarkets();
@@ -1965,7 +1965,7 @@ export default class woo extends Exchange {
1965
1965
  * @param {string} code unified currency code of the currency transferred
1966
1966
  * @param {int} [since] the earliest time in ms to fetch transfers for
1967
1967
  * @param {int} [limit] the maximum number of transfers structures to retrieve
1968
- * @param {object} [params] extra parameters specific to the woo api endpoint
1968
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1969
1969
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1970
1970
  */
1971
1971
  const request = {
@@ -2056,7 +2056,7 @@ export default class woo extends Exchange {
2056
2056
  * @param {float} amount the amount to withdraw
2057
2057
  * @param {string} address the address to withdraw to
2058
2058
  * @param {string} tag
2059
- * @param {object} [params] extra parameters specific to the woo api endpoint
2059
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2060
2060
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2061
2061
  */
2062
2062
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -2098,7 +2098,7 @@ export default class woo extends Exchange {
2098
2098
  * @param {string} code unified currency code of the currency to repay
2099
2099
  * @param {float} amount the amount to repay
2100
2100
  * @param {string} symbol not used by woo.repayMargin ()
2101
- * @param {object} [params] extra parameters specific to the woo api endpoint
2101
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2102
2102
  * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
2103
2103
  */
2104
2104
  await this.loadMarkets();
@@ -2388,7 +2388,7 @@ export default class woo extends Exchange {
2388
2388
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
2389
2389
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
2390
2390
  * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
2391
- * @param {object} [params] extra parameters specific to the woo api endpoint
2391
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2392
2392
  * @param {int} [params.until] timestamp in ms of the latest funding rate
2393
2393
  * @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)
2394
2394
  * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
package/js/src/yobit.js CHANGED
@@ -308,7 +308,7 @@ export default class yobit extends Exchange {
308
308
  * @name yobit#fetchBalance
309
309
  * @see https://yobit.net/en/api
310
310
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
311
- * @param {object} [params] extra parameters specific to the yobit api endpoint
311
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
312
312
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
313
313
  */
314
314
  await this.loadMarkets();
@@ -346,7 +346,7 @@ export default class yobit extends Exchange {
346
346
  * @name yobit#fetchMarkets
347
347
  * @see https://yobit.net/en/api
348
348
  * @description retrieves data on all markets for yobit
349
- * @param {object} [params] extra parameters specific to the exchange api endpoint
349
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
350
350
  * @returns {object[]} an array of objects representing market data
351
351
  */
352
352
  const response = await this.publicGetInfo(params);
@@ -445,7 +445,7 @@ export default class yobit extends Exchange {
445
445
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
446
446
  * @param {string} symbol unified symbol of the market to fetch the order book for
447
447
  * @param {int} [limit] the maximum amount of order book entries to return
448
- * @param {object} [params] extra parameters specific to the yobit api endpoint
448
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
449
449
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
450
450
  */
451
451
  await this.loadMarkets();
@@ -472,7 +472,7 @@ export default class yobit extends Exchange {
472
472
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
473
473
  * @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
474
474
  * @param {int} [limit] max number of entries per orderbook to return, default is undefined
475
- * @param {object} [params] extra parameters specific to the yobit 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 symbol
477
477
  */
478
478
  await this.loadMarkets();
@@ -550,9 +550,9 @@ export default class yobit extends Exchange {
550
550
  * @method
551
551
  * @name yobit#fetchTickers
552
552
  * @see https://yobit.net/en/api
553
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
553
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
554
554
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
555
- * @param {object} [params] extra parameters specific to the yobit api endpoint
555
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
556
556
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
557
557
  */
558
558
  if (symbols === undefined) {
@@ -598,7 +598,7 @@ export default class yobit extends Exchange {
598
598
  * @see https://yobit.net/en/api
599
599
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
600
600
  * @param {string} symbol unified symbol of the market to fetch the ticker for
601
- * @param {object} [params] extra parameters specific to the yobit api endpoint
601
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
602
602
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
603
603
  */
604
604
  const tickers = await this.fetchTickers([symbol], params);
@@ -692,7 +692,7 @@ export default class yobit extends Exchange {
692
692
  * @param {string} symbol unified symbol of the market to fetch trades for
693
693
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
694
694
  * @param {int} [limit] the maximum amount of trades to fetch
695
- * @param {object} [params] extra parameters specific to the yobit api endpoint
695
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
696
696
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
697
697
  */
698
698
  await this.loadMarkets();
@@ -732,7 +732,7 @@ export default class yobit extends Exchange {
732
732
  * @name yobit#fetchTradingFees
733
733
  * @see https://yobit.net/en/api
734
734
  * @description fetch the trading fees for multiple markets
735
- * @param {object} [params] extra parameters specific to the yobit api endpoint
735
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
736
736
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
737
737
  */
738
738
  await this.loadMarkets();
@@ -789,7 +789,7 @@ export default class yobit extends Exchange {
789
789
  * @param {string} side 'buy' or 'sell'
790
790
  * @param {float} amount how much of currency you want to trade in units of base currency
791
791
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
792
- * @param {object} [params] extra parameters specific to the yobit api endpoint
792
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
793
793
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
794
794
  */
795
795
  if (type === 'market') {
@@ -836,7 +836,7 @@ export default class yobit extends Exchange {
836
836
  * @description cancels an open order
837
837
  * @param {string} id order id
838
838
  * @param {string} symbol not used by yobit cancelOrder ()
839
- * @param {object} [params] extra parameters specific to the yobit api endpoint
839
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
840
840
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
841
841
  */
842
842
  await this.loadMarkets();
@@ -985,7 +985,7 @@ export default class yobit extends Exchange {
985
985
  * @see https://yobit.net/en/api
986
986
  * @description fetches information on an order made by the user
987
987
  * @param {string} symbol not used by yobit fetchOrder
988
- * @param {object} [params] extra parameters specific to the yobit api endpoint
988
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
989
989
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
990
990
  */
991
991
  await this.loadMarkets();
@@ -1022,7 +1022,7 @@ export default class yobit extends Exchange {
1022
1022
  * @param {string} symbol unified market symbol
1023
1023
  * @param {int} [since] the earliest time in ms to fetch open orders for
1024
1024
  * @param {int} [limit] the maximum number of open order structures to retrieve
1025
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1025
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1026
1026
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1027
1027
  */
1028
1028
  if (symbol === undefined) {
@@ -1071,7 +1071,7 @@ export default class yobit extends Exchange {
1071
1071
  * @param {string} symbol unified market symbol
1072
1072
  * @param {int} [since] the earliest time in ms to fetch trades for
1073
1073
  * @param {int} [limit] the maximum number of trades structures to retrieve
1074
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1074
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1075
1075
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1076
1076
  */
1077
1077
  if (symbol === undefined) {
@@ -1132,7 +1132,7 @@ export default class yobit extends Exchange {
1132
1132
  * @see https://yobit.net/en/api
1133
1133
  * @description create a currency deposit address
1134
1134
  * @param {string} code unified currency code of the currency for the deposit address
1135
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1135
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1136
1136
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1137
1137
  */
1138
1138
  const request = {
@@ -1155,7 +1155,7 @@ export default class yobit extends Exchange {
1155
1155
  * @see https://yobit.net/en/api
1156
1156
  * @description fetch the deposit address for a currency associated with this account
1157
1157
  * @param {string} code unified currency code
1158
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1158
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1159
1159
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1160
1160
  */
1161
1161
  await this.loadMarkets();
@@ -1195,7 +1195,7 @@ export default class yobit extends Exchange {
1195
1195
  * @param {float} amount the amount to withdraw
1196
1196
  * @param {string} address the address to withdraw to
1197
1197
  * @param {string} tag
1198
- * @param {object} [params] extra parameters specific to the yobit api endpoint
1198
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1199
1199
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1200
1200
  */
1201
1201
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);