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
@@ -251,7 +251,7 @@ class luno extends luno$1 {
251
251
  * @name luno#fetchAccounts
252
252
  * @description fetch all the accounts associated with a profile
253
253
  * @param {object} [params] extra parameters specific to the luno api endpoint
254
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
254
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
255
255
  */
256
256
  const response = await this.privateGetBalance(params);
257
257
  const wallets = this.safeValue(response, 'balance', []);
@@ -305,7 +305,7 @@ class luno extends luno$1 {
305
305
  * @name luno#fetchBalance
306
306
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
307
307
  * @param {object} [params] extra parameters specific to the luno api endpoint
308
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
308
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
309
309
  */
310
310
  await this.loadMarkets();
311
311
  const response = await this.privateGetBalance(params);
@@ -329,7 +329,7 @@ class luno extends luno$1 {
329
329
  * @param {string} symbol unified symbol of the market to fetch the order book for
330
330
  * @param {int} [limit] the maximum amount of order book entries to return
331
331
  * @param {object} [params] extra parameters specific to the luno api endpoint
332
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
332
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
333
333
  */
334
334
  await this.loadMarkets();
335
335
  let method = 'publicGetOrderbook';
@@ -436,7 +436,7 @@ class luno extends luno$1 {
436
436
  * @description fetches information on an order made by the user
437
437
  * @param {string} symbol not used by luno fetchOrder
438
438
  * @param {object} [params] extra parameters specific to the luno api endpoint
439
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
439
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
440
440
  */
441
441
  await this.loadMarkets();
442
442
  const request = {
@@ -469,7 +469,7 @@ class luno extends luno$1 {
469
469
  * @param {int} [since] the earliest time in ms to fetch orders for
470
470
  * @param {int} [limit] the maximum number of orde structures to retrieve
471
471
  * @param {object} [params] extra parameters specific to the luno api endpoint
472
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
472
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
473
473
  */
474
474
  return await this.fetchOrdersByState(undefined, symbol, since, limit, params);
475
475
  }
@@ -482,7 +482,7 @@ class luno extends luno$1 {
482
482
  * @param {int} [since] the earliest time in ms to fetch open orders for
483
483
  * @param {int} [limit] the maximum number of open orders structures to retrieve
484
484
  * @param {object} [params] extra parameters specific to the luno api endpoint
485
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
485
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
486
486
  */
487
487
  return await this.fetchOrdersByState('PENDING', symbol, since, limit, params);
488
488
  }
@@ -495,7 +495,7 @@ class luno extends luno$1 {
495
495
  * @param {int} [since] the earliest time in ms to fetch orders for
496
496
  * @param {int} [limit] the maximum number of orde structures to retrieve
497
497
  * @param {object} [params] extra parameters specific to the luno api endpoint
498
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
498
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
499
499
  */
500
500
  return await this.fetchOrdersByState('COMPLETE', symbol, since, limit, params);
501
501
  }
@@ -543,7 +543,7 @@ class luno extends luno$1 {
543
543
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
544
544
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
545
545
  * @param {object} [params] extra parameters specific to the luno api endpoint
546
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
546
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
547
547
  */
548
548
  await this.loadMarkets();
549
549
  symbols = this.marketSymbols(symbols);
@@ -567,7 +567,7 @@ class luno extends luno$1 {
567
567
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
568
568
  * @param {string} symbol unified symbol of the market to fetch the ticker for
569
569
  * @param {object} [params] extra parameters specific to the luno api endpoint
570
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
570
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
571
571
  */
572
572
  await this.loadMarkets();
573
573
  const market = this.market(symbol);
@@ -690,7 +690,7 @@ class luno extends luno$1 {
690
690
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
691
691
  * @param {int} [limit] the maximum amount of trades to fetch
692
692
  * @param {object} [params] extra parameters specific to the luno api endpoint
693
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
693
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
694
694
  */
695
695
  await this.loadMarkets();
696
696
  const market = this.market(symbol);
@@ -726,7 +726,7 @@ class luno extends luno$1 {
726
726
  * @param {int} [since] the earliest time in ms to fetch trades for
727
727
  * @param {int} [limit] the maximum number of trades structures to retrieve
728
728
  * @param {object} [params] extra parameters specific to the luno api endpoint
729
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
729
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
730
730
  */
731
731
  if (symbol === undefined) {
732
732
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -774,7 +774,7 @@ class luno extends luno$1 {
774
774
  * @description fetch the trading fees for a market
775
775
  * @param {string} symbol unified market symbol
776
776
  * @param {object} [params] extra parameters specific to the luno api endpoint
777
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
777
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
778
778
  */
779
779
  await this.loadMarkets();
780
780
  const market = this.market(symbol);
@@ -805,9 +805,9 @@ class luno extends luno$1 {
805
805
  * @param {string} type 'market' or 'limit'
806
806
  * @param {string} side 'buy' or 'sell'
807
807
  * @param {float} amount how much of currency you want to trade in units of base currency
808
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
808
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
809
809
  * @param {object} [params] extra parameters specific to the luno api endpoint
810
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
810
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
811
811
  */
812
812
  await this.loadMarkets();
813
813
  let method = 'privatePost';
@@ -846,7 +846,7 @@ class luno extends luno$1 {
846
846
  * @param {string} id order id
847
847
  * @param {string} symbol unified symbol of the market the order was made in
848
848
  * @param {object} [params] extra parameters specific to the luno api endpoint
849
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
849
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
850
850
  */
851
851
  await this.loadMarkets();
852
852
  const request = {
@@ -878,7 +878,7 @@ class luno extends luno$1 {
878
878
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
879
879
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
880
880
  * @param {object} [params] extra parameters specific to the luno api endpoint
881
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
881
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
882
882
  */
883
883
  await this.loadMarkets();
884
884
  await this.loadAccounts();
@@ -419,7 +419,7 @@ class lykke extends lykke$1 {
419
419
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
420
420
  * @param {string} symbol unified symbol of the market to fetch the ticker for
421
421
  * @param {object} [params] extra parameters specific to the lykke api endpoint
422
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
422
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
423
423
  */
424
424
  await this.loadMarkets();
425
425
  const market = this.market(symbol);
@@ -472,7 +472,7 @@ class lykke extends lykke$1 {
472
472
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
473
473
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
474
474
  * @param {object} [params] extra parameters specific to the lykke api endpoint
475
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
475
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
476
476
  */
477
477
  await this.loadMarkets();
478
478
  const response = await this.publicGetTickers(params);
@@ -504,7 +504,7 @@ class lykke extends lykke$1 {
504
504
  * @param {string} symbol unified symbol of the market to fetch the order book for
505
505
  * @param {int} [limit] the maximum amount of order book entries to return
506
506
  * @param {object} [params] extra parameters specific to the lykke api endpoint
507
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
507
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
508
508
  */
509
509
  await this.loadMarkets();
510
510
  const market = this.market(symbol);
@@ -609,7 +609,7 @@ class lykke extends lykke$1 {
609
609
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
610
610
  * @param {int} [limit] the maximum amount of trades to fetch
611
611
  * @param {object} [params] extra parameters specific to the lykke api endpoint
612
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
612
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
613
613
  */
614
614
  await this.loadMarkets();
615
615
  const market = this.market(symbol);
@@ -670,7 +670,7 @@ class lykke extends lykke$1 {
670
670
  * @name lykke#fetchBalance
671
671
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
672
672
  * @param {object} [params] extra parameters specific to the lykke api endpoint
673
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
673
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
674
674
  */
675
675
  await this.loadMarkets();
676
676
  const response = await this.privateGetBalance(params);
@@ -768,9 +768,9 @@ class lykke extends lykke$1 {
768
768
  * @param {string} type 'market' or 'limit'
769
769
  * @param {string} side 'buy' or 'sell'
770
770
  * @param {float} amount how much of currency you want to trade in units of base currency
771
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
771
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
772
772
  * @param {object} [params] extra parameters specific to the lykke api endpoint
773
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
773
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
774
774
  */
775
775
  await this.loadMarkets();
776
776
  const market = this.market(symbol);
@@ -838,7 +838,7 @@ class lykke extends lykke$1 {
838
838
  * @param {string} id order id
839
839
  * @param {string} symbol unified symbol of the market the order was made in
840
840
  * @param {object} [params] extra parameters specific to the lykke api endpoint
841
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
841
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
842
842
  */
843
843
  const request = {
844
844
  'orderId': id,
@@ -858,7 +858,7 @@ class lykke extends lykke$1 {
858
858
  * @description cancel all open orders
859
859
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
860
860
  * @param {object} [params] extra parameters specific to the lykke api endpoint
861
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
861
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
862
862
  */
863
863
  await this.loadMarkets();
864
864
  const request = {
@@ -884,7 +884,7 @@ class lykke extends lykke$1 {
884
884
  * @description fetches information on an order made by the user
885
885
  * @param {string} symbol not used by lykke fetchOrder
886
886
  * @param {object} [params] extra parameters specific to the lykke api endpoint
887
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
887
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
888
888
  */
889
889
  await this.loadMarkets();
890
890
  const request = {
@@ -922,7 +922,7 @@ class lykke extends lykke$1 {
922
922
  * @param {int} [since] the earliest time in ms to fetch open orders for
923
923
  * @param {int} [limit] the maximum number of open orders structures to retrieve
924
924
  * @param {object} [params] extra parameters specific to the lykke api endpoint
925
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
925
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
926
926
  */
927
927
  await this.loadMarkets();
928
928
  let market = undefined;
@@ -970,7 +970,7 @@ class lykke extends lykke$1 {
970
970
  * @param {int} [since] the earliest time in ms to fetch orders for
971
971
  * @param {int} [limit] the maximum number of orde structures to retrieve
972
972
  * @param {object} [params] extra parameters specific to the lykke api endpoint
973
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
973
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
974
974
  */
975
975
  await this.loadMarkets();
976
976
  let market = undefined;
@@ -1018,7 +1018,7 @@ class lykke extends lykke$1 {
1018
1018
  * @param {int} [since] the earliest time in ms to fetch trades for
1019
1019
  * @param {int} [limit] the maximum number of trades structures to retrieve
1020
1020
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1021
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1021
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1022
1022
  */
1023
1023
  await this.loadMarkets();
1024
1024
  const request = {
@@ -1075,7 +1075,7 @@ class lykke extends lykke$1 {
1075
1075
  * @description fetch the deposit address for a currency associated with this account
1076
1076
  * @param {string} code unified currency code
1077
1077
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1078
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1078
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1079
1079
  */
1080
1080
  await this.loadMarkets();
1081
1081
  const currency = this.currency(code);
@@ -1172,7 +1172,7 @@ class lykke extends lykke$1 {
1172
1172
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1173
1173
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
1174
1174
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1175
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1175
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1176
1176
  */
1177
1177
  await this.loadMarkets();
1178
1178
  const request = {
@@ -1215,7 +1215,7 @@ class lykke extends lykke$1 {
1215
1215
  * @param {string} address the address to withdraw to
1216
1216
  * @param {string} tag
1217
1217
  * @param {object} [params] extra parameters specific to the lykke api endpoint
1218
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1218
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1219
1219
  */
1220
1220
  await this.loadMarkets();
1221
1221
  this.checkAddress(address);
@@ -249,7 +249,7 @@ class mercado extends mercado$1 {
249
249
  * @param {string} symbol unified symbol of the market to fetch the order book for
250
250
  * @param {int} [limit] the maximum amount of order book entries to return
251
251
  * @param {object} [params] extra parameters specific to the mercado api endpoint
252
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
252
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
253
253
  */
254
254
  await this.loadMarkets();
255
255
  const market = this.market(symbol);
@@ -305,7 +305,7 @@ class mercado extends mercado$1 {
305
305
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
306
306
  * @param {string} symbol unified symbol of the market to fetch the ticker for
307
307
  * @param {object} [params] extra parameters specific to the mercado api endpoint
308
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
308
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
309
309
  */
310
310
  await this.loadMarkets();
311
311
  const market = this.market(symbol);
@@ -371,7 +371,7 @@ class mercado extends mercado$1 {
371
371
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
372
372
  * @param {int} [limit] the maximum amount of trades to fetch
373
373
  * @param {object} [params] extra parameters specific to the mercado api endpoint
374
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
374
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
375
375
  */
376
376
  await this.loadMarkets();
377
377
  const market = this.market(symbol);
@@ -414,7 +414,7 @@ class mercado extends mercado$1 {
414
414
  * @name mercado#fetchBalance
415
415
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
416
416
  * @param {object} [params] extra parameters specific to the mercado api endpoint
417
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
417
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
418
418
  */
419
419
  await this.loadMarkets();
420
420
  const response = await this.privatePostGetAccountInfo(params);
@@ -429,9 +429,9 @@ class mercado extends mercado$1 {
429
429
  * @param {string} type 'market' or 'limit'
430
430
  * @param {string} side 'buy' or 'sell'
431
431
  * @param {float} amount how much of currency you want to trade in units of base currency
432
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
432
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
433
433
  * @param {object} [params] extra parameters specific to the mercado api endpoint
434
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
434
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
435
435
  */
436
436
  await this.loadMarkets();
437
437
  const market = this.market(symbol);
@@ -471,7 +471,7 @@ class mercado extends mercado$1 {
471
471
  * @param {string} id order id
472
472
  * @param {string} symbol unified symbol of the market the order was made in
473
473
  * @param {object} [params] extra parameters specific to the mercado api endpoint
474
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
474
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
475
475
  */
476
476
  if (symbol === undefined) {
477
477
  throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -597,7 +597,7 @@ class mercado extends mercado$1 {
597
597
  * @description fetches information on an order made by the user
598
598
  * @param {string} symbol unified symbol of the market the order was made in
599
599
  * @param {object} [params] extra parameters specific to the mercado api endpoint
600
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
600
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
601
601
  */
602
602
  if (symbol === undefined) {
603
603
  throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -623,7 +623,7 @@ class mercado extends mercado$1 {
623
623
  * @param {string} address the address to withdraw to
624
624
  * @param {string} tag
625
625
  * @param {object} [params] extra parameters specific to the mercado api endpoint
626
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
626
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
627
627
  */
628
628
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
629
629
  this.checkAddress(address);
@@ -769,7 +769,7 @@ class mercado extends mercado$1 {
769
769
  * @param {int} [since] the earliest time in ms to fetch orders for
770
770
  * @param {int} [limit] the maximum number of orde structures to retrieve
771
771
  * @param {object} [params] extra parameters specific to the mercado api endpoint
772
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
772
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
773
773
  */
774
774
  if (symbol === undefined) {
775
775
  throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
@@ -793,7 +793,7 @@ class mercado extends mercado$1 {
793
793
  * @param {int} [since] the earliest time in ms to fetch open orders for
794
794
  * @param {int} [limit] the maximum number of open orders structures to retrieve
795
795
  * @param {object} [params] extra parameters specific to the mercado api endpoint
796
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
796
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
797
797
  */
798
798
  if (symbol === undefined) {
799
799
  throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires a symbol argument');
@@ -818,7 +818,7 @@ class mercado extends mercado$1 {
818
818
  * @param {int} [since] the earliest time in ms to fetch trades for
819
819
  * @param {int} [limit] the maximum number of trades structures to retrieve
820
820
  * @param {object} [params] extra parameters specific to the mercado api endpoint
821
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
821
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
822
822
  */
823
823
  if (symbol === undefined) {
824
824
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');