ccxt 4.0.74 → 4.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2047 -1932
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +9 -9
  6. package/dist/cjs/src/alpaca.js +6 -6
  7. package/dist/cjs/src/ascendex.js +22 -22
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +17 -17
  10. package/dist/cjs/src/binance.js +51 -51
  11. package/dist/cjs/src/bingx.js +21 -21
  12. package/dist/cjs/src/bit2c.js +10 -10
  13. package/dist/cjs/src/bitbank.js +11 -11
  14. package/dist/cjs/src/bitbns.js +12 -12
  15. package/dist/cjs/src/bitfinex.js +19 -19
  16. package/dist/cjs/src/bitfinex2.js +25 -25
  17. package/dist/cjs/src/bitflyer.js +15 -15
  18. package/dist/cjs/src/bitforex.js +9 -9
  19. package/dist/cjs/src/bitget.js +34 -34
  20. package/dist/cjs/src/bithumb.js +9 -9
  21. package/dist/cjs/src/bitmart.js +42 -29
  22. package/dist/cjs/src/bitmex.js +19 -19
  23. package/dist/cjs/src/bitopro.js +18 -18
  24. package/dist/cjs/src/bitpanda.js +19 -19
  25. package/dist/cjs/src/bitrue.js +15 -15
  26. package/dist/cjs/src/bitso.js +19 -19
  27. package/dist/cjs/src/bitstamp.js +19 -19
  28. package/dist/cjs/src/bitstamp1.js +6 -6
  29. package/dist/cjs/src/bittrex.js +24 -24
  30. package/dist/cjs/src/bitvavo.js +16 -16
  31. package/dist/cjs/src/bkex.js +17 -17
  32. package/dist/cjs/src/bl3p.js +6 -6
  33. package/dist/cjs/src/blockchaincom.js +20 -20
  34. package/dist/cjs/src/btcalpha.js +13 -13
  35. package/dist/cjs/src/btcbox.js +8 -8
  36. package/dist/cjs/src/btcmarkets.js +15 -15
  37. package/dist/cjs/src/btctradeua.js +6 -6
  38. package/dist/cjs/src/btcturk.js +9 -9
  39. package/dist/cjs/src/bybit.js +148 -116
  40. package/dist/cjs/src/cex.js +12 -12
  41. package/dist/cjs/src/coinbase.js +20 -20
  42. package/dist/cjs/src/coinbasepro.js +22 -22
  43. package/dist/cjs/src/coincheck.js +10 -10
  44. package/dist/cjs/src/coinex.js +81 -35
  45. package/dist/cjs/src/coinfalcon.js +14 -14
  46. package/dist/cjs/src/coinmate.js +12 -12
  47. package/dist/cjs/src/coinone.js +10 -10
  48. package/dist/cjs/src/coinsph.js +20 -20
  49. package/dist/cjs/src/coinspot.js +6 -6
  50. package/dist/cjs/src/cryptocom.js +24 -24
  51. package/dist/cjs/src/currencycom.js +18 -18
  52. package/dist/cjs/src/delta.js +23 -23
  53. package/dist/cjs/src/deribit.js +27 -27
  54. package/dist/cjs/src/digifinex.js +27 -27
  55. package/dist/cjs/src/exmo.js +24 -24
  56. package/dist/cjs/src/gate.js +34 -34
  57. package/dist/cjs/src/gemini.js +14 -14
  58. package/dist/cjs/src/hitbtc.js +30 -30
  59. package/dist/cjs/src/hollaex.js +20 -20
  60. package/dist/cjs/src/huobi.js +40 -40
  61. package/dist/cjs/src/huobijp.js +18 -18
  62. package/dist/cjs/src/idex.js +17 -17
  63. package/dist/cjs/src/independentreserve.js +10 -10
  64. package/dist/cjs/src/indodax.js +12 -12
  65. package/dist/cjs/src/kraken.js +25 -25
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +29 -29
  68. package/dist/cjs/src/kucoinfutures.js +19 -19
  69. package/dist/cjs/src/kuna.js +10 -10
  70. package/dist/cjs/src/latoken.js +15 -15
  71. package/dist/cjs/src/lbank.js +10 -10
  72. package/dist/cjs/src/lbank2.js +21 -21
  73. package/dist/cjs/src/luno.js +14 -14
  74. package/dist/cjs/src/lykke.js +14 -14
  75. package/dist/cjs/src/mercado.js +10 -10
  76. package/dist/cjs/src/mexc.js +38 -38
  77. package/dist/cjs/src/ndax.js +18 -18
  78. package/dist/cjs/src/novadax.js +18 -18
  79. package/dist/cjs/src/oceanex.js +14 -14
  80. package/dist/cjs/src/okcoin.js +19 -19
  81. package/dist/cjs/src/okx.js +48 -48
  82. package/dist/cjs/src/paymium.js +9 -9
  83. package/dist/cjs/src/phemex.js +24 -24
  84. package/dist/cjs/src/poloniex.js +77 -60
  85. package/dist/cjs/src/poloniexfutures.js +16 -16
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +2 -2
  88. package/dist/cjs/src/pro/binance.js +10 -10
  89. package/dist/cjs/src/pro/bitfinex.js +3 -3
  90. package/dist/cjs/src/pro/bitfinex2.js +4 -4
  91. package/dist/cjs/src/pro/bitget.js +4 -4
  92. package/dist/cjs/src/pro/bitmart.js +3 -3
  93. package/dist/cjs/src/pro/bitmex.js +4 -4
  94. package/dist/cjs/src/pro/bitopro.js +2 -2
  95. package/dist/cjs/src/pro/bitrue.js +1 -1
  96. package/dist/cjs/src/pro/bitstamp.js +2 -2
  97. package/dist/cjs/src/pro/bittrex.js +4 -4
  98. package/dist/cjs/src/pro/bitvavo.js +4 -4
  99. package/dist/cjs/src/pro/bybit.js +5 -5
  100. package/dist/cjs/src/pro/cex.js +3 -3
  101. package/dist/cjs/src/pro/coinbasepro.js +5 -5
  102. package/dist/cjs/src/pro/coinex.js +3 -3
  103. package/dist/cjs/src/pro/cryptocom.js +7 -7
  104. package/dist/cjs/src/pro/currencycom.js +2 -2
  105. package/dist/cjs/src/pro/deribit.js +3 -3
  106. package/dist/cjs/src/pro/exmo.js +2 -2
  107. package/dist/cjs/src/pro/gate.js +5 -5
  108. package/dist/cjs/src/pro/gemini.js +2 -2
  109. package/dist/cjs/src/pro/hitbtc.js +2 -2
  110. package/dist/cjs/src/pro/hollaex.js +3 -3
  111. package/dist/cjs/src/pro/huobi.js +4 -4
  112. package/dist/cjs/src/pro/huobijp.js +2 -2
  113. package/dist/cjs/src/pro/idex.js +3 -3
  114. package/dist/cjs/src/pro/independentreserve.js +1 -1
  115. package/dist/cjs/src/pro/kraken.js +6 -6
  116. package/dist/cjs/src/pro/krakenfutures.js +2 -2
  117. package/dist/cjs/src/pro/kucoin.js +4 -4
  118. package/dist/cjs/src/pro/kucoinfutures.js +3 -3
  119. package/dist/cjs/src/pro/luno.js +1 -1
  120. package/dist/cjs/src/pro/ndax.js +2 -2
  121. package/dist/cjs/src/pro/okcoin.js +3 -3
  122. package/dist/cjs/src/pro/okx.js +12 -11
  123. package/dist/cjs/src/pro/phemex.js +4 -4
  124. package/dist/cjs/src/pro/poloniex.js +1 -1
  125. package/dist/cjs/src/pro/upbit.js +2 -2
  126. package/dist/cjs/src/pro/wazirx.js +3 -3
  127. package/dist/cjs/src/pro/whitebit.js +4 -4
  128. package/dist/cjs/src/probit.js +17 -17
  129. package/dist/cjs/src/tidex.js +11 -11
  130. package/dist/cjs/src/timex.js +14 -14
  131. package/dist/cjs/src/tokocrypto.js +16 -16
  132. package/dist/cjs/src/upbit.js +18 -18
  133. package/dist/cjs/src/wavesexchange.js +13 -13
  134. package/dist/cjs/src/wazirx.js +10 -10
  135. package/dist/cjs/src/whitebit.js +21 -21
  136. package/dist/cjs/src/woo.js +28 -22
  137. package/dist/cjs/src/yobit.js +14 -14
  138. package/dist/cjs/src/zaif.js +8 -8
  139. package/dist/cjs/src/zonda.js +13 -13
  140. package/js/ccxt.d.ts +1 -1
  141. package/js/ccxt.js +1 -1
  142. package/js/src/abstract/bitmart.d.ts +13 -0
  143. package/js/src/abstract/bybit.d.ts +33 -21
  144. package/js/src/abstract/woo.d.ts +6 -0
  145. package/js/src/ace.js +9 -9
  146. package/js/src/alpaca.js +6 -6
  147. package/js/src/ascendex.js +22 -22
  148. package/js/src/base/Exchange.js +2 -2
  149. package/js/src/bigone.js +17 -17
  150. package/js/src/binance.js +51 -51
  151. package/js/src/bingx.js +21 -21
  152. package/js/src/bit2c.js +10 -10
  153. package/js/src/bitbank.js +11 -11
  154. package/js/src/bitbns.js +12 -12
  155. package/js/src/bitfinex.js +19 -19
  156. package/js/src/bitfinex2.js +25 -25
  157. package/js/src/bitflyer.js +15 -15
  158. package/js/src/bitforex.js +9 -9
  159. package/js/src/bitget.js +34 -34
  160. package/js/src/bithumb.js +9 -9
  161. package/js/src/bitmart.js +42 -29
  162. package/js/src/bitmex.js +19 -19
  163. package/js/src/bitopro.js +18 -18
  164. package/js/src/bitpanda.js +19 -19
  165. package/js/src/bitrue.js +15 -15
  166. package/js/src/bitso.js +19 -19
  167. package/js/src/bitstamp.js +19 -19
  168. package/js/src/bitstamp1.js +6 -6
  169. package/js/src/bittrex.js +24 -24
  170. package/js/src/bitvavo.js +16 -16
  171. package/js/src/bkex.js +17 -17
  172. package/js/src/bl3p.js +6 -6
  173. package/js/src/blockchaincom.js +20 -20
  174. package/js/src/btcalpha.js +13 -13
  175. package/js/src/btcbox.js +8 -8
  176. package/js/src/btcmarkets.js +15 -15
  177. package/js/src/btctradeua.js +6 -6
  178. package/js/src/btcturk.js +9 -9
  179. package/js/src/bybit.js +148 -116
  180. package/js/src/cex.js +12 -12
  181. package/js/src/coinbase.js +20 -20
  182. package/js/src/coinbasepro.js +22 -22
  183. package/js/src/coincheck.js +10 -10
  184. package/js/src/coinex.d.ts +1 -0
  185. package/js/src/coinex.js +81 -35
  186. package/js/src/coinfalcon.js +14 -14
  187. package/js/src/coinmate.js +12 -12
  188. package/js/src/coinone.js +10 -10
  189. package/js/src/coinsph.js +20 -20
  190. package/js/src/coinspot.js +6 -6
  191. package/js/src/cryptocom.js +24 -24
  192. package/js/src/currencycom.js +18 -18
  193. package/js/src/delta.js +23 -23
  194. package/js/src/deribit.js +27 -27
  195. package/js/src/digifinex.js +27 -27
  196. package/js/src/exmo.js +24 -24
  197. package/js/src/gate.js +34 -34
  198. package/js/src/gemini.js +14 -14
  199. package/js/src/hitbtc.js +30 -30
  200. package/js/src/hollaex.js +20 -20
  201. package/js/src/huobi.js +40 -40
  202. package/js/src/huobijp.js +18 -18
  203. package/js/src/idex.js +17 -17
  204. package/js/src/independentreserve.js +10 -10
  205. package/js/src/indodax.js +12 -12
  206. package/js/src/kraken.js +25 -25
  207. package/js/src/krakenfutures.js +12 -12
  208. package/js/src/kucoin.js +29 -29
  209. package/js/src/kucoinfutures.js +19 -19
  210. package/js/src/kuna.js +10 -10
  211. package/js/src/latoken.js +15 -15
  212. package/js/src/lbank.js +10 -10
  213. package/js/src/lbank2.js +21 -21
  214. package/js/src/luno.js +14 -14
  215. package/js/src/lykke.js +14 -14
  216. package/js/src/mercado.js +10 -10
  217. package/js/src/mexc.js +38 -38
  218. package/js/src/ndax.js +18 -18
  219. package/js/src/novadax.js +18 -18
  220. package/js/src/oceanex.js +14 -14
  221. package/js/src/okcoin.js +19 -19
  222. package/js/src/okx.js +48 -48
  223. package/js/src/paymium.js +9 -9
  224. package/js/src/phemex.js +24 -24
  225. package/js/src/poloniex.js +77 -60
  226. package/js/src/poloniexfutures.js +16 -16
  227. package/js/src/pro/alpaca.js +5 -5
  228. package/js/src/pro/ascendex.js +2 -2
  229. package/js/src/pro/binance.js +10 -10
  230. package/js/src/pro/bitfinex.js +3 -3
  231. package/js/src/pro/bitfinex2.js +4 -4
  232. package/js/src/pro/bitget.js +4 -4
  233. package/js/src/pro/bitmart.js +3 -3
  234. package/js/src/pro/bitmex.js +4 -4
  235. package/js/src/pro/bitopro.js +2 -2
  236. package/js/src/pro/bitrue.js +1 -1
  237. package/js/src/pro/bitstamp.js +2 -2
  238. package/js/src/pro/bittrex.js +4 -4
  239. package/js/src/pro/bitvavo.js +4 -4
  240. package/js/src/pro/bybit.js +5 -5
  241. package/js/src/pro/cex.js +3 -3
  242. package/js/src/pro/coinbasepro.js +5 -5
  243. package/js/src/pro/coinex.js +3 -3
  244. package/js/src/pro/cryptocom.js +7 -7
  245. package/js/src/pro/currencycom.js +2 -2
  246. package/js/src/pro/deribit.js +3 -3
  247. package/js/src/pro/exmo.js +2 -2
  248. package/js/src/pro/gate.js +5 -5
  249. package/js/src/pro/gemini.js +2 -2
  250. package/js/src/pro/hitbtc.js +2 -2
  251. package/js/src/pro/hollaex.js +3 -3
  252. package/js/src/pro/huobi.js +4 -4
  253. package/js/src/pro/huobijp.js +2 -2
  254. package/js/src/pro/idex.js +3 -3
  255. package/js/src/pro/independentreserve.js +1 -1
  256. package/js/src/pro/kraken.js +6 -6
  257. package/js/src/pro/krakenfutures.js +2 -2
  258. package/js/src/pro/kucoin.js +4 -4
  259. package/js/src/pro/kucoinfutures.js +3 -3
  260. package/js/src/pro/luno.js +1 -1
  261. package/js/src/pro/ndax.js +2 -2
  262. package/js/src/pro/okcoin.js +3 -3
  263. package/js/src/pro/okx.d.ts +1 -1
  264. package/js/src/pro/okx.js +12 -11
  265. package/js/src/pro/phemex.js +4 -4
  266. package/js/src/pro/poloniex.js +1 -1
  267. package/js/src/pro/upbit.js +2 -2
  268. package/js/src/pro/wazirx.js +3 -3
  269. package/js/src/pro/whitebit.js +4 -4
  270. package/js/src/probit.js +17 -17
  271. package/js/src/tidex.js +11 -11
  272. package/js/src/timex.js +14 -14
  273. package/js/src/tokocrypto.js +16 -16
  274. package/js/src/upbit.js +18 -18
  275. package/js/src/wavesexchange.js +13 -13
  276. package/js/src/wazirx.js +10 -10
  277. package/js/src/whitebit.js +21 -21
  278. package/js/src/woo.js +28 -22
  279. package/js/src/yobit.js +14 -14
  280. package/js/src/zaif.js +8 -8
  281. package/js/src/zonda.js +13 -13
  282. package/package.json +1 -1
package/js/src/coinone.js CHANGED
@@ -276,7 +276,7 @@ export default class coinone extends Exchange {
276
276
  * @param {string} symbol unified symbol of the market to fetch the order book for
277
277
  * @param {int} [limit] the maximum amount of order book entries to return
278
278
  * @param {object} [params] extra parameters specific to the coinone api endpoint
279
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
279
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
280
280
  */
281
281
  await this.loadMarkets();
282
282
  const market = this.market(symbol);
@@ -295,7 +295,7 @@ export default class coinone extends Exchange {
295
295
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
296
296
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
297
297
  * @param {object} [params] extra parameters specific to the coinone api endpoint
298
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
298
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
299
299
  */
300
300
  await this.loadMarkets();
301
301
  symbols = this.marketSymbols(symbols);
@@ -324,7 +324,7 @@ export default class coinone extends Exchange {
324
324
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
325
325
  * @param {string} symbol unified symbol of the market to fetch the ticker for
326
326
  * @param {object} [params] extra parameters specific to the coinone api endpoint
327
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
327
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
328
328
  */
329
329
  await this.loadMarkets();
330
330
  const market = this.market(symbol);
@@ -502,9 +502,9 @@ export default class coinone extends Exchange {
502
502
  * @param {string} type must be 'limit'
503
503
  * @param {string} side 'buy' or 'sell'
504
504
  * @param {float} amount how much of currency you want to trade in units of base currency
505
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
505
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
506
506
  * @param {object} [params] extra parameters specific to the coinone api endpoint
507
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
507
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
508
508
  */
509
509
  if (type !== 'limit') {
510
510
  throw new ExchangeError(this.id + ' createOrder() allows limit orders only');
@@ -534,7 +534,7 @@ export default class coinone extends Exchange {
534
534
  * @description fetches information on an order made by the user
535
535
  * @param {string} symbol unified symbol of the market the order was made in
536
536
  * @param {object} [params] extra parameters specific to the coinone api endpoint
537
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
537
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
538
538
  */
539
539
  if (symbol === undefined) {
540
540
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -695,7 +695,7 @@ export default class coinone extends Exchange {
695
695
  * @param {int} [since] the earliest time in ms to fetch open orders for
696
696
  * @param {int} [limit] the maximum number of open orders structures to retrieve
697
697
  * @param {object} [params] extra parameters specific to the coinone api endpoint
698
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
698
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
699
699
  */
700
700
  // The returned amount might not be same as the ordered amount. If an order is partially filled, the returned amount means the remaining amount.
701
701
  // For the same reason, the returned amount and remaining are always same, and the returned filled and cost are always zero.
@@ -737,7 +737,7 @@ export default class coinone extends Exchange {
737
737
  * @param {int} [since] the earliest time in ms to fetch trades for
738
738
  * @param {int} [limit] the maximum number of trades structures to retrieve
739
739
  * @param {object} [params] extra parameters specific to the coinone api endpoint
740
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
740
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
741
741
  */
742
742
  if (symbol === undefined) {
743
743
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -779,7 +779,7 @@ export default class coinone extends Exchange {
779
779
  * @param {string} id order id
780
780
  * @param {string} symbol unified symbol of the market the order was made in
781
781
  * @param {object} [params] extra parameters specific to the coinone api endpoint
782
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
782
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
783
783
  */
784
784
  if (symbol === undefined) {
785
785
  // eslint-disable-next-line quotes
@@ -816,7 +816,7 @@ export default class coinone extends Exchange {
816
816
  * @description fetch deposit addresses for multiple currencies and chain types
817
817
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
818
818
  * @param {object} [params] extra parameters specific to the coinone api endpoint
819
- * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
819
+ * @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
820
820
  */
821
821
  await this.loadMarkets();
822
822
  const response = await this.privatePostAccountDepositAddress(params);
package/js/src/coinsph.js CHANGED
@@ -436,7 +436,7 @@ export default class coinsph extends Exchange {
436
436
  * @name coinsph#fetchStatus
437
437
  * @description the latest known information on the availability of the exchange API
438
438
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
439
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
439
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
440
440
  */
441
441
  const response = await this.publicGetOpenapiV1Ping(params);
442
442
  return {
@@ -604,7 +604,7 @@ export default class coinsph extends Exchange {
604
604
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
605
605
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
606
606
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
607
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
607
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
608
608
  */
609
609
  await this.loadMarkets();
610
610
  const request = {};
@@ -630,7 +630,7 @@ export default class coinsph extends Exchange {
630
630
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
631
631
  * @param {string} symbol unified symbol of the market to fetch the ticker for
632
632
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
633
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
633
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
634
634
  */
635
635
  await this.loadMarkets();
636
636
  const market = this.market(symbol);
@@ -729,7 +729,7 @@ export default class coinsph extends Exchange {
729
729
  * @param {string} symbol unified symbol of the market to fetch the order book for
730
730
  * @param {int} [limit] the maximum amount of order book entries to return (default 100, max 200)
731
731
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
732
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
732
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
733
733
  */
734
734
  await this.loadMarkets();
735
735
  const market = this.market(symbol);
@@ -873,7 +873,7 @@ export default class coinsph extends Exchange {
873
873
  * @param {int} [since] the earliest time in ms to fetch trades for
874
874
  * @param {int} [limit] the maximum number of trades structures to retrieve (default 500, max 1000)
875
875
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
876
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
876
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
877
877
  */
878
878
  if (symbol === undefined) {
879
879
  throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
@@ -904,7 +904,7 @@ export default class coinsph extends Exchange {
904
904
  * @param {int} [since] the earliest time in ms to fetch trades for
905
905
  * @param {int} [limit] the maximum number of trades to retrieve
906
906
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
907
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
907
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
908
908
  */
909
909
  if (symbol === undefined) {
910
910
  throw new ArgumentsRequired(this.id + ' fetchOrderTrades() requires a symbol argument');
@@ -1061,9 +1061,9 @@ export default class coinsph extends Exchange {
1061
1061
  * @param {string} type 'market', 'limit', 'stop_loss', 'take_profit', 'stop_loss_limit', 'take_profit_limit' or 'limit_maker'
1062
1062
  * @param {string} side 'buy' or 'sell'
1063
1063
  * @param {float} amount how much of currency you want to trade in units of base currency
1064
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1064
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1065
1065
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1066
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1066
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1067
1067
  */
1068
1068
  // todo: add test order low priority
1069
1069
  await this.loadMarkets();
@@ -1165,7 +1165,7 @@ export default class coinsph extends Exchange {
1165
1165
  * @param {int|string} id order id
1166
1166
  * @param {string} symbol not used by coinsph fetchOrder ()
1167
1167
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1168
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1168
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1169
1169
  */
1170
1170
  await this.loadMarkets();
1171
1171
  const request = {};
@@ -1189,7 +1189,7 @@ export default class coinsph extends Exchange {
1189
1189
  * @param {int} [since] the earliest time in ms to fetch open orders for
1190
1190
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1191
1191
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1192
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1192
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1193
1193
  */
1194
1194
  await this.loadMarkets();
1195
1195
  let market = undefined;
@@ -1210,7 +1210,7 @@ export default class coinsph extends Exchange {
1210
1210
  * @param {int} [since] the earliest time in ms to fetch orders for
1211
1211
  * @param {int} [limit] the maximum number of orde structures to retrieve (default 500, max 1000)
1212
1212
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1213
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1213
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1214
1214
  */
1215
1215
  if (symbol === undefined) {
1216
1216
  throw new ArgumentsRequired(this.id + ' fetchClosedOrders() requires a symbol argument');
@@ -1239,7 +1239,7 @@ export default class coinsph extends Exchange {
1239
1239
  * @param {string} id order id
1240
1240
  * @param {string} symbol not used by coinsph cancelOrder ()
1241
1241
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1242
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1242
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1243
1243
  */
1244
1244
  await this.loadMarkets();
1245
1245
  const request = {};
@@ -1261,7 +1261,7 @@ export default class coinsph extends Exchange {
1261
1261
  * @description cancel open orders of market
1262
1262
  * @param {string} symbol unified market symbol
1263
1263
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1264
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1264
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1265
1265
  */
1266
1266
  if (symbol === undefined) {
1267
1267
  throw new ArgumentsRequired(this.id + ' cancelAllOrders() requires a symbol argument');
@@ -1443,7 +1443,7 @@ export default class coinsph extends Exchange {
1443
1443
  * @description fetch the trading fees for a market
1444
1444
  * @param {string} symbol unified market symbol
1445
1445
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1446
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
1446
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1447
1447
  */
1448
1448
  await this.loadMarkets();
1449
1449
  const market = this.market(symbol);
@@ -1469,7 +1469,7 @@ export default class coinsph extends Exchange {
1469
1469
  * @name coinsph#fetchTradingFees
1470
1470
  * @description fetch the trading fees for multiple markets
1471
1471
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1472
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1472
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
1473
1473
  */
1474
1474
  await this.loadMarkets();
1475
1475
  const response = await this.privateGetOpenapiV1AssetTradeFee(params);
@@ -1524,7 +1524,7 @@ export default class coinsph extends Exchange {
1524
1524
  * @param {string} address not used by coinsph withdraw ()
1525
1525
  * @param {string} tag
1526
1526
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1527
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1527
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1528
1528
  */
1529
1529
  const options = this.safeValue(this.options, 'withdraw');
1530
1530
  const warning = this.safeValue(options, 'warning', true);
@@ -1561,7 +1561,7 @@ export default class coinsph extends Exchange {
1561
1561
  * @param {string} address not used by coinsph deposit ()
1562
1562
  * @param {string} tag
1563
1563
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1564
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1564
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1565
1565
  */
1566
1566
  const options = this.safeValue(this.options, 'deposit');
1567
1567
  const warning = this.safeValue(options, 'warning', true);
@@ -1590,7 +1590,7 @@ export default class coinsph extends Exchange {
1590
1590
  * @param {int} [since] the earliest time in ms to fetch deposits for
1591
1591
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1592
1592
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1593
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1593
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1594
1594
  */
1595
1595
  // todo: returns an empty array - find out why
1596
1596
  await this.loadMarkets();
@@ -1647,7 +1647,7 @@ export default class coinsph extends Exchange {
1647
1647
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1648
1648
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1649
1649
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
1650
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1650
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1651
1651
  */
1652
1652
  // todo: returns an empty array - find out why
1653
1653
  await this.loadMarkets();
@@ -1812,7 +1812,7 @@ export default class coinsph extends Exchange {
1812
1812
  * @param {string} code unified currency code
1813
1813
  * @param {object} [params] extra parameters specific to the bitget api endpoint
1814
1814
  * @param {string} [params.network] network for fetch deposit address
1815
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1815
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1816
1816
  */
1817
1817
  const networkCode = this.safeString(params, 'network');
1818
1818
  const networkId = this.networkCodeToId(networkCode, code);
@@ -205,7 +205,7 @@ export default class coinspot extends Exchange {
205
205
  * @param {string} symbol unified symbol of the market to fetch the order book for
206
206
  * @param {int} [limit] the maximum amount of order book entries to return
207
207
  * @param {object} [params] extra parameters specific to the coinspot api endpoint
208
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
208
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
209
209
  */
210
210
  await this.loadMarkets();
211
211
  const market = this.market(symbol);
@@ -257,7 +257,7 @@ export default class coinspot extends Exchange {
257
257
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
258
258
  * @param {string} symbol unified symbol of the market to fetch the ticker for
259
259
  * @param {object} [params] extra parameters specific to the coinspot api endpoint
260
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
260
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
261
261
  */
262
262
  await this.loadMarkets();
263
263
  const market = this.market(symbol);
@@ -288,7 +288,7 @@ export default class coinspot extends Exchange {
288
288
  * @see https://www.coinspot.com.au/api#latestprices
289
289
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
290
290
  * @param {object} [params] extra parameters specific to the coinspot api endpoint
291
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
291
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
292
292
  */
293
293
  await this.loadMarkets();
294
294
  const response = await this.publicGetLatest(params);
@@ -396,9 +396,9 @@ export default class coinspot extends Exchange {
396
396
  * @param {string} type must be 'limit'
397
397
  * @param {string} side 'buy' or 'sell'
398
398
  * @param {float} amount how much of currency you want to trade in units of base currency
399
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
399
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
400
400
  * @param {object} [params] extra parameters specific to the coinspot api endpoint
401
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
401
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
402
402
  */
403
403
  await this.loadMarkets();
404
404
  const method = 'privatePostMy' + this.capitalize(side);
@@ -421,7 +421,7 @@ export default class coinspot extends Exchange {
421
421
  * @param {string} id order id
422
422
  * @param {string} symbol not used by coinspot cancelOrder ()
423
423
  * @param {object} [params] extra parameters specific to the coinspot api endpoint
424
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
424
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
425
425
  */
426
426
  const side = this.safeString(params, 'side');
427
427
  if (side !== 'buy' && side !== 'sell') {
@@ -579,7 +579,7 @@ export default class cryptocom extends Exchange {
579
579
  * @see https://exchange-docs.crypto.com/derivatives/index.html#public-get-tickers
580
580
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
581
581
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
582
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
582
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
583
583
  */
584
584
  await this.loadMarkets();
585
585
  let market = undefined;
@@ -636,7 +636,7 @@ export default class cryptocom extends Exchange {
636
636
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
637
637
  * @param {string} symbol unified symbol of the market to fetch the ticker for
638
638
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
639
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
639
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
640
640
  */
641
641
  await this.loadMarkets();
642
642
  symbol = this.symbol(symbol);
@@ -654,7 +654,7 @@ export default class cryptocom extends Exchange {
654
654
  * @param {int} [limit] the maximum number of order structures to retrieve, default 100 max 100
655
655
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
656
656
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
657
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
657
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
658
658
  */
659
659
  await this.loadMarkets();
660
660
  let market = undefined;
@@ -837,7 +837,7 @@ export default class cryptocom extends Exchange {
837
837
  * @param {string} symbol unified symbol of the market to fetch the order book for
838
838
  * @param {int} [limit] the number of order book entries to return, max 50
839
839
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
840
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
840
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
841
841
  */
842
842
  await this.loadMarkets();
843
843
  const market = this.market(symbol);
@@ -952,7 +952,7 @@ export default class cryptocom extends Exchange {
952
952
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-order-detail
953
953
  * @param {string} symbol unified symbol of the market the order was made in
954
954
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
955
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
955
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
956
956
  */
957
957
  await this.loadMarkets();
958
958
  let market = undefined;
@@ -1122,14 +1122,14 @@ export default class cryptocom extends Exchange {
1122
1122
  * @param {string} type 'market', 'limit', 'stop_loss', 'stop_limit', 'take_profit', 'take_profit_limit'
1123
1123
  * @param {string} side 'buy' or 'sell'
1124
1124
  * @param {float} amount how much you want to trade in units of base currency
1125
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1125
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1126
1126
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1127
1127
  * @param {string} [params.timeInForce] 'GTC', 'IOC', 'FOK' or 'PO'
1128
1128
  * @param {string} [params.ref_price_type] 'MARK_PRICE', 'INDEX_PRICE', 'LAST_PRICE' which trigger price type to use, default is MARK_PRICE
1129
1129
  * @param {float} [params.stopPrice] price to trigger a stop order
1130
1130
  * @param {float} [params.stopLossPrice] price to trigger a stop-loss trigger order
1131
1131
  * @param {float} [params.takeProfitPrice] price to trigger a take-profit trigger order
1132
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1132
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1133
1133
  */
1134
1134
  await this.loadMarkets();
1135
1135
  const market = this.market(symbol);
@@ -1157,7 +1157,7 @@ export default class cryptocom extends Exchange {
1157
1157
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
1158
1158
  * @param {string} symbol unified market symbol of the orders to cancel
1159
1159
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1160
- * @returns {object} Returns exchange raw message{@link https://docs.ccxt.com/#/?id=order-structure}
1160
+ * @returns {object} Returns exchange raw message{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1161
1161
  */
1162
1162
  await this.loadMarkets();
1163
1163
  let market = undefined;
@@ -1177,7 +1177,7 @@ export default class cryptocom extends Exchange {
1177
1177
  * @param {string} id the order id of the order to cancel
1178
1178
  * @param {string} [symbol] unified symbol of the market the order was made in
1179
1179
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1180
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1180
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1181
1181
  */
1182
1182
  await this.loadMarkets();
1183
1183
  let market = undefined;
@@ -1213,7 +1213,7 @@ export default class cryptocom extends Exchange {
1213
1213
  * @param {int} [since] the earliest time in ms to fetch open orders for
1214
1214
  * @param {int} [limit] the maximum number of open order structures to retrieve
1215
1215
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1216
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1216
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1217
1217
  */
1218
1218
  await this.loadMarkets();
1219
1219
  let market = undefined;
@@ -1275,7 +1275,7 @@ export default class cryptocom extends Exchange {
1275
1275
  * @param {int} [limit] the maximum number of trade structures to retrieve
1276
1276
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1277
1277
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
1278
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1278
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1279
1279
  */
1280
1280
  await this.loadMarkets();
1281
1281
  const request = {};
@@ -1354,7 +1354,7 @@ export default class cryptocom extends Exchange {
1354
1354
  * @param {string} address the address to withdraw to
1355
1355
  * @param {string} tag
1356
1356
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1357
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1357
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1358
1358
  */
1359
1359
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1360
1360
  await this.loadMarkets();
@@ -1401,7 +1401,7 @@ export default class cryptocom extends Exchange {
1401
1401
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-deposit-address
1402
1402
  * @param {string} code unified currency code of the currency for the deposit address
1403
1403
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1404
- * @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure} indexed by the network
1404
+ * @returns {object} a dictionary of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure} indexed by the network
1405
1405
  */
1406
1406
  await this.loadMarkets();
1407
1407
  const currency = this.currency(code);
@@ -1461,7 +1461,7 @@ export default class cryptocom extends Exchange {
1461
1461
  * @description fetch the deposit address for a currency associated with this account
1462
1462
  * @param {string} code unified currency code
1463
1463
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1464
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1464
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1465
1465
  */
1466
1466
  const network = this.safeStringUpper(params, 'network');
1467
1467
  params = this.omit(params, ['network']);
@@ -1497,7 +1497,7 @@ export default class cryptocom extends Exchange {
1497
1497
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1498
1498
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1499
1499
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
1500
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1500
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1501
1501
  */
1502
1502
  await this.loadMarkets();
1503
1503
  let currency = undefined;
@@ -1556,7 +1556,7 @@ export default class cryptocom extends Exchange {
1556
1556
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1557
1557
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1558
1558
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
1559
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1559
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1560
1560
  */
1561
1561
  await this.loadMarkets();
1562
1562
  let currency = undefined;
@@ -1616,7 +1616,7 @@ export default class cryptocom extends Exchange {
1616
1616
  * @param {string} fromAccount account to transfer from
1617
1617
  * @param {string} toAccount account to transfer to
1618
1618
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1619
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1619
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1620
1620
  */
1621
1621
  await this.loadMarkets();
1622
1622
  const currency = this.currency(code);
@@ -1654,7 +1654,7 @@ export default class cryptocom extends Exchange {
1654
1654
  * @param {int} [since] the earliest time in ms to fetch transfers for
1655
1655
  * @param {int} [limit] the maximum number of transfers structures to retrieve
1656
1656
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1657
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
1657
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
1658
1658
  */
1659
1659
  if (!('direction' in params)) {
1660
1660
  throw new ArgumentsRequired(this.id + ' fetchTransfers() requires a direction param to be either "IN" or "OUT"');
@@ -2136,7 +2136,7 @@ export default class cryptocom extends Exchange {
2136
2136
  * @param {float} amount the amount to repay
2137
2137
  * @param {string} symbol unified market symbol, not used by cryptocom.repayMargin ()
2138
2138
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2139
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
2139
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
2140
2140
  */
2141
2141
  await this.loadMarkets();
2142
2142
  const currency = this.currency(code);
@@ -2170,7 +2170,7 @@ export default class cryptocom extends Exchange {
2170
2170
  * @param {float} amount the amount to borrow
2171
2171
  * @param {string} symbol unified market symbol, not used by cryptocom.repayMargin ()
2172
2172
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2173
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
2173
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
2174
2174
  */
2175
2175
  await this.loadMarkets();
2176
2176
  const currency = this.currency(code);
@@ -2302,7 +2302,7 @@ export default class cryptocom extends Exchange {
2302
2302
  * @name cryptocom#fetchBorrowRates
2303
2303
  * @description fetch the borrow interest rates of all currencies
2304
2304
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2305
- * @returns {object} a list of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
2305
+ * @returns {object} a list of [borrow rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure}
2306
2306
  */
2307
2307
  await this.loadMarkets();
2308
2308
  const response = await this.v2PrivatePostPrivateMarginGetUserConfig(params);
@@ -2592,7 +2592,7 @@ export default class cryptocom extends Exchange {
2592
2592
  * @description fetch all the accounts associated with a profile
2593
2593
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-accounts
2594
2594
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2595
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
2595
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
2596
2596
  */
2597
2597
  await this.loadMarkets();
2598
2598
  const response = await this.v1PrivatePostPrivateGetAccounts(params);
@@ -2830,7 +2830,7 @@ export default class cryptocom extends Exchange {
2830
2830
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
2831
2831
  * @param {string} symbol unified market symbol of the market the position is held in
2832
2832
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2833
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2833
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
2834
2834
  */
2835
2835
  await this.loadMarkets();
2836
2836
  const market = this.market(symbol);
@@ -2872,7 +2872,7 @@ export default class cryptocom extends Exchange {
2872
2872
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
2873
2873
  * @param {string[]|undefined} symbols list of unified market symbols
2874
2874
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
2875
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2875
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
2876
2876
  */
2877
2877
  await this.loadMarkets();
2878
2878
  symbols = this.marketSymbols(symbols);