ccxt 4.0.73 → 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 (283) hide show
  1. package/README.md +11 -11
  2. package/dist/ccxt.browser.js +2058 -1943
  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 +25 -26
  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 +12 -11
  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 +25 -26
  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.d.ts +1 -1
  241. package/js/src/pro/bybit.js +12 -11
  242. package/js/src/pro/cex.js +3 -3
  243. package/js/src/pro/coinbasepro.js +5 -5
  244. package/js/src/pro/coinex.js +3 -3
  245. package/js/src/pro/cryptocom.js +7 -7
  246. package/js/src/pro/currencycom.js +2 -2
  247. package/js/src/pro/deribit.js +3 -3
  248. package/js/src/pro/exmo.js +2 -2
  249. package/js/src/pro/gate.js +5 -5
  250. package/js/src/pro/gemini.js +2 -2
  251. package/js/src/pro/hitbtc.js +2 -2
  252. package/js/src/pro/hollaex.js +3 -3
  253. package/js/src/pro/huobi.js +4 -4
  254. package/js/src/pro/huobijp.js +2 -2
  255. package/js/src/pro/idex.js +3 -3
  256. package/js/src/pro/independentreserve.js +1 -1
  257. package/js/src/pro/kraken.js +6 -6
  258. package/js/src/pro/krakenfutures.js +2 -2
  259. package/js/src/pro/kucoin.js +4 -4
  260. package/js/src/pro/kucoinfutures.js +3 -3
  261. package/js/src/pro/luno.js +1 -1
  262. package/js/src/pro/ndax.js +2 -2
  263. package/js/src/pro/okcoin.js +3 -3
  264. package/js/src/pro/okx.d.ts +1 -1
  265. package/js/src/pro/okx.js +12 -11
  266. package/js/src/pro/phemex.js +4 -4
  267. package/js/src/pro/poloniex.js +1 -1
  268. package/js/src/pro/upbit.js +2 -2
  269. package/js/src/pro/wazirx.js +3 -3
  270. package/js/src/pro/whitebit.js +4 -4
  271. package/js/src/probit.js +17 -17
  272. package/js/src/tidex.js +11 -11
  273. package/js/src/timex.js +14 -14
  274. package/js/src/tokocrypto.js +16 -16
  275. package/js/src/upbit.js +18 -18
  276. package/js/src/wavesexchange.js +13 -13
  277. package/js/src/wazirx.js +10 -10
  278. package/js/src/whitebit.js +21 -21
  279. package/js/src/woo.js +28 -22
  280. package/js/src/yobit.js +14 -14
  281. package/js/src/zaif.js +8 -8
  282. package/js/src/zonda.js +13 -13
  283. package/package.json +1 -1
@@ -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);
@@ -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');
@@ -819,7 +819,7 @@ class mexc extends mexc$1 {
819
819
  * @name mexc3#fetchStatus
820
820
  * @description the latest known information on the availability of the exchange API
821
821
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
822
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
822
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
823
823
  */
824
824
  const [marketType, query] = this.handleMarketTypeAndParams('fetchStatus', undefined, params);
825
825
  let response = undefined;
@@ -1283,7 +1283,7 @@ class mexc extends mexc$1 {
1283
1283
  * @param {string} symbol unified symbol of the market to fetch the order book for
1284
1284
  * @param {int} [limit] the maximum amount of order book entries to return
1285
1285
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1286
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1286
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1287
1287
  */
1288
1288
  await this.loadMarkets();
1289
1289
  const market = this.market(symbol);
@@ -1693,7 +1693,7 @@ class mexc extends mexc$1 {
1693
1693
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1694
1694
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1695
1695
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1696
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1696
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1697
1697
  */
1698
1698
  await this.loadMarkets();
1699
1699
  const request = {};
@@ -1781,7 +1781,7 @@ class mexc extends mexc$1 {
1781
1781
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1782
1782
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1783
1783
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1784
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1784
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1785
1785
  */
1786
1786
  await this.loadMarkets();
1787
1787
  const market = this.market(symbol);
@@ -1971,7 +1971,7 @@ class mexc extends mexc$1 {
1971
1971
  * @description fetches the bid and ask price and volume for multiple markets
1972
1972
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
1973
1973
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
1974
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1974
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1975
1975
  */
1976
1976
  await this.loadMarkets();
1977
1977
  let market = undefined;
@@ -2015,10 +2015,10 @@ class mexc extends mexc$1 {
2015
2015
  * @param {string} type 'market' or 'limit'
2016
2016
  * @param {string} side 'buy' or 'sell'
2017
2017
  * @param {float} amount how much of currency you want to trade in units of base currency
2018
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2018
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2019
2019
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2020
2020
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2021
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2021
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2022
2022
  */
2023
2023
  await this.loadMarkets();
2024
2024
  const market = this.market(symbol);
@@ -2221,7 +2221,7 @@ class mexc extends mexc$1 {
2221
2221
  * @param {string} symbol unified symbol of the market the order was made in
2222
2222
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2223
2223
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2224
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2224
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2225
2225
  */
2226
2226
  if (symbol === undefined) {
2227
2227
  throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -2344,7 +2344,7 @@ class mexc extends mexc$1 {
2344
2344
  * @param {int} [limit] the maximum number of orde structures to retrieve
2345
2345
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2346
2346
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2347
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2347
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2348
2348
  */
2349
2349
  await this.loadMarkets();
2350
2350
  const request = {};
@@ -2574,7 +2574,7 @@ class mexc extends mexc$1 {
2574
2574
  * @param {int} [limit] the maximum number of open orders structures to retrieve
2575
2575
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2576
2576
  * @param {string} [params.marginMode] only 'isolated' is supported, for spot-margin trading
2577
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2577
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2578
2578
  */
2579
2579
  await this.loadMarkets();
2580
2580
  const request = {};
@@ -2662,7 +2662,7 @@ class mexc extends mexc$1 {
2662
2662
  * @param {int} [since] the earliest time in ms to fetch orders for
2663
2663
  * @param {int} [limit] the maximum number of orde structures to retrieve
2664
2664
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2665
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2665
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2666
2666
  */
2667
2667
  return await this.fetchOrdersByState(3, symbol, since, limit, params);
2668
2668
  }
@@ -2675,7 +2675,7 @@ class mexc extends mexc$1 {
2675
2675
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
2676
2676
  * @param {int} [limit] max number of orders to return, default is undefined
2677
2677
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2678
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2678
+ * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2679
2679
  */
2680
2680
  return await this.fetchOrdersByState(4, symbol, since, limit, params);
2681
2681
  }
@@ -2705,7 +2705,7 @@ class mexc extends mexc$1 {
2705
2705
  * @param {string} symbol unified symbol of the market the order was made in
2706
2706
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2707
2707
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2708
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2708
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2709
2709
  */
2710
2710
  await this.loadMarkets();
2711
2711
  let market = undefined;
@@ -2810,7 +2810,7 @@ class mexc extends mexc$1 {
2810
2810
  * @param {string[]} ids order ids
2811
2811
  * @param {string} symbol unified market symbol, default is undefined
2812
2812
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2813
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2813
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2814
2814
  */
2815
2815
  await this.loadMarkets();
2816
2816
  const market = (symbol !== undefined) ? this.market(symbol) : undefined;
@@ -2845,7 +2845,7 @@ class mexc extends mexc$1 {
2845
2845
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
2846
2846
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
2847
2847
  * @param {string} [params.marginMode] only 'isolated' is supported for spot-margin trading
2848
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2848
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2849
2849
  */
2850
2850
  await this.loadMarkets();
2851
2851
  const market = (symbol !== undefined) ? this.market(symbol) : undefined;
@@ -3221,7 +3221,7 @@ class mexc extends mexc$1 {
3221
3221
  * @name mexc3#fetchAccounts
3222
3222
  * @description fetch all the accounts associated with a profile
3223
3223
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3224
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
3224
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
3225
3225
  */
3226
3226
  // TODO: is the below endpoints suitable for fetchAccounts?
3227
3227
  const [marketType, query] = this.handleMarketTypeAndParams('fetchAccounts', undefined, params);
@@ -3248,7 +3248,7 @@ class mexc extends mexc$1 {
3248
3248
  * @name mexc3#fetchTradingFees
3249
3249
  * @description fetch the trading fees for multiple markets
3250
3250
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3251
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
3251
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
3252
3252
  */
3253
3253
  await this.loadMarkets();
3254
3254
  const response = await this.fetchAccountHelper('spot', params);
@@ -3531,7 +3531,7 @@ class mexc extends mexc$1 {
3531
3531
  * @param {int} [since] the earliest time in ms to fetch trades for
3532
3532
  * @param {int} [limit] the maximum number of trades structures to retrieve
3533
3533
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3534
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3534
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3535
3535
  */
3536
3536
  if (symbol === undefined) {
3537
3537
  throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -3622,7 +3622,7 @@ class mexc extends mexc$1 {
3622
3622
  * @param {int} [since] the earliest time in ms to fetch trades for
3623
3623
  * @param {int} [limit] the maximum number of trades to retrieve
3624
3624
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3625
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3625
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3626
3626
  */
3627
3627
  await this.loadMarkets();
3628
3628
  const request = {};
@@ -3718,7 +3718,7 @@ class mexc extends mexc$1 {
3718
3718
  * @param {string} symbol unified market symbol
3719
3719
  * @param {float} amount the amount of margin to remove
3720
3720
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3721
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
3721
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
3722
3722
  */
3723
3723
  return await this.modifyMarginHelper(symbol, amount, 'SUB', params);
3724
3724
  }
@@ -3730,7 +3730,7 @@ class mexc extends mexc$1 {
3730
3730
  * @param {string} symbol unified market symbol
3731
3731
  * @param {float} amount amount of margin to add
3732
3732
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3733
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
3733
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
3734
3734
  */
3735
3735
  return await this.modifyMarginHelper(symbol, amount, 'ADD', params);
3736
3736
  }
@@ -3776,7 +3776,7 @@ class mexc extends mexc$1 {
3776
3776
  * @param {int} [since] the earliest time in ms to fetch funding history for
3777
3777
  * @param {int} [limit] the maximum number of funding history structures to retrieve
3778
3778
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3779
- * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
3779
+ * @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
3780
3780
  */
3781
3781
  await this.loadMarkets();
3782
3782
  let market = undefined;
@@ -3889,7 +3889,7 @@ class mexc extends mexc$1 {
3889
3889
  * @description fetch the current funding rate
3890
3890
  * @param {string} symbol unified market symbol
3891
3891
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3892
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
3892
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
3893
3893
  */
3894
3894
  await this.loadMarkets();
3895
3895
  const market = this.market(symbol);
@@ -3990,7 +3990,7 @@ class mexc extends mexc$1 {
3990
3990
  * @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
3991
3991
  * @param {string[]|undefined} symbols list of unified market symbols
3992
3992
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
3993
- * @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}, indexed by market symbols
3993
+ * @returns {object} a dictionary of [leverage tiers structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}, indexed by market symbols
3994
3994
  */
3995
3995
  await this.loadMarkets();
3996
3996
  const response = await this.contractPublicGetDetail(params);
@@ -4103,7 +4103,7 @@ class mexc extends mexc$1 {
4103
4103
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
4104
4104
  * @param {string} code unified currency code of the currency for the deposit address
4105
4105
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4106
- * @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure} indexed by the network
4106
+ * @returns {object} a dictionary of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure} indexed by the network
4107
4107
  */
4108
4108
  await this.loadMarkets();
4109
4109
  const currency = this.currency(code);
@@ -4144,7 +4144,7 @@ class mexc extends mexc$1 {
4144
4144
  * @param {string} code unified currency code of the currency for the deposit address
4145
4145
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4146
4146
  * @param {string} [params.network] the blockchain network name
4147
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
4147
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
4148
4148
  */
4149
4149
  await this.loadMarkets();
4150
4150
  const currency = this.currency(code);
@@ -4183,7 +4183,7 @@ class mexc extends mexc$1 {
4183
4183
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
4184
4184
  * @param {string} code unified currency code
4185
4185
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4186
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
4186
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
4187
4187
  */
4188
4188
  const rawNetwork = this.safeStringUpper(params, 'network');
4189
4189
  params = this.omit(params, 'network');
@@ -4213,7 +4213,7 @@ class mexc extends mexc$1 {
4213
4213
  * @param {int} [since] the earliest time in ms to fetch deposits for
4214
4214
  * @param {int} [limit] the maximum number of deposits structures to retrieve
4215
4215
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4216
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4216
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4217
4217
  */
4218
4218
  await this.loadMarkets();
4219
4219
  const request = {
@@ -4273,7 +4273,7 @@ class mexc extends mexc$1 {
4273
4273
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
4274
4274
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
4275
4275
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4276
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4276
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4277
4277
  */
4278
4278
  await this.loadMarkets();
4279
4279
  const request = {
@@ -4445,7 +4445,7 @@ class mexc extends mexc$1 {
4445
4445
  * @description fetch data on a single open contract trade position
4446
4446
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
4447
4447
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4448
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4448
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
4449
4449
  */
4450
4450
  await this.loadMarkets();
4451
4451
  const market = this.market(symbol);
@@ -4462,7 +4462,7 @@ class mexc extends mexc$1 {
4462
4462
  * @description fetch all open positions
4463
4463
  * @param {string[]|undefined} symbols list of unified market symbols
4464
4464
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4465
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4465
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
4466
4466
  */
4467
4467
  await this.loadMarkets();
4468
4468
  const response = await this.contractPrivateGetPositionOpenPositions(params);
@@ -4604,7 +4604,7 @@ class mexc extends mexc$1 {
4604
4604
  * @param {int} [since] the earliest time in ms to fetch transfers for
4605
4605
  * @param {int} [limit] the maximum number of transfers structures to retrieve
4606
4606
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4607
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4607
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4608
4608
  */
4609
4609
  const [marketType, query] = this.handleMarketTypeAndParams('fetchTransfers', undefined, params);
4610
4610
  await this.loadMarkets();
@@ -4694,7 +4694,7 @@ class mexc extends mexc$1 {
4694
4694
  * @param {string} toAccount account to transfer to
4695
4695
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4696
4696
  * @param {string} [params.symbol] market symbol required for margin account transfers eg:BTCUSDT
4697
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
4697
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
4698
4698
  */
4699
4699
  await this.loadMarkets();
4700
4700
  const currency = this.currency(code);
@@ -4826,7 +4826,7 @@ class mexc extends mexc$1 {
4826
4826
  * @param {string} address the address to withdraw to
4827
4827
  * @param {string} tag
4828
4828
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4829
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4829
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4830
4830
  */
4831
4831
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
4832
4832
  const networks = this.safeValue(this.options, 'networks', {});
@@ -4893,7 +4893,7 @@ class mexc extends mexc$1 {
4893
4893
  * @param {float} amount the amount to borrow
4894
4894
  * @param {string} symbol unified market symbol
4895
4895
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4896
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4896
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
4897
4897
  */
4898
4898
  await this.loadMarkets();
4899
4899
  if (symbol === undefined) {
@@ -4929,7 +4929,7 @@ class mexc extends mexc$1 {
4929
4929
  * @param {string} symbol unified market symbol
4930
4930
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4931
4931
  * @param {string} [params.borrowId] transaction id '762407666453712896'
4932
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
4932
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
4933
4933
  */
4934
4934
  await this.loadMarkets();
4935
4935
  if (symbol === undefined) {
@@ -4967,7 +4967,7 @@ class mexc extends mexc$1 {
4967
4967
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
4968
4968
  * @param {string[]|undefined} codes returns fees for all currencies if undefined
4969
4969
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
4970
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
4970
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
4971
4971
  */
4972
4972
  await this.loadMarkets();
4973
4973
  const response = await this.spotPrivateGetCapitalConfigGetall(params);
@@ -5065,7 +5065,7 @@ class mexc extends mexc$1 {
5065
5065
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
5066
5066
  * @param {string[]|undefined} codes returns fees for all currencies if undefined
5067
5067
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
5068
- * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
5068
+ * @returns {object[]} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
5069
5069
  */
5070
5070
  await this.loadMarkets();
5071
5071
  const response = await this.spotPrivateGetCapitalConfigGetall(params);
@@ -557,7 +557,7 @@ class ndax extends ndax$1 {
557
557
  * @param {string} symbol unified symbol of the market to fetch the order book for
558
558
  * @param {int} [limit] the maximum amount of order book entries to return
559
559
  * @param {object} [params] extra parameters specific to the ndax api endpoint
560
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
560
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
561
561
  */
562
562
  const omsId = this.safeInteger(this.options, 'omsId', 1);
563
563
  await this.loadMarkets();
@@ -666,7 +666,7 @@ class ndax extends ndax$1 {
666
666
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
667
667
  * @param {string} symbol unified symbol of the market to fetch the ticker for
668
668
  * @param {object} [params] extra parameters specific to the ndax api endpoint
669
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
669
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
670
670
  */
671
671
  const omsId = this.safeInteger(this.options, 'omsId', 1);
672
672
  await this.loadMarkets();
@@ -983,7 +983,7 @@ class ndax extends ndax$1 {
983
983
  * @name ndax#fetchAccounts
984
984
  * @description fetch all the accounts associated with a profile
985
985
  * @param {object} [params] extra parameters specific to the ndax api endpoint
986
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
986
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
987
987
  */
988
988
  if (!this.login) {
989
989
  throw new errors.AuthenticationError(this.id + ' fetchAccounts() requires exchange.login email credential');
@@ -1166,7 +1166,7 @@ class ndax extends ndax$1 {
1166
1166
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1167
1167
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1168
1168
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1169
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
1169
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
1170
1170
  */
1171
1171
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1172
1172
  await this.loadMarkets();
@@ -1320,10 +1320,10 @@ class ndax extends ndax$1 {
1320
1320
  * @param {string} type 'market' or 'limit'
1321
1321
  * @param {string} side 'buy' or 'sell'
1322
1322
  * @param {float} amount how much of currency you want to trade in units of base currency
1323
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1323
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1324
1324
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1325
1325
  * @param {float} [params.triggerPrice] the price at which a trigger order would be triggered
1326
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1326
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1327
1327
  */
1328
1328
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1329
1329
  await this.loadMarkets();
@@ -1438,7 +1438,7 @@ class ndax extends ndax$1 {
1438
1438
  * @param {int} [since] the earliest time in ms to fetch trades for
1439
1439
  * @param {int} [limit] the maximum number of trades structures to retrieve
1440
1440
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1441
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1441
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1442
1442
  */
1443
1443
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1444
1444
  await this.loadMarkets();
@@ -1523,7 +1523,7 @@ class ndax extends ndax$1 {
1523
1523
  * @description cancel all open orders
1524
1524
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1525
1525
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1526
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1526
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1527
1527
  */
1528
1528
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1529
1529
  await this.loadMarkets();
@@ -1558,7 +1558,7 @@ class ndax extends ndax$1 {
1558
1558
  * @param {string} id order id
1559
1559
  * @param {string} symbol unified symbol of the market the order was made in
1560
1560
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1561
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1561
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1562
1562
  */
1563
1563
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1564
1564
  await this.loadMarkets();
@@ -1598,7 +1598,7 @@ class ndax extends ndax$1 {
1598
1598
  * @param {int} [since] the earliest time in ms to fetch open orders for
1599
1599
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1600
1600
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1601
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1601
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1602
1602
  */
1603
1603
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1604
1604
  await this.loadMarkets();
@@ -1676,7 +1676,7 @@ class ndax extends ndax$1 {
1676
1676
  * @param {int} [since] the earliest time in ms to fetch orders for
1677
1677
  * @param {int} [limit] the maximum number of orde structures to retrieve
1678
1678
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1679
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1679
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1680
1680
  */
1681
1681
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1682
1682
  await this.loadMarkets();
@@ -1768,7 +1768,7 @@ class ndax extends ndax$1 {
1768
1768
  * @description fetches information on an order made by the user
1769
1769
  * @param {string} symbol unified symbol of the market the order was made in
1770
1770
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1771
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1771
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1772
1772
  */
1773
1773
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1774
1774
  await this.loadMarkets();
@@ -1846,7 +1846,7 @@ class ndax extends ndax$1 {
1846
1846
  * @param {int} [since] the earliest time in ms to fetch trades for
1847
1847
  * @param {int} [limit] the maximum number of trades to retrieve
1848
1848
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1849
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1849
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1850
1850
  */
1851
1851
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1852
1852
  await this.loadMarkets();
@@ -1925,7 +1925,7 @@ class ndax extends ndax$1 {
1925
1925
  * @description fetch the deposit address for a currency associated with this account
1926
1926
  * @param {string} code unified currency code
1927
1927
  * @param {object} [params] extra parameters specific to the ndax api endpoint
1928
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1928
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1929
1929
  */
1930
1930
  const omsId = this.safeInteger(this.options, 'omsId', 1);
1931
1931
  await this.loadMarkets();
@@ -1997,7 +1997,7 @@ class ndax extends ndax$1 {
1997
1997
  * @description create a currency deposit address
1998
1998
  * @param {string} code unified currency code of the currency for the deposit address
1999
1999
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2000
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2000
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
2001
2001
  */
2002
2002
  const request = {
2003
2003
  'GenerateNewKey': true,
@@ -2014,7 +2014,7 @@ class ndax extends ndax$1 {
2014
2014
  * @param {int} [since] not used by ndax fetchDeposits
2015
2015
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2016
2016
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2017
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2017
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2018
2018
  */
2019
2019
  const omsId = this.safeInteger(this.options, 'omsId', 1);
2020
2020
  await this.loadMarkets();
@@ -2073,7 +2073,7 @@ class ndax extends ndax$1 {
2073
2073
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2074
2074
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2075
2075
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2076
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2076
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2077
2077
  */
2078
2078
  const omsId = this.safeInteger(this.options, 'omsId', 1);
2079
2079
  await this.loadMarkets();
@@ -2270,7 +2270,7 @@ class ndax extends ndax$1 {
2270
2270
  * @param {string} address the address to withdraw to
2271
2271
  * @param {string} tag
2272
2272
  * @param {object} [params] extra parameters specific to the ndax api endpoint
2273
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2273
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2274
2274
  */
2275
2275
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
2276
2276
  // this method required login, password and twofa key