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/idex.js CHANGED
@@ -324,7 +324,7 @@ export default class idex 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 idex 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);
@@ -360,7 +360,7 @@ export default class idex extends Exchange {
360
360
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
361
361
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
362
362
  * @param {object} [params] extra parameters specific to the idex api endpoint
363
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
363
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
364
364
  */
365
365
  await this.loadMarkets();
366
366
  // [
@@ -610,7 +610,7 @@ export default class idex extends Exchange {
610
610
  * @name idex#fetchTradingFees
611
611
  * @description fetch the trading fees for multiple markets
612
612
  * @param {object} [params] extra parameters specific to the idex api endpoint
613
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
613
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
614
614
  */
615
615
  this.checkRequiredCredentials();
616
616
  await this.loadMarkets();
@@ -657,7 +657,7 @@ export default class idex extends Exchange {
657
657
  * @param {string} symbol unified symbol of the market to fetch the order book for
658
658
  * @param {int} [limit] the maximum amount of order book entries to return
659
659
  * @param {object} [params] extra parameters specific to the idex api endpoint
660
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
660
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
661
661
  */
662
662
  await this.loadMarkets();
663
663
  const market = this.market(symbol);
@@ -830,7 +830,7 @@ export default class idex extends Exchange {
830
830
  * @param {int} [since] the earliest time in ms to fetch trades for
831
831
  * @param {int} [limit] the maximum number of trades structures to retrieve
832
832
  * @param {object} [params] extra parameters specific to the idex api endpoint
833
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
833
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
834
834
  */
835
835
  this.checkRequiredCredentials();
836
836
  await this.loadMarkets();
@@ -896,7 +896,7 @@ export default class idex extends Exchange {
896
896
  * @description fetches information on an order made by the user
897
897
  * @param {string} symbol unified symbol of the market the order was made in
898
898
  * @param {object} [params] extra parameters specific to the idex api endpoint
899
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
899
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
900
900
  */
901
901
  const request = {
902
902
  'orderId': id,
@@ -912,7 +912,7 @@ export default class idex extends Exchange {
912
912
  * @param {int} [since] the earliest time in ms to fetch open orders for
913
913
  * @param {int} [limit] the maximum number of open orders structures to retrieve
914
914
  * @param {object} [params] extra parameters specific to the idex api endpoint
915
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
915
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
916
916
  */
917
917
  const request = {
918
918
  'closed': false,
@@ -928,7 +928,7 @@ export default class idex extends Exchange {
928
928
  * @param {int} [since] the earliest time in ms to fetch orders for
929
929
  * @param {int} [limit] the maximum number of orde structures to retrieve
930
930
  * @param {object} [params] extra parameters specific to the idex api endpoint
931
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
931
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
932
932
  */
933
933
  const request = {
934
934
  'closed': true,
@@ -1139,9 +1139,9 @@ export default class idex extends Exchange {
1139
1139
  * @param {string} type 'market' or 'limit'
1140
1140
  * @param {string} side 'buy' or 'sell'
1141
1141
  * @param {float} amount how much of currency you want to trade in units of base currency
1142
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1142
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1143
1143
  * @param {object} [params] extra parameters specific to the idex api endpoint
1144
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1144
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1145
1145
  */
1146
1146
  this.checkRequiredCredentials();
1147
1147
  await this.loadMarkets();
@@ -1338,7 +1338,7 @@ export default class idex extends Exchange {
1338
1338
  * @param {string} address the address to withdraw to
1339
1339
  * @param {string} tag
1340
1340
  * @param {object} [params] extra parameters specific to the idex api endpoint
1341
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1341
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1342
1342
  */
1343
1343
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1344
1344
  this.checkRequiredCredentials();
@@ -1388,7 +1388,7 @@ export default class idex extends Exchange {
1388
1388
  * @description cancel all open orders
1389
1389
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1390
1390
  * @param {object} [params] extra parameters specific to the idex api endpoint
1391
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1391
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1392
1392
  */
1393
1393
  this.checkRequiredCredentials();
1394
1394
  await this.loadMarkets();
@@ -1428,7 +1428,7 @@ export default class idex extends Exchange {
1428
1428
  * @param {string} id order id
1429
1429
  * @param {string} symbol unified symbol of the market the order was made in
1430
1430
  * @param {object} [params] extra parameters specific to the idex api endpoint
1431
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1431
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1432
1432
  */
1433
1433
  this.checkRequiredCredentials();
1434
1434
  await this.loadMarkets();
@@ -1479,7 +1479,7 @@ export default class idex extends Exchange {
1479
1479
  * @param {string} id deposit id
1480
1480
  * @param {string} code not used by idex fetchDeposit ()
1481
1481
  * @param {object} [params] extra parameters specific to the idex api endpoint
1482
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1482
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1483
1483
  */
1484
1484
  await this.loadMarkets();
1485
1485
  const nonce = this.uuidv1();
@@ -1500,7 +1500,7 @@ export default class idex extends Exchange {
1500
1500
  * @param {int} [since] the earliest time in ms to fetch deposits for
1501
1501
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1502
1502
  * @param {object} [params] extra parameters specific to the idex api endpoint
1503
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1503
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1504
1504
  */
1505
1505
  params = this.extend({
1506
1506
  'method': 'privateGetDeposits',
@@ -1529,7 +1529,7 @@ export default class idex extends Exchange {
1529
1529
  * @param {string} id withdrawal id
1530
1530
  * @param {string} code not used by idex.fetchWithdrawal
1531
1531
  * @param {object} [params] extra parameters specific to the idex api endpoint
1532
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1532
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1533
1533
  */
1534
1534
  await this.loadMarkets();
1535
1535
  const nonce = this.uuidv1();
@@ -1550,7 +1550,7 @@ export default class idex extends Exchange {
1550
1550
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1551
1551
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1552
1552
  * @param {object} [params] extra parameters specific to the idex api endpoint
1553
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1553
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1554
1554
  */
1555
1555
  params = this.extend({
1556
1556
  'method': 'privateGetWithdrawals',
@@ -253,7 +253,7 @@ export default class independentreserve extends Exchange {
253
253
  * @param {string} symbol unified symbol of the market to fetch the order book for
254
254
  * @param {int} [limit] the maximum amount of order book entries to return
255
255
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
256
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
256
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
257
257
  */
258
258
  await this.loadMarkets();
259
259
  const market = this.market(symbol);
@@ -319,7 +319,7 @@ export default class independentreserve extends Exchange {
319
319
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
320
320
  * @param {string} symbol unified symbol of the market to fetch the ticker for
321
321
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
322
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
322
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
323
323
  */
324
324
  await this.loadMarkets();
325
325
  const market = this.market(symbol);
@@ -464,7 +464,7 @@ export default class independentreserve extends Exchange {
464
464
  * @description fetches information on an order made by the user
465
465
  * @param {string} symbol unified symbol of the market the order was made in
466
466
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
467
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
467
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
468
468
  */
469
469
  await this.loadMarkets();
470
470
  const response = await this.privatePostGetOrderDetails(this.extend({
@@ -485,7 +485,7 @@ export default class independentreserve extends Exchange {
485
485
  * @param {int} [since] the earliest time in ms to fetch open orders for
486
486
  * @param {int} [limit] the maximum number of open orders structures to retrieve
487
487
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
488
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
488
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
489
489
  */
490
490
  await this.loadMarkets();
491
491
  const request = this.ordered({});
@@ -513,7 +513,7 @@ export default class independentreserve extends Exchange {
513
513
  * @param {int} [since] the earliest time in ms to fetch orders for
514
514
  * @param {int} [limit] the maximum number of orde structures to retrieve
515
515
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
516
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
516
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
517
517
  */
518
518
  await this.loadMarkets();
519
519
  const request = this.ordered({});
@@ -541,7 +541,7 @@ export default class independentreserve extends Exchange {
541
541
  * @param {int} [since] the earliest time in ms to fetch trades for
542
542
  * @param {int} [limit] the maximum number of trades structures to retrieve
543
543
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
544
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
544
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
545
545
  */
546
546
  await this.loadMarkets();
547
547
  const pageIndex = this.safeInteger(params, 'pageIndex', 1);
@@ -627,7 +627,7 @@ export default class independentreserve extends Exchange {
627
627
  * @name independentreserve#fetchTradingFees
628
628
  * @description fetch the trading fees for multiple markets
629
629
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
630
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
630
+ * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
631
631
  */
632
632
  await this.loadMarkets();
633
633
  const response = await this.privatePostGetBrokerageFees(params);
@@ -676,9 +676,9 @@ export default class independentreserve extends Exchange {
676
676
  * @param {string} type 'market' or 'limit'
677
677
  * @param {string} side 'buy' or 'sell'
678
678
  * @param {float} amount how much of currency you want to trade in units of base currency
679
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
679
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
680
680
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
681
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
681
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
682
682
  */
683
683
  await this.loadMarkets();
684
684
  const market = this.market(symbol);
@@ -709,7 +709,7 @@ export default class independentreserve extends Exchange {
709
709
  * @param {string} id order id
710
710
  * @param {string} symbol unified symbol of the market the order was made in
711
711
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
712
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
712
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
713
713
  */
714
714
  await this.loadMarkets();
715
715
  const request = {
package/js/src/indodax.js CHANGED
@@ -358,7 +358,7 @@ export default class indodax extends Exchange {
358
358
  * @param {string} symbol unified symbol of the market to fetch the order book for
359
359
  * @param {int} [limit] the maximum amount of order book entries to return
360
360
  * @param {object} [params] extra parameters specific to the indodax api endpoint
361
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
361
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
362
362
  */
363
363
  await this.loadMarkets();
364
364
  const market = this.market(symbol);
@@ -416,7 +416,7 @@ export default class indodax extends Exchange {
416
416
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
417
417
  * @param {string} symbol unified symbol of the market to fetch the ticker for
418
418
  * @param {object} [params] extra parameters specific to the indodax api endpoint
419
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
419
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
420
420
  */
421
421
  await this.loadMarkets();
422
422
  const market = this.market(symbol);
@@ -449,7 +449,7 @@ export default class indodax extends Exchange {
449
449
  * @see https://github.com/btcid/indodax-official-api-docs/blob/master/Public-RestAPI.md#ticker-all
450
450
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
451
451
  * @param {object} [params] extra parameters specific to the indodax api endpoint
452
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
452
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
453
453
  */
454
454
  await this.loadMarkets();
455
455
  //
@@ -602,7 +602,7 @@ export default class indodax extends Exchange {
602
602
  * @description fetches information on an order made by the user
603
603
  * @param {string} symbol unified symbol of the market the order was made in
604
604
  * @param {object} [params] extra parameters specific to the indodax api endpoint
605
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
605
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
606
606
  */
607
607
  if (symbol === undefined) {
608
608
  throw new ArgumentsRequired(this.id + ' fetchOrder() requires a symbol');
@@ -627,7 +627,7 @@ export default class indodax extends Exchange {
627
627
  * @param {int} [since] the earliest time in ms to fetch open orders for
628
628
  * @param {int} [limit] the maximum number of open orders structures to retrieve
629
629
  * @param {object} [params] extra parameters specific to the indodax api endpoint
630
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
630
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
631
631
  */
632
632
  await this.loadMarkets();
633
633
  let market = undefined;
@@ -667,7 +667,7 @@ export default class indodax extends Exchange {
667
667
  * @param {int} [since] the earliest time in ms to fetch orders for
668
668
  * @param {int} [limit] the maximum number of orde structures to retrieve
669
669
  * @param {object} [params] extra parameters specific to the indodax api endpoint
670
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
670
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
671
671
  */
672
672
  if (symbol === undefined) {
673
673
  throw new ArgumentsRequired(this.id + ' fetchClosedOrders() requires a symbol argument');
@@ -694,9 +694,9 @@ export default class indodax extends Exchange {
694
694
  * @param {string} type 'market' or 'limit'
695
695
  * @param {string} side 'buy' or 'sell'
696
696
  * @param {float} amount how much of currency you want to trade in units of base currency
697
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
697
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
698
698
  * @param {object} [params] extra parameters specific to the indodax api endpoint
699
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
699
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
700
700
  */
701
701
  if (type !== 'limit') {
702
702
  throw new ExchangeError(this.id + ' createOrder() allows limit orders only');
@@ -732,7 +732,7 @@ export default class indodax extends Exchange {
732
732
  * @param {string} id order id
733
733
  * @param {string} symbol unified symbol of the market the order was made in
734
734
  * @param {object} [params] extra parameters specific to the indodax api endpoint
735
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
735
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
736
736
  */
737
737
  if (symbol === undefined) {
738
738
  throw new ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
@@ -757,7 +757,7 @@ export default class indodax extends Exchange {
757
757
  * @description fetch the fee for a transaction
758
758
  * @param {string} code unified currency code
759
759
  * @param {object} [params] extra parameters specific to the indodax api endpoint
760
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
760
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
761
761
  */
762
762
  await this.loadMarkets();
763
763
  const currency = this.currency(code);
@@ -792,7 +792,7 @@ export default class indodax extends Exchange {
792
792
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
793
793
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
794
794
  * @param {object} [params] extra parameters specific to the indodax api endpoint
795
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
795
+ * @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
796
796
  */
797
797
  await this.loadMarkets();
798
798
  const request = {};
@@ -894,7 +894,7 @@ export default class indodax extends Exchange {
894
894
  * @param {string} address the address to withdraw to
895
895
  * @param {string} tag
896
896
  * @param {object} [params] extra parameters specific to the indodax api endpoint
897
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
897
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
898
898
  */
899
899
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
900
900
  this.checkAddress(address);
package/js/src/kraken.js CHANGED
@@ -603,7 +603,7 @@ export default class kraken extends Exchange {
603
603
  * @description fetch the trading fees for a market
604
604
  * @param {string} symbol unified market symbol
605
605
  * @param {object} [params] extra parameters specific to the kraken api endpoint
606
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
606
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
607
607
  */
608
608
  await this.loadMarkets();
609
609
  const market = this.market(symbol);
@@ -672,7 +672,7 @@ export default class kraken extends Exchange {
672
672
  * @param {string} symbol unified symbol of the market to fetch the order book for
673
673
  * @param {int} [limit] the maximum amount of order book entries to return
674
674
  * @param {object} [params] extra parameters specific to the kraken api endpoint
675
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
675
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
676
676
  */
677
677
  await this.loadMarkets();
678
678
  const market = this.market(symbol);
@@ -773,7 +773,7 @@ export default class kraken extends Exchange {
773
773
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
774
774
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
775
775
  * @param {object} [params] extra parameters specific to the kraken api endpoint
776
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
776
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
777
777
  */
778
778
  await this.loadMarkets();
779
779
  const request = {};
@@ -809,7 +809,7 @@ export default class kraken extends Exchange {
809
809
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
810
810
  * @param {string} symbol unified symbol of the market to fetch the ticker for
811
811
  * @param {object} [params] extra parameters specific to the kraken api endpoint
812
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
812
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
813
813
  */
814
814
  await this.loadMarkets();
815
815
  const darkpool = symbol.indexOf('.d') >= 0;
@@ -967,7 +967,7 @@ export default class kraken extends Exchange {
967
967
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
968
968
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
969
969
  * @param {object} [params] extra parameters specific to the kraken api endpoint
970
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
970
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
971
971
  */
972
972
  // https://www.kraken.com/features/api#get-ledgers-info
973
973
  await this.loadMarkets();
@@ -1241,11 +1241,11 @@ export default class kraken extends Exchange {
1241
1241
  * @param {string} type 'market' or 'limit'
1242
1242
  * @param {string} side 'buy' or 'sell'
1243
1243
  * @param {float} amount how much of currency you want to trade in units of base currency
1244
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1244
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1245
1245
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1246
1246
  * @param {bool} params.postOnly
1247
1247
  * @param {bool} params.reduceOnly
1248
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1248
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1249
1249
  */
1250
1250
  await this.loadMarkets();
1251
1251
  const market = this.market(symbol);
@@ -1574,9 +1574,9 @@ export default class kraken 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 the currency you want to trade in units of the 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 kraken api endpoint
1579
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1579
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1580
1580
  */
1581
1581
  await this.loadMarkets();
1582
1582
  const market = this.market(symbol);
@@ -1618,7 +1618,7 @@ export default class kraken extends Exchange {
1618
1618
  * @description fetches information on an order made by the user
1619
1619
  * @param {string} symbol not used by kraken fetchOrder
1620
1620
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1621
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1621
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1622
1622
  */
1623
1623
  await this.loadMarkets();
1624
1624
  const clientOrderId = this.safeValue2(params, 'userref', 'clientOrderId');
@@ -1690,7 +1690,7 @@ export default class kraken extends Exchange {
1690
1690
  * @param {int} [since] the earliest time in ms to fetch trades for
1691
1691
  * @param {int} [limit] the maximum number of trades to retrieve
1692
1692
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1693
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1693
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1694
1694
  */
1695
1695
  const orderTrades = this.safeValue(params, 'trades');
1696
1696
  const tradeIds = [];
@@ -1788,7 +1788,7 @@ export default class kraken extends Exchange {
1788
1788
  * @param {int} [since] the earliest time in ms to fetch trades for
1789
1789
  * @param {int} [limit] the maximum number of trades structures to retrieve
1790
1790
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1791
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1791
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
1792
1792
  */
1793
1793
  await this.loadMarkets();
1794
1794
  const request = {
@@ -1846,7 +1846,7 @@ export default class kraken extends Exchange {
1846
1846
  * @param {string} id order id
1847
1847
  * @param {string} symbol unified symbol of the market the order was made in
1848
1848
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1849
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1849
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1850
1850
  */
1851
1851
  await this.loadMarkets();
1852
1852
  let response = undefined;
@@ -1876,7 +1876,7 @@ export default class kraken extends Exchange {
1876
1876
  * @param {string[]} ids open orders transaction ID (txid) or user reference (userref)
1877
1877
  * @param {string} symbol unified market symbol
1878
1878
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1879
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1879
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1880
1880
  */
1881
1881
  const request = {
1882
1882
  'orders': ids,
@@ -1899,7 +1899,7 @@ export default class kraken extends Exchange {
1899
1899
  * @description cancel all open orders
1900
1900
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1901
1901
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1902
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1902
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1903
1903
  */
1904
1904
  await this.loadMarkets();
1905
1905
  return await this.privatePostCancelAll(params);
@@ -1913,7 +1913,7 @@ export default class kraken extends Exchange {
1913
1913
  * @param {int} [since] the earliest time in ms to fetch open orders for
1914
1914
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1915
1915
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1916
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1916
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1917
1917
  */
1918
1918
  await this.loadMarkets();
1919
1919
  const request = {};
@@ -1944,7 +1944,7 @@ export default class kraken extends Exchange {
1944
1944
  * @param {int} [since] the earliest time in ms to fetch orders for
1945
1945
  * @param {int} [limit] the maximum number of orde structures to retrieve
1946
1946
  * @param {object} [params] extra parameters specific to the kraken api endpoint
1947
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1947
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1948
1948
  */
1949
1949
  await this.loadMarkets();
1950
1950
  const request = {};
@@ -2141,7 +2141,7 @@ export default class kraken extends Exchange {
2141
2141
  * @param {int} [since] the earliest time in ms to fetch deposits for
2142
2142
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2143
2143
  * @param {object} [params] extra parameters specific to the kraken api endpoint
2144
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2144
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2145
2145
  */
2146
2146
  // https://www.kraken.com/en-us/help/api#deposit-status
2147
2147
  if (code === undefined) {
@@ -2199,7 +2199,7 @@ export default class kraken extends Exchange {
2199
2199
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2200
2200
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2201
2201
  * @param {object} [params] extra parameters specific to the kraken api endpoint
2202
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2202
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2203
2203
  */
2204
2204
  // https://www.kraken.com/en-us/help/api#withdraw-status
2205
2205
  if (code === undefined) {
@@ -2233,7 +2233,7 @@ export default class kraken extends Exchange {
2233
2233
  * @description create a currency deposit address
2234
2234
  * @param {string} code unified currency code of the currency for the deposit address
2235
2235
  * @param {object} [params] extra parameters specific to the kraken api endpoint
2236
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2236
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
2237
2237
  */
2238
2238
  const request = {
2239
2239
  'new': 'true',
@@ -2279,7 +2279,7 @@ export default class kraken extends Exchange {
2279
2279
  * @description fetch the deposit address for a currency associated with this account
2280
2280
  * @param {string} code unified currency code
2281
2281
  * @param {object} [params] extra parameters specific to the kraken api endpoint
2282
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2282
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
2283
2283
  */
2284
2284
  await this.loadMarkets();
2285
2285
  const currency = this.currency(code);
@@ -2363,7 +2363,7 @@ export default class kraken extends Exchange {
2363
2363
  * @param {string} address the address to withdraw to
2364
2364
  * @param {string} tag
2365
2365
  * @param {object} [params] extra parameters specific to the kraken api endpoint
2366
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2366
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2367
2367
  */
2368
2368
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
2369
2369
  this.checkAddress(address);
@@ -2396,7 +2396,7 @@ export default class kraken extends Exchange {
2396
2396
  * @description fetch all open positions
2397
2397
  * @param {string[]|undefined} symbols not used by kraken fetchPositions ()
2398
2398
  * @param {object} [params] extra parameters specific to the kraken api endpoint
2399
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2399
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
2400
2400
  */
2401
2401
  await this.loadMarkets();
2402
2402
  const request = {
@@ -2468,7 +2468,7 @@ export default class kraken extends Exchange {
2468
2468
  * @param {str} code Unified currency code
2469
2469
  * @param {float} amount Size of the transfer
2470
2470
  * @param {dict} [params] Exchange specific parameters
2471
- * @returns a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2471
+ * @returns a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
2472
2472
  */
2473
2473
  return await this.transfer(code, amount, 'spot', 'swap', params);
2474
2474
  }
@@ -2483,7 +2483,7 @@ export default class kraken extends Exchange {
2483
2483
  * @param {string} fromAccount 'spot' or 'Spot Wallet'
2484
2484
  * @param {string} toAccount 'swap' or 'Futures Wallet'
2485
2485
  * @param {object} [params] Exchange specific parameters
2486
- * @returns a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2486
+ * @returns a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
2487
2487
  */
2488
2488
  await this.loadMarkets();
2489
2489
  const currency = this.currency(code);