ccxt 4.1.55 → 4.1.57

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 (328) hide show
  1. package/.git-templates/hooks/pre-push +2 -2
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +6 -6
  4. package/build.sh +30 -8
  5. package/dist/ccxt.browser.js +5592 -4907
  6. package/dist/ccxt.browser.min.js +13 -13
  7. package/dist/cjs/ccxt.js +1 -1
  8. package/dist/cjs/src/ace.js +17 -13
  9. package/dist/cjs/src/alpaca.js +6 -6
  10. package/dist/cjs/src/ascendex.js +35 -29
  11. package/dist/cjs/src/base/Exchange.js +39 -26
  12. package/dist/cjs/src/base/Precise.js +1 -3
  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 +17 -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 +129 -94
  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 +101 -78
  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 +135 -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 +92 -84
  82. package/dist/cjs/src/p2b.js +80 -83
  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 +6 -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/bitbank.d.ts +1 -0
  152. package/js/src/abstract/bybit.d.ts +1 -0
  153. package/js/src/abstract/cryptocom.d.ts +0 -20
  154. package/js/src/abstract/htx.d.ts +3 -0
  155. package/js/src/abstract/huobi.d.ts +3 -0
  156. package/js/src/abstract/huobipro.d.ts +3 -0
  157. package/js/src/abstract/okex.d.ts +3 -1
  158. package/js/src/abstract/okex5.d.ts +3 -1
  159. package/js/src/abstract/okx.d.ts +3 -1
  160. package/js/src/ace.js +18 -14
  161. package/js/src/alpaca.js +6 -6
  162. package/js/src/ascendex.js +35 -29
  163. package/js/src/base/Exchange.d.ts +37 -34
  164. package/js/src/base/Exchange.js +39 -26
  165. package/js/src/base/Precise.d.ts +4 -4
  166. package/js/src/base/Precise.js +1 -3
  167. package/js/src/base/functions/type.d.ts +25 -25
  168. package/js/src/base/types.d.ts +21 -14
  169. package/js/src/bigone.js +25 -21
  170. package/js/src/binance.d.ts +2 -2
  171. package/js/src/binance.js +97 -76
  172. package/js/src/bingx.js +63 -44
  173. package/js/src/bit2c.js +19 -16
  174. package/js/src/bitbank.js +17 -15
  175. package/js/src/bitbns.js +28 -18
  176. package/js/src/bitfinex.js +23 -21
  177. package/js/src/bitfinex2.js +32 -28
  178. package/js/src/bitflyer.js +28 -20
  179. package/js/src/bitforex.js +26 -19
  180. package/js/src/bitget.d.ts +25 -3
  181. package/js/src/bitget.js +184 -147
  182. package/js/src/bithumb.js +23 -16
  183. package/js/src/bitmart.d.ts +1 -1
  184. package/js/src/bitmart.js +129 -94
  185. package/js/src/bitmex.d.ts +2 -2
  186. package/js/src/bitmex.js +104 -64
  187. package/js/src/bitopro.js +38 -26
  188. package/js/src/bitpanda.js +24 -23
  189. package/js/src/bitrue.js +33 -24
  190. package/js/src/bitso.js +24 -23
  191. package/js/src/bitstamp.d.ts +2 -2
  192. package/js/src/bitstamp.js +24 -23
  193. package/js/src/bittrex.js +30 -29
  194. package/js/src/bitvavo.js +38 -30
  195. package/js/src/bl3p.js +11 -10
  196. package/js/src/blockchaincom.js +20 -20
  197. package/js/src/btcalpha.js +18 -17
  198. package/js/src/btcbox.js +13 -12
  199. package/js/src/btcmarkets.js +20 -19
  200. package/js/src/btcturk.js +14 -13
  201. package/js/src/bybit.d.ts +1 -1
  202. package/js/src/bybit.js +84 -54
  203. package/js/src/cex.js +16 -14
  204. package/js/src/coinbase.js +29 -27
  205. package/js/src/coinbasepro.js +27 -25
  206. package/js/src/coincheck.js +15 -14
  207. package/js/src/coinex.d.ts +1 -1
  208. package/js/src/coinex.js +101 -78
  209. package/js/src/coinlist.js +28 -27
  210. package/js/src/coinmate.js +21 -18
  211. package/js/src/coinone.js +21 -16
  212. package/js/src/coinsph.js +37 -28
  213. package/js/src/coinspot.js +12 -11
  214. package/js/src/cryptocom.d.ts +0 -23
  215. package/js/src/cryptocom.js +40 -202
  216. package/js/src/currencycom.js +32 -25
  217. package/js/src/delta.js +35 -29
  218. package/js/src/deribit.js +39 -36
  219. package/js/src/digifinex.d.ts +2 -2
  220. package/js/src/digifinex.js +65 -45
  221. package/js/src/exmo.js +29 -27
  222. package/js/src/gate.d.ts +1 -1
  223. package/js/src/gate.js +67 -53
  224. package/js/src/gemini.js +23 -20
  225. package/js/src/hitbtc.d.ts +1 -0
  226. package/js/src/hitbtc.js +65 -56
  227. package/js/src/hollaex.js +30 -27
  228. package/js/src/htx.d.ts +11 -3
  229. package/js/src/htx.js +135 -143
  230. package/js/src/huobijp.js +23 -21
  231. package/js/src/idex.js +22 -21
  232. package/js/src/independentreserve.js +15 -14
  233. package/js/src/indodax.js +30 -26
  234. package/js/src/kraken.js +29 -27
  235. package/js/src/krakenfutures.js +29 -22
  236. package/js/src/kucoin.d.ts +1 -1
  237. package/js/src/kucoin.js +48 -43
  238. package/js/src/kucoinfutures.js +33 -28
  239. package/js/src/kuna.js +25 -24
  240. package/js/src/latoken.js +25 -23
  241. package/js/src/lbank.js +46 -31
  242. package/js/src/luno.js +22 -19
  243. package/js/src/lykke.js +19 -17
  244. package/js/src/mercado.js +30 -19
  245. package/js/src/mexc.d.ts +1 -1
  246. package/js/src/mexc.js +60 -49
  247. package/js/src/ndax.js +23 -22
  248. package/js/src/novadax.js +23 -22
  249. package/js/src/oceanex.js +22 -19
  250. package/js/src/okcoin.js +29 -23
  251. package/js/src/okx.d.ts +2 -2
  252. package/js/src/okx.js +92 -84
  253. package/js/src/p2b.d.ts +8 -7
  254. package/js/src/p2b.js +80 -82
  255. package/js/src/paymium.js +10 -10
  256. package/js/src/phemex.js +63 -40
  257. package/js/src/poloniex.js +22 -22
  258. package/js/src/poloniexfutures.js +23 -19
  259. package/js/src/pro/alpaca.js +5 -5
  260. package/js/src/pro/ascendex.js +4 -4
  261. package/js/src/pro/binance.js +16 -16
  262. package/js/src/pro/bingx.js +1 -1
  263. package/js/src/pro/bitfinex.js +4 -4
  264. package/js/src/pro/bitfinex2.d.ts +1 -1
  265. package/js/src/pro/bitfinex2.js +6 -6
  266. package/js/src/pro/bitget.js +7 -7
  267. package/js/src/pro/bitmart.js +7 -5
  268. package/js/src/pro/bitmex.js +6 -6
  269. package/js/src/pro/bitopro.js +4 -4
  270. package/js/src/pro/bitpanda.js +6 -6
  271. package/js/src/pro/bitrue.js +2 -2
  272. package/js/src/pro/bitstamp.js +7 -5
  273. package/js/src/pro/bittrex.js +6 -6
  274. package/js/src/pro/bitvavo.js +12 -8
  275. package/js/src/pro/blockchaincom.js +8 -8
  276. package/js/src/pro/bybit.js +7 -7
  277. package/js/src/pro/cex.js +14 -10
  278. package/js/src/pro/coinbase.js +5 -5
  279. package/js/src/pro/coinbasepro.js +12 -11
  280. package/js/src/pro/coinex.js +7 -9
  281. package/js/src/pro/cryptocom.js +9 -9
  282. package/js/src/pro/currencycom.js +4 -4
  283. package/js/src/pro/deribit.js +6 -6
  284. package/js/src/pro/exmo.js +12 -14
  285. package/js/src/pro/gate.js +7 -7
  286. package/js/src/pro/gemini.js +3 -3
  287. package/js/src/pro/hitbtc.d.ts +8 -1
  288. package/js/src/pro/hitbtc.js +264 -5
  289. package/js/src/pro/hollaex.js +5 -5
  290. package/js/src/pro/htx.js +6 -6
  291. package/js/src/pro/huobijp.js +3 -3
  292. package/js/src/pro/idex.js +4 -4
  293. package/js/src/pro/independentreserve.js +2 -2
  294. package/js/src/pro/kraken.js +10 -10
  295. package/js/src/pro/krakenfutures.d.ts +1 -0
  296. package/js/src/pro/krakenfutures.js +42 -18
  297. package/js/src/pro/kucoin.js +7 -7
  298. package/js/src/pro/kucoinfutures.js +8 -6
  299. package/js/src/pro/luno.js +2 -2
  300. package/js/src/pro/mexc.js +6 -6
  301. package/js/src/pro/ndax.js +3 -3
  302. package/js/src/pro/okcoin.js +5 -5
  303. package/js/src/pro/okx.js +12 -12
  304. package/js/src/pro/phemex.js +6 -6
  305. package/js/src/pro/poloniex.js +7 -7
  306. package/js/src/pro/poloniexfutures.js +5 -5
  307. package/js/src/pro/probit.js +6 -6
  308. package/js/src/pro/upbit.js +3 -3
  309. package/js/src/pro/wazirx.js +8 -8
  310. package/js/src/pro/whitebit.js +13 -9
  311. package/js/src/pro/woo.js +1 -1
  312. package/js/src/probit.js +29 -24
  313. package/js/src/tidex.js +16 -15
  314. package/js/src/timex.js +19 -18
  315. package/js/src/tokocrypto.js +28 -23
  316. package/js/src/upbit.js +19 -19
  317. package/js/src/wavesexchange.js +23 -20
  318. package/js/src/wazirx.js +25 -18
  319. package/js/src/whitebit.js +33 -27
  320. package/js/src/woo.js +45 -35
  321. package/js/src/yobit.js +25 -20
  322. package/js/src/zaif.js +9 -9
  323. package/js/src/zonda.js +18 -17
  324. package/package.json +2 -2
  325. package/js/src/bitstamp1.d.ts +0 -28
  326. package/js/src/bitstamp1.js +0 -430
  327. package/js/src/lbank2.d.ts +0 -90
  328. package/js/src/lbank2.js +0 -2779
package/js/src/huobijp.js CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  // ---------------------------------------------------------------------------
8
8
  import Exchange from './abstract/huobijp.js';
9
- import { AuthenticationError, ExchangeError, PermissionDenied, ExchangeNotAvailable, OnMaintenance, InvalidOrder, OrderNotFound, InsufficientFunds, BadSymbol, BadRequest, RequestTimeout, NetworkError } from './base/errors.js';
9
+ import { AuthenticationError, ExchangeError, PermissionDenied, ExchangeNotAvailable, OnMaintenance, InvalidOrder, OrderNotFound, InsufficientFunds, BadSymbol, BadRequest, RequestTimeout, NetworkError, ArgumentsRequired } from './base/errors.js';
10
10
  import { Precise } from './base/Precise.js';
11
11
  import { TRUNCATE, TICK_SIZE } from './base/functions/number.js';
12
12
  import { sha256 } from './static_dependencies/noble-hashes/sha256.js';
@@ -617,7 +617,7 @@ export default class huobijp extends Exchange {
617
617
  * @param {string} symbol unified symbol of the market to fetch the order book for
618
618
  * @param {int} [limit] the maximum amount of order book entries to return
619
619
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
620
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
620
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
621
621
  */
622
622
  await this.loadMarkets();
623
623
  const market = this.market(symbol);
@@ -666,7 +666,7 @@ export default class huobijp extends Exchange {
666
666
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
667
667
  * @param {string} symbol unified symbol of the market to fetch the ticker for
668
668
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
669
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
669
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
670
670
  */
671
671
  await this.loadMarkets();
672
672
  const market = this.market(symbol);
@@ -707,7 +707,7 @@ export default class huobijp extends Exchange {
707
707
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
708
708
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
709
709
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
710
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
710
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
711
711
  */
712
712
  await this.loadMarkets();
713
713
  symbols = this.marketSymbols(symbols);
@@ -818,7 +818,7 @@ export default class huobijp extends Exchange {
818
818
  * @param {int} [since] the earliest time in ms to fetch trades for
819
819
  * @param {int} [limit] the maximum number of trades to retrieve
820
820
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
821
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
821
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
822
822
  */
823
823
  await this.loadMarkets();
824
824
  const request = {
@@ -836,7 +836,7 @@ export default class huobijp extends Exchange {
836
836
  * @param {int} [since] the earliest time in ms to fetch trades for
837
837
  * @param {int} [limit] the maximum number of trades structures to retrieve
838
838
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
839
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
839
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
840
840
  */
841
841
  await this.loadMarkets();
842
842
  let market = undefined;
@@ -864,7 +864,7 @@ export default class huobijp extends Exchange {
864
864
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
865
865
  * @param {int} [limit] the maximum amount of trades to fetch
866
866
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
867
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
867
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
868
868
  */
869
869
  await this.loadMarkets();
870
870
  const market = this.market(symbol);
@@ -976,7 +976,7 @@ export default class huobijp extends Exchange {
976
976
  * @name huobijp#fetchAccounts
977
977
  * @description fetch all the accounts associated with a profile
978
978
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
979
- * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
979
+ * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
980
980
  */
981
981
  await this.loadMarkets();
982
982
  const response = await this.privateGetAccountAccounts(params);
@@ -1110,7 +1110,7 @@ export default class huobijp extends Exchange {
1110
1110
  * @name huobijp#fetchBalance
1111
1111
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1112
1112
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1113
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1113
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1114
1114
  */
1115
1115
  await this.loadMarkets();
1116
1116
  await this.loadAccounts();
@@ -1159,7 +1159,7 @@ export default class huobijp extends Exchange {
1159
1159
  * @description fetches information on an order made by the user
1160
1160
  * @param {string} symbol unified symbol of the market the order was made in
1161
1161
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1162
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1162
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1163
1163
  */
1164
1164
  await this.loadMarkets();
1165
1165
  const request = {
@@ -1178,7 +1178,7 @@ export default class huobijp extends Exchange {
1178
1178
  * @param {int} [since] the earliest time in ms to fetch orders for
1179
1179
  * @param {int} [limit] the maximum number of orde structures to retrieve
1180
1180
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1181
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1181
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1182
1182
  */
1183
1183
  return await this.fetchOrdersByStates('pre-submitted,submitted,partial-filled,filled,partial-canceled,canceled', symbol, since, limit, params);
1184
1184
  }
@@ -1191,13 +1191,15 @@ export default class huobijp extends Exchange {
1191
1191
  * @param {int} [since] the earliest time in ms to fetch open orders for
1192
1192
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1193
1193
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1194
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1194
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1195
1195
  */
1196
1196
  const method = this.safeString(this.options, 'fetchOpenOrdersMethod', 'fetch_open_orders_v1');
1197
1197
  return await this[method](symbol, since, limit, params);
1198
1198
  }
1199
1199
  async fetchOpenOrdersV1(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1200
- this.checkRequiredSymbol('fetchOpenOrdersV1', symbol);
1200
+ if (symbol === undefined) {
1201
+ throw new ArgumentsRequired(this.id + ' fetchOpenOrdersV1() requires a symbol argument');
1202
+ }
1201
1203
  return await this.fetchOrdersByStates('pre-submitted,submitted,partial-filled', symbol, since, limit, params);
1202
1204
  }
1203
1205
  async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
@@ -1209,7 +1211,7 @@ export default class huobijp extends Exchange {
1209
1211
  * @param {int} [since] the earliest time in ms to fetch orders for
1210
1212
  * @param {int} [limit] the maximum number of orde structures to retrieve
1211
1213
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1212
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1214
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1213
1215
  */
1214
1216
  return await this.fetchOrdersByStates('filled,partial-canceled,canceled', symbol, since, limit, params);
1215
1217
  }
@@ -1370,7 +1372,7 @@ export default class huobijp extends Exchange {
1370
1372
  * @param {float} amount how much of currency you want to trade in units of base currency
1371
1373
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1372
1374
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1373
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1375
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1374
1376
  */
1375
1377
  await this.loadMarkets();
1376
1378
  await this.loadAccounts();
@@ -1451,7 +1453,7 @@ export default class huobijp extends Exchange {
1451
1453
  * @param {string} id order id
1452
1454
  * @param {string} symbol not used by huobijp cancelOrder ()
1453
1455
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1454
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1456
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1455
1457
  */
1456
1458
  const response = await this.privatePostOrderOrdersIdSubmitcancel({ 'id': id });
1457
1459
  //
@@ -1473,7 +1475,7 @@ export default class huobijp extends Exchange {
1473
1475
  * @param {string[]} ids order ids
1474
1476
  * @param {string} symbol not used by huobijp cancelOrders ()
1475
1477
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1476
- * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1478
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1477
1479
  */
1478
1480
  await this.loadMarkets();
1479
1481
  const clientOrderIds = this.safeValue2(params, 'clientOrderIds', 'client-order-ids');
@@ -1527,7 +1529,7 @@ export default class huobijp extends Exchange {
1527
1529
  * @description cancel all open orders
1528
1530
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1529
1531
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1530
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1532
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1531
1533
  */
1532
1534
  await this.loadMarkets();
1533
1535
  const request = {
@@ -1604,7 +1606,7 @@ export default class huobijp extends Exchange {
1604
1606
  * @param {int} [since] the earliest time in ms to fetch deposits for
1605
1607
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1606
1608
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1607
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1609
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1608
1610
  */
1609
1611
  if (limit === undefined || limit > 100) {
1610
1612
  limit = 100;
@@ -1637,7 +1639,7 @@ export default class huobijp extends Exchange {
1637
1639
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1638
1640
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1639
1641
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1640
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1642
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1641
1643
  */
1642
1644
  if (limit === undefined || limit > 100) {
1643
1645
  limit = 100;
@@ -1774,7 +1776,7 @@ export default class huobijp extends Exchange {
1774
1776
  * @param {string} address the address to withdraw to
1775
1777
  * @param {string} tag
1776
1778
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
1777
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1779
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1778
1780
  */
1779
1781
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1780
1782
  await this.loadMarkets();
package/js/src/idex.js CHANGED
@@ -47,12 +47,11 @@ export default class idex extends Exchange {
47
47
  'createStopMarketOrder': true,
48
48
  'createStopOrder': true,
49
49
  'fetchBalance': true,
50
- 'fetchBorrowRate': false,
51
50
  'fetchBorrowRateHistories': false,
52
51
  'fetchBorrowRateHistory': false,
53
- 'fetchBorrowRates': false,
54
- 'fetchBorrowRatesPerSymbol': false,
55
52
  'fetchClosedOrders': true,
53
+ 'fetchCrossBorrowRate': false,
54
+ 'fetchCrossBorrowRates': false,
56
55
  'fetchCurrencies': true,
57
56
  'fetchDeposit': true,
58
57
  'fetchDeposits': true,
@@ -61,6 +60,8 @@ export default class idex extends Exchange {
61
60
  'fetchFundingRateHistory': false,
62
61
  'fetchFundingRates': false,
63
62
  'fetchIndexOHLCV': false,
63
+ 'fetchIsolatedBorrowRate': false,
64
+ 'fetchIsolatedBorrowRates': false,
64
65
  'fetchLeverage': false,
65
66
  'fetchLeverageTiers': false,
66
67
  'fetchMarginMode': false,
@@ -325,7 +326,7 @@ export default class idex extends Exchange {
325
326
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
326
327
  * @param {string} symbol unified symbol of the market to fetch the ticker for
327
328
  * @param {object} [params] extra parameters specific to the idex api endpoint
328
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
329
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
329
330
  */
330
331
  await this.loadMarkets();
331
332
  const market = this.market(symbol);
@@ -361,7 +362,7 @@ export default class idex extends Exchange {
361
362
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
362
363
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
363
364
  * @param {object} [params] extra parameters specific to the idex api endpoint
364
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
365
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
365
366
  */
366
367
  await this.loadMarkets();
367
368
  // [
@@ -501,7 +502,7 @@ export default class idex extends Exchange {
501
502
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
502
503
  * @param {int} [limit] the maximum amount of trades to fetch
503
504
  * @param {object} [params] extra parameters specific to the idex api endpoint
504
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
505
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
505
506
  */
506
507
  await this.loadMarkets();
507
508
  const market = this.market(symbol);
@@ -611,7 +612,7 @@ export default class idex extends Exchange {
611
612
  * @name idex#fetchTradingFees
612
613
  * @description fetch the trading fees for multiple markets
613
614
  * @param {object} [params] extra parameters specific to the idex api endpoint
614
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
615
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
615
616
  */
616
617
  this.checkRequiredCredentials();
617
618
  await this.loadMarkets();
@@ -658,7 +659,7 @@ export default class idex extends Exchange {
658
659
  * @param {string} symbol unified symbol of the market to fetch the order book for
659
660
  * @param {int} [limit] the maximum amount of order book entries to return
660
661
  * @param {object} [params] extra parameters specific to the idex api endpoint
661
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
662
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
662
663
  */
663
664
  await this.loadMarkets();
664
665
  const market = this.market(symbol);
@@ -784,7 +785,7 @@ export default class idex extends Exchange {
784
785
  * @name idex#fetchBalance
785
786
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
786
787
  * @param {object} [params] extra parameters specific to the idex api endpoint
787
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
788
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
788
789
  */
789
790
  this.checkRequiredCredentials();
790
791
  await this.loadMarkets();
@@ -831,7 +832,7 @@ export default class idex extends Exchange {
831
832
  * @param {int} [since] the earliest time in ms to fetch trades for
832
833
  * @param {int} [limit] the maximum number of trades structures to retrieve
833
834
  * @param {object} [params] extra parameters specific to the idex api endpoint
834
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
835
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
835
836
  */
836
837
  this.checkRequiredCredentials();
837
838
  await this.loadMarkets();
@@ -897,7 +898,7 @@ export default class idex extends Exchange {
897
898
  * @description fetches information on an order made by the user
898
899
  * @param {string} symbol unified symbol of the market the order was made in
899
900
  * @param {object} [params] extra parameters specific to the idex api endpoint
900
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
901
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
901
902
  */
902
903
  const request = {
903
904
  'orderId': id,
@@ -913,7 +914,7 @@ export default class idex extends Exchange {
913
914
  * @param {int} [since] the earliest time in ms to fetch open orders for
914
915
  * @param {int} [limit] the maximum number of open orders structures to retrieve
915
916
  * @param {object} [params] extra parameters specific to the idex api endpoint
916
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
917
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
917
918
  */
918
919
  const request = {
919
920
  'closed': false,
@@ -929,7 +930,7 @@ export default class idex extends Exchange {
929
930
  * @param {int} [since] the earliest time in ms to fetch orders for
930
931
  * @param {int} [limit] the maximum number of orde structures to retrieve
931
932
  * @param {object} [params] extra parameters specific to the idex api endpoint
932
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
933
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
933
934
  */
934
935
  const request = {
935
936
  'closed': true,
@@ -1142,7 +1143,7 @@ export default class idex extends Exchange {
1142
1143
  * @param {float} amount how much of currency you want to trade in units of base currency
1143
1144
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1144
1145
  * @param {object} [params] extra parameters specific to the idex api endpoint
1145
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1146
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1146
1147
  */
1147
1148
  this.checkRequiredCredentials();
1148
1149
  await this.loadMarkets();
@@ -1339,7 +1340,7 @@ export default class idex extends Exchange {
1339
1340
  * @param {string} address the address to withdraw to
1340
1341
  * @param {string} tag
1341
1342
  * @param {object} [params] extra parameters specific to the idex api endpoint
1342
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1343
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1343
1344
  */
1344
1345
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1345
1346
  this.checkRequiredCredentials();
@@ -1389,7 +1390,7 @@ export default class idex extends Exchange {
1389
1390
  * @description cancel all open orders
1390
1391
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1391
1392
  * @param {object} [params] extra parameters specific to the idex api endpoint
1392
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1393
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1393
1394
  */
1394
1395
  this.checkRequiredCredentials();
1395
1396
  await this.loadMarkets();
@@ -1429,7 +1430,7 @@ export default class idex extends Exchange {
1429
1430
  * @param {string} id order id
1430
1431
  * @param {string} symbol unified symbol of the market the order was made in
1431
1432
  * @param {object} [params] extra parameters specific to the idex api endpoint
1432
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1433
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1433
1434
  */
1434
1435
  this.checkRequiredCredentials();
1435
1436
  await this.loadMarkets();
@@ -1480,7 +1481,7 @@ export default class idex extends Exchange {
1480
1481
  * @param {string} id deposit id
1481
1482
  * @param {string} code not used by idex fetchDeposit ()
1482
1483
  * @param {object} [params] extra parameters specific to the idex api endpoint
1483
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1484
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1484
1485
  */
1485
1486
  await this.loadMarkets();
1486
1487
  const nonce = this.uuidv1();
@@ -1501,7 +1502,7 @@ export default class idex extends Exchange {
1501
1502
  * @param {int} [since] the earliest time in ms to fetch deposits for
1502
1503
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1503
1504
  * @param {object} [params] extra parameters specific to the idex api endpoint
1504
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1505
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1505
1506
  */
1506
1507
  params = this.extend({
1507
1508
  'method': 'privateGetDeposits',
@@ -1530,7 +1531,7 @@ export default class idex extends Exchange {
1530
1531
  * @param {string} id withdrawal id
1531
1532
  * @param {string} code not used by idex.fetchWithdrawal
1532
1533
  * @param {object} [params] extra parameters specific to the idex api endpoint
1533
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1534
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1534
1535
  */
1535
1536
  await this.loadMarkets();
1536
1537
  const nonce = this.uuidv1();
@@ -1551,7 +1552,7 @@ export default class idex extends Exchange {
1551
1552
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1552
1553
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1553
1554
  * @param {object} [params] extra parameters specific to the idex api endpoint
1554
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1555
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1555
1556
  */
1556
1557
  params = this.extend({
1557
1558
  'method': 'privateGetWithdrawals',
@@ -37,17 +37,18 @@ export default class independentreserve extends Exchange {
37
37
  'createStopMarketOrder': false,
38
38
  'createStopOrder': false,
39
39
  'fetchBalance': true,
40
- 'fetchBorrowRate': false,
41
40
  'fetchBorrowRateHistories': false,
42
41
  'fetchBorrowRateHistory': false,
43
- 'fetchBorrowRates': false,
44
- 'fetchBorrowRatesPerSymbol': false,
45
42
  'fetchClosedOrders': true,
43
+ 'fetchCrossBorrowRate': false,
44
+ 'fetchCrossBorrowRates': false,
46
45
  'fetchFundingHistory': false,
47
46
  'fetchFundingRate': false,
48
47
  'fetchFundingRateHistory': false,
49
48
  'fetchFundingRates': false,
50
49
  'fetchIndexOHLCV': false,
50
+ 'fetchIsolatedBorrowRate': false,
51
+ 'fetchIsolatedBorrowRates': false,
51
52
  'fetchLeverage': false,
52
53
  'fetchLeverageTiers': false,
53
54
  'fetchMarginMode': false,
@@ -240,7 +241,7 @@ export default class independentreserve extends Exchange {
240
241
  * @name independentreserve#fetchBalance
241
242
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
242
243
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
243
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
244
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
244
245
  */
245
246
  await this.loadMarkets();
246
247
  const response = await this.privatePostGetAccounts(params);
@@ -254,7 +255,7 @@ export default class independentreserve extends Exchange {
254
255
  * @param {string} symbol unified symbol of the market to fetch the order book for
255
256
  * @param {int} [limit] the maximum amount of order book entries to return
256
257
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
257
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
258
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
258
259
  */
259
260
  await this.loadMarkets();
260
261
  const market = this.market(symbol);
@@ -320,7 +321,7 @@ export default class independentreserve extends Exchange {
320
321
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
321
322
  * @param {string} symbol unified symbol of the market to fetch the ticker for
322
323
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
323
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
324
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
324
325
  */
325
326
  await this.loadMarkets();
326
327
  const market = this.market(symbol);
@@ -465,7 +466,7 @@ export default class independentreserve extends Exchange {
465
466
  * @description fetches information on an order made by the user
466
467
  * @param {string} symbol unified symbol of the market the order was made in
467
468
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
468
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
469
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
469
470
  */
470
471
  await this.loadMarkets();
471
472
  const response = await this.privatePostGetOrderDetails(this.extend({
@@ -486,7 +487,7 @@ export default class independentreserve extends Exchange {
486
487
  * @param {int} [since] the earliest time in ms to fetch open orders for
487
488
  * @param {int} [limit] the maximum number of open orders structures to retrieve
488
489
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
489
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
490
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
490
491
  */
491
492
  await this.loadMarkets();
492
493
  const request = this.ordered({});
@@ -514,7 +515,7 @@ export default class independentreserve extends Exchange {
514
515
  * @param {int} [since] the earliest time in ms to fetch orders for
515
516
  * @param {int} [limit] the maximum number of orde structures to retrieve
516
517
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
517
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
518
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
518
519
  */
519
520
  await this.loadMarkets();
520
521
  const request = this.ordered({});
@@ -542,7 +543,7 @@ export default class independentreserve extends Exchange {
542
543
  * @param {int} [since] the earliest time in ms to fetch trades for
543
544
  * @param {int} [limit] the maximum number of trades structures to retrieve
544
545
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
545
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
546
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
546
547
  */
547
548
  await this.loadMarkets();
548
549
  const pageIndex = this.safeInteger(params, 'pageIndex', 1);
@@ -610,7 +611,7 @@ export default class independentreserve extends Exchange {
610
611
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
611
612
  * @param {int} [limit] the maximum amount of trades to fetch
612
613
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
613
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
614
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
614
615
  */
615
616
  await this.loadMarkets();
616
617
  const market = this.market(symbol);
@@ -628,7 +629,7 @@ export default class independentreserve extends Exchange {
628
629
  * @name independentreserve#fetchTradingFees
629
630
  * @description fetch the trading fees for multiple markets
630
631
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
631
- * @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
632
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
632
633
  */
633
634
  await this.loadMarkets();
634
635
  const response = await this.privatePostGetBrokerageFees(params);
@@ -679,7 +680,7 @@ export default class independentreserve extends Exchange {
679
680
  * @param {float} amount how much of currency you want to trade in units of base currency
680
681
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
681
682
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
682
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
683
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
683
684
  */
684
685
  await this.loadMarkets();
685
686
  const market = this.market(symbol);
@@ -710,7 +711,7 @@ export default class independentreserve extends Exchange {
710
711
  * @param {string} id order id
711
712
  * @param {string} symbol unified symbol of the market the order was made in
712
713
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
713
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
714
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
714
715
  */
715
716
  await this.loadMarkets();
716
717
  const request = {