ccxt 4.0.74 → 4.0.75

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 (282) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2047 -1932
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +9 -9
  6. package/dist/cjs/src/alpaca.js +6 -6
  7. package/dist/cjs/src/ascendex.js +22 -22
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +17 -17
  10. package/dist/cjs/src/binance.js +51 -51
  11. package/dist/cjs/src/bingx.js +21 -21
  12. package/dist/cjs/src/bit2c.js +10 -10
  13. package/dist/cjs/src/bitbank.js +11 -11
  14. package/dist/cjs/src/bitbns.js +12 -12
  15. package/dist/cjs/src/bitfinex.js +19 -19
  16. package/dist/cjs/src/bitfinex2.js +25 -25
  17. package/dist/cjs/src/bitflyer.js +15 -15
  18. package/dist/cjs/src/bitforex.js +9 -9
  19. package/dist/cjs/src/bitget.js +34 -34
  20. package/dist/cjs/src/bithumb.js +9 -9
  21. package/dist/cjs/src/bitmart.js +42 -29
  22. package/dist/cjs/src/bitmex.js +19 -19
  23. package/dist/cjs/src/bitopro.js +18 -18
  24. package/dist/cjs/src/bitpanda.js +19 -19
  25. package/dist/cjs/src/bitrue.js +15 -15
  26. package/dist/cjs/src/bitso.js +19 -19
  27. package/dist/cjs/src/bitstamp.js +19 -19
  28. package/dist/cjs/src/bitstamp1.js +6 -6
  29. package/dist/cjs/src/bittrex.js +24 -24
  30. package/dist/cjs/src/bitvavo.js +16 -16
  31. package/dist/cjs/src/bkex.js +17 -17
  32. package/dist/cjs/src/bl3p.js +6 -6
  33. package/dist/cjs/src/blockchaincom.js +20 -20
  34. package/dist/cjs/src/btcalpha.js +13 -13
  35. package/dist/cjs/src/btcbox.js +8 -8
  36. package/dist/cjs/src/btcmarkets.js +15 -15
  37. package/dist/cjs/src/btctradeua.js +6 -6
  38. package/dist/cjs/src/btcturk.js +9 -9
  39. package/dist/cjs/src/bybit.js +148 -116
  40. package/dist/cjs/src/cex.js +12 -12
  41. package/dist/cjs/src/coinbase.js +20 -20
  42. package/dist/cjs/src/coinbasepro.js +22 -22
  43. package/dist/cjs/src/coincheck.js +10 -10
  44. package/dist/cjs/src/coinex.js +81 -35
  45. package/dist/cjs/src/coinfalcon.js +14 -14
  46. package/dist/cjs/src/coinmate.js +12 -12
  47. package/dist/cjs/src/coinone.js +10 -10
  48. package/dist/cjs/src/coinsph.js +20 -20
  49. package/dist/cjs/src/coinspot.js +6 -6
  50. package/dist/cjs/src/cryptocom.js +24 -24
  51. package/dist/cjs/src/currencycom.js +18 -18
  52. package/dist/cjs/src/delta.js +23 -23
  53. package/dist/cjs/src/deribit.js +27 -27
  54. package/dist/cjs/src/digifinex.js +27 -27
  55. package/dist/cjs/src/exmo.js +24 -24
  56. package/dist/cjs/src/gate.js +34 -34
  57. package/dist/cjs/src/gemini.js +14 -14
  58. package/dist/cjs/src/hitbtc.js +30 -30
  59. package/dist/cjs/src/hollaex.js +20 -20
  60. package/dist/cjs/src/huobi.js +40 -40
  61. package/dist/cjs/src/huobijp.js +18 -18
  62. package/dist/cjs/src/idex.js +17 -17
  63. package/dist/cjs/src/independentreserve.js +10 -10
  64. package/dist/cjs/src/indodax.js +12 -12
  65. package/dist/cjs/src/kraken.js +25 -25
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +29 -29
  68. package/dist/cjs/src/kucoinfutures.js +19 -19
  69. package/dist/cjs/src/kuna.js +10 -10
  70. package/dist/cjs/src/latoken.js +15 -15
  71. package/dist/cjs/src/lbank.js +10 -10
  72. package/dist/cjs/src/lbank2.js +21 -21
  73. package/dist/cjs/src/luno.js +14 -14
  74. package/dist/cjs/src/lykke.js +14 -14
  75. package/dist/cjs/src/mercado.js +10 -10
  76. package/dist/cjs/src/mexc.js +38 -38
  77. package/dist/cjs/src/ndax.js +18 -18
  78. package/dist/cjs/src/novadax.js +18 -18
  79. package/dist/cjs/src/oceanex.js +14 -14
  80. package/dist/cjs/src/okcoin.js +19 -19
  81. package/dist/cjs/src/okx.js +48 -48
  82. package/dist/cjs/src/paymium.js +9 -9
  83. package/dist/cjs/src/phemex.js +24 -24
  84. package/dist/cjs/src/poloniex.js +77 -60
  85. package/dist/cjs/src/poloniexfutures.js +16 -16
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +2 -2
  88. package/dist/cjs/src/pro/binance.js +10 -10
  89. package/dist/cjs/src/pro/bitfinex.js +3 -3
  90. package/dist/cjs/src/pro/bitfinex2.js +4 -4
  91. package/dist/cjs/src/pro/bitget.js +4 -4
  92. package/dist/cjs/src/pro/bitmart.js +3 -3
  93. package/dist/cjs/src/pro/bitmex.js +4 -4
  94. package/dist/cjs/src/pro/bitopro.js +2 -2
  95. package/dist/cjs/src/pro/bitrue.js +1 -1
  96. package/dist/cjs/src/pro/bitstamp.js +2 -2
  97. package/dist/cjs/src/pro/bittrex.js +4 -4
  98. package/dist/cjs/src/pro/bitvavo.js +4 -4
  99. package/dist/cjs/src/pro/bybit.js +5 -5
  100. package/dist/cjs/src/pro/cex.js +3 -3
  101. package/dist/cjs/src/pro/coinbasepro.js +5 -5
  102. package/dist/cjs/src/pro/coinex.js +3 -3
  103. package/dist/cjs/src/pro/cryptocom.js +7 -7
  104. package/dist/cjs/src/pro/currencycom.js +2 -2
  105. package/dist/cjs/src/pro/deribit.js +3 -3
  106. package/dist/cjs/src/pro/exmo.js +2 -2
  107. package/dist/cjs/src/pro/gate.js +5 -5
  108. package/dist/cjs/src/pro/gemini.js +2 -2
  109. package/dist/cjs/src/pro/hitbtc.js +2 -2
  110. package/dist/cjs/src/pro/hollaex.js +3 -3
  111. package/dist/cjs/src/pro/huobi.js +4 -4
  112. package/dist/cjs/src/pro/huobijp.js +2 -2
  113. package/dist/cjs/src/pro/idex.js +3 -3
  114. package/dist/cjs/src/pro/independentreserve.js +1 -1
  115. package/dist/cjs/src/pro/kraken.js +6 -6
  116. package/dist/cjs/src/pro/krakenfutures.js +2 -2
  117. package/dist/cjs/src/pro/kucoin.js +4 -4
  118. package/dist/cjs/src/pro/kucoinfutures.js +3 -3
  119. package/dist/cjs/src/pro/luno.js +1 -1
  120. package/dist/cjs/src/pro/ndax.js +2 -2
  121. package/dist/cjs/src/pro/okcoin.js +3 -3
  122. package/dist/cjs/src/pro/okx.js +12 -11
  123. package/dist/cjs/src/pro/phemex.js +4 -4
  124. package/dist/cjs/src/pro/poloniex.js +1 -1
  125. package/dist/cjs/src/pro/upbit.js +2 -2
  126. package/dist/cjs/src/pro/wazirx.js +3 -3
  127. package/dist/cjs/src/pro/whitebit.js +4 -4
  128. package/dist/cjs/src/probit.js +17 -17
  129. package/dist/cjs/src/tidex.js +11 -11
  130. package/dist/cjs/src/timex.js +14 -14
  131. package/dist/cjs/src/tokocrypto.js +16 -16
  132. package/dist/cjs/src/upbit.js +18 -18
  133. package/dist/cjs/src/wavesexchange.js +13 -13
  134. package/dist/cjs/src/wazirx.js +10 -10
  135. package/dist/cjs/src/whitebit.js +21 -21
  136. package/dist/cjs/src/woo.js +28 -22
  137. package/dist/cjs/src/yobit.js +14 -14
  138. package/dist/cjs/src/zaif.js +8 -8
  139. package/dist/cjs/src/zonda.js +13 -13
  140. package/js/ccxt.d.ts +1 -1
  141. package/js/ccxt.js +1 -1
  142. package/js/src/abstract/bitmart.d.ts +13 -0
  143. package/js/src/abstract/bybit.d.ts +33 -21
  144. package/js/src/abstract/woo.d.ts +6 -0
  145. package/js/src/ace.js +9 -9
  146. package/js/src/alpaca.js +6 -6
  147. package/js/src/ascendex.js +22 -22
  148. package/js/src/base/Exchange.js +2 -2
  149. package/js/src/bigone.js +17 -17
  150. package/js/src/binance.js +51 -51
  151. package/js/src/bingx.js +21 -21
  152. package/js/src/bit2c.js +10 -10
  153. package/js/src/bitbank.js +11 -11
  154. package/js/src/bitbns.js +12 -12
  155. package/js/src/bitfinex.js +19 -19
  156. package/js/src/bitfinex2.js +25 -25
  157. package/js/src/bitflyer.js +15 -15
  158. package/js/src/bitforex.js +9 -9
  159. package/js/src/bitget.js +34 -34
  160. package/js/src/bithumb.js +9 -9
  161. package/js/src/bitmart.js +42 -29
  162. package/js/src/bitmex.js +19 -19
  163. package/js/src/bitopro.js +18 -18
  164. package/js/src/bitpanda.js +19 -19
  165. package/js/src/bitrue.js +15 -15
  166. package/js/src/bitso.js +19 -19
  167. package/js/src/bitstamp.js +19 -19
  168. package/js/src/bitstamp1.js +6 -6
  169. package/js/src/bittrex.js +24 -24
  170. package/js/src/bitvavo.js +16 -16
  171. package/js/src/bkex.js +17 -17
  172. package/js/src/bl3p.js +6 -6
  173. package/js/src/blockchaincom.js +20 -20
  174. package/js/src/btcalpha.js +13 -13
  175. package/js/src/btcbox.js +8 -8
  176. package/js/src/btcmarkets.js +15 -15
  177. package/js/src/btctradeua.js +6 -6
  178. package/js/src/btcturk.js +9 -9
  179. package/js/src/bybit.js +148 -116
  180. package/js/src/cex.js +12 -12
  181. package/js/src/coinbase.js +20 -20
  182. package/js/src/coinbasepro.js +22 -22
  183. package/js/src/coincheck.js +10 -10
  184. package/js/src/coinex.d.ts +1 -0
  185. package/js/src/coinex.js +81 -35
  186. package/js/src/coinfalcon.js +14 -14
  187. package/js/src/coinmate.js +12 -12
  188. package/js/src/coinone.js +10 -10
  189. package/js/src/coinsph.js +20 -20
  190. package/js/src/coinspot.js +6 -6
  191. package/js/src/cryptocom.js +24 -24
  192. package/js/src/currencycom.js +18 -18
  193. package/js/src/delta.js +23 -23
  194. package/js/src/deribit.js +27 -27
  195. package/js/src/digifinex.js +27 -27
  196. package/js/src/exmo.js +24 -24
  197. package/js/src/gate.js +34 -34
  198. package/js/src/gemini.js +14 -14
  199. package/js/src/hitbtc.js +30 -30
  200. package/js/src/hollaex.js +20 -20
  201. package/js/src/huobi.js +40 -40
  202. package/js/src/huobijp.js +18 -18
  203. package/js/src/idex.js +17 -17
  204. package/js/src/independentreserve.js +10 -10
  205. package/js/src/indodax.js +12 -12
  206. package/js/src/kraken.js +25 -25
  207. package/js/src/krakenfutures.js +12 -12
  208. package/js/src/kucoin.js +29 -29
  209. package/js/src/kucoinfutures.js +19 -19
  210. package/js/src/kuna.js +10 -10
  211. package/js/src/latoken.js +15 -15
  212. package/js/src/lbank.js +10 -10
  213. package/js/src/lbank2.js +21 -21
  214. package/js/src/luno.js +14 -14
  215. package/js/src/lykke.js +14 -14
  216. package/js/src/mercado.js +10 -10
  217. package/js/src/mexc.js +38 -38
  218. package/js/src/ndax.js +18 -18
  219. package/js/src/novadax.js +18 -18
  220. package/js/src/oceanex.js +14 -14
  221. package/js/src/okcoin.js +19 -19
  222. package/js/src/okx.js +48 -48
  223. package/js/src/paymium.js +9 -9
  224. package/js/src/phemex.js +24 -24
  225. package/js/src/poloniex.js +77 -60
  226. package/js/src/poloniexfutures.js +16 -16
  227. package/js/src/pro/alpaca.js +5 -5
  228. package/js/src/pro/ascendex.js +2 -2
  229. package/js/src/pro/binance.js +10 -10
  230. package/js/src/pro/bitfinex.js +3 -3
  231. package/js/src/pro/bitfinex2.js +4 -4
  232. package/js/src/pro/bitget.js +4 -4
  233. package/js/src/pro/bitmart.js +3 -3
  234. package/js/src/pro/bitmex.js +4 -4
  235. package/js/src/pro/bitopro.js +2 -2
  236. package/js/src/pro/bitrue.js +1 -1
  237. package/js/src/pro/bitstamp.js +2 -2
  238. package/js/src/pro/bittrex.js +4 -4
  239. package/js/src/pro/bitvavo.js +4 -4
  240. package/js/src/pro/bybit.js +5 -5
  241. package/js/src/pro/cex.js +3 -3
  242. package/js/src/pro/coinbasepro.js +5 -5
  243. package/js/src/pro/coinex.js +3 -3
  244. package/js/src/pro/cryptocom.js +7 -7
  245. package/js/src/pro/currencycom.js +2 -2
  246. package/js/src/pro/deribit.js +3 -3
  247. package/js/src/pro/exmo.js +2 -2
  248. package/js/src/pro/gate.js +5 -5
  249. package/js/src/pro/gemini.js +2 -2
  250. package/js/src/pro/hitbtc.js +2 -2
  251. package/js/src/pro/hollaex.js +3 -3
  252. package/js/src/pro/huobi.js +4 -4
  253. package/js/src/pro/huobijp.js +2 -2
  254. package/js/src/pro/idex.js +3 -3
  255. package/js/src/pro/independentreserve.js +1 -1
  256. package/js/src/pro/kraken.js +6 -6
  257. package/js/src/pro/krakenfutures.js +2 -2
  258. package/js/src/pro/kucoin.js +4 -4
  259. package/js/src/pro/kucoinfutures.js +3 -3
  260. package/js/src/pro/luno.js +1 -1
  261. package/js/src/pro/ndax.js +2 -2
  262. package/js/src/pro/okcoin.js +3 -3
  263. package/js/src/pro/okx.d.ts +1 -1
  264. package/js/src/pro/okx.js +12 -11
  265. package/js/src/pro/phemex.js +4 -4
  266. package/js/src/pro/poloniex.js +1 -1
  267. package/js/src/pro/upbit.js +2 -2
  268. package/js/src/pro/wazirx.js +3 -3
  269. package/js/src/pro/whitebit.js +4 -4
  270. package/js/src/probit.js +17 -17
  271. package/js/src/tidex.js +11 -11
  272. package/js/src/timex.js +14 -14
  273. package/js/src/tokocrypto.js +16 -16
  274. package/js/src/upbit.js +18 -18
  275. package/js/src/wavesexchange.js +13 -13
  276. package/js/src/wazirx.js +10 -10
  277. package/js/src/whitebit.js +21 -21
  278. package/js/src/woo.js +28 -22
  279. package/js/src/yobit.js +14 -14
  280. package/js/src/zaif.js +8 -8
  281. package/js/src/zonda.js +13 -13
  282. package/package.json +1 -1
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);
@@ -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');
package/js/src/mexc.js CHANGED
@@ -822,7 +822,7 @@ export default class mexc extends Exchange {
822
822
  * @name mexc3#fetchStatus
823
823
  * @description the latest known information on the availability of the exchange API
824
824
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
825
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
825
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
826
826
  */
827
827
  const [marketType, query] = this.handleMarketTypeAndParams('fetchStatus', undefined, params);
828
828
  let response = undefined;
@@ -1286,7 +1286,7 @@ export default class mexc extends Exchange {
1286
1286
  * @param {string} symbol unified symbol of the market to fetch the order book for
1287
1287
  * @param {int} [limit] the maximum amount of order book entries to return
1288
1288
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1289
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1289
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1290
1290
  */
1291
1291
  await this.loadMarkets();
1292
1292
  const market = this.market(symbol);
@@ -1696,7 +1696,7 @@ export default class mexc extends Exchange {
1696
1696
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1697
1697
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1698
1698
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1699
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1699
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1700
1700
  */
1701
1701
  await this.loadMarkets();
1702
1702
  const request = {};
@@ -1784,7 +1784,7 @@ export default class mexc extends Exchange {
1784
1784
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1785
1785
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1786
1786
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1787
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1787
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1788
1788
  */
1789
1789
  await this.loadMarkets();
1790
1790
  const market = this.market(symbol);
@@ -1974,7 +1974,7 @@ export default class mexc extends Exchange {
1974
1974
  * @description fetches the bid and ask price and volume for multiple markets
1975
1975
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
1976
1976
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1977
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1977
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1978
1978
  */
1979
1979
  await this.loadMarkets();
1980
1980
  let market = undefined;
@@ -2018,10 +2018,10 @@ export default class mexc extends Exchange {
2018
2018
  * @param {string} type 'market' or 'limit'
2019
2019
  * @param {string} side 'buy' or 'sell'
2020
2020
  * @param {float} amount how much of currency you want to trade in units of base currency
2021
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2021
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2022
2022
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2023
2023
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2024
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2024
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2025
2025
  */
2026
2026
  await this.loadMarkets();
2027
2027
  const market = this.market(symbol);
@@ -2224,7 +2224,7 @@ export default class mexc extends Exchange {
2224
2224
  * @param {string} symbol unified symbol of the market the order was made in
2225
2225
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2226
2226
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2227
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2227
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2228
2228
  */
2229
2229
  if (symbol === undefined) {
2230
2230
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -2347,7 +2347,7 @@ export default class mexc extends Exchange {
2347
2347
  * @param {int} [limit] the maximum number of orde structures to retrieve
2348
2348
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2349
2349
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2350
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2350
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2351
2351
  */
2352
2352
  await this.loadMarkets();
2353
2353
  const request = {};
@@ -2577,7 +2577,7 @@ export default class mexc extends Exchange {
2577
2577
  * @param {int} [limit] the maximum number of open orders structures to retrieve
2578
2578
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2579
2579
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2580
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2580
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2581
2581
  */
2582
2582
  await this.loadMarkets();
2583
2583
  const request = {};
@@ -2665,7 +2665,7 @@ export default class mexc extends Exchange {
2665
2665
  * @param {int} [since] the earliest time in ms to fetch orders for
2666
2666
  * @param {int} [limit] the maximum number of orde structures to retrieve
2667
2667
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2668
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2668
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2669
2669
  */
2670
2670
  return await this.fetchOrdersByState(3, symbol, since, limit, params);
2671
2671
  }
@@ -2678,7 +2678,7 @@ export default class mexc extends Exchange {
2678
2678
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
2679
2679
  * @param {int} [limit] max number of orders to return, default is undefined
2680
2680
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2681
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2681
+ * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2682
2682
  */
2683
2683
  return await this.fetchOrdersByState(4, symbol, since, limit, params);
2684
2684
  }
@@ -2708,7 +2708,7 @@ export default class mexc extends Exchange {
2708
2708
  * @param {string} symbol unified symbol of the market the order was made in
2709
2709
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2710
2710
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2711
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2711
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2712
2712
  */
2713
2713
  await this.loadMarkets();
2714
2714
  const request = {};
@@ -2814,7 +2814,7 @@ export default class mexc extends Exchange {
2814
2814
  * @param {string[]} ids order ids
2815
2815
  * @param {string} symbol unified market symbol, default is undefined
2816
2816
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2817
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2817
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2818
2818
  */
2819
2819
  await this.loadMarkets();
2820
2820
  const market = (symbol !== undefined) ? this.market(symbol) : undefined;
@@ -2849,7 +2849,7 @@ export default class mexc extends Exchange {
2849
2849
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
2850
2850
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2851
2851
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2852
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2852
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2853
2853
  */
2854
2854
  await this.loadMarkets();
2855
2855
  const market = (symbol !== undefined) ? this.market(symbol) : undefined;
@@ -3225,7 +3225,7 @@ export default class mexc extends Exchange {
3225
3225
  * @name mexc3#fetchAccounts
3226
3226
  * @description fetch all the accounts associated with a profile
3227
3227
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3228
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
3228
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
3229
3229
  */
3230
3230
  // TODO: is the below endpoints suitable for fetchAccounts?
3231
3231
  const [marketType, query] = this.handleMarketTypeAndParams('fetchAccounts', undefined, params);
@@ -3252,7 +3252,7 @@ export default class mexc extends Exchange {
3252
3252
  * @name mexc3#fetchTradingFees
3253
3253
  * @description fetch the trading fees for multiple markets
3254
3254
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3255
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
3255
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
3256
3256
  */
3257
3257
  await this.loadMarkets();
3258
3258
  const response = await this.fetchAccountHelper('spot', params);
@@ -3535,7 +3535,7 @@ export default class mexc extends Exchange {
3535
3535
  * @param {int} [since] the earliest time in ms to fetch trades for
3536
3536
  * @param {int} [limit] the maximum number of trades structures to retrieve
3537
3537
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3538
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3538
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3539
3539
  */
3540
3540
  if (symbol === undefined) {
3541
3541
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -3626,7 +3626,7 @@ export default class mexc extends Exchange {
3626
3626
  * @param {int} [since] the earliest time in ms to fetch trades for
3627
3627
  * @param {int} [limit] the maximum number of trades to retrieve
3628
3628
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3629
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3629
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3630
3630
  */
3631
3631
  await this.loadMarkets();
3632
3632
  const request = {};
@@ -3722,7 +3722,7 @@ export default class mexc extends Exchange {
3722
3722
  * @param {string} symbol unified market symbol
3723
3723
  * @param {float} amount the amount of margin to remove
3724
3724
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3725
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
3725
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
3726
3726
  */
3727
3727
  return await this.modifyMarginHelper(symbol, amount, 'SUB', params);
3728
3728
  }
@@ -3734,7 +3734,7 @@ export default class mexc extends Exchange {
3734
3734
  * @param {string} symbol unified market symbol
3735
3735
  * @param {float} amount amount of margin to add
3736
3736
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3737
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
3737
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
3738
3738
  */
3739
3739
  return await this.modifyMarginHelper(symbol, amount, 'ADD', params);
3740
3740
  }
@@ -3780,7 +3780,7 @@ export default class mexc extends Exchange {
3780
3780
  * @param {int} [since] the earliest time in ms to fetch funding history for
3781
3781
  * @param {int} [limit] the maximum number of funding history structures to retrieve
3782
3782
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3783
- * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
3783
+ * @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
3784
3784
  */
3785
3785
  await this.loadMarkets();
3786
3786
  let market = undefined;
@@ -3893,7 +3893,7 @@ export default class mexc extends Exchange {
3893
3893
  * @description fetch the current funding rate
3894
3894
  * @param {string} symbol unified market symbol
3895
3895
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3896
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
3896
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
3897
3897
  */
3898
3898
  await this.loadMarkets();
3899
3899
  const market = this.market(symbol);
@@ -3994,7 +3994,7 @@ export default class mexc extends Exchange {
3994
3994
  * @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
3995
3995
  * @param {string[]|undefined} symbols list of unified market symbols
3996
3996
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3997
- * @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}, indexed by market symbols
3997
+ * @returns {object} a dictionary of [leverage tiers structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}, indexed by market symbols
3998
3998
  */
3999
3999
  await this.loadMarkets();
4000
4000
  const response = await this.contractPublicGetDetail(params);
@@ -4107,7 +4107,7 @@ export default class mexc extends Exchange {
4107
4107
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
4108
4108
  * @param {string} code unified currency code of the currency for the deposit address
4109
4109
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4110
- * @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure} indexed by the network
4110
+ * @returns {object} a dictionary of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure} indexed by the network
4111
4111
  */
4112
4112
  await this.loadMarkets();
4113
4113
  const currency = this.currency(code);
@@ -4148,7 +4148,7 @@ export default class mexc extends Exchange {
4148
4148
  * @param {string} code unified currency code of the currency for the deposit address
4149
4149
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4150
4150
  * @param {string} [params.network] the blockchain network name
4151
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
4151
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
4152
4152
  */
4153
4153
  await this.loadMarkets();
4154
4154
  const currency = this.currency(code);
@@ -4187,7 +4187,7 @@ export default class mexc extends Exchange {
4187
4187
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
4188
4188
  * @param {string} code unified currency code
4189
4189
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4190
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
4190
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
4191
4191
  */
4192
4192
  const rawNetwork = this.safeStringUpper(params, 'network');
4193
4193
  params = this.omit(params, 'network');
@@ -4217,7 +4217,7 @@ export default class mexc extends Exchange {
4217
4217
  * @param {int} [since] the earliest time in ms to fetch deposits for
4218
4218
  * @param {int} [limit] the maximum number of deposits structures to retrieve
4219
4219
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4220
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4220
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4221
4221
  */
4222
4222
  await this.loadMarkets();
4223
4223
  const request = {
@@ -4277,7 +4277,7 @@ export default class mexc extends Exchange {
4277
4277
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
4278
4278
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
4279
4279
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4280
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4280
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4281
4281
  */
4282
4282
  await this.loadMarkets();
4283
4283
  const request = {
@@ -4449,7 +4449,7 @@ export default class mexc extends Exchange {
4449
4449
  * @description fetch data on a single open contract trade position
4450
4450
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
4451
4451
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4452
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4452
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
4453
4453
  */
4454
4454
  await this.loadMarkets();
4455
4455
  const market = this.market(symbol);
@@ -4466,7 +4466,7 @@ export default class mexc extends Exchange {
4466
4466
  * @description fetch all open positions
4467
4467
  * @param {string[]|undefined} symbols list of unified market symbols
4468
4468
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4469
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4469
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
4470
4470
  */
4471
4471
  await this.loadMarkets();
4472
4472
  const response = await this.contractPrivateGetPositionOpenPositions(params);
@@ -4608,7 +4608,7 @@ export default class mexc extends Exchange {
4608
4608
  * @param {int} [since] the earliest time in ms to fetch transfers for
4609
4609
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4610
4610
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4611
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4611
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4612
4612
  */
4613
4613
  const [marketType, query] = this.handleMarketTypeAndParams('fetchTransfers', undefined, params);
4614
4614
  await this.loadMarkets();
@@ -4698,7 +4698,7 @@ export default class mexc extends Exchange {
4698
4698
  * @param {string} toAccount account to transfer to
4699
4699
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4700
4700
  * @param {string} [params.symbol] market symbol required for margin account transfers eg:BTCUSDT
4701
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4701
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4702
4702
  */
4703
4703
  await this.loadMarkets();
4704
4704
  const currency = this.currency(code);
@@ -4830,7 +4830,7 @@ export default class mexc extends Exchange {
4830
4830
  * @param {string} address the address to withdraw to
4831
4831
  * @param {string} tag
4832
4832
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4833
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4833
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4834
4834
  */
4835
4835
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
4836
4836
  const networks = this.safeValue(this.options, 'networks', {});
@@ -4897,7 +4897,7 @@ export default class mexc extends Exchange {
4897
4897
  * @param {float} amount the amount to borrow
4898
4898
  * @param {string} symbol unified market symbol
4899
4899
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4900
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4900
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
4901
4901
  */
4902
4902
  await this.loadMarkets();
4903
4903
  if (symbol === undefined) {
@@ -4933,7 +4933,7 @@ export default class mexc extends Exchange {
4933
4933
  * @param {string} symbol unified market symbol
4934
4934
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4935
4935
  * @param {string} [params.borrowId] transaction id '762407666453712896'
4936
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4936
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
4937
4937
  */
4938
4938
  await this.loadMarkets();
4939
4939
  if (symbol === undefined) {
@@ -4971,7 +4971,7 @@ export default class mexc extends Exchange {
4971
4971
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
4972
4972
  * @param {string[]|undefined} codes returns fees for all currencies if undefined
4973
4973
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4974
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
4974
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
4975
4975
  */
4976
4976
  await this.loadMarkets();
4977
4977
  const response = await this.spotPrivateGetCapitalConfigGetall(params);
@@ -5069,7 +5069,7 @@ export default class mexc extends Exchange {
5069
5069
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
5070
5070
  * @param {string[]|undefined} codes returns fees for all currencies if undefined
5071
5071
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
5072
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
5072
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
5073
5073
  */
5074
5074
  await this.loadMarkets();
5075
5075
  const response = await this.spotPrivateGetCapitalConfigGetall(params);
package/js/src/ndax.js CHANGED
@@ -560,7 +560,7 @@ export default class ndax extends Exchange {
560
560
  * @param {string} symbol unified symbol of the market to fetch the order book for
561
561
  * @param {int} [limit] the maximum amount of order book entries to return
562
562
  * @param {object} [params] extra parameters specific to the ndax api endpoint
563
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
563
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
564
564
  */
565
565
  const omsId = this.safeInteger(this.options, 'omsId', 1);
566
566
  await this.loadMarkets();
@@ -669,7 +669,7 @@ export default class ndax extends Exchange {
669
669
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
670
670
  * @param {string} symbol unified symbol of the market to fetch the ticker for
671
671
  * @param {object} [params] extra parameters specific to the ndax api endpoint
672
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
672
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
673
673
  */
674
674
  const omsId = this.safeInteger(this.options, 'omsId', 1);
675
675
  await this.loadMarkets();
@@ -986,7 +986,7 @@ export default class ndax extends Exchange {
986
986
  * @name ndax#fetchAccounts
987
987
  * @description fetch all the accounts associated with a profile
988
988
  * @param {object} [params] extra parameters specific to the ndax api endpoint
989
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
989
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
990
990
  */
991
991
  if (!this.login) {
992
992
  throw new AuthenticationError(this.id + ' fetchAccounts() requires exchange.login email credential');
@@ -1169,7 +1169,7 @@ export default class ndax extends Exchange {
1169
1169
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1170
1170
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1171
1171
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1172
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1172
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
1173
1173
  */
1174
1174
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1175
1175
  await this.loadMarkets();
@@ -1323,10 +1323,10 @@ export default class ndax extends Exchange {
1323
1323
  * @param {string} type 'market' or 'limit'
1324
1324
  * @param {string} side 'buy' or 'sell'
1325
1325
  * @param {float} amount how much of currency you want to trade in units of base currency
1326
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1326
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1327
1327
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1328
1328
  * @param {float} [params.triggerPrice] the price at which a trigger order would be triggered
1329
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1329
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1330
1330
  */
1331
1331
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1332
1332
  await this.loadMarkets();
@@ -1441,7 +1441,7 @@ export default class ndax extends Exchange {
1441
1441
  * @param {int} [since] the earliest time in ms to fetch trades for
1442
1442
  * @param {int} [limit] the maximum number of trades structures to retrieve
1443
1443
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1444
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1444
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1445
1445
  */
1446
1446
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1447
1447
  await this.loadMarkets();
@@ -1526,7 +1526,7 @@ export default class ndax extends Exchange {
1526
1526
  * @description cancel all open orders
1527
1527
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1528
1528
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1529
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1529
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1530
1530
  */
1531
1531
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1532
1532
  await this.loadMarkets();
@@ -1561,7 +1561,7 @@ export default class ndax extends Exchange {
1561
1561
  * @param {string} id order id
1562
1562
  * @param {string} symbol unified symbol of the market the order was made in
1563
1563
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1564
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1564
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1565
1565
  */
1566
1566
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1567
1567
  await this.loadMarkets();
@@ -1601,7 +1601,7 @@ export default class ndax extends Exchange {
1601
1601
  * @param {int} [since] the earliest time in ms to fetch open orders for
1602
1602
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1603
1603
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1604
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1604
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1605
1605
  */
1606
1606
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1607
1607
  await this.loadMarkets();
@@ -1679,7 +1679,7 @@ export default class ndax extends Exchange {
1679
1679
  * @param {int} [since] the earliest time in ms to fetch orders for
1680
1680
  * @param {int} [limit] the maximum number of orde structures to retrieve
1681
1681
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1682
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1682
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1683
1683
  */
1684
1684
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1685
1685
  await this.loadMarkets();
@@ -1771,7 +1771,7 @@ export default class ndax extends Exchange {
1771
1771
  * @description fetches information on an order made by the user
1772
1772
  * @param {string} symbol unified symbol of the market the order was made in
1773
1773
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1774
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1774
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1775
1775
  */
1776
1776
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1777
1777
  await this.loadMarkets();
@@ -1849,7 +1849,7 @@ export default class ndax extends Exchange {
1849
1849
  * @param {int} [since] the earliest time in ms to fetch trades for
1850
1850
  * @param {int} [limit] the maximum number of trades to retrieve
1851
1851
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1852
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1852
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1853
1853
  */
1854
1854
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1855
1855
  await this.loadMarkets();
@@ -1928,7 +1928,7 @@ export default class ndax extends Exchange {
1928
1928
  * @description fetch the deposit address for a currency associated with this account
1929
1929
  * @param {string} code unified currency code
1930
1930
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1931
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1931
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1932
1932
  */
1933
1933
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1934
1934
  await this.loadMarkets();
@@ -2000,7 +2000,7 @@ export default class ndax extends Exchange {
2000
2000
  * @description create a currency deposit address
2001
2001
  * @param {string} code unified currency code of the currency for the deposit address
2002
2002
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2003
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2003
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
2004
2004
  */
2005
2005
  const request = {
2006
2006
  'GenerateNewKey': true,
@@ -2017,7 +2017,7 @@ export default class ndax extends Exchange {
2017
2017
  * @param {int} [since] not used by ndax fetchDeposits
2018
2018
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2019
2019
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2020
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2020
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2021
2021
  */
2022
2022
  const omsId = this.safeInteger(this.options, 'omsId', 1);
2023
2023
  await this.loadMarkets();
@@ -2076,7 +2076,7 @@ export default class ndax extends Exchange {
2076
2076
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2077
2077
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2078
2078
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2079
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2079
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2080
2080
  */
2081
2081
  const omsId = this.safeInteger(this.options, 'omsId', 1);
2082
2082
  await this.loadMarkets();
@@ -2273,7 +2273,7 @@ export default class ndax extends Exchange {
2273
2273
  * @param {string} address the address to withdraw to
2274
2274
  * @param {string} tag
2275
2275
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2276
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2276
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2277
2277
  */
2278
2278
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
2279
2279
  // this method required login, password and twofa key