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
package/js/src/luno.js CHANGED
@@ -165,7 +165,7 @@ export default class luno extends Exchange {
165
165
  * @method
166
166
  * @name luno#fetchMarkets
167
167
  * @description retrieves data on all markets for luno
168
- * @param {object} [params] extra parameters specific to the exchange api endpoint
168
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
169
169
  * @returns {object[]} an array of objects representing market data
170
170
  */
171
171
  const response = await this.exchangeGetMarkets(params);
@@ -255,7 +255,7 @@ export default class luno extends Exchange {
255
255
  * @method
256
256
  * @name luno#fetchAccounts
257
257
  * @description fetch all the accounts associated with a profile
258
- * @param {object} [params] extra parameters specific to the luno api endpoint
258
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
259
259
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
260
260
  */
261
261
  const response = await this.privateGetBalance(params);
@@ -309,7 +309,7 @@ export default class luno extends Exchange {
309
309
  * @method
310
310
  * @name luno#fetchBalance
311
311
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
312
- * @param {object} [params] extra parameters specific to the luno api endpoint
312
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
313
313
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
314
314
  */
315
315
  await this.loadMarkets();
@@ -333,7 +333,7 @@ export default class luno extends Exchange {
333
333
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
334
334
  * @param {string} symbol unified symbol of the market to fetch the order book for
335
335
  * @param {int} [limit] the maximum amount of order book entries to return
336
- * @param {object} [params] extra parameters specific to the luno api endpoint
336
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
337
337
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
338
338
  */
339
339
  await this.loadMarkets();
@@ -440,7 +440,7 @@ export default class luno extends Exchange {
440
440
  * @name luno#fetchOrder
441
441
  * @description fetches information on an order made by the user
442
442
  * @param {string} symbol not used by luno fetchOrder
443
- * @param {object} [params] extra parameters specific to the luno api endpoint
443
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
444
444
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
445
445
  */
446
446
  await this.loadMarkets();
@@ -473,7 +473,7 @@ export default class luno extends Exchange {
473
473
  * @param {string} symbol unified market symbol of the market orders were made in
474
474
  * @param {int} [since] the earliest time in ms to fetch orders for
475
475
  * @param {int} [limit] the maximum number of orde structures to retrieve
476
- * @param {object} [params] extra parameters specific to the luno api endpoint
476
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
477
477
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
478
478
  */
479
479
  return await this.fetchOrdersByState(undefined, symbol, since, limit, params);
@@ -486,7 +486,7 @@ export default class luno extends Exchange {
486
486
  * @param {string} symbol unified market symbol
487
487
  * @param {int} [since] the earliest time in ms to fetch open orders for
488
488
  * @param {int} [limit] the maximum number of open orders structures to retrieve
489
- * @param {object} [params] extra parameters specific to the luno api endpoint
489
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
490
490
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
491
491
  */
492
492
  return await this.fetchOrdersByState('PENDING', symbol, since, limit, params);
@@ -499,7 +499,7 @@ export default class luno extends Exchange {
499
499
  * @param {string} symbol unified market symbol of the market orders were made in
500
500
  * @param {int} [since] the earliest time in ms to fetch orders for
501
501
  * @param {int} [limit] the maximum number of orde structures to retrieve
502
- * @param {object} [params] extra parameters specific to the luno api endpoint
502
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
503
503
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
504
504
  */
505
505
  return await this.fetchOrdersByState('COMPLETE', symbol, since, limit, params);
@@ -545,9 +545,9 @@ export default class luno extends Exchange {
545
545
  /**
546
546
  * @method
547
547
  * @name luno#fetchTickers
548
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
548
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
549
549
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
550
- * @param {object} [params] extra parameters specific to the luno api endpoint
550
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
551
551
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
552
552
  */
553
553
  await this.loadMarkets();
@@ -571,7 +571,7 @@ export default class luno extends Exchange {
571
571
  * @name luno#fetchTicker
572
572
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
573
573
  * @param {string} symbol unified symbol of the market to fetch the ticker for
574
- * @param {object} [params] extra parameters specific to the luno api endpoint
574
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
575
575
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
576
576
  */
577
577
  await this.loadMarkets();
@@ -694,7 +694,7 @@ export default class luno extends Exchange {
694
694
  * @param {string} symbol unified symbol of the market to fetch trades for
695
695
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
696
696
  * @param {int} [limit] the maximum amount of trades to fetch
697
- * @param {object} [params] extra parameters specific to the luno api endpoint
697
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
698
698
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
699
699
  */
700
700
  await this.loadMarkets();
@@ -730,7 +730,7 @@ export default class luno extends Exchange {
730
730
  * @param {string} symbol unified market symbol
731
731
  * @param {int} [since] the earliest time in ms to fetch trades for
732
732
  * @param {int} [limit] the maximum number of trades structures to retrieve
733
- * @param {object} [params] extra parameters specific to the luno api endpoint
733
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
734
734
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
735
735
  */
736
736
  if (symbol === undefined) {
@@ -778,7 +778,7 @@ export default class luno extends Exchange {
778
778
  * @name luno#fetchTradingFee
779
779
  * @description fetch the trading fees for a market
780
780
  * @param {string} symbol unified market symbol
781
- * @param {object} [params] extra parameters specific to the luno api endpoint
781
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
782
782
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
783
783
  */
784
784
  await this.loadMarkets();
@@ -811,7 +811,7 @@ export default class luno extends Exchange {
811
811
  * @param {string} side 'buy' or 'sell'
812
812
  * @param {float} amount how much of currency you want to trade in units of base currency
813
813
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
814
- * @param {object} [params] extra parameters specific to the luno api endpoint
814
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
815
815
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
816
816
  */
817
817
  await this.loadMarkets();
@@ -849,7 +849,7 @@ export default class luno extends Exchange {
849
849
  * @description cancels an open order
850
850
  * @param {string} id order id
851
851
  * @param {string} symbol unified symbol of the market the order was made in
852
- * @param {object} [params] extra parameters specific to the luno api endpoint
852
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
853
853
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
854
854
  */
855
855
  await this.loadMarkets();
@@ -881,7 +881,7 @@ export default class luno extends Exchange {
881
881
  * @param {string} code unified currency code, default is undefined
882
882
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
883
883
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
884
- * @param {object} [params] extra parameters specific to the luno api endpoint
884
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
885
885
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
886
886
  */
887
887
  await this.loadMarkets();
package/js/src/lykke.js CHANGED
@@ -187,7 +187,7 @@ export default class lykke extends Exchange {
187
187
  * @method
188
188
  * @name lykke#fetchCurrencies
189
189
  * @description fetches all available currencies on an exchange
190
- * @param {object} [params] extra parameters specific to the lykke api endpoint
190
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
191
191
  * @returns {object} an associative dictionary of currencies
192
192
  */
193
193
  const response = await this.publicGetAssets(params);
@@ -265,7 +265,7 @@ export default class lykke extends Exchange {
265
265
  * @method
266
266
  * @name lykke#fetchMarkets
267
267
  * @description retrieves data on all markets for lykke
268
- * @param {object} [params] extra parameters specific to the exchange api endpoint
268
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
269
269
  * @returns {object[]} an array of objects representing market data
270
270
  */
271
271
  const response = await this.publicGetAssetpairs(params);
@@ -425,7 +425,7 @@ export default class lykke extends Exchange {
425
425
  * @name lykke#fetchTicker
426
426
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
427
427
  * @param {string} symbol unified symbol of the market to fetch the ticker for
428
- * @param {object} [params] extra parameters specific to the lykke api endpoint
428
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
429
429
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
430
430
  */
431
431
  await this.loadMarkets();
@@ -476,9 +476,9 @@ export default class lykke extends Exchange {
476
476
  /**
477
477
  * @method
478
478
  * @name lykke#fetchTickers
479
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
479
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
480
480
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
481
- * @param {object} [params] extra parameters specific to the lykke api endpoint
481
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
482
482
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
483
483
  */
484
484
  await this.loadMarkets();
@@ -510,7 +510,7 @@ export default class lykke extends Exchange {
510
510
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
511
511
  * @param {string} symbol unified symbol of the market to fetch the order book for
512
512
  * @param {int} [limit] the maximum amount of order book entries to return
513
- * @param {object} [params] extra parameters specific to the lykke api endpoint
513
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
514
514
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
515
515
  */
516
516
  await this.loadMarkets();
@@ -615,7 +615,7 @@ export default class lykke extends Exchange {
615
615
  * @param {string} symbol unified symbol of the market to fetch trades for
616
616
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
617
617
  * @param {int} [limit] the maximum amount of trades to fetch
618
- * @param {object} [params] extra parameters specific to the lykke api endpoint
618
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
619
619
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
620
620
  */
621
621
  await this.loadMarkets();
@@ -676,7 +676,7 @@ export default class lykke extends Exchange {
676
676
  * @method
677
677
  * @name lykke#fetchBalance
678
678
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
679
- * @param {object} [params] extra parameters specific to the lykke api endpoint
679
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
680
680
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
681
681
  */
682
682
  await this.loadMarkets();
@@ -776,7 +776,7 @@ export default class lykke extends Exchange {
776
776
  * @param {string} side 'buy' or 'sell'
777
777
  * @param {float} amount how much of currency you want to trade in units of base currency
778
778
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
779
- * @param {object} [params] extra parameters specific to the lykke api endpoint
779
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
780
780
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
781
781
  */
782
782
  await this.loadMarkets();
@@ -844,7 +844,7 @@ export default class lykke extends Exchange {
844
844
  * @description cancels an open order
845
845
  * @param {string} id order id
846
846
  * @param {string} symbol unified symbol of the market the order was made in
847
- * @param {object} [params] extra parameters specific to the lykke api endpoint
847
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
848
848
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
849
849
  */
850
850
  const request = {
@@ -864,7 +864,7 @@ export default class lykke extends Exchange {
864
864
  * @name lykke#cancelAllOrders
865
865
  * @description cancel all open orders
866
866
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
867
- * @param {object} [params] extra parameters specific to the lykke api endpoint
867
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
868
868
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
869
869
  */
870
870
  await this.loadMarkets();
@@ -890,7 +890,7 @@ export default class lykke extends Exchange {
890
890
  * @name lykke#fetchOrder
891
891
  * @description fetches information on an order made by the user
892
892
  * @param {string} symbol not used by lykke fetchOrder
893
- * @param {object} [params] extra parameters specific to the lykke api endpoint
893
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
894
894
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
895
895
  */
896
896
  await this.loadMarkets();
@@ -928,7 +928,7 @@ export default class lykke extends Exchange {
928
928
  * @param {string} symbol unified market symbol
929
929
  * @param {int} [since] the earliest time in ms to fetch open orders for
930
930
  * @param {int} [limit] the maximum number of open orders structures to retrieve
931
- * @param {object} [params] extra parameters specific to the lykke api endpoint
931
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
932
932
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
933
933
  */
934
934
  await this.loadMarkets();
@@ -976,7 +976,7 @@ export default class lykke extends Exchange {
976
976
  * @param {string} symbol unified market symbol of the market orders were made in
977
977
  * @param {int} [since] the earliest time in ms to fetch orders for
978
978
  * @param {int} [limit] the maximum number of orde structures to retrieve
979
- * @param {object} [params] extra parameters specific to the lykke api endpoint
979
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
980
980
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
981
981
  */
982
982
  await this.loadMarkets();
@@ -1024,7 +1024,7 @@ export default class lykke extends Exchange {
1024
1024
  * @param {string} symbol unified market symbol
1025
1025
  * @param {int} [since] the earliest time in ms to fetch trades for
1026
1026
  * @param {int} [limit] the maximum number of trades structures to retrieve
1027
- * @param {object} [params] extra parameters specific to the lykke api endpoint
1027
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1028
1028
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1029
1029
  */
1030
1030
  await this.loadMarkets();
@@ -1081,7 +1081,7 @@ export default class lykke extends Exchange {
1081
1081
  * @name lykke#fetchDepositAddress
1082
1082
  * @description fetch the deposit address for a currency associated with this account
1083
1083
  * @param {string} code unified currency code
1084
- * @param {object} [params] extra parameters specific to the lykke api endpoint
1084
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1085
1085
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1086
1086
  */
1087
1087
  await this.loadMarkets();
@@ -1180,7 +1180,7 @@ export default class lykke extends Exchange {
1180
1180
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1181
1181
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1182
1182
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1183
- * @param {object} [params] extra parameters specific to the lykke api endpoint
1183
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1184
1184
  * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1185
1185
  */
1186
1186
  await this.loadMarkets();
@@ -1223,7 +1223,7 @@ export default class lykke extends Exchange {
1223
1223
  * @param {float} amount the amount to withdraw
1224
1224
  * @param {string} address the address to withdraw to
1225
1225
  * @param {string} tag
1226
- * @param {object} [params] extra parameters specific to the lykke api endpoint
1226
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1227
1227
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1228
1228
  */
1229
1229
  await this.loadMarkets();
package/js/src/mercado.js CHANGED
@@ -160,7 +160,7 @@ export default class mercado extends Exchange {
160
160
  * @method
161
161
  * @name mercado#fetchMarkets
162
162
  * @description retrieves data on all markets for mercado
163
- * @param {object} [params] extra parameters specific to the exchange api endpoint
163
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
164
164
  * @returns {object[]} an array of objects representing market data
165
165
  */
166
166
  const response = await this.publicGetCoins(params);
@@ -253,7 +253,7 @@ export default class mercado extends Exchange {
253
253
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
254
254
  * @param {string} symbol unified symbol of the market to fetch the order book for
255
255
  * @param {int} [limit] the maximum amount of order book entries to return
256
- * @param {object} [params] extra parameters specific to the mercado api endpoint
256
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
257
257
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
258
258
  */
259
259
  await this.loadMarkets();
@@ -309,7 +309,7 @@ export default class mercado extends Exchange {
309
309
  * @name mercado#fetchTicker
310
310
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
311
311
  * @param {string} symbol unified symbol of the market to fetch the ticker for
312
- * @param {object} [params] extra parameters specific to the mercado api endpoint
312
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
313
313
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
314
314
  */
315
315
  await this.loadMarkets();
@@ -375,7 +375,7 @@ export default class mercado extends Exchange {
375
375
  * @param {string} symbol unified symbol of the market to fetch trades for
376
376
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
377
377
  * @param {int} [limit] the maximum amount of trades to fetch
378
- * @param {object} [params] extra parameters specific to the mercado api endpoint
378
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
379
379
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
380
380
  */
381
381
  await this.loadMarkets();
@@ -418,7 +418,7 @@ export default class mercado extends Exchange {
418
418
  * @method
419
419
  * @name mercado#fetchBalance
420
420
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
421
- * @param {object} [params] extra parameters specific to the mercado api endpoint
421
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
422
422
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
423
423
  */
424
424
  await this.loadMarkets();
@@ -435,7 +435,7 @@ export default class mercado extends Exchange {
435
435
  * @param {string} side 'buy' or 'sell'
436
436
  * @param {float} amount how much of currency you want to trade in units of base currency
437
437
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
438
- * @param {object} [params] extra parameters specific to the mercado api endpoint
438
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
439
439
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
440
440
  */
441
441
  await this.loadMarkets();
@@ -475,7 +475,7 @@ export default class mercado extends Exchange {
475
475
  * @description cancels an open order
476
476
  * @param {string} id order id
477
477
  * @param {string} symbol unified symbol of the market the order was made in
478
- * @param {object} [params] extra parameters specific to the mercado api endpoint
478
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
479
479
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
480
480
  */
481
481
  if (symbol === undefined) {
@@ -601,7 +601,7 @@ export default class mercado extends Exchange {
601
601
  * @name mercado#fetchOrder
602
602
  * @description fetches information on an order made by the user
603
603
  * @param {string} symbol unified symbol of the market the order was made in
604
- * @param {object} [params] extra parameters specific to the mercado api endpoint
604
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
605
605
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
606
606
  */
607
607
  if (symbol === undefined) {
@@ -627,7 +627,7 @@ export default class mercado extends Exchange {
627
627
  * @param {float} amount the amount to withdraw
628
628
  * @param {string} address the address to withdraw to
629
629
  * @param {string} tag
630
- * @param {object} [params] extra parameters specific to the mercado api endpoint
630
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
631
631
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
632
632
  */
633
633
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -742,7 +742,7 @@ export default class mercado extends Exchange {
742
742
  * @param {string} timeframe the length of time each candle represents
743
743
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
744
744
  * @param {int} [limit] the maximum amount of candles to fetch
745
- * @param {object} [params] extra parameters specific to the mercado api endpoint
745
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
746
746
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
747
747
  */
748
748
  await this.loadMarkets();
@@ -774,7 +774,7 @@ export default class mercado extends Exchange {
774
774
  * @param {string} symbol unified market symbol of the market orders were made in
775
775
  * @param {int} [since] the earliest time in ms to fetch orders for
776
776
  * @param {int} [limit] the maximum number of order structures to retrieve
777
- * @param {object} [params] extra parameters specific to the mercado api endpoint
777
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
778
778
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
779
779
  */
780
780
  if (symbol === undefined) {
@@ -798,7 +798,7 @@ export default class mercado extends Exchange {
798
798
  * @param {string} symbol unified market symbol
799
799
  * @param {int} [since] the earliest time in ms to fetch open orders for
800
800
  * @param {int} [limit] the maximum number of open order structures to retrieve
801
- * @param {object} [params] extra parameters specific to the mercado api endpoint
801
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
802
802
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
803
803
  */
804
804
  if (symbol === undefined) {
@@ -823,7 +823,7 @@ export default class mercado extends Exchange {
823
823
  * @param {string} symbol unified market symbol
824
824
  * @param {int} [since] the earliest time in ms to fetch trades for
825
825
  * @param {int} [limit] the maximum number of trades structures to retrieve
826
- * @param {object} [params] extra parameters specific to the mercado api endpoint
826
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
827
827
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
828
828
  */
829
829
  if (symbol === undefined) {