ccxt 4.1.56 → 4.1.58

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 (318) hide show
  1. package/.git-templates/hooks/pre-push +2 -2
  2. package/README.md +3 -3
  3. package/build.sh +30 -18
  4. package/dist/ccxt.browser.js +3893 -3214
  5. package/dist/ccxt.browser.min.js +10 -10
  6. package/dist/cjs/ccxt.js +1 -1
  7. package/dist/cjs/src/ace.js +17 -13
  8. package/dist/cjs/src/alpaca.js +6 -6
  9. package/dist/cjs/src/ascendex.js +35 -29
  10. package/dist/cjs/src/base/Exchange.js +39 -26
  11. package/dist/cjs/src/base/Precise.js +1 -3
  12. package/dist/cjs/src/base/ws/Client.js +1 -1
  13. package/dist/cjs/src/bigone.js +24 -20
  14. package/dist/cjs/src/binance.js +97 -76
  15. package/dist/cjs/src/bingx.js +63 -44
  16. package/dist/cjs/src/bit2c.js +18 -15
  17. package/dist/cjs/src/bitbank.js +16 -15
  18. package/dist/cjs/src/bitbns.js +28 -18
  19. package/dist/cjs/src/bitfinex.js +23 -21
  20. package/dist/cjs/src/bitfinex2.js +32 -28
  21. package/dist/cjs/src/bitflyer.js +28 -20
  22. package/dist/cjs/src/bitforex.js +25 -18
  23. package/dist/cjs/src/bitget.js +184 -147
  24. package/dist/cjs/src/bithumb.js +23 -16
  25. package/dist/cjs/src/bitmart.js +110 -89
  26. package/dist/cjs/src/bitmex.js +104 -64
  27. package/dist/cjs/src/bitopro.js +38 -26
  28. package/dist/cjs/src/bitpanda.js +24 -23
  29. package/dist/cjs/src/bitrue.js +33 -24
  30. package/dist/cjs/src/bitso.js +24 -23
  31. package/dist/cjs/src/bitstamp.js +24 -23
  32. package/dist/cjs/src/bittrex.js +30 -29
  33. package/dist/cjs/src/bitvavo.js +38 -30
  34. package/dist/cjs/src/bl3p.js +11 -10
  35. package/dist/cjs/src/blockchaincom.js +20 -20
  36. package/dist/cjs/src/btcalpha.js +18 -17
  37. package/dist/cjs/src/btcbox.js +13 -12
  38. package/dist/cjs/src/btcmarkets.js +20 -19
  39. package/dist/cjs/src/btcturk.js +14 -13
  40. package/dist/cjs/src/bybit.js +84 -54
  41. package/dist/cjs/src/cex.js +16 -14
  42. package/dist/cjs/src/coinbase.js +29 -27
  43. package/dist/cjs/src/coinbasepro.js +27 -25
  44. package/dist/cjs/src/coincheck.js +15 -14
  45. package/dist/cjs/src/coinex.js +100 -77
  46. package/dist/cjs/src/coinlist.js +28 -27
  47. package/dist/cjs/src/coinmate.js +20 -17
  48. package/dist/cjs/src/coinone.js +21 -16
  49. package/dist/cjs/src/coinsph.js +37 -28
  50. package/dist/cjs/src/coinspot.js +12 -11
  51. package/dist/cjs/src/cryptocom.js +40 -202
  52. package/dist/cjs/src/currencycom.js +32 -25
  53. package/dist/cjs/src/delta.js +34 -28
  54. package/dist/cjs/src/deribit.js +39 -36
  55. package/dist/cjs/src/digifinex.js +64 -44
  56. package/dist/cjs/src/exmo.js +29 -27
  57. package/dist/cjs/src/gate.js +67 -53
  58. package/dist/cjs/src/gemini.js +23 -20
  59. package/dist/cjs/src/hitbtc.js +65 -56
  60. package/dist/cjs/src/hollaex.js +30 -27
  61. package/dist/cjs/src/htx.js +132 -143
  62. package/dist/cjs/src/huobijp.js +22 -20
  63. package/dist/cjs/src/idex.js +22 -21
  64. package/dist/cjs/src/independentreserve.js +15 -14
  65. package/dist/cjs/src/indodax.js +30 -26
  66. package/dist/cjs/src/kraken.js +29 -27
  67. package/dist/cjs/src/krakenfutures.js +29 -22
  68. package/dist/cjs/src/kucoin.js +48 -43
  69. package/dist/cjs/src/kucoinfutures.js +33 -28
  70. package/dist/cjs/src/kuna.js +25 -24
  71. package/dist/cjs/src/latoken.js +24 -22
  72. package/dist/cjs/src/lbank.js +45 -30
  73. package/dist/cjs/src/luno.js +22 -19
  74. package/dist/cjs/src/lykke.js +19 -17
  75. package/dist/cjs/src/mercado.js +30 -19
  76. package/dist/cjs/src/mexc.js +60 -49
  77. package/dist/cjs/src/ndax.js +23 -22
  78. package/dist/cjs/src/novadax.js +23 -22
  79. package/dist/cjs/src/oceanex.js +22 -19
  80. package/dist/cjs/src/okcoin.js +29 -23
  81. package/dist/cjs/src/okx.js +87 -82
  82. package/dist/cjs/src/p2b.js +79 -82
  83. package/dist/cjs/src/paymium.js +10 -10
  84. package/dist/cjs/src/phemex.js +63 -40
  85. package/dist/cjs/src/poloniex.js +22 -22
  86. package/dist/cjs/src/poloniexfutures.js +23 -19
  87. package/dist/cjs/src/pro/alpaca.js +5 -5
  88. package/dist/cjs/src/pro/ascendex.js +4 -4
  89. package/dist/cjs/src/pro/binance.js +16 -16
  90. package/dist/cjs/src/pro/bingx.js +1 -1
  91. package/dist/cjs/src/pro/bitfinex.js +4 -4
  92. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  93. package/dist/cjs/src/pro/bitget.js +7 -7
  94. package/dist/cjs/src/pro/bitmart.js +7 -5
  95. package/dist/cjs/src/pro/bitmex.js +6 -6
  96. package/dist/cjs/src/pro/bitopro.js +4 -4
  97. package/dist/cjs/src/pro/bitpanda.js +6 -6
  98. package/dist/cjs/src/pro/bitrue.js +2 -2
  99. package/dist/cjs/src/pro/bitstamp.js +6 -4
  100. package/dist/cjs/src/pro/bittrex.js +15 -6
  101. package/dist/cjs/src/pro/bitvavo.js +11 -7
  102. package/dist/cjs/src/pro/blockchaincom.js +8 -8
  103. package/dist/cjs/src/pro/bybit.js +7 -7
  104. package/dist/cjs/src/pro/cex.js +13 -9
  105. package/dist/cjs/src/pro/coinbase.js +5 -5
  106. package/dist/cjs/src/pro/coinbasepro.js +11 -10
  107. package/dist/cjs/src/pro/coinex.js +7 -9
  108. package/dist/cjs/src/pro/cryptocom.js +9 -9
  109. package/dist/cjs/src/pro/currencycom.js +4 -4
  110. package/dist/cjs/src/pro/deribit.js +6 -6
  111. package/dist/cjs/src/pro/exmo.js +12 -14
  112. package/dist/cjs/src/pro/gate.js +7 -7
  113. package/dist/cjs/src/pro/gemini.js +3 -3
  114. package/dist/cjs/src/pro/hitbtc.js +263 -4
  115. package/dist/cjs/src/pro/hollaex.js +5 -5
  116. package/dist/cjs/src/pro/htx.js +6 -6
  117. package/dist/cjs/src/pro/huobijp.js +3 -3
  118. package/dist/cjs/src/pro/idex.js +4 -4
  119. package/dist/cjs/src/pro/independentreserve.js +2 -2
  120. package/dist/cjs/src/pro/kraken.js +10 -10
  121. package/dist/cjs/src/pro/krakenfutures.js +41 -17
  122. package/dist/cjs/src/pro/kucoin.js +7 -7
  123. package/dist/cjs/src/pro/kucoinfutures.js +8 -6
  124. package/dist/cjs/src/pro/luno.js +2 -2
  125. package/dist/cjs/src/pro/mexc.js +6 -6
  126. package/dist/cjs/src/pro/ndax.js +3 -3
  127. package/dist/cjs/src/pro/okcoin.js +5 -5
  128. package/dist/cjs/src/pro/okx.js +12 -12
  129. package/dist/cjs/src/pro/phemex.js +6 -6
  130. package/dist/cjs/src/pro/poloniex.js +7 -7
  131. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  132. package/dist/cjs/src/pro/probit.js +6 -6
  133. package/dist/cjs/src/pro/upbit.js +3 -3
  134. package/dist/cjs/src/pro/wazirx.js +8 -8
  135. package/dist/cjs/src/pro/whitebit.js +12 -8
  136. package/dist/cjs/src/pro/woo.js +1 -1
  137. package/dist/cjs/src/probit.js +28 -23
  138. package/dist/cjs/src/tidex.js +16 -15
  139. package/dist/cjs/src/timex.js +19 -18
  140. package/dist/cjs/src/tokocrypto.js +27 -22
  141. package/dist/cjs/src/upbit.js +19 -19
  142. package/dist/cjs/src/wavesexchange.js +22 -19
  143. package/dist/cjs/src/wazirx.js +24 -17
  144. package/dist/cjs/src/whitebit.js +33 -27
  145. package/dist/cjs/src/woo.js +44 -34
  146. package/dist/cjs/src/yobit.js +25 -20
  147. package/dist/cjs/src/zaif.js +9 -9
  148. package/dist/cjs/src/zonda.js +18 -17
  149. package/js/ccxt.d.ts +1 -1
  150. package/js/ccxt.js +1 -1
  151. package/js/src/abstract/bybit.d.ts +1 -0
  152. package/js/src/abstract/cryptocom.d.ts +0 -20
  153. package/js/src/ace.js +18 -14
  154. package/js/src/alpaca.js +6 -6
  155. package/js/src/ascendex.js +35 -29
  156. package/js/src/base/Exchange.d.ts +37 -34
  157. package/js/src/base/Exchange.js +39 -26
  158. package/js/src/base/Precise.d.ts +4 -4
  159. package/js/src/base/Precise.js +1 -3
  160. package/js/src/base/functions/type.d.ts +25 -25
  161. package/js/src/base/types.d.ts +21 -14
  162. package/js/src/base/ws/Client.js +1 -1
  163. package/js/src/bigone.js +25 -21
  164. package/js/src/binance.d.ts +2 -2
  165. package/js/src/binance.js +97 -76
  166. package/js/src/bingx.js +63 -44
  167. package/js/src/bit2c.js +19 -16
  168. package/js/src/bitbank.js +16 -15
  169. package/js/src/bitbns.js +28 -18
  170. package/js/src/bitfinex.js +23 -21
  171. package/js/src/bitfinex2.js +32 -28
  172. package/js/src/bitflyer.js +28 -20
  173. package/js/src/bitforex.js +26 -19
  174. package/js/src/bitget.d.ts +25 -3
  175. package/js/src/bitget.js +184 -147
  176. package/js/src/bithumb.js +23 -16
  177. package/js/src/bitmart.d.ts +1 -1
  178. package/js/src/bitmart.js +110 -89
  179. package/js/src/bitmex.d.ts +2 -2
  180. package/js/src/bitmex.js +104 -64
  181. package/js/src/bitopro.js +38 -26
  182. package/js/src/bitpanda.js +24 -23
  183. package/js/src/bitrue.js +33 -24
  184. package/js/src/bitso.js +24 -23
  185. package/js/src/bitstamp.d.ts +2 -2
  186. package/js/src/bitstamp.js +24 -23
  187. package/js/src/bittrex.js +30 -29
  188. package/js/src/bitvavo.js +38 -30
  189. package/js/src/bl3p.js +11 -10
  190. package/js/src/blockchaincom.js +20 -20
  191. package/js/src/btcalpha.js +18 -17
  192. package/js/src/btcbox.js +13 -12
  193. package/js/src/btcmarkets.js +20 -19
  194. package/js/src/btcturk.js +14 -13
  195. package/js/src/bybit.d.ts +1 -1
  196. package/js/src/bybit.js +84 -54
  197. package/js/src/cex.js +16 -14
  198. package/js/src/coinbase.js +29 -27
  199. package/js/src/coinbasepro.js +27 -25
  200. package/js/src/coincheck.js +15 -14
  201. package/js/src/coinex.d.ts +1 -1
  202. package/js/src/coinex.js +100 -77
  203. package/js/src/coinlist.js +28 -27
  204. package/js/src/coinmate.js +21 -18
  205. package/js/src/coinone.js +21 -16
  206. package/js/src/coinsph.js +37 -28
  207. package/js/src/coinspot.js +12 -11
  208. package/js/src/cryptocom.d.ts +0 -23
  209. package/js/src/cryptocom.js +40 -202
  210. package/js/src/currencycom.js +32 -25
  211. package/js/src/delta.js +35 -29
  212. package/js/src/deribit.js +39 -36
  213. package/js/src/digifinex.d.ts +2 -2
  214. package/js/src/digifinex.js +65 -45
  215. package/js/src/exmo.js +29 -27
  216. package/js/src/gate.d.ts +1 -1
  217. package/js/src/gate.js +67 -53
  218. package/js/src/gemini.js +23 -20
  219. package/js/src/hitbtc.d.ts +1 -0
  220. package/js/src/hitbtc.js +65 -56
  221. package/js/src/hollaex.js +30 -27
  222. package/js/src/htx.d.ts +11 -3
  223. package/js/src/htx.js +132 -143
  224. package/js/src/huobijp.js +23 -21
  225. package/js/src/idex.js +22 -21
  226. package/js/src/independentreserve.js +15 -14
  227. package/js/src/indodax.js +30 -26
  228. package/js/src/kraken.js +29 -27
  229. package/js/src/krakenfutures.js +29 -22
  230. package/js/src/kucoin.d.ts +1 -1
  231. package/js/src/kucoin.js +48 -43
  232. package/js/src/kucoinfutures.js +33 -28
  233. package/js/src/kuna.js +25 -24
  234. package/js/src/latoken.js +25 -23
  235. package/js/src/lbank.js +46 -31
  236. package/js/src/luno.js +22 -19
  237. package/js/src/lykke.js +19 -17
  238. package/js/src/mercado.js +30 -19
  239. package/js/src/mexc.d.ts +1 -1
  240. package/js/src/mexc.js +60 -49
  241. package/js/src/ndax.js +23 -22
  242. package/js/src/novadax.js +23 -22
  243. package/js/src/oceanex.js +22 -19
  244. package/js/src/okcoin.js +29 -23
  245. package/js/src/okx.d.ts +2 -2
  246. package/js/src/okx.js +87 -82
  247. package/js/src/p2b.d.ts +8 -7
  248. package/js/src/p2b.js +79 -81
  249. package/js/src/paymium.js +10 -10
  250. package/js/src/phemex.js +63 -40
  251. package/js/src/poloniex.js +22 -22
  252. package/js/src/poloniexfutures.js +23 -19
  253. package/js/src/pro/alpaca.js +5 -5
  254. package/js/src/pro/ascendex.js +4 -4
  255. package/js/src/pro/binance.js +16 -16
  256. package/js/src/pro/bingx.js +1 -1
  257. package/js/src/pro/bitfinex.js +4 -4
  258. package/js/src/pro/bitfinex2.d.ts +1 -1
  259. package/js/src/pro/bitfinex2.js +6 -6
  260. package/js/src/pro/bitget.js +7 -7
  261. package/js/src/pro/bitmart.js +7 -5
  262. package/js/src/pro/bitmex.js +6 -6
  263. package/js/src/pro/bitopro.js +4 -4
  264. package/js/src/pro/bitpanda.js +6 -6
  265. package/js/src/pro/bitrue.js +2 -2
  266. package/js/src/pro/bitstamp.js +7 -5
  267. package/js/src/pro/bittrex.js +15 -6
  268. package/js/src/pro/bitvavo.js +12 -8
  269. package/js/src/pro/blockchaincom.js +8 -8
  270. package/js/src/pro/bybit.js +7 -7
  271. package/js/src/pro/cex.js +14 -10
  272. package/js/src/pro/coinbase.js +5 -5
  273. package/js/src/pro/coinbasepro.js +12 -11
  274. package/js/src/pro/coinex.js +7 -9
  275. package/js/src/pro/cryptocom.js +9 -9
  276. package/js/src/pro/currencycom.js +4 -4
  277. package/js/src/pro/deribit.js +6 -6
  278. package/js/src/pro/exmo.js +12 -14
  279. package/js/src/pro/gate.js +7 -7
  280. package/js/src/pro/gemini.js +3 -3
  281. package/js/src/pro/hitbtc.d.ts +8 -1
  282. package/js/src/pro/hitbtc.js +264 -5
  283. package/js/src/pro/hollaex.js +5 -5
  284. package/js/src/pro/htx.js +6 -6
  285. package/js/src/pro/huobijp.js +3 -3
  286. package/js/src/pro/idex.js +4 -4
  287. package/js/src/pro/independentreserve.js +2 -2
  288. package/js/src/pro/kraken.js +10 -10
  289. package/js/src/pro/krakenfutures.d.ts +1 -0
  290. package/js/src/pro/krakenfutures.js +42 -18
  291. package/js/src/pro/kucoin.js +7 -7
  292. package/js/src/pro/kucoinfutures.js +8 -6
  293. package/js/src/pro/luno.js +2 -2
  294. package/js/src/pro/mexc.js +6 -6
  295. package/js/src/pro/ndax.js +3 -3
  296. package/js/src/pro/okcoin.js +5 -5
  297. package/js/src/pro/okx.js +12 -12
  298. package/js/src/pro/phemex.js +6 -6
  299. package/js/src/pro/poloniex.js +7 -7
  300. package/js/src/pro/poloniexfutures.js +5 -5
  301. package/js/src/pro/probit.js +6 -6
  302. package/js/src/pro/upbit.js +3 -3
  303. package/js/src/pro/wazirx.js +8 -8
  304. package/js/src/pro/whitebit.js +13 -9
  305. package/js/src/pro/woo.js +1 -1
  306. package/js/src/probit.js +29 -24
  307. package/js/src/tidex.js +16 -15
  308. package/js/src/timex.js +19 -18
  309. package/js/src/tokocrypto.js +28 -23
  310. package/js/src/upbit.js +19 -19
  311. package/js/src/wavesexchange.js +23 -20
  312. package/js/src/wazirx.js +25 -18
  313. package/js/src/whitebit.js +33 -27
  314. package/js/src/woo.js +45 -35
  315. package/js/src/yobit.js +25 -20
  316. package/js/src/zaif.js +9 -9
  317. package/js/src/zonda.js +18 -17
  318. package/package.json +1 -1
@@ -614,7 +614,7 @@ class huobijp extends huobijp$1 {
614
614
  * @param {string} symbol unified symbol of the market to fetch the order book for
615
615
  * @param {int} [limit] the maximum amount of order book entries to return
616
616
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
617
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
617
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
618
618
  */
619
619
  await this.loadMarkets();
620
620
  const market = this.market(symbol);
@@ -663,7 +663,7 @@ class huobijp extends huobijp$1 {
663
663
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
664
664
  * @param {string} symbol unified symbol of the market to fetch the ticker for
665
665
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
666
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
666
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
667
667
  */
668
668
  await this.loadMarkets();
669
669
  const market = this.market(symbol);
@@ -704,7 +704,7 @@ class huobijp extends huobijp$1 {
704
704
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
705
705
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
706
706
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
707
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
707
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
708
708
  */
709
709
  await this.loadMarkets();
710
710
  symbols = this.marketSymbols(symbols);
@@ -815,7 +815,7 @@ class huobijp extends huobijp$1 {
815
815
  * @param {int} [since] the earliest time in ms to fetch trades for
816
816
  * @param {int} [limit] the maximum number of trades to retrieve
817
817
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
818
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
818
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
819
819
  */
820
820
  await this.loadMarkets();
821
821
  const request = {
@@ -833,7 +833,7 @@ class huobijp extends huobijp$1 {
833
833
  * @param {int} [since] the earliest time in ms to fetch trades for
834
834
  * @param {int} [limit] the maximum number of trades structures to retrieve
835
835
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
836
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
836
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
837
837
  */
838
838
  await this.loadMarkets();
839
839
  let market = undefined;
@@ -861,7 +861,7 @@ class huobijp extends huobijp$1 {
861
861
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
862
862
  * @param {int} [limit] the maximum amount of trades to fetch
863
863
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
864
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
864
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
865
865
  */
866
866
  await this.loadMarkets();
867
867
  const market = this.market(symbol);
@@ -973,7 +973,7 @@ class huobijp extends huobijp$1 {
973
973
  * @name huobijp#fetchAccounts
974
974
  * @description fetch all the accounts associated with a profile
975
975
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
976
- * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
976
+ * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
977
977
  */
978
978
  await this.loadMarkets();
979
979
  const response = await this.privateGetAccountAccounts(params);
@@ -1107,7 +1107,7 @@ class huobijp extends huobijp$1 {
1107
1107
  * @name huobijp#fetchBalance
1108
1108
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1109
1109
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1110
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1110
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1111
1111
  */
1112
1112
  await this.loadMarkets();
1113
1113
  await this.loadAccounts();
@@ -1156,7 +1156,7 @@ class huobijp extends huobijp$1 {
1156
1156
  * @description fetches information on an order made by the user
1157
1157
  * @param {string} symbol unified symbol of the market the order was made in
1158
1158
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1159
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1159
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1160
1160
  */
1161
1161
  await this.loadMarkets();
1162
1162
  const request = {
@@ -1175,7 +1175,7 @@ class huobijp extends huobijp$1 {
1175
1175
  * @param {int} [since] the earliest time in ms to fetch orders for
1176
1176
  * @param {int} [limit] the maximum number of orde structures to retrieve
1177
1177
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1178
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1178
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1179
1179
  */
1180
1180
  return await this.fetchOrdersByStates('pre-submitted,submitted,partial-filled,filled,partial-canceled,canceled', symbol, since, limit, params);
1181
1181
  }
@@ -1188,13 +1188,15 @@ class huobijp extends huobijp$1 {
1188
1188
  * @param {int} [since] the earliest time in ms to fetch open orders for
1189
1189
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1190
1190
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1191
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1191
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1192
1192
  */
1193
1193
  const method = this.safeString(this.options, 'fetchOpenOrdersMethod', 'fetch_open_orders_v1');
1194
1194
  return await this[method](symbol, since, limit, params);
1195
1195
  }
1196
1196
  async fetchOpenOrdersV1(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1197
- this.checkRequiredSymbol('fetchOpenOrdersV1', symbol);
1197
+ if (symbol === undefined) {
1198
+ throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrdersV1() requires a symbol argument');
1199
+ }
1198
1200
  return await this.fetchOrdersByStates('pre-submitted,submitted,partial-filled', symbol, since, limit, params);
1199
1201
  }
1200
1202
  async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
@@ -1206,7 +1208,7 @@ class huobijp extends huobijp$1 {
1206
1208
  * @param {int} [since] the earliest time in ms to fetch orders for
1207
1209
  * @param {int} [limit] the maximum number of orde structures to retrieve
1208
1210
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1209
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1211
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1210
1212
  */
1211
1213
  return await this.fetchOrdersByStates('filled,partial-canceled,canceled', symbol, since, limit, params);
1212
1214
  }
@@ -1367,7 +1369,7 @@ class huobijp extends huobijp$1 {
1367
1369
  * @param {float} amount how much of currency you want to trade in units of base currency
1368
1370
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1369
1371
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1370
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1372
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1371
1373
  */
1372
1374
  await this.loadMarkets();
1373
1375
  await this.loadAccounts();
@@ -1448,7 +1450,7 @@ class huobijp extends huobijp$1 {
1448
1450
  * @param {string} id order id
1449
1451
  * @param {string} symbol not used by huobijp cancelOrder ()
1450
1452
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1451
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1453
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1452
1454
  */
1453
1455
  const response = await this.privatePostOrderOrdersIdSubmitcancel({ 'id': id });
1454
1456
  //
@@ -1470,7 +1472,7 @@ class huobijp extends huobijp$1 {
1470
1472
  * @param {string[]} ids order ids
1471
1473
  * @param {string} symbol not used by huobijp cancelOrders ()
1472
1474
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1473
- * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1475
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1474
1476
  */
1475
1477
  await this.loadMarkets();
1476
1478
  const clientOrderIds = this.safeValue2(params, 'clientOrderIds', 'client-order-ids');
@@ -1524,7 +1526,7 @@ class huobijp extends huobijp$1 {
1524
1526
  * @description cancel all open orders
1525
1527
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1526
1528
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1527
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1529
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1528
1530
  */
1529
1531
  await this.loadMarkets();
1530
1532
  const request = {
@@ -1601,7 +1603,7 @@ class huobijp extends huobijp$1 {
1601
1603
  * @param {int} [since] the earliest time in ms to fetch deposits for
1602
1604
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1603
1605
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1604
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1606
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1605
1607
  */
1606
1608
  if (limit === undefined || limit > 100) {
1607
1609
  limit = 100;
@@ -1634,7 +1636,7 @@ class huobijp extends huobijp$1 {
1634
1636
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1635
1637
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1636
1638
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1637
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1639
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1638
1640
  */
1639
1641
  if (limit === undefined || limit > 100) {
1640
1642
  limit = 100;
@@ -1771,7 +1773,7 @@ class huobijp extends huobijp$1 {
1771
1773
  * @param {string} address the address to withdraw to
1772
1774
  * @param {string} tag
1773
1775
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1774
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1776
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1775
1777
  */
1776
1778
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1777
1779
  await this.loadMarkets();
@@ -44,12 +44,11 @@ class idex extends idex$1 {
44
44
  'createStopMarketOrder': true,
45
45
  'createStopOrder': true,
46
46
  'fetchBalance': true,
47
- 'fetchBorrowRate': false,
48
47
  'fetchBorrowRateHistories': false,
49
48
  'fetchBorrowRateHistory': false,
50
- 'fetchBorrowRates': false,
51
- 'fetchBorrowRatesPerSymbol': false,
52
49
  'fetchClosedOrders': true,
50
+ 'fetchCrossBorrowRate': false,
51
+ 'fetchCrossBorrowRates': false,
53
52
  'fetchCurrencies': true,
54
53
  'fetchDeposit': true,
55
54
  'fetchDeposits': true,
@@ -58,6 +57,8 @@ class idex extends idex$1 {
58
57
  'fetchFundingRateHistory': false,
59
58
  'fetchFundingRates': false,
60
59
  'fetchIndexOHLCV': false,
60
+ 'fetchIsolatedBorrowRate': false,
61
+ 'fetchIsolatedBorrowRates': false,
61
62
  'fetchLeverage': false,
62
63
  'fetchLeverageTiers': false,
63
64
  'fetchMarginMode': false,
@@ -322,7 +323,7 @@ class idex extends idex$1 {
322
323
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
323
324
  * @param {string} symbol unified symbol of the market to fetch the ticker for
324
325
  * @param {object} [params] extra parameters specific to the idex api endpoint
325
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
326
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
326
327
  */
327
328
  await this.loadMarkets();
328
329
  const market = this.market(symbol);
@@ -358,7 +359,7 @@ class idex extends idex$1 {
358
359
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
359
360
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
360
361
  * @param {object} [params] extra parameters specific to the idex api endpoint
361
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
362
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
362
363
  */
363
364
  await this.loadMarkets();
364
365
  // [
@@ -498,7 +499,7 @@ class idex extends idex$1 {
498
499
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
499
500
  * @param {int} [limit] the maximum amount of trades to fetch
500
501
  * @param {object} [params] extra parameters specific to the idex api endpoint
501
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
502
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
502
503
  */
503
504
  await this.loadMarkets();
504
505
  const market = this.market(symbol);
@@ -608,7 +609,7 @@ class idex extends idex$1 {
608
609
  * @name idex#fetchTradingFees
609
610
  * @description fetch the trading fees for multiple markets
610
611
  * @param {object} [params] extra parameters specific to the idex api endpoint
611
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
612
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
612
613
  */
613
614
  this.checkRequiredCredentials();
614
615
  await this.loadMarkets();
@@ -655,7 +656,7 @@ class idex extends idex$1 {
655
656
  * @param {string} symbol unified symbol of the market to fetch the order book for
656
657
  * @param {int} [limit] the maximum amount of order book entries to return
657
658
  * @param {object} [params] extra parameters specific to the idex api endpoint
658
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
659
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
659
660
  */
660
661
  await this.loadMarkets();
661
662
  const market = this.market(symbol);
@@ -781,7 +782,7 @@ class idex extends idex$1 {
781
782
  * @name idex#fetchBalance
782
783
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
783
784
  * @param {object} [params] extra parameters specific to the idex api endpoint
784
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
785
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
785
786
  */
786
787
  this.checkRequiredCredentials();
787
788
  await this.loadMarkets();
@@ -828,7 +829,7 @@ class idex extends idex$1 {
828
829
  * @param {int} [since] the earliest time in ms to fetch trades for
829
830
  * @param {int} [limit] the maximum number of trades structures to retrieve
830
831
  * @param {object} [params] extra parameters specific to the idex api endpoint
831
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
832
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
832
833
  */
833
834
  this.checkRequiredCredentials();
834
835
  await this.loadMarkets();
@@ -894,7 +895,7 @@ class idex extends idex$1 {
894
895
  * @description fetches information on an order made by the user
895
896
  * @param {string} symbol unified symbol of the market the order was made in
896
897
  * @param {object} [params] extra parameters specific to the idex api endpoint
897
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
898
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
898
899
  */
899
900
  const request = {
900
901
  'orderId': id,
@@ -910,7 +911,7 @@ class idex extends idex$1 {
910
911
  * @param {int} [since] the earliest time in ms to fetch open orders for
911
912
  * @param {int} [limit] the maximum number of open orders structures to retrieve
912
913
  * @param {object} [params] extra parameters specific to the idex api endpoint
913
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
914
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
914
915
  */
915
916
  const request = {
916
917
  'closed': false,
@@ -926,7 +927,7 @@ class idex extends idex$1 {
926
927
  * @param {int} [since] the earliest time in ms to fetch orders for
927
928
  * @param {int} [limit] the maximum number of orde structures to retrieve
928
929
  * @param {object} [params] extra parameters specific to the idex api endpoint
929
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
930
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
930
931
  */
931
932
  const request = {
932
933
  'closed': true,
@@ -1139,7 +1140,7 @@ class idex extends idex$1 {
1139
1140
  * @param {float} amount how much of currency you want to trade in units of base currency
1140
1141
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1141
1142
  * @param {object} [params] extra parameters specific to the idex api endpoint
1142
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1143
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1143
1144
  */
1144
1145
  this.checkRequiredCredentials();
1145
1146
  await this.loadMarkets();
@@ -1336,7 +1337,7 @@ class idex extends idex$1 {
1336
1337
  * @param {string} address the address to withdraw to
1337
1338
  * @param {string} tag
1338
1339
  * @param {object} [params] extra parameters specific to the idex api endpoint
1339
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1340
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1340
1341
  */
1341
1342
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1342
1343
  this.checkRequiredCredentials();
@@ -1386,7 +1387,7 @@ class idex extends idex$1 {
1386
1387
  * @description cancel all open orders
1387
1388
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1388
1389
  * @param {object} [params] extra parameters specific to the idex api endpoint
1389
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1390
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1390
1391
  */
1391
1392
  this.checkRequiredCredentials();
1392
1393
  await this.loadMarkets();
@@ -1426,7 +1427,7 @@ class idex extends idex$1 {
1426
1427
  * @param {string} id order id
1427
1428
  * @param {string} symbol unified symbol of the market the order was made in
1428
1429
  * @param {object} [params] extra parameters specific to the idex api endpoint
1429
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1430
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1430
1431
  */
1431
1432
  this.checkRequiredCredentials();
1432
1433
  await this.loadMarkets();
@@ -1477,7 +1478,7 @@ class idex extends idex$1 {
1477
1478
  * @param {string} id deposit id
1478
1479
  * @param {string} code not used by idex fetchDeposit ()
1479
1480
  * @param {object} [params] extra parameters specific to the idex api endpoint
1480
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1481
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1481
1482
  */
1482
1483
  await this.loadMarkets();
1483
1484
  const nonce = this.uuidv1();
@@ -1498,7 +1499,7 @@ class idex extends idex$1 {
1498
1499
  * @param {int} [since] the earliest time in ms to fetch deposits for
1499
1500
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1500
1501
  * @param {object} [params] extra parameters specific to the idex api endpoint
1501
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1502
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1502
1503
  */
1503
1504
  params = this.extend({
1504
1505
  'method': 'privateGetDeposits',
@@ -1527,7 +1528,7 @@ class idex extends idex$1 {
1527
1528
  * @param {string} id withdrawal id
1528
1529
  * @param {string} code not used by idex.fetchWithdrawal
1529
1530
  * @param {object} [params] extra parameters specific to the idex api endpoint
1530
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1531
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1531
1532
  */
1532
1533
  await this.loadMarkets();
1533
1534
  const nonce = this.uuidv1();
@@ -1548,7 +1549,7 @@ class idex extends idex$1 {
1548
1549
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1549
1550
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1550
1551
  * @param {object} [params] extra parameters specific to the idex api endpoint
1551
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1552
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1552
1553
  */
1553
1554
  params = this.extend({
1554
1555
  'method': 'privateGetWithdrawals',
@@ -34,17 +34,18 @@ class independentreserve extends independentreserve$1 {
34
34
  'createStopMarketOrder': false,
35
35
  'createStopOrder': false,
36
36
  'fetchBalance': true,
37
- 'fetchBorrowRate': false,
38
37
  'fetchBorrowRateHistories': false,
39
38
  'fetchBorrowRateHistory': false,
40
- 'fetchBorrowRates': false,
41
- 'fetchBorrowRatesPerSymbol': false,
42
39
  'fetchClosedOrders': true,
40
+ 'fetchCrossBorrowRate': false,
41
+ 'fetchCrossBorrowRates': false,
43
42
  'fetchFundingHistory': false,
44
43
  'fetchFundingRate': false,
45
44
  'fetchFundingRateHistory': false,
46
45
  'fetchFundingRates': false,
47
46
  'fetchIndexOHLCV': false,
47
+ 'fetchIsolatedBorrowRate': false,
48
+ 'fetchIsolatedBorrowRates': false,
48
49
  'fetchLeverage': false,
49
50
  'fetchLeverageTiers': false,
50
51
  'fetchMarginMode': false,
@@ -237,7 +238,7 @@ class independentreserve extends independentreserve$1 {
237
238
  * @name independentreserve#fetchBalance
238
239
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
239
240
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
240
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
241
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
241
242
  */
242
243
  await this.loadMarkets();
243
244
  const response = await this.privatePostGetAccounts(params);
@@ -251,7 +252,7 @@ class independentreserve extends independentreserve$1 {
251
252
  * @param {string} symbol unified symbol of the market to fetch the order book for
252
253
  * @param {int} [limit] the maximum amount of order book entries to return
253
254
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
254
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
255
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
255
256
  */
256
257
  await this.loadMarkets();
257
258
  const market = this.market(symbol);
@@ -317,7 +318,7 @@ class independentreserve extends independentreserve$1 {
317
318
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
318
319
  * @param {string} symbol unified symbol of the market to fetch the ticker for
319
320
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
320
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
321
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
321
322
  */
322
323
  await this.loadMarkets();
323
324
  const market = this.market(symbol);
@@ -462,7 +463,7 @@ class independentreserve extends independentreserve$1 {
462
463
  * @description fetches information on an order made by the user
463
464
  * @param {string} symbol unified symbol of the market the order was made in
464
465
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
465
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
466
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
466
467
  */
467
468
  await this.loadMarkets();
468
469
  const response = await this.privatePostGetOrderDetails(this.extend({
@@ -483,7 +484,7 @@ class independentreserve extends independentreserve$1 {
483
484
  * @param {int} [since] the earliest time in ms to fetch open orders for
484
485
  * @param {int} [limit] the maximum number of open orders structures to retrieve
485
486
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
486
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
487
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
487
488
  */
488
489
  await this.loadMarkets();
489
490
  const request = this.ordered({});
@@ -511,7 +512,7 @@ class independentreserve extends independentreserve$1 {
511
512
  * @param {int} [since] the earliest time in ms to fetch orders for
512
513
  * @param {int} [limit] the maximum number of orde structures to retrieve
513
514
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
514
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
515
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
515
516
  */
516
517
  await this.loadMarkets();
517
518
  const request = this.ordered({});
@@ -539,7 +540,7 @@ class independentreserve extends independentreserve$1 {
539
540
  * @param {int} [since] the earliest time in ms to fetch trades for
540
541
  * @param {int} [limit] the maximum number of trades structures to retrieve
541
542
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
542
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
543
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
543
544
  */
544
545
  await this.loadMarkets();
545
546
  const pageIndex = this.safeInteger(params, 'pageIndex', 1);
@@ -607,7 +608,7 @@ class independentreserve extends independentreserve$1 {
607
608
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
608
609
  * @param {int} [limit] the maximum amount of trades to fetch
609
610
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
610
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
611
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
611
612
  */
612
613
  await this.loadMarkets();
613
614
  const market = this.market(symbol);
@@ -625,7 +626,7 @@ class independentreserve extends independentreserve$1 {
625
626
  * @name independentreserve#fetchTradingFees
626
627
  * @description fetch the trading fees for multiple markets
627
628
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
628
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
629
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
629
630
  */
630
631
  await this.loadMarkets();
631
632
  const response = await this.privatePostGetBrokerageFees(params);
@@ -676,7 +677,7 @@ class independentreserve extends independentreserve$1 {
676
677
  * @param {float} amount how much of currency you want to trade in units of base currency
677
678
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
678
679
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
679
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
680
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
680
681
  */
681
682
  await this.loadMarkets();
682
683
  const market = this.market(symbol);
@@ -707,7 +708,7 @@ class independentreserve extends independentreserve$1 {
707
708
  * @param {string} id order id
708
709
  * @param {string} symbol unified symbol of the market the order was made in
709
710
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
710
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
711
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
711
712
  */
712
713
  await this.loadMarkets();
713
714
  const request = {