ccxt 4.0.74 → 4.0.76

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 (299) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2635 -2383
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +11 -11
  6. package/dist/cjs/src/alpaca.js +7 -7
  7. package/dist/cjs/src/ascendex.js +25 -25
  8. package/dist/cjs/src/base/Exchange.js +4 -4
  9. package/dist/cjs/src/bigone.js +19 -19
  10. package/dist/cjs/src/binance.js +56 -56
  11. package/dist/cjs/src/bingx.js +85 -40
  12. package/dist/cjs/src/bit2c.js +12 -12
  13. package/dist/cjs/src/bitbank.js +13 -13
  14. package/dist/cjs/src/bitbns.js +14 -14
  15. package/dist/cjs/src/bitfinex.js +21 -21
  16. package/dist/cjs/src/bitfinex2.js +29 -29
  17. package/dist/cjs/src/bitflyer.js +17 -17
  18. package/dist/cjs/src/bitforex.js +11 -11
  19. package/dist/cjs/src/bitget.js +39 -39
  20. package/dist/cjs/src/bithumb.js +11 -11
  21. package/dist/cjs/src/bitmart.js +44 -31
  22. package/dist/cjs/src/bitmex.js +24 -24
  23. package/dist/cjs/src/bitopro.js +21 -21
  24. package/dist/cjs/src/bitpanda.js +21 -21
  25. package/dist/cjs/src/bitrue.js +18 -18
  26. package/dist/cjs/src/bitso.js +21 -21
  27. package/dist/cjs/src/bitstamp.js +21 -21
  28. package/dist/cjs/src/bitstamp1.js +8 -8
  29. package/dist/cjs/src/bittrex.js +27 -27
  30. package/dist/cjs/src/bitvavo.js +19 -19
  31. package/dist/cjs/src/bkex.js +21 -21
  32. package/dist/cjs/src/bl3p.js +8 -8
  33. package/dist/cjs/src/blockchaincom.js +21 -21
  34. package/dist/cjs/src/btcalpha.js +15 -15
  35. package/dist/cjs/src/btcbox.js +10 -10
  36. package/dist/cjs/src/btcmarkets.js +17 -17
  37. package/dist/cjs/src/btctradeua.js +8 -8
  38. package/dist/cjs/src/btcturk.js +11 -11
  39. package/dist/cjs/src/bybit.js +153 -121
  40. package/dist/cjs/src/cex.js +14 -14
  41. package/dist/cjs/src/coinbase.js +23 -23
  42. package/dist/cjs/src/coinbasepro.js +24 -24
  43. package/dist/cjs/src/coincheck.js +12 -12
  44. package/dist/cjs/src/coinex.js +87 -41
  45. package/dist/cjs/src/coinfalcon.js +16 -16
  46. package/dist/cjs/src/coinmate.js +14 -14
  47. package/dist/cjs/src/coinone.js +12 -12
  48. package/dist/cjs/src/coinsph.js +27 -22
  49. package/dist/cjs/src/coinspot.js +8 -8
  50. package/dist/cjs/src/cryptocom.js +29 -29
  51. package/dist/cjs/src/currencycom.js +20 -20
  52. package/dist/cjs/src/delta.js +25 -25
  53. package/dist/cjs/src/deribit.js +30 -30
  54. package/dist/cjs/src/digifinex.js +31 -31
  55. package/dist/cjs/src/exmo.js +26 -26
  56. package/dist/cjs/src/gate.js +38 -38
  57. package/dist/cjs/src/gemini.js +17 -17
  58. package/dist/cjs/src/hitbtc.js +34 -34
  59. package/dist/cjs/src/hollaex.js +23 -23
  60. package/dist/cjs/src/huobi.js +45 -45
  61. package/dist/cjs/src/huobijp.js +20 -20
  62. package/dist/cjs/src/idex.js +19 -19
  63. package/dist/cjs/src/independentreserve.js +12 -12
  64. package/dist/cjs/src/indodax.js +14 -14
  65. package/dist/cjs/src/kraken.js +27 -27
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +33 -33
  68. package/dist/cjs/src/kucoinfutures.js +24 -24
  69. package/dist/cjs/src/kuna.js +12 -12
  70. package/dist/cjs/src/latoken.js +17 -17
  71. package/dist/cjs/src/lbank.js +12 -12
  72. package/dist/cjs/src/lbank2.js +23 -23
  73. package/dist/cjs/src/luno.js +16 -16
  74. package/dist/cjs/src/lykke.js +16 -16
  75. package/dist/cjs/src/mercado.js +12 -12
  76. package/dist/cjs/src/mexc.js +44 -42
  77. package/dist/cjs/src/ndax.js +20 -20
  78. package/dist/cjs/src/novadax.js +20 -20
  79. package/dist/cjs/src/oceanex.js +16 -16
  80. package/dist/cjs/src/okcoin.js +21 -21
  81. package/dist/cjs/src/okx.js +52 -52
  82. package/dist/cjs/src/paymium.js +11 -11
  83. package/dist/cjs/src/phemex.js +26 -26
  84. package/dist/cjs/src/poloniex.js +237 -136
  85. package/dist/cjs/src/poloniexfutures.js +18 -18
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +4 -4
  88. package/dist/cjs/src/pro/binance.js +16 -16
  89. package/dist/cjs/src/pro/bitfinex.js +4 -4
  90. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  91. package/dist/cjs/src/pro/bitget.js +6 -6
  92. package/dist/cjs/src/pro/bitmart.js +4 -4
  93. package/dist/cjs/src/pro/bitmex.js +6 -6
  94. package/dist/cjs/src/pro/bitopro.js +4 -4
  95. package/dist/cjs/src/pro/bitpanda.js +6 -6
  96. package/dist/cjs/src/pro/bitrue.js +2 -2
  97. package/dist/cjs/src/pro/bitstamp.js +3 -3
  98. package/dist/cjs/src/pro/bittrex.js +6 -6
  99. package/dist/cjs/src/pro/bitvavo.js +5 -5
  100. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  101. package/dist/cjs/src/pro/bybit.js +6 -6
  102. package/dist/cjs/src/pro/cex.js +7 -7
  103. package/dist/cjs/src/pro/coinbase.js +5 -5
  104. package/dist/cjs/src/pro/coinbasepro.js +6 -6
  105. package/dist/cjs/src/pro/coinex.js +5 -5
  106. package/dist/cjs/src/pro/cryptocom.js +10 -10
  107. package/dist/cjs/src/pro/currencycom.js +4 -4
  108. package/dist/cjs/src/pro/deribit.js +6 -6
  109. package/dist/cjs/src/pro/exmo.js +5 -5
  110. package/dist/cjs/src/pro/gate.js +7 -7
  111. package/dist/cjs/src/pro/gemini.js +3 -3
  112. package/dist/cjs/src/pro/hitbtc.js +3 -3
  113. package/dist/cjs/src/pro/hollaex.js +5 -5
  114. package/dist/cjs/src/pro/huobi.js +6 -6
  115. package/dist/cjs/src/pro/huobijp.js +3 -3
  116. package/dist/cjs/src/pro/idex.js +4 -4
  117. package/dist/cjs/src/pro/independentreserve.js +2 -2
  118. package/dist/cjs/src/pro/kraken.js +12 -12
  119. package/dist/cjs/src/pro/krakenfutures.js +7 -7
  120. package/dist/cjs/src/pro/kucoin.js +6 -6
  121. package/dist/cjs/src/pro/kucoinfutures.js +6 -5
  122. package/dist/cjs/src/pro/luno.js +2 -2
  123. package/dist/cjs/src/pro/mexc.js +6 -6
  124. package/dist/cjs/src/pro/ndax.js +3 -3
  125. package/dist/cjs/src/pro/okcoin.js +5 -5
  126. package/dist/cjs/src/pro/okx.js +19 -18
  127. package/dist/cjs/src/pro/phemex.js +6 -6
  128. package/dist/cjs/src/pro/poloniex.js +7 -7
  129. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  130. package/dist/cjs/src/pro/probit.js +6 -6
  131. package/dist/cjs/src/pro/upbit.js +3 -3
  132. package/dist/cjs/src/pro/wazirx.js +6 -6
  133. package/dist/cjs/src/pro/whitebit.js +6 -6
  134. package/dist/cjs/src/probit.js +19 -19
  135. package/dist/cjs/src/tidex.js +13 -13
  136. package/dist/cjs/src/timex.js +16 -16
  137. package/dist/cjs/src/tokocrypto.js +18 -18
  138. package/dist/cjs/src/upbit.js +20 -20
  139. package/dist/cjs/src/wavesexchange.js +16 -16
  140. package/dist/cjs/src/wazirx.js +12 -12
  141. package/dist/cjs/src/whitebit.js +24 -24
  142. package/dist/cjs/src/woo.js +30 -24
  143. package/dist/cjs/src/yobit.js +16 -16
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +15 -15
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/bingx.d.ts +2 -0
  149. package/js/src/abstract/bitmart.d.ts +13 -0
  150. package/js/src/abstract/bybit.d.ts +33 -21
  151. package/js/src/abstract/coinsph.d.ts +5 -0
  152. package/js/src/abstract/woo.d.ts +6 -0
  153. package/js/src/ace.js +11 -11
  154. package/js/src/alpaca.js +7 -7
  155. package/js/src/ascendex.js +25 -25
  156. package/js/src/base/Exchange.js +4 -4
  157. package/js/src/bigone.js +19 -19
  158. package/js/src/binance.js +56 -56
  159. package/js/src/bingx.d.ts +1 -0
  160. package/js/src/bingx.js +85 -40
  161. package/js/src/bit2c.js +12 -12
  162. package/js/src/bitbank.js +13 -13
  163. package/js/src/bitbns.js +14 -14
  164. package/js/src/bitfinex.js +21 -21
  165. package/js/src/bitfinex2.js +29 -29
  166. package/js/src/bitflyer.js +17 -17
  167. package/js/src/bitforex.js +11 -11
  168. package/js/src/bitget.js +39 -39
  169. package/js/src/bithumb.js +11 -11
  170. package/js/src/bitmart.js +44 -31
  171. package/js/src/bitmex.js +24 -24
  172. package/js/src/bitopro.js +21 -21
  173. package/js/src/bitpanda.js +21 -21
  174. package/js/src/bitrue.js +18 -18
  175. package/js/src/bitso.js +21 -21
  176. package/js/src/bitstamp.js +21 -21
  177. package/js/src/bitstamp1.js +8 -8
  178. package/js/src/bittrex.js +27 -27
  179. package/js/src/bitvavo.js +19 -19
  180. package/js/src/bkex.js +21 -21
  181. package/js/src/bl3p.js +8 -8
  182. package/js/src/blockchaincom.js +21 -21
  183. package/js/src/btcalpha.js +15 -15
  184. package/js/src/btcbox.js +10 -10
  185. package/js/src/btcmarkets.js +17 -17
  186. package/js/src/btctradeua.js +8 -8
  187. package/js/src/btcturk.js +11 -11
  188. package/js/src/bybit.js +153 -121
  189. package/js/src/cex.js +14 -14
  190. package/js/src/coinbase.js +23 -23
  191. package/js/src/coinbasepro.js +24 -24
  192. package/js/src/coincheck.js +12 -12
  193. package/js/src/coinex.d.ts +1 -0
  194. package/js/src/coinex.js +87 -41
  195. package/js/src/coinfalcon.js +16 -16
  196. package/js/src/coinmate.js +14 -14
  197. package/js/src/coinone.js +12 -12
  198. package/js/src/coinsph.js +27 -22
  199. package/js/src/coinspot.js +8 -8
  200. package/js/src/cryptocom.js +29 -29
  201. package/js/src/currencycom.js +20 -20
  202. package/js/src/delta.js +25 -25
  203. package/js/src/deribit.js +30 -30
  204. package/js/src/digifinex.js +31 -31
  205. package/js/src/exmo.js +26 -26
  206. package/js/src/gate.js +38 -38
  207. package/js/src/gemini.js +17 -17
  208. package/js/src/hitbtc.js +34 -34
  209. package/js/src/hollaex.js +23 -23
  210. package/js/src/huobi.js +45 -45
  211. package/js/src/huobijp.js +20 -20
  212. package/js/src/idex.js +19 -19
  213. package/js/src/independentreserve.js +12 -12
  214. package/js/src/indodax.js +14 -14
  215. package/js/src/kraken.js +27 -27
  216. package/js/src/krakenfutures.js +12 -12
  217. package/js/src/kucoin.js +33 -33
  218. package/js/src/kucoinfutures.js +24 -24
  219. package/js/src/kuna.js +12 -12
  220. package/js/src/latoken.js +17 -17
  221. package/js/src/lbank.js +12 -12
  222. package/js/src/lbank2.js +23 -23
  223. package/js/src/luno.js +16 -16
  224. package/js/src/lykke.js +16 -16
  225. package/js/src/mercado.js +12 -12
  226. package/js/src/mexc.js +45 -43
  227. package/js/src/ndax.js +20 -20
  228. package/js/src/novadax.js +20 -20
  229. package/js/src/oceanex.js +16 -16
  230. package/js/src/okcoin.js +21 -21
  231. package/js/src/okx.js +52 -52
  232. package/js/src/paymium.js +11 -11
  233. package/js/src/phemex.js +26 -26
  234. package/js/src/poloniex.d.ts +1 -1
  235. package/js/src/poloniex.js +237 -136
  236. package/js/src/poloniexfutures.js +18 -18
  237. package/js/src/pro/alpaca.js +5 -5
  238. package/js/src/pro/ascendex.js +4 -4
  239. package/js/src/pro/binance.js +16 -16
  240. package/js/src/pro/bitfinex.js +4 -4
  241. package/js/src/pro/bitfinex2.js +6 -6
  242. package/js/src/pro/bitget.js +6 -6
  243. package/js/src/pro/bitmart.js +4 -4
  244. package/js/src/pro/bitmex.js +6 -6
  245. package/js/src/pro/bitopro.js +4 -4
  246. package/js/src/pro/bitpanda.js +6 -6
  247. package/js/src/pro/bitrue.js +2 -2
  248. package/js/src/pro/bitstamp.js +3 -3
  249. package/js/src/pro/bittrex.js +6 -6
  250. package/js/src/pro/bitvavo.js +5 -5
  251. package/js/src/pro/blockchaincom.js +5 -5
  252. package/js/src/pro/bybit.js +6 -6
  253. package/js/src/pro/cex.js +7 -7
  254. package/js/src/pro/coinbase.js +5 -5
  255. package/js/src/pro/coinbasepro.js +6 -6
  256. package/js/src/pro/coinex.js +5 -5
  257. package/js/src/pro/cryptocom.js +10 -10
  258. package/js/src/pro/currencycom.js +4 -4
  259. package/js/src/pro/deribit.js +6 -6
  260. package/js/src/pro/exmo.js +5 -5
  261. package/js/src/pro/gate.js +7 -7
  262. package/js/src/pro/gemini.js +3 -3
  263. package/js/src/pro/hitbtc.js +3 -3
  264. package/js/src/pro/hollaex.js +5 -5
  265. package/js/src/pro/huobi.js +6 -6
  266. package/js/src/pro/huobijp.js +3 -3
  267. package/js/src/pro/idex.js +4 -4
  268. package/js/src/pro/independentreserve.js +2 -2
  269. package/js/src/pro/kraken.js +12 -12
  270. package/js/src/pro/krakenfutures.js +7 -7
  271. package/js/src/pro/kucoin.js +6 -6
  272. package/js/src/pro/kucoinfutures.js +6 -5
  273. package/js/src/pro/luno.js +2 -2
  274. package/js/src/pro/mexc.js +6 -6
  275. package/js/src/pro/ndax.js +3 -3
  276. package/js/src/pro/okcoin.js +5 -5
  277. package/js/src/pro/okx.d.ts +1 -1
  278. package/js/src/pro/okx.js +19 -18
  279. package/js/src/pro/phemex.js +6 -6
  280. package/js/src/pro/poloniex.js +7 -7
  281. package/js/src/pro/poloniexfutures.js +5 -5
  282. package/js/src/pro/probit.js +6 -6
  283. package/js/src/pro/upbit.js +3 -3
  284. package/js/src/pro/wazirx.js +6 -6
  285. package/js/src/pro/whitebit.js +6 -6
  286. package/js/src/probit.js +19 -19
  287. package/js/src/tidex.js +13 -13
  288. package/js/src/timex.js +16 -16
  289. package/js/src/tokocrypto.js +18 -18
  290. package/js/src/upbit.js +20 -20
  291. package/js/src/wavesexchange.js +16 -16
  292. package/js/src/wazirx.js +12 -12
  293. package/js/src/whitebit.js +24 -24
  294. package/js/src/woo.js +30 -24
  295. package/js/src/yobit.js +16 -16
  296. package/js/src/zaif.js +10 -10
  297. package/js/src/zonda.js +15 -15
  298. package/package.json +1 -1
  299. package/skip-tests.json +2 -0
package/js/src/luno.js CHANGED
@@ -254,7 +254,7 @@ export default class luno extends Exchange {
254
254
  * @name luno#fetchAccounts
255
255
  * @description fetch all the accounts associated with a profile
256
256
  * @param {object} [params] extra parameters specific to the luno api endpoint
257
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
257
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
258
258
  */
259
259
  const response = await this.privateGetBalance(params);
260
260
  const wallets = this.safeValue(response, 'balance', []);
@@ -308,7 +308,7 @@ export default class luno extends Exchange {
308
308
  * @name luno#fetchBalance
309
309
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
310
310
  * @param {object} [params] extra parameters specific to the luno api endpoint
311
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
311
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
312
312
  */
313
313
  await this.loadMarkets();
314
314
  const response = await this.privateGetBalance(params);
@@ -332,7 +332,7 @@ export default class luno extends Exchange {
332
332
  * @param {string} symbol unified symbol of the market to fetch the order book for
333
333
  * @param {int} [limit] the maximum amount of order book entries to return
334
334
  * @param {object} [params] extra parameters specific to the luno api endpoint
335
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
335
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
336
336
  */
337
337
  await this.loadMarkets();
338
338
  let method = 'publicGetOrderbook';
@@ -439,7 +439,7 @@ export default class luno extends Exchange {
439
439
  * @description fetches information on an order made by the user
440
440
  * @param {string} symbol not used by luno fetchOrder
441
441
  * @param {object} [params] extra parameters specific to the luno api endpoint
442
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
442
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
443
443
  */
444
444
  await this.loadMarkets();
445
445
  const request = {
@@ -472,7 +472,7 @@ export default class luno extends Exchange {
472
472
  * @param {int} [since] the earliest time in ms to fetch orders for
473
473
  * @param {int} [limit] the maximum number of orde structures to retrieve
474
474
  * @param {object} [params] extra parameters specific to the luno api endpoint
475
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
475
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
476
476
  */
477
477
  return await this.fetchOrdersByState(undefined, symbol, since, limit, params);
478
478
  }
@@ -485,7 +485,7 @@ export default class luno extends Exchange {
485
485
  * @param {int} [since] the earliest time in ms to fetch open orders for
486
486
  * @param {int} [limit] the maximum number of open orders structures to retrieve
487
487
  * @param {object} [params] extra parameters specific to the luno api endpoint
488
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
488
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
489
489
  */
490
490
  return await this.fetchOrdersByState('PENDING', symbol, since, limit, params);
491
491
  }
@@ -498,7 +498,7 @@ export default class luno extends Exchange {
498
498
  * @param {int} [since] the earliest time in ms to fetch orders for
499
499
  * @param {int} [limit] the maximum number of orde structures to retrieve
500
500
  * @param {object} [params] extra parameters specific to the luno api endpoint
501
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
501
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
502
502
  */
503
503
  return await this.fetchOrdersByState('COMPLETE', symbol, since, limit, params);
504
504
  }
@@ -546,7 +546,7 @@ export default class luno extends Exchange {
546
546
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
547
547
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
548
548
  * @param {object} [params] extra parameters specific to the luno api endpoint
549
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
549
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
550
550
  */
551
551
  await this.loadMarkets();
552
552
  symbols = this.marketSymbols(symbols);
@@ -570,7 +570,7 @@ export default class luno extends Exchange {
570
570
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
571
571
  * @param {string} symbol unified symbol of the market to fetch the ticker for
572
572
  * @param {object} [params] extra parameters specific to the luno api endpoint
573
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
573
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
574
574
  */
575
575
  await this.loadMarkets();
576
576
  const market = this.market(symbol);
@@ -693,7 +693,7 @@ export default class luno extends Exchange {
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
695
  * @param {object} [params] extra parameters specific to the luno api endpoint
696
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
696
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
697
697
  */
698
698
  await this.loadMarkets();
699
699
  const market = this.market(symbol);
@@ -729,7 +729,7 @@ export default class luno extends Exchange {
729
729
  * @param {int} [since] the earliest time in ms to fetch trades for
730
730
  * @param {int} [limit] the maximum number of trades structures to retrieve
731
731
  * @param {object} [params] extra parameters specific to the luno api endpoint
732
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
732
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
733
733
  */
734
734
  if (symbol === undefined) {
735
735
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -777,7 +777,7 @@ export default class luno extends Exchange {
777
777
  * @description fetch the trading fees for a market
778
778
  * @param {string} symbol unified market symbol
779
779
  * @param {object} [params] extra parameters specific to the luno api endpoint
780
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
780
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
781
781
  */
782
782
  await this.loadMarkets();
783
783
  const market = this.market(symbol);
@@ -808,9 +808,9 @@ export default class luno extends Exchange {
808
808
  * @param {string} type 'market' or 'limit'
809
809
  * @param {string} side 'buy' or 'sell'
810
810
  * @param {float} amount how much of currency you want to trade in units of base currency
811
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
811
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
812
812
  * @param {object} [params] extra parameters specific to the luno api endpoint
813
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
813
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
814
814
  */
815
815
  await this.loadMarkets();
816
816
  let method = 'privatePost';
@@ -849,7 +849,7 @@ export default class luno extends Exchange {
849
849
  * @param {string} id order id
850
850
  * @param {string} symbol unified symbol of the market the order was made in
851
851
  * @param {object} [params] extra parameters specific to the luno api endpoint
852
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
852
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
853
853
  */
854
854
  await this.loadMarkets();
855
855
  const request = {
@@ -881,7 +881,7 @@ export default class luno extends Exchange {
881
881
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
882
882
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
883
883
  * @param {object} [params] extra parameters specific to the luno api endpoint
884
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
884
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
885
885
  */
886
886
  await this.loadMarkets();
887
887
  await this.loadAccounts();
package/js/src/lykke.js CHANGED
@@ -422,7 +422,7 @@ export default class lykke extends Exchange {
422
422
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
423
423
  * @param {string} symbol unified symbol of the market to fetch the ticker for
424
424
  * @param {object} [params] extra parameters specific to the lykke api endpoint
425
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
425
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
426
426
  */
427
427
  await this.loadMarkets();
428
428
  const market = this.market(symbol);
@@ -475,7 +475,7 @@ export default class lykke extends Exchange {
475
475
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
476
476
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
477
477
  * @param {object} [params] extra parameters specific to the lykke api endpoint
478
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
478
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
479
479
  */
480
480
  await this.loadMarkets();
481
481
  const response = await this.publicGetTickers(params);
@@ -507,7 +507,7 @@ export default class lykke extends Exchange {
507
507
  * @param {string} symbol unified symbol of the market to fetch the order book for
508
508
  * @param {int} [limit] the maximum amount of order book entries to return
509
509
  * @param {object} [params] extra parameters specific to the lykke api endpoint
510
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
510
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
511
511
  */
512
512
  await this.loadMarkets();
513
513
  const market = this.market(symbol);
@@ -612,7 +612,7 @@ export default class lykke extends Exchange {
612
612
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
613
613
  * @param {int} [limit] the maximum amount of trades to fetch
614
614
  * @param {object} [params] extra parameters specific to the lykke api endpoint
615
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
615
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
616
616
  */
617
617
  await this.loadMarkets();
618
618
  const market = this.market(symbol);
@@ -673,7 +673,7 @@ export default class lykke extends Exchange {
673
673
  * @name lykke#fetchBalance
674
674
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
675
675
  * @param {object} [params] extra parameters specific to the lykke api endpoint
676
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
676
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
677
677
  */
678
678
  await this.loadMarkets();
679
679
  const response = await this.privateGetBalance(params);
@@ -771,9 +771,9 @@ export default class lykke extends Exchange {
771
771
  * @param {string} type 'market' or 'limit'
772
772
  * @param {string} side 'buy' or 'sell'
773
773
  * @param {float} amount how much of currency you want to trade in units of base currency
774
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
774
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
775
775
  * @param {object} [params] extra parameters specific to the lykke api endpoint
776
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
776
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
777
777
  */
778
778
  await this.loadMarkets();
779
779
  const market = this.market(symbol);
@@ -841,7 +841,7 @@ export default class lykke extends Exchange {
841
841
  * @param {string} id order id
842
842
  * @param {string} symbol unified symbol of the market the order was made in
843
843
  * @param {object} [params] extra parameters specific to the lykke api endpoint
844
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
844
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
845
845
  */
846
846
  const request = {
847
847
  'orderId': id,
@@ -861,7 +861,7 @@ export default class lykke extends Exchange {
861
861
  * @description cancel all open orders
862
862
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
863
863
  * @param {object} [params] extra parameters specific to the lykke api endpoint
864
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
864
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
865
865
  */
866
866
  await this.loadMarkets();
867
867
  const request = {
@@ -887,7 +887,7 @@ export default class lykke extends Exchange {
887
887
  * @description fetches information on an order made by the user
888
888
  * @param {string} symbol not used by lykke fetchOrder
889
889
  * @param {object} [params] extra parameters specific to the lykke api endpoint
890
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
890
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
891
891
  */
892
892
  await this.loadMarkets();
893
893
  const request = {
@@ -925,7 +925,7 @@ export default class lykke extends Exchange {
925
925
  * @param {int} [since] the earliest time in ms to fetch open orders for
926
926
  * @param {int} [limit] the maximum number of open orders structures to retrieve
927
927
  * @param {object} [params] extra parameters specific to the lykke api endpoint
928
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
928
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
929
929
  */
930
930
  await this.loadMarkets();
931
931
  let market = undefined;
@@ -973,7 +973,7 @@ export default class lykke extends Exchange {
973
973
  * @param {int} [since] the earliest time in ms to fetch orders for
974
974
  * @param {int} [limit] the maximum number of orde structures to retrieve
975
975
  * @param {object} [params] extra parameters specific to the lykke api endpoint
976
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
976
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
977
977
  */
978
978
  await this.loadMarkets();
979
979
  let market = undefined;
@@ -1021,7 +1021,7 @@ export default class lykke extends Exchange {
1021
1021
  * @param {int} [since] the earliest time in ms to fetch trades for
1022
1022
  * @param {int} [limit] the maximum number of trades structures to retrieve
1023
1023
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1024
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1024
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1025
1025
  */
1026
1026
  await this.loadMarkets();
1027
1027
  const request = {
@@ -1078,7 +1078,7 @@ export default class lykke extends Exchange {
1078
1078
  * @description fetch the deposit address for a currency associated with this account
1079
1079
  * @param {string} code unified currency code
1080
1080
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1081
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1081
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1082
1082
  */
1083
1083
  await this.loadMarkets();
1084
1084
  const currency = this.currency(code);
@@ -1175,7 +1175,7 @@ export default class lykke extends Exchange {
1175
1175
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1176
1176
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1177
1177
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1178
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1178
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1179
1179
  */
1180
1180
  await this.loadMarkets();
1181
1181
  const request = {
@@ -1218,7 +1218,7 @@ export default class lykke extends Exchange {
1218
1218
  * @param {string} address the address to withdraw to
1219
1219
  * @param {string} tag
1220
1220
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1221
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1221
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1222
1222
  */
1223
1223
  await this.loadMarkets();
1224
1224
  this.checkAddress(address);
package/js/src/mercado.js CHANGED
@@ -252,7 +252,7 @@ export default class mercado extends Exchange {
252
252
  * @param {string} symbol unified symbol of the market to fetch the order book for
253
253
  * @param {int} [limit] the maximum amount of order book entries to return
254
254
  * @param {object} [params] extra parameters specific to the mercado api endpoint
255
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
255
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
256
256
  */
257
257
  await this.loadMarkets();
258
258
  const market = this.market(symbol);
@@ -308,7 +308,7 @@ export default class mercado extends Exchange {
308
308
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
309
309
  * @param {string} symbol unified symbol of the market to fetch the ticker for
310
310
  * @param {object} [params] extra parameters specific to the mercado api endpoint
311
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
311
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
312
312
  */
313
313
  await this.loadMarkets();
314
314
  const market = this.market(symbol);
@@ -374,7 +374,7 @@ export default class mercado extends Exchange {
374
374
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
375
375
  * @param {int} [limit] the maximum amount of trades to fetch
376
376
  * @param {object} [params] extra parameters specific to the mercado api endpoint
377
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
377
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
378
378
  */
379
379
  await this.loadMarkets();
380
380
  const market = this.market(symbol);
@@ -417,7 +417,7 @@ export default class mercado extends Exchange {
417
417
  * @name mercado#fetchBalance
418
418
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
419
419
  * @param {object} [params] extra parameters specific to the mercado api endpoint
420
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
420
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
421
421
  */
422
422
  await this.loadMarkets();
423
423
  const response = await this.privatePostGetAccountInfo(params);
@@ -432,9 +432,9 @@ export default class mercado extends Exchange {
432
432
  * @param {string} type 'market' or 'limit'
433
433
  * @param {string} side 'buy' or 'sell'
434
434
  * @param {float} amount how much of currency you want to trade in units of base currency
435
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
435
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
436
436
  * @param {object} [params] extra parameters specific to the mercado api endpoint
437
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
437
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
438
438
  */
439
439
  await this.loadMarkets();
440
440
  const market = this.market(symbol);
@@ -474,7 +474,7 @@ export default class mercado extends Exchange {
474
474
  * @param {string} id order id
475
475
  * @param {string} symbol unified symbol of the market the order was made in
476
476
  * @param {object} [params] extra parameters specific to the mercado api endpoint
477
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
477
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
478
478
  */
479
479
  if (symbol === undefined) {
480
480
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -600,7 +600,7 @@ export default class mercado extends Exchange {
600
600
  * @description fetches information on an order made by the user
601
601
  * @param {string} symbol unified symbol of the market the order was made in
602
602
  * @param {object} [params] extra parameters specific to the mercado api endpoint
603
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
603
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
604
604
  */
605
605
  if (symbol === undefined) {
606
606
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -626,7 +626,7 @@ export default class mercado extends Exchange {
626
626
  * @param {string} address the address to withdraw to
627
627
  * @param {string} tag
628
628
  * @param {object} [params] extra parameters specific to the mercado api endpoint
629
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
629
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
630
630
  */
631
631
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
632
632
  this.checkAddress(address);
@@ -772,7 +772,7 @@ export default class mercado extends Exchange {
772
772
  * @param {int} [since] the earliest time in ms to fetch orders for
773
773
  * @param {int} [limit] the maximum number of orde structures to retrieve
774
774
  * @param {object} [params] extra parameters specific to the mercado api endpoint
775
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
775
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
776
776
  */
777
777
  if (symbol === undefined) {
778
778
  throw new ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
@@ -796,7 +796,7 @@ export default class mercado extends Exchange {
796
796
  * @param {int} [since] the earliest time in ms to fetch open orders for
797
797
  * @param {int} [limit] the maximum number of open orders structures to retrieve
798
798
  * @param {object} [params] extra parameters specific to the mercado api endpoint
799
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
799
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
800
800
  */
801
801
  if (symbol === undefined) {
802
802
  throw new ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -821,7 +821,7 @@ export default class mercado extends Exchange {
821
821
  * @param {int} [since] the earliest time in ms to fetch trades for
822
822
  * @param {int} [limit] the maximum number of trades structures to retrieve
823
823
  * @param {object} [params] extra parameters specific to the mercado api endpoint
824
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
824
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
825
825
  */
826
826
  if (symbol === undefined) {
827
827
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');