ccxt 4.0.74 → 4.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2635 -2383
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +11 -11
  6. package/dist/cjs/src/alpaca.js +7 -7
  7. package/dist/cjs/src/ascendex.js +25 -25
  8. package/dist/cjs/src/base/Exchange.js +4 -4
  9. package/dist/cjs/src/bigone.js +19 -19
  10. package/dist/cjs/src/binance.js +56 -56
  11. package/dist/cjs/src/bingx.js +85 -40
  12. package/dist/cjs/src/bit2c.js +12 -12
  13. package/dist/cjs/src/bitbank.js +13 -13
  14. package/dist/cjs/src/bitbns.js +14 -14
  15. package/dist/cjs/src/bitfinex.js +21 -21
  16. package/dist/cjs/src/bitfinex2.js +29 -29
  17. package/dist/cjs/src/bitflyer.js +17 -17
  18. package/dist/cjs/src/bitforex.js +11 -11
  19. package/dist/cjs/src/bitget.js +39 -39
  20. package/dist/cjs/src/bithumb.js +11 -11
  21. package/dist/cjs/src/bitmart.js +44 -31
  22. package/dist/cjs/src/bitmex.js +24 -24
  23. package/dist/cjs/src/bitopro.js +21 -21
  24. package/dist/cjs/src/bitpanda.js +21 -21
  25. package/dist/cjs/src/bitrue.js +18 -18
  26. package/dist/cjs/src/bitso.js +21 -21
  27. package/dist/cjs/src/bitstamp.js +21 -21
  28. package/dist/cjs/src/bitstamp1.js +8 -8
  29. package/dist/cjs/src/bittrex.js +27 -27
  30. package/dist/cjs/src/bitvavo.js +19 -19
  31. package/dist/cjs/src/bkex.js +21 -21
  32. package/dist/cjs/src/bl3p.js +8 -8
  33. package/dist/cjs/src/blockchaincom.js +21 -21
  34. package/dist/cjs/src/btcalpha.js +15 -15
  35. package/dist/cjs/src/btcbox.js +10 -10
  36. package/dist/cjs/src/btcmarkets.js +17 -17
  37. package/dist/cjs/src/btctradeua.js +8 -8
  38. package/dist/cjs/src/btcturk.js +11 -11
  39. package/dist/cjs/src/bybit.js +153 -121
  40. package/dist/cjs/src/cex.js +14 -14
  41. package/dist/cjs/src/coinbase.js +23 -23
  42. package/dist/cjs/src/coinbasepro.js +24 -24
  43. package/dist/cjs/src/coincheck.js +12 -12
  44. package/dist/cjs/src/coinex.js +87 -41
  45. package/dist/cjs/src/coinfalcon.js +16 -16
  46. package/dist/cjs/src/coinmate.js +14 -14
  47. package/dist/cjs/src/coinone.js +12 -12
  48. package/dist/cjs/src/coinsph.js +27 -22
  49. package/dist/cjs/src/coinspot.js +8 -8
  50. package/dist/cjs/src/cryptocom.js +29 -29
  51. package/dist/cjs/src/currencycom.js +20 -20
  52. package/dist/cjs/src/delta.js +25 -25
  53. package/dist/cjs/src/deribit.js +30 -30
  54. package/dist/cjs/src/digifinex.js +31 -31
  55. package/dist/cjs/src/exmo.js +26 -26
  56. package/dist/cjs/src/gate.js +38 -38
  57. package/dist/cjs/src/gemini.js +17 -17
  58. package/dist/cjs/src/hitbtc.js +34 -34
  59. package/dist/cjs/src/hollaex.js +23 -23
  60. package/dist/cjs/src/huobi.js +45 -45
  61. package/dist/cjs/src/huobijp.js +20 -20
  62. package/dist/cjs/src/idex.js +19 -19
  63. package/dist/cjs/src/independentreserve.js +12 -12
  64. package/dist/cjs/src/indodax.js +14 -14
  65. package/dist/cjs/src/kraken.js +27 -27
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +33 -33
  68. package/dist/cjs/src/kucoinfutures.js +24 -24
  69. package/dist/cjs/src/kuna.js +12 -12
  70. package/dist/cjs/src/latoken.js +17 -17
  71. package/dist/cjs/src/lbank.js +12 -12
  72. package/dist/cjs/src/lbank2.js +23 -23
  73. package/dist/cjs/src/luno.js +16 -16
  74. package/dist/cjs/src/lykke.js +16 -16
  75. package/dist/cjs/src/mercado.js +12 -12
  76. package/dist/cjs/src/mexc.js +44 -42
  77. package/dist/cjs/src/ndax.js +20 -20
  78. package/dist/cjs/src/novadax.js +20 -20
  79. package/dist/cjs/src/oceanex.js +16 -16
  80. package/dist/cjs/src/okcoin.js +21 -21
  81. package/dist/cjs/src/okx.js +52 -52
  82. package/dist/cjs/src/paymium.js +11 -11
  83. package/dist/cjs/src/phemex.js +26 -26
  84. package/dist/cjs/src/poloniex.js +237 -136
  85. package/dist/cjs/src/poloniexfutures.js +18 -18
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +4 -4
  88. package/dist/cjs/src/pro/binance.js +16 -16
  89. package/dist/cjs/src/pro/bitfinex.js +4 -4
  90. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  91. package/dist/cjs/src/pro/bitget.js +6 -6
  92. package/dist/cjs/src/pro/bitmart.js +4 -4
  93. package/dist/cjs/src/pro/bitmex.js +6 -6
  94. package/dist/cjs/src/pro/bitopro.js +4 -4
  95. package/dist/cjs/src/pro/bitpanda.js +6 -6
  96. package/dist/cjs/src/pro/bitrue.js +2 -2
  97. package/dist/cjs/src/pro/bitstamp.js +3 -3
  98. package/dist/cjs/src/pro/bittrex.js +6 -6
  99. package/dist/cjs/src/pro/bitvavo.js +5 -5
  100. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  101. package/dist/cjs/src/pro/bybit.js +6 -6
  102. package/dist/cjs/src/pro/cex.js +7 -7
  103. package/dist/cjs/src/pro/coinbase.js +5 -5
  104. package/dist/cjs/src/pro/coinbasepro.js +6 -6
  105. package/dist/cjs/src/pro/coinex.js +5 -5
  106. package/dist/cjs/src/pro/cryptocom.js +10 -10
  107. package/dist/cjs/src/pro/currencycom.js +4 -4
  108. package/dist/cjs/src/pro/deribit.js +6 -6
  109. package/dist/cjs/src/pro/exmo.js +5 -5
  110. package/dist/cjs/src/pro/gate.js +7 -7
  111. package/dist/cjs/src/pro/gemini.js +3 -3
  112. package/dist/cjs/src/pro/hitbtc.js +3 -3
  113. package/dist/cjs/src/pro/hollaex.js +5 -5
  114. package/dist/cjs/src/pro/huobi.js +6 -6
  115. package/dist/cjs/src/pro/huobijp.js +3 -3
  116. package/dist/cjs/src/pro/idex.js +4 -4
  117. package/dist/cjs/src/pro/independentreserve.js +2 -2
  118. package/dist/cjs/src/pro/kraken.js +12 -12
  119. package/dist/cjs/src/pro/krakenfutures.js +7 -7
  120. package/dist/cjs/src/pro/kucoin.js +6 -6
  121. package/dist/cjs/src/pro/kucoinfutures.js +6 -5
  122. package/dist/cjs/src/pro/luno.js +2 -2
  123. package/dist/cjs/src/pro/mexc.js +6 -6
  124. package/dist/cjs/src/pro/ndax.js +3 -3
  125. package/dist/cjs/src/pro/okcoin.js +5 -5
  126. package/dist/cjs/src/pro/okx.js +19 -18
  127. package/dist/cjs/src/pro/phemex.js +6 -6
  128. package/dist/cjs/src/pro/poloniex.js +7 -7
  129. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  130. package/dist/cjs/src/pro/probit.js +6 -6
  131. package/dist/cjs/src/pro/upbit.js +3 -3
  132. package/dist/cjs/src/pro/wazirx.js +6 -6
  133. package/dist/cjs/src/pro/whitebit.js +6 -6
  134. package/dist/cjs/src/probit.js +19 -19
  135. package/dist/cjs/src/tidex.js +13 -13
  136. package/dist/cjs/src/timex.js +16 -16
  137. package/dist/cjs/src/tokocrypto.js +18 -18
  138. package/dist/cjs/src/upbit.js +20 -20
  139. package/dist/cjs/src/wavesexchange.js +16 -16
  140. package/dist/cjs/src/wazirx.js +12 -12
  141. package/dist/cjs/src/whitebit.js +24 -24
  142. package/dist/cjs/src/woo.js +30 -24
  143. package/dist/cjs/src/yobit.js +16 -16
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +15 -15
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/bingx.d.ts +2 -0
  149. package/js/src/abstract/bitmart.d.ts +13 -0
  150. package/js/src/abstract/bybit.d.ts +33 -21
  151. package/js/src/abstract/coinsph.d.ts +5 -0
  152. package/js/src/abstract/woo.d.ts +6 -0
  153. package/js/src/ace.js +11 -11
  154. package/js/src/alpaca.js +7 -7
  155. package/js/src/ascendex.js +25 -25
  156. package/js/src/base/Exchange.js +4 -4
  157. package/js/src/bigone.js +19 -19
  158. package/js/src/binance.js +56 -56
  159. package/js/src/bingx.d.ts +1 -0
  160. package/js/src/bingx.js +85 -40
  161. package/js/src/bit2c.js +12 -12
  162. package/js/src/bitbank.js +13 -13
  163. package/js/src/bitbns.js +14 -14
  164. package/js/src/bitfinex.js +21 -21
  165. package/js/src/bitfinex2.js +29 -29
  166. package/js/src/bitflyer.js +17 -17
  167. package/js/src/bitforex.js +11 -11
  168. package/js/src/bitget.js +39 -39
  169. package/js/src/bithumb.js +11 -11
  170. package/js/src/bitmart.js +44 -31
  171. package/js/src/bitmex.js +24 -24
  172. package/js/src/bitopro.js +21 -21
  173. package/js/src/bitpanda.js +21 -21
  174. package/js/src/bitrue.js +18 -18
  175. package/js/src/bitso.js +21 -21
  176. package/js/src/bitstamp.js +21 -21
  177. package/js/src/bitstamp1.js +8 -8
  178. package/js/src/bittrex.js +27 -27
  179. package/js/src/bitvavo.js +19 -19
  180. package/js/src/bkex.js +21 -21
  181. package/js/src/bl3p.js +8 -8
  182. package/js/src/blockchaincom.js +21 -21
  183. package/js/src/btcalpha.js +15 -15
  184. package/js/src/btcbox.js +10 -10
  185. package/js/src/btcmarkets.js +17 -17
  186. package/js/src/btctradeua.js +8 -8
  187. package/js/src/btcturk.js +11 -11
  188. package/js/src/bybit.js +153 -121
  189. package/js/src/cex.js +14 -14
  190. package/js/src/coinbase.js +23 -23
  191. package/js/src/coinbasepro.js +24 -24
  192. package/js/src/coincheck.js +12 -12
  193. package/js/src/coinex.d.ts +1 -0
  194. package/js/src/coinex.js +87 -41
  195. package/js/src/coinfalcon.js +16 -16
  196. package/js/src/coinmate.js +14 -14
  197. package/js/src/coinone.js +12 -12
  198. package/js/src/coinsph.js +27 -22
  199. package/js/src/coinspot.js +8 -8
  200. package/js/src/cryptocom.js +29 -29
  201. package/js/src/currencycom.js +20 -20
  202. package/js/src/delta.js +25 -25
  203. package/js/src/deribit.js +30 -30
  204. package/js/src/digifinex.js +31 -31
  205. package/js/src/exmo.js +26 -26
  206. package/js/src/gate.js +38 -38
  207. package/js/src/gemini.js +17 -17
  208. package/js/src/hitbtc.js +34 -34
  209. package/js/src/hollaex.js +23 -23
  210. package/js/src/huobi.js +45 -45
  211. package/js/src/huobijp.js +20 -20
  212. package/js/src/idex.js +19 -19
  213. package/js/src/independentreserve.js +12 -12
  214. package/js/src/indodax.js +14 -14
  215. package/js/src/kraken.js +27 -27
  216. package/js/src/krakenfutures.js +12 -12
  217. package/js/src/kucoin.js +33 -33
  218. package/js/src/kucoinfutures.js +24 -24
  219. package/js/src/kuna.js +12 -12
  220. package/js/src/latoken.js +17 -17
  221. package/js/src/lbank.js +12 -12
  222. package/js/src/lbank2.js +23 -23
  223. package/js/src/luno.js +16 -16
  224. package/js/src/lykke.js +16 -16
  225. package/js/src/mercado.js +12 -12
  226. package/js/src/mexc.js +45 -43
  227. package/js/src/ndax.js +20 -20
  228. package/js/src/novadax.js +20 -20
  229. package/js/src/oceanex.js +16 -16
  230. package/js/src/okcoin.js +21 -21
  231. package/js/src/okx.js +52 -52
  232. package/js/src/paymium.js +11 -11
  233. package/js/src/phemex.js +26 -26
  234. package/js/src/poloniex.d.ts +1 -1
  235. package/js/src/poloniex.js +237 -136
  236. package/js/src/poloniexfutures.js +18 -18
  237. package/js/src/pro/alpaca.js +5 -5
  238. package/js/src/pro/ascendex.js +4 -4
  239. package/js/src/pro/binance.js +16 -16
  240. package/js/src/pro/bitfinex.js +4 -4
  241. package/js/src/pro/bitfinex2.js +6 -6
  242. package/js/src/pro/bitget.js +6 -6
  243. package/js/src/pro/bitmart.js +4 -4
  244. package/js/src/pro/bitmex.js +6 -6
  245. package/js/src/pro/bitopro.js +4 -4
  246. package/js/src/pro/bitpanda.js +6 -6
  247. package/js/src/pro/bitrue.js +2 -2
  248. package/js/src/pro/bitstamp.js +3 -3
  249. package/js/src/pro/bittrex.js +6 -6
  250. package/js/src/pro/bitvavo.js +5 -5
  251. package/js/src/pro/blockchaincom.js +5 -5
  252. package/js/src/pro/bybit.js +6 -6
  253. package/js/src/pro/cex.js +7 -7
  254. package/js/src/pro/coinbase.js +5 -5
  255. package/js/src/pro/coinbasepro.js +6 -6
  256. package/js/src/pro/coinex.js +5 -5
  257. package/js/src/pro/cryptocom.js +10 -10
  258. package/js/src/pro/currencycom.js +4 -4
  259. package/js/src/pro/deribit.js +6 -6
  260. package/js/src/pro/exmo.js +5 -5
  261. package/js/src/pro/gate.js +7 -7
  262. package/js/src/pro/gemini.js +3 -3
  263. package/js/src/pro/hitbtc.js +3 -3
  264. package/js/src/pro/hollaex.js +5 -5
  265. package/js/src/pro/huobi.js +6 -6
  266. package/js/src/pro/huobijp.js +3 -3
  267. package/js/src/pro/idex.js +4 -4
  268. package/js/src/pro/independentreserve.js +2 -2
  269. package/js/src/pro/kraken.js +12 -12
  270. package/js/src/pro/krakenfutures.js +7 -7
  271. package/js/src/pro/kucoin.js +6 -6
  272. package/js/src/pro/kucoinfutures.js +6 -5
  273. package/js/src/pro/luno.js +2 -2
  274. package/js/src/pro/mexc.js +6 -6
  275. package/js/src/pro/ndax.js +3 -3
  276. package/js/src/pro/okcoin.js +5 -5
  277. package/js/src/pro/okx.d.ts +1 -1
  278. package/js/src/pro/okx.js +19 -18
  279. package/js/src/pro/phemex.js +6 -6
  280. package/js/src/pro/poloniex.js +7 -7
  281. package/js/src/pro/poloniexfutures.js +5 -5
  282. package/js/src/pro/probit.js +6 -6
  283. package/js/src/pro/upbit.js +3 -3
  284. package/js/src/pro/wazirx.js +6 -6
  285. package/js/src/pro/whitebit.js +6 -6
  286. package/js/src/probit.js +19 -19
  287. package/js/src/tidex.js +13 -13
  288. package/js/src/timex.js +16 -16
  289. package/js/src/tokocrypto.js +18 -18
  290. package/js/src/upbit.js +20 -20
  291. package/js/src/wavesexchange.js +16 -16
  292. package/js/src/wazirx.js +12 -12
  293. package/js/src/whitebit.js +24 -24
  294. package/js/src/woo.js +30 -24
  295. package/js/src/yobit.js +16 -16
  296. package/js/src/zaif.js +10 -10
  297. package/js/src/zonda.js +15 -15
  298. package/package.json +1 -1
  299. package/skip-tests.json +2 -0
package/js/src/timex.js CHANGED
@@ -350,7 +350,7 @@ export default class timex extends Exchange {
350
350
  * @param {int} [since] the earliest time in ms to fetch deposits for
351
351
  * @param {int} [limit] the maximum number of deposits structures to retrieve
352
352
  * @param {object} [params] extra parameters specific to the timex api endpoint
353
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
353
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
354
354
  */
355
355
  const address = this.safeString(params, 'address');
356
356
  params = this.omit(params, 'address');
@@ -385,7 +385,7 @@ export default class timex extends Exchange {
385
385
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
386
386
  * @param {int} [limit] the maximum number of transaction structures to retrieve
387
387
  * @param {object} [params] extra parameters specific to the timex api endpoint
388
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
388
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
389
389
  */
390
390
  const address = this.safeString(params, 'address');
391
391
  params = this.omit(params, 'address');
@@ -465,7 +465,7 @@ export default class timex extends Exchange {
465
465
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
466
466
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
467
467
  * @param {object} [params] extra parameters specific to the timex api endpoint
468
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
468
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
469
469
  */
470
470
  await this.loadMarkets();
471
471
  const period = this.safeString(this.options['fetchTickers'], 'period', '1d');
@@ -499,7 +499,7 @@ export default class timex extends Exchange {
499
499
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
500
500
  * @param {string} symbol unified symbol of the market to fetch the ticker for
501
501
  * @param {object} [params] extra parameters specific to the timex api endpoint
502
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
502
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
503
503
  */
504
504
  await this.loadMarkets();
505
505
  const market = this.market(symbol);
@@ -537,7 +537,7 @@ export default class timex extends Exchange {
537
537
  * @param {string} symbol unified symbol of the market to fetch the order book for
538
538
  * @param {int} [limit] the maximum amount of order book entries to return
539
539
  * @param {object} [params] extra parameters specific to the timex api endpoint
540
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
540
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
541
541
  */
542
542
  await this.loadMarkets();
543
543
  const market = this.market(symbol);
@@ -584,7 +584,7 @@ export default class timex extends Exchange {
584
584
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
585
585
  * @param {int} [limit] the maximum amount of trades to fetch
586
586
  * @param {object} [params] extra parameters specific to the timex api endpoint
587
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
587
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
588
588
  */
589
589
  await this.loadMarkets();
590
590
  const market = this.market(symbol);
@@ -693,7 +693,7 @@ export default class timex extends Exchange {
693
693
  * @name timex#fetchBalance
694
694
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
695
695
  * @param {object} [params] extra parameters specific to the timex api endpoint
696
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
696
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
697
697
  */
698
698
  await this.loadMarkets();
699
699
  const response = await this.tradingGetBalances(params);
@@ -717,9 +717,9 @@ export default class timex extends Exchange {
717
717
  * @param {string} type 'market' or 'limit'
718
718
  * @param {string} side 'buy' or 'sell'
719
719
  * @param {float} amount how much of currency you want to trade in units of base currency
720
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
720
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
721
721
  * @param {object} [params] extra parameters specific to the timex api endpoint
722
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
722
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
723
723
  */
724
724
  await this.loadMarkets();
725
725
  const market = this.market(symbol);
@@ -844,7 +844,7 @@ export default class timex extends Exchange {
844
844
  * @param {string} id order id
845
845
  * @param {string} symbol not used by timex cancelOrder ()
846
846
  * @param {object} [params] extra parameters specific to the timex api endpoint
847
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
847
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
848
848
  */
849
849
  await this.loadMarkets();
850
850
  return await this.cancelOrders([id], symbol, params);
@@ -857,7 +857,7 @@ export default class timex extends Exchange {
857
857
  * @param {string[]} ids order ids
858
858
  * @param {string} symbol unified market symbol, default is undefined
859
859
  * @param {object} [params] extra parameters specific to the timex api endpoint
860
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
860
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
861
861
  */
862
862
  await this.loadMarkets();
863
863
  const request = {
@@ -897,7 +897,7 @@ export default class timex extends Exchange {
897
897
  * @description fetches information on an order made by the user
898
898
  * @param {string} symbol not used by timex fetchOrder
899
899
  * @param {object} [params] extra parameters specific to the timex api endpoint
900
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
900
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
901
901
  */
902
902
  await this.loadMarkets();
903
903
  const request = {
@@ -950,7 +950,7 @@ export default class timex extends Exchange {
950
950
  * @param {int} [since] the earliest time in ms to fetch open orders for
951
951
  * @param {int} [limit] the maximum number of open orders structures to retrieve
952
952
  * @param {object} [params] extra parameters specific to the timex api endpoint
953
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
953
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
954
954
  */
955
955
  await this.loadMarkets();
956
956
  const options = this.safeValue(this.options, 'fetchOpenOrders', {});
@@ -1004,7 +1004,7 @@ export default class timex extends Exchange {
1004
1004
  * @param {int} [since] the earliest time in ms to fetch orders for
1005
1005
  * @param {int} [limit] the maximum number of orde structures to retrieve
1006
1006
  * @param {object} [params] extra parameters specific to the timex api endpoint
1007
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1007
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1008
1008
  */
1009
1009
  await this.loadMarkets();
1010
1010
  const options = this.safeValue(this.options, 'fetchClosedOrders', {});
@@ -1063,7 +1063,7 @@ export default class timex extends Exchange {
1063
1063
  * @param {int} [since] the earliest time in ms to fetch trades for
1064
1064
  * @param {int} [limit] the maximum number of trades structures to retrieve
1065
1065
  * @param {object} [params] extra parameters specific to the timex api endpoint
1066
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1066
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1067
1067
  */
1068
1068
  await this.loadMarkets();
1069
1069
  const options = this.safeValue(this.options, 'fetchMyTrades', {});
@@ -1139,7 +1139,7 @@ export default class timex extends Exchange {
1139
1139
  * @description fetch the trading fees for a market
1140
1140
  * @param {string} symbol unified market symbol
1141
1141
  * @param {object} [params] extra parameters specific to the timex api endpoint
1142
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1142
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1143
1143
  */
1144
1144
  await this.loadMarkets();
1145
1145
  const market = this.market(symbol);
@@ -787,7 +787,7 @@ export default class tokocrypto extends Exchange {
787
787
  * @param {string} symbol unified symbol of the market to fetch the order book for
788
788
  * @param {int} [limit] the maximum amount of order book entries to return
789
789
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
790
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
790
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
791
791
  */
792
792
  await this.loadMarkets();
793
793
  const market = this.market(symbol);
@@ -997,7 +997,7 @@ export default class tokocrypto extends Exchange {
997
997
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
998
998
  * @param {int} [limit] the maximum amount of trades to fetch
999
999
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1000
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1000
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1001
1001
  */
1002
1002
  await this.loadMarkets();
1003
1003
  const market = this.market(symbol);
@@ -1161,7 +1161,7 @@ export default class tokocrypto extends Exchange {
1161
1161
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1162
1162
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1163
1163
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1164
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1164
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1165
1165
  */
1166
1166
  await this.loadMarkets();
1167
1167
  const defaultMethod = 'binanceGetTicker24hr';
@@ -1183,7 +1183,7 @@ export default class tokocrypto extends Exchange {
1183
1183
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1184
1184
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1185
1185
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1186
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1186
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1187
1187
  */
1188
1188
  await this.loadMarkets();
1189
1189
  const market = this.market(symbol);
@@ -1205,7 +1205,7 @@ export default class tokocrypto extends Exchange {
1205
1205
  * @description fetches the bid and ask price and volume for multiple markets
1206
1206
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
1207
1207
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1208
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1208
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1209
1209
  */
1210
1210
  await this.loadMarkets();
1211
1211
  const response = await this.binanceGetTickerBookTicker(params);
@@ -1324,7 +1324,7 @@ export default class tokocrypto extends Exchange {
1324
1324
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
1325
1325
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
1326
1326
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
1327
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1327
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1328
1328
  */
1329
1329
  await this.loadMarkets();
1330
1330
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType', 'spot');
@@ -1574,10 +1574,10 @@ export default class tokocrypto extends Exchange {
1574
1574
  * @param {string} type 'market' or 'limit'
1575
1575
  * @param {string} side 'buy' or 'sell'
1576
1576
  * @param {float} amount how much of currency you want to trade in units of base currency
1577
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1577
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1578
1578
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1579
1579
  * @param {float} [params.triggerPrice] the price at which a trigger order would be triggered
1580
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1580
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1581
1581
  */
1582
1582
  await this.loadMarkets();
1583
1583
  const market = this.market(symbol);
@@ -1752,7 +1752,7 @@ export default class tokocrypto extends Exchange {
1752
1752
  * @description fetches information on an order made by the user
1753
1753
  * @param {string} symbol unified symbol of the market the order was made in
1754
1754
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1755
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1755
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1756
1756
  */
1757
1757
  const request = {
1758
1758
  'orderId': id,
@@ -1803,7 +1803,7 @@ export default class tokocrypto extends Exchange {
1803
1803
  * @param {int} [since] the earliest time in ms to fetch orders for
1804
1804
  * @param {int} [limit] the maximum number of orde structures to retrieve
1805
1805
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1806
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1806
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1807
1807
  */
1808
1808
  if (symbol === undefined) {
1809
1809
  throw new ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
@@ -1874,7 +1874,7 @@ export default class tokocrypto extends Exchange {
1874
1874
  * @param {int} [since] the earliest time in ms to fetch open orders for
1875
1875
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1876
1876
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1877
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1877
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1878
1878
  */
1879
1879
  const request = { 'type': 1 }; // -1 = all, 1 = open, 2 = closed
1880
1880
  return await this.fetchOrders(symbol, since, limit, this.extend(request, params));
@@ -1889,7 +1889,7 @@ export default class tokocrypto extends Exchange {
1889
1889
  * @param {int} [since] the earliest time in ms to fetch orders for
1890
1890
  * @param {int} [limit] the maximum number of orde structures to retrieve
1891
1891
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1892
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1892
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1893
1893
  */
1894
1894
  const request = { 'type': 2 }; // -1 = all, 1 = open, 2 = closed
1895
1895
  return await this.fetchOrders(symbol, since, limit, this.extend(request, params));
@@ -1903,7 +1903,7 @@ export default class tokocrypto extends Exchange {
1903
1903
  * @param {string} id order id
1904
1904
  * @param {string} symbol unified symbol of the market the order was made in
1905
1905
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1906
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1906
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1907
1907
  */
1908
1908
  const request = {
1909
1909
  'orderId': id,
@@ -1949,7 +1949,7 @@ export default class tokocrypto extends Exchange {
1949
1949
  * @param {int} [since] the earliest time in ms to fetch trades for
1950
1950
  * @param {int} [limit] the maximum number of trades structures to retrieve
1951
1951
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1952
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1952
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1953
1953
  */
1954
1954
  if (symbol === undefined) {
1955
1955
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -2008,7 +2008,7 @@ export default class tokocrypto extends Exchange {
2008
2008
  * @description fetch the deposit address for a currency associated with this account
2009
2009
  * @param {string} code unified currency code
2010
2010
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
2011
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2011
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
2012
2012
  */
2013
2013
  await this.loadMarkets();
2014
2014
  const currency = this.currency(code);
@@ -2067,7 +2067,7 @@ export default class tokocrypto extends Exchange {
2067
2067
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2068
2068
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
2069
2069
  * @param {int} [params.until] the latest time in ms to fetch deposits for
2070
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2070
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2071
2071
  */
2072
2072
  await this.loadMarkets();
2073
2073
  let currency = undefined;
@@ -2127,7 +2127,7 @@ export default class tokocrypto extends Exchange {
2127
2127
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2128
2128
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2129
2129
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
2130
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2130
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2131
2131
  */
2132
2132
  await this.loadMarkets();
2133
2133
  const request = {};
@@ -2320,7 +2320,7 @@ export default class tokocrypto extends Exchange {
2320
2320
  * @param {string} address the address to withdraw to
2321
2321
  * @param {string} tag
2322
2322
  * @param {object} [params] extra parameters specific to the bybit api endpoint
2323
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2323
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2324
2324
  */
2325
2325
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
2326
2326
  await this.loadMarkets();
package/js/src/upbit.js CHANGED
@@ -502,7 +502,7 @@ export default class upbit extends Exchange {
502
502
  * @see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
503
503
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
504
504
  * @param {object} [params] extra parameters specific to the upbit api endpoint
505
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
505
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
506
506
  */
507
507
  await this.loadMarkets();
508
508
  const response = await this.privateGetAccounts(params);
@@ -529,7 +529,7 @@ export default class upbit extends Exchange {
529
529
  * @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
530
530
  * @param {int} [limit] not used by upbit fetchOrderBooks ()
531
531
  * @param {object} [params] extra parameters specific to the upbit api endpoint
532
- * @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbol
532
+ * @returns {object} a dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbol
533
533
  */
534
534
  await this.loadMarkets();
535
535
  let ids = undefined;
@@ -603,7 +603,7 @@ export default class upbit extends Exchange {
603
603
  * @param {string} symbol unified symbol of the market to fetch the order book for
604
604
  * @param {int} [limit] the maximum amount of order book entries to return
605
605
  * @param {object} [params] extra parameters specific to the upbit api endpoint
606
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
606
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
607
607
  */
608
608
  const orderbooks = await this.fetchOrderBooks([symbol], limit, params);
609
609
  return this.safeValue(orderbooks, symbol);
@@ -672,7 +672,7 @@ export default class upbit extends Exchange {
672
672
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
673
673
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
674
674
  * @param {object} [params] extra parameters specific to the upbit api endpoint
675
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
675
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
676
676
  */
677
677
  await this.loadMarkets();
678
678
  symbols = this.marketSymbols(symbols);
@@ -737,7 +737,7 @@ export default class upbit extends Exchange {
737
737
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
738
738
  * @param {string} symbol unified symbol of the market to fetch the ticker for
739
739
  * @param {object} [params] extra parameters specific to the upbit api endpoint
740
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
740
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
741
741
  */
742
742
  const tickers = await this.fetchTickers([symbol], params);
743
743
  return this.safeValue(tickers, symbol);
@@ -824,7 +824,7 @@ export default class upbit extends Exchange {
824
824
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
825
825
  * @param {int} [limit] the maximum amount of trades to fetch
826
826
  * @param {object} [params] extra parameters specific to the upbit api endpoint
827
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
827
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
828
828
  */
829
829
  await this.loadMarkets();
830
830
  const market = this.market(symbol);
@@ -868,7 +868,7 @@ export default class upbit extends Exchange {
868
868
  * @description fetch the trading fees for a market
869
869
  * @param {string} symbol unified market symbol
870
870
  * @param {object} [params] extra parameters specific to the upbit api endpoint
871
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
871
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
872
872
  */
873
873
  await this.loadMarkets();
874
874
  const market = this.market(symbol);
@@ -1028,9 +1028,9 @@ export default class upbit extends Exchange {
1028
1028
  * @param {string} type 'market' or 'limit'
1029
1029
  * @param {string} side 'buy' or 'sell'
1030
1030
  * @param {float} amount how much of currency you want to trade in units of base currency
1031
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1031
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1032
1032
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1033
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1033
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1034
1034
  */
1035
1035
  if (type === 'market') {
1036
1036
  // for market buy it requires the amount of quote currency to spend
@@ -1113,7 +1113,7 @@ export default class upbit extends Exchange {
1113
1113
  * @param {string} id order id
1114
1114
  * @param {string} symbol not used by upbit cancelOrder ()
1115
1115
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1116
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1116
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1117
1117
  */
1118
1118
  await this.loadMarkets();
1119
1119
  const request = {
@@ -1151,7 +1151,7 @@ export default class upbit extends Exchange {
1151
1151
  * @param {int} [since] the earliest time in ms to fetch deposits for
1152
1152
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1153
1153
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1154
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1154
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1155
1155
  */
1156
1156
  await this.loadMarkets();
1157
1157
  const request = {
@@ -1195,7 +1195,7 @@ export default class upbit extends Exchange {
1195
1195
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1196
1196
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1197
1197
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1198
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1198
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1199
1199
  */
1200
1200
  await this.loadMarkets();
1201
1201
  const request = {
@@ -1498,7 +1498,7 @@ export default class upbit extends Exchange {
1498
1498
  * @param {int} [since] the earliest time in ms to fetch open orders for
1499
1499
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1500
1500
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1501
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1501
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1502
1502
  */
1503
1503
  return await this.fetchOrdersByState('wait', symbol, since, limit, params);
1504
1504
  }
@@ -1512,7 +1512,7 @@ export default class upbit extends Exchange {
1512
1512
  * @param {int} [since] the earliest time in ms to fetch orders for
1513
1513
  * @param {int} [limit] the maximum number of orde structures to retrieve
1514
1514
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1515
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1515
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1516
1516
  */
1517
1517
  return await this.fetchOrdersByState('done', symbol, since, limit, params);
1518
1518
  }
@@ -1526,7 +1526,7 @@ export default class upbit extends Exchange {
1526
1526
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
1527
1527
  * @param {int} [limit] max number of orders to return, default is undefined
1528
1528
  * @param {object} [params] extra parameters specific to the upbit 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
  return await this.fetchOrdersByState('cancel', symbol, since, limit, params);
1532
1532
  }
@@ -1538,7 +1538,7 @@ export default class upbit extends Exchange {
1538
1538
  * @description fetches information on an order made by the user
1539
1539
  * @param {string} symbol not used by upbit fetchOrder
1540
1540
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1541
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1541
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1542
1542
  */
1543
1543
  await this.loadMarkets();
1544
1544
  const request = {
@@ -1598,7 +1598,7 @@ export default class upbit extends Exchange {
1598
1598
  * @description fetch deposit addresses for multiple currencies and chain types
1599
1599
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
1600
1600
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1601
- * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
1601
+ * @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1602
1602
  */
1603
1603
  await this.loadMarkets();
1604
1604
  const response = await this.privateGetDepositsCoinAddresses(params);
@@ -1652,7 +1652,7 @@ export default class upbit extends Exchange {
1652
1652
  * @description fetch the deposit address for a currency associated with this account
1653
1653
  * @param {string} code unified currency code
1654
1654
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1655
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1655
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1656
1656
  */
1657
1657
  await this.loadMarkets();
1658
1658
  const currency = this.currency(code);
@@ -1676,7 +1676,7 @@ export default class upbit extends Exchange {
1676
1676
  * @description create a currency deposit address
1677
1677
  * @param {string} code unified currency code of the currency for the deposit address
1678
1678
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1679
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1679
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1680
1680
  */
1681
1681
  await this.loadMarkets();
1682
1682
  const currency = this.currency(code);
@@ -1717,7 +1717,7 @@ export default class upbit extends Exchange {
1717
1717
  * @param {string} address the address to withdraw to
1718
1718
  * @param {string} tag
1719
1719
  * @param {object} [params] extra parameters specific to the upbit api endpoint
1720
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1720
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1721
1721
  */
1722
1722
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1723
1723
  this.checkAddress(address);
@@ -594,7 +594,7 @@ export default class wavesexchange extends Exchange {
594
594
  * @param {string} symbol unified symbol of the market to fetch the order book for
595
595
  * @param {int} [limit] the maximum amount of order book entries to return
596
596
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
597
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
597
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
598
598
  */
599
599
  await this.loadMarkets();
600
600
  const market = this.market(symbol);
@@ -854,7 +854,7 @@ export default class wavesexchange extends Exchange {
854
854
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
855
855
  * @param {string} symbol unified symbol of the market to fetch the ticker for
856
856
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
857
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
857
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
858
858
  */
859
859
  await this.loadMarkets();
860
860
  const market = this.market(symbol);
@@ -897,7 +897,7 @@ export default class wavesexchange extends Exchange {
897
897
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
898
898
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
899
899
  * @param {object} [params] extra parameters specific to the aax api endpoint
900
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
900
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
901
901
  */
902
902
  await this.loadMarkets();
903
903
  const response = await this.marketGetTickers(params);
@@ -1059,7 +1059,7 @@ export default class wavesexchange extends Exchange {
1059
1059
  * @description fetch the deposit address for a currency associated with this account
1060
1060
  * @param {string} code unified currency code
1061
1061
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1062
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1062
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1063
1063
  */
1064
1064
  await this.signIn();
1065
1065
  const networks = this.safeValue(this.options, 'networks', {});
@@ -1289,10 +1289,10 @@ export default class wavesexchange extends Exchange {
1289
1289
  * @param {string} type 'market' or 'limit'
1290
1290
  * @param {string} side 'buy' or 'sell'
1291
1291
  * @param {float} amount how much of currency you want to trade in units of base currency
1292
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1292
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1293
1293
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1294
1294
  * @param {float} [params.stopPrice] The price at which a stop order is triggered at
1295
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1295
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1296
1296
  */
1297
1297
  this.checkRequiredDependencies();
1298
1298
  this.checkRequiredKeys();
@@ -1474,7 +1474,7 @@ export default class wavesexchange extends Exchange {
1474
1474
  * @param {string} id order id
1475
1475
  * @param {string} symbol unified symbol of the market the order was made in
1476
1476
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1477
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1477
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1478
1478
  */
1479
1479
  this.checkRequiredDependencies();
1480
1480
  this.checkRequiredKeys();
@@ -1521,7 +1521,7 @@ export default class wavesexchange extends Exchange {
1521
1521
  * @description fetches information on an order made by the user
1522
1522
  * @param {string} symbol unified symbol of the market the order was made in
1523
1523
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1524
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1524
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1525
1525
  */
1526
1526
  this.checkRequiredDependencies();
1527
1527
  this.checkRequiredKeys();
@@ -1556,7 +1556,7 @@ export default class wavesexchange extends Exchange {
1556
1556
  * @param {int} [since] the earliest time in ms to fetch orders for
1557
1557
  * @param {int} [limit] the maximum number of orde structures to retrieve
1558
1558
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1559
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1559
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1560
1560
  */
1561
1561
  this.checkRequiredDependencies();
1562
1562
  this.checkRequiredKeys();
@@ -1608,7 +1608,7 @@ export default class wavesexchange extends Exchange {
1608
1608
  * @param {int} [since] the earliest time in ms to fetch open orders for
1609
1609
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1610
1610
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1611
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1611
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1612
1612
  */
1613
1613
  await this.loadMarkets();
1614
1614
  await this.signIn();
@@ -1633,7 +1633,7 @@ export default class wavesexchange extends Exchange {
1633
1633
  * @param {int} [since] the earliest time in ms to fetch orders for
1634
1634
  * @param {int} [limit] the maximum number of orde structures to retrieve
1635
1635
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1636
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1636
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1637
1637
  */
1638
1638
  await this.loadMarkets();
1639
1639
  await this.signIn();
@@ -1836,7 +1836,7 @@ export default class wavesexchange extends Exchange {
1836
1836
  * @name wavesexchange#fetchBalance
1837
1837
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1838
1838
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1839
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1839
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1840
1840
  */
1841
1841
  // makes a lot of different requests to get all the data
1842
1842
  // in particular:
@@ -1990,7 +1990,7 @@ export default class wavesexchange extends Exchange {
1990
1990
  * @param {int} [since] the earliest time in ms to fetch trades for
1991
1991
  * @param {int} [limit] the maximum number of trades structures to retrieve
1992
1992
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1993
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1993
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1994
1994
  */
1995
1995
  await this.loadMarkets();
1996
1996
  const address = await this.getWavesAddress();
@@ -2082,7 +2082,7 @@ export default class wavesexchange extends Exchange {
2082
2082
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2083
2083
  * @param {int} [limit] the maximum amount of trades to fetch
2084
2084
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
2085
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2085
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2086
2086
  */
2087
2087
  await this.loadMarkets();
2088
2088
  const market = this.market(symbol);
@@ -2338,7 +2338,7 @@ export default class wavesexchange extends Exchange {
2338
2338
  * @see https://docs.wx.network/en/api/gateways/withdraw/currencies
2339
2339
  * @param {string[]|undefined} codes list of unified currency codes
2340
2340
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
2341
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
2341
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2342
2342
  */
2343
2343
  await this.loadMarkets();
2344
2344
  let data = [];
@@ -2435,7 +2435,7 @@ export default class wavesexchange extends Exchange {
2435
2435
  * @param {string} address the address to withdraw to
2436
2436
  * @param {string} tag
2437
2437
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
2438
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2438
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2439
2439
  */
2440
2440
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
2441
2441
  // currently only works for BTC and WAVES