ccxt 4.0.74 → 4.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2635 -2383
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +11 -11
  6. package/dist/cjs/src/alpaca.js +7 -7
  7. package/dist/cjs/src/ascendex.js +25 -25
  8. package/dist/cjs/src/base/Exchange.js +4 -4
  9. package/dist/cjs/src/bigone.js +19 -19
  10. package/dist/cjs/src/binance.js +56 -56
  11. package/dist/cjs/src/bingx.js +85 -40
  12. package/dist/cjs/src/bit2c.js +12 -12
  13. package/dist/cjs/src/bitbank.js +13 -13
  14. package/dist/cjs/src/bitbns.js +14 -14
  15. package/dist/cjs/src/bitfinex.js +21 -21
  16. package/dist/cjs/src/bitfinex2.js +29 -29
  17. package/dist/cjs/src/bitflyer.js +17 -17
  18. package/dist/cjs/src/bitforex.js +11 -11
  19. package/dist/cjs/src/bitget.js +39 -39
  20. package/dist/cjs/src/bithumb.js +11 -11
  21. package/dist/cjs/src/bitmart.js +44 -31
  22. package/dist/cjs/src/bitmex.js +24 -24
  23. package/dist/cjs/src/bitopro.js +21 -21
  24. package/dist/cjs/src/bitpanda.js +21 -21
  25. package/dist/cjs/src/bitrue.js +18 -18
  26. package/dist/cjs/src/bitso.js +21 -21
  27. package/dist/cjs/src/bitstamp.js +21 -21
  28. package/dist/cjs/src/bitstamp1.js +8 -8
  29. package/dist/cjs/src/bittrex.js +27 -27
  30. package/dist/cjs/src/bitvavo.js +19 -19
  31. package/dist/cjs/src/bkex.js +21 -21
  32. package/dist/cjs/src/bl3p.js +8 -8
  33. package/dist/cjs/src/blockchaincom.js +21 -21
  34. package/dist/cjs/src/btcalpha.js +15 -15
  35. package/dist/cjs/src/btcbox.js +10 -10
  36. package/dist/cjs/src/btcmarkets.js +17 -17
  37. package/dist/cjs/src/btctradeua.js +8 -8
  38. package/dist/cjs/src/btcturk.js +11 -11
  39. package/dist/cjs/src/bybit.js +153 -121
  40. package/dist/cjs/src/cex.js +14 -14
  41. package/dist/cjs/src/coinbase.js +23 -23
  42. package/dist/cjs/src/coinbasepro.js +24 -24
  43. package/dist/cjs/src/coincheck.js +12 -12
  44. package/dist/cjs/src/coinex.js +87 -41
  45. package/dist/cjs/src/coinfalcon.js +16 -16
  46. package/dist/cjs/src/coinmate.js +14 -14
  47. package/dist/cjs/src/coinone.js +12 -12
  48. package/dist/cjs/src/coinsph.js +27 -22
  49. package/dist/cjs/src/coinspot.js +8 -8
  50. package/dist/cjs/src/cryptocom.js +29 -29
  51. package/dist/cjs/src/currencycom.js +20 -20
  52. package/dist/cjs/src/delta.js +25 -25
  53. package/dist/cjs/src/deribit.js +30 -30
  54. package/dist/cjs/src/digifinex.js +31 -31
  55. package/dist/cjs/src/exmo.js +26 -26
  56. package/dist/cjs/src/gate.js +38 -38
  57. package/dist/cjs/src/gemini.js +17 -17
  58. package/dist/cjs/src/hitbtc.js +34 -34
  59. package/dist/cjs/src/hollaex.js +23 -23
  60. package/dist/cjs/src/huobi.js +45 -45
  61. package/dist/cjs/src/huobijp.js +20 -20
  62. package/dist/cjs/src/idex.js +19 -19
  63. package/dist/cjs/src/independentreserve.js +12 -12
  64. package/dist/cjs/src/indodax.js +14 -14
  65. package/dist/cjs/src/kraken.js +27 -27
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +33 -33
  68. package/dist/cjs/src/kucoinfutures.js +24 -24
  69. package/dist/cjs/src/kuna.js +12 -12
  70. package/dist/cjs/src/latoken.js +17 -17
  71. package/dist/cjs/src/lbank.js +12 -12
  72. package/dist/cjs/src/lbank2.js +23 -23
  73. package/dist/cjs/src/luno.js +16 -16
  74. package/dist/cjs/src/lykke.js +16 -16
  75. package/dist/cjs/src/mercado.js +12 -12
  76. package/dist/cjs/src/mexc.js +44 -42
  77. package/dist/cjs/src/ndax.js +20 -20
  78. package/dist/cjs/src/novadax.js +20 -20
  79. package/dist/cjs/src/oceanex.js +16 -16
  80. package/dist/cjs/src/okcoin.js +21 -21
  81. package/dist/cjs/src/okx.js +52 -52
  82. package/dist/cjs/src/paymium.js +11 -11
  83. package/dist/cjs/src/phemex.js +26 -26
  84. package/dist/cjs/src/poloniex.js +237 -136
  85. package/dist/cjs/src/poloniexfutures.js +18 -18
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +4 -4
  88. package/dist/cjs/src/pro/binance.js +16 -16
  89. package/dist/cjs/src/pro/bitfinex.js +4 -4
  90. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  91. package/dist/cjs/src/pro/bitget.js +6 -6
  92. package/dist/cjs/src/pro/bitmart.js +4 -4
  93. package/dist/cjs/src/pro/bitmex.js +6 -6
  94. package/dist/cjs/src/pro/bitopro.js +4 -4
  95. package/dist/cjs/src/pro/bitpanda.js +6 -6
  96. package/dist/cjs/src/pro/bitrue.js +2 -2
  97. package/dist/cjs/src/pro/bitstamp.js +3 -3
  98. package/dist/cjs/src/pro/bittrex.js +6 -6
  99. package/dist/cjs/src/pro/bitvavo.js +5 -5
  100. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  101. package/dist/cjs/src/pro/bybit.js +6 -6
  102. package/dist/cjs/src/pro/cex.js +7 -7
  103. package/dist/cjs/src/pro/coinbase.js +5 -5
  104. package/dist/cjs/src/pro/coinbasepro.js +6 -6
  105. package/dist/cjs/src/pro/coinex.js +5 -5
  106. package/dist/cjs/src/pro/cryptocom.js +10 -10
  107. package/dist/cjs/src/pro/currencycom.js +4 -4
  108. package/dist/cjs/src/pro/deribit.js +6 -6
  109. package/dist/cjs/src/pro/exmo.js +5 -5
  110. package/dist/cjs/src/pro/gate.js +7 -7
  111. package/dist/cjs/src/pro/gemini.js +3 -3
  112. package/dist/cjs/src/pro/hitbtc.js +3 -3
  113. package/dist/cjs/src/pro/hollaex.js +5 -5
  114. package/dist/cjs/src/pro/huobi.js +6 -6
  115. package/dist/cjs/src/pro/huobijp.js +3 -3
  116. package/dist/cjs/src/pro/idex.js +4 -4
  117. package/dist/cjs/src/pro/independentreserve.js +2 -2
  118. package/dist/cjs/src/pro/kraken.js +12 -12
  119. package/dist/cjs/src/pro/krakenfutures.js +7 -7
  120. package/dist/cjs/src/pro/kucoin.js +6 -6
  121. package/dist/cjs/src/pro/kucoinfutures.js +6 -5
  122. package/dist/cjs/src/pro/luno.js +2 -2
  123. package/dist/cjs/src/pro/mexc.js +6 -6
  124. package/dist/cjs/src/pro/ndax.js +3 -3
  125. package/dist/cjs/src/pro/okcoin.js +5 -5
  126. package/dist/cjs/src/pro/okx.js +19 -18
  127. package/dist/cjs/src/pro/phemex.js +6 -6
  128. package/dist/cjs/src/pro/poloniex.js +7 -7
  129. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  130. package/dist/cjs/src/pro/probit.js +6 -6
  131. package/dist/cjs/src/pro/upbit.js +3 -3
  132. package/dist/cjs/src/pro/wazirx.js +6 -6
  133. package/dist/cjs/src/pro/whitebit.js +6 -6
  134. package/dist/cjs/src/probit.js +19 -19
  135. package/dist/cjs/src/tidex.js +13 -13
  136. package/dist/cjs/src/timex.js +16 -16
  137. package/dist/cjs/src/tokocrypto.js +18 -18
  138. package/dist/cjs/src/upbit.js +20 -20
  139. package/dist/cjs/src/wavesexchange.js +16 -16
  140. package/dist/cjs/src/wazirx.js +12 -12
  141. package/dist/cjs/src/whitebit.js +24 -24
  142. package/dist/cjs/src/woo.js +30 -24
  143. package/dist/cjs/src/yobit.js +16 -16
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +15 -15
  146. package/js/ccxt.d.ts +1 -1
  147. package/js/ccxt.js +1 -1
  148. package/js/src/abstract/bingx.d.ts +2 -0
  149. package/js/src/abstract/bitmart.d.ts +13 -0
  150. package/js/src/abstract/bybit.d.ts +33 -21
  151. package/js/src/abstract/coinsph.d.ts +5 -0
  152. package/js/src/abstract/woo.d.ts +6 -0
  153. package/js/src/ace.js +11 -11
  154. package/js/src/alpaca.js +7 -7
  155. package/js/src/ascendex.js +25 -25
  156. package/js/src/base/Exchange.js +4 -4
  157. package/js/src/bigone.js +19 -19
  158. package/js/src/binance.js +56 -56
  159. package/js/src/bingx.d.ts +1 -0
  160. package/js/src/bingx.js +85 -40
  161. package/js/src/bit2c.js +12 -12
  162. package/js/src/bitbank.js +13 -13
  163. package/js/src/bitbns.js +14 -14
  164. package/js/src/bitfinex.js +21 -21
  165. package/js/src/bitfinex2.js +29 -29
  166. package/js/src/bitflyer.js +17 -17
  167. package/js/src/bitforex.js +11 -11
  168. package/js/src/bitget.js +39 -39
  169. package/js/src/bithumb.js +11 -11
  170. package/js/src/bitmart.js +44 -31
  171. package/js/src/bitmex.js +24 -24
  172. package/js/src/bitopro.js +21 -21
  173. package/js/src/bitpanda.js +21 -21
  174. package/js/src/bitrue.js +18 -18
  175. package/js/src/bitso.js +21 -21
  176. package/js/src/bitstamp.js +21 -21
  177. package/js/src/bitstamp1.js +8 -8
  178. package/js/src/bittrex.js +27 -27
  179. package/js/src/bitvavo.js +19 -19
  180. package/js/src/bkex.js +21 -21
  181. package/js/src/bl3p.js +8 -8
  182. package/js/src/blockchaincom.js +21 -21
  183. package/js/src/btcalpha.js +15 -15
  184. package/js/src/btcbox.js +10 -10
  185. package/js/src/btcmarkets.js +17 -17
  186. package/js/src/btctradeua.js +8 -8
  187. package/js/src/btcturk.js +11 -11
  188. package/js/src/bybit.js +153 -121
  189. package/js/src/cex.js +14 -14
  190. package/js/src/coinbase.js +23 -23
  191. package/js/src/coinbasepro.js +24 -24
  192. package/js/src/coincheck.js +12 -12
  193. package/js/src/coinex.d.ts +1 -0
  194. package/js/src/coinex.js +87 -41
  195. package/js/src/coinfalcon.js +16 -16
  196. package/js/src/coinmate.js +14 -14
  197. package/js/src/coinone.js +12 -12
  198. package/js/src/coinsph.js +27 -22
  199. package/js/src/coinspot.js +8 -8
  200. package/js/src/cryptocom.js +29 -29
  201. package/js/src/currencycom.js +20 -20
  202. package/js/src/delta.js +25 -25
  203. package/js/src/deribit.js +30 -30
  204. package/js/src/digifinex.js +31 -31
  205. package/js/src/exmo.js +26 -26
  206. package/js/src/gate.js +38 -38
  207. package/js/src/gemini.js +17 -17
  208. package/js/src/hitbtc.js +34 -34
  209. package/js/src/hollaex.js +23 -23
  210. package/js/src/huobi.js +45 -45
  211. package/js/src/huobijp.js +20 -20
  212. package/js/src/idex.js +19 -19
  213. package/js/src/independentreserve.js +12 -12
  214. package/js/src/indodax.js +14 -14
  215. package/js/src/kraken.js +27 -27
  216. package/js/src/krakenfutures.js +12 -12
  217. package/js/src/kucoin.js +33 -33
  218. package/js/src/kucoinfutures.js +24 -24
  219. package/js/src/kuna.js +12 -12
  220. package/js/src/latoken.js +17 -17
  221. package/js/src/lbank.js +12 -12
  222. package/js/src/lbank2.js +23 -23
  223. package/js/src/luno.js +16 -16
  224. package/js/src/lykke.js +16 -16
  225. package/js/src/mercado.js +12 -12
  226. package/js/src/mexc.js +45 -43
  227. package/js/src/ndax.js +20 -20
  228. package/js/src/novadax.js +20 -20
  229. package/js/src/oceanex.js +16 -16
  230. package/js/src/okcoin.js +21 -21
  231. package/js/src/okx.js +52 -52
  232. package/js/src/paymium.js +11 -11
  233. package/js/src/phemex.js +26 -26
  234. package/js/src/poloniex.d.ts +1 -1
  235. package/js/src/poloniex.js +237 -136
  236. package/js/src/poloniexfutures.js +18 -18
  237. package/js/src/pro/alpaca.js +5 -5
  238. package/js/src/pro/ascendex.js +4 -4
  239. package/js/src/pro/binance.js +16 -16
  240. package/js/src/pro/bitfinex.js +4 -4
  241. package/js/src/pro/bitfinex2.js +6 -6
  242. package/js/src/pro/bitget.js +6 -6
  243. package/js/src/pro/bitmart.js +4 -4
  244. package/js/src/pro/bitmex.js +6 -6
  245. package/js/src/pro/bitopro.js +4 -4
  246. package/js/src/pro/bitpanda.js +6 -6
  247. package/js/src/pro/bitrue.js +2 -2
  248. package/js/src/pro/bitstamp.js +3 -3
  249. package/js/src/pro/bittrex.js +6 -6
  250. package/js/src/pro/bitvavo.js +5 -5
  251. package/js/src/pro/blockchaincom.js +5 -5
  252. package/js/src/pro/bybit.js +6 -6
  253. package/js/src/pro/cex.js +7 -7
  254. package/js/src/pro/coinbase.js +5 -5
  255. package/js/src/pro/coinbasepro.js +6 -6
  256. package/js/src/pro/coinex.js +5 -5
  257. package/js/src/pro/cryptocom.js +10 -10
  258. package/js/src/pro/currencycom.js +4 -4
  259. package/js/src/pro/deribit.js +6 -6
  260. package/js/src/pro/exmo.js +5 -5
  261. package/js/src/pro/gate.js +7 -7
  262. package/js/src/pro/gemini.js +3 -3
  263. package/js/src/pro/hitbtc.js +3 -3
  264. package/js/src/pro/hollaex.js +5 -5
  265. package/js/src/pro/huobi.js +6 -6
  266. package/js/src/pro/huobijp.js +3 -3
  267. package/js/src/pro/idex.js +4 -4
  268. package/js/src/pro/independentreserve.js +2 -2
  269. package/js/src/pro/kraken.js +12 -12
  270. package/js/src/pro/krakenfutures.js +7 -7
  271. package/js/src/pro/kucoin.js +6 -6
  272. package/js/src/pro/kucoinfutures.js +6 -5
  273. package/js/src/pro/luno.js +2 -2
  274. package/js/src/pro/mexc.js +6 -6
  275. package/js/src/pro/ndax.js +3 -3
  276. package/js/src/pro/okcoin.js +5 -5
  277. package/js/src/pro/okx.d.ts +1 -1
  278. package/js/src/pro/okx.js +19 -18
  279. package/js/src/pro/phemex.js +6 -6
  280. package/js/src/pro/poloniex.js +7 -7
  281. package/js/src/pro/poloniexfutures.js +5 -5
  282. package/js/src/pro/probit.js +6 -6
  283. package/js/src/pro/upbit.js +3 -3
  284. package/js/src/pro/wazirx.js +6 -6
  285. package/js/src/pro/whitebit.js +6 -6
  286. package/js/src/probit.js +19 -19
  287. package/js/src/tidex.js +13 -13
  288. package/js/src/timex.js +16 -16
  289. package/js/src/tokocrypto.js +18 -18
  290. package/js/src/upbit.js +20 -20
  291. package/js/src/wavesexchange.js +16 -16
  292. package/js/src/wazirx.js +12 -12
  293. package/js/src/whitebit.js +24 -24
  294. package/js/src/woo.js +30 -24
  295. package/js/src/yobit.js +16 -16
  296. package/js/src/zaif.js +10 -10
  297. package/js/src/zonda.js +15 -15
  298. package/package.json +1 -1
  299. package/skip-tests.json +2 -0
@@ -63,7 +63,7 @@ class cryptocom extends cryptocom$1 {
63
63
  * @param {string} symbol unified symbol of the market to fetch the order book for
64
64
  * @param {int} [limit] the maximum amount of order book entries to return
65
65
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
66
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
66
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
67
67
  */
68
68
  await this.loadMarkets();
69
69
  const market = this.market(symbol);
@@ -121,7 +121,7 @@ class cryptocom extends cryptocom$1 {
121
121
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
122
122
  * @param {int} [limit] the maximum amount of trades to fetch
123
123
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
124
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
124
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
125
125
  */
126
126
  await this.loadMarkets();
127
127
  const market = this.market(symbol);
@@ -190,7 +190,7 @@ class cryptocom extends cryptocom$1 {
190
190
  * @param {int} [since] the earliest time in ms to fetch trades for
191
191
  * @param {int} [limit] the maximum number of trade structures to retrieve
192
192
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
193
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
193
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
194
194
  */
195
195
  await this.loadMarkets();
196
196
  let market = undefined;
@@ -214,7 +214,7 @@ class cryptocom extends cryptocom$1 {
214
214
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#ticker-instrument_name
215
215
  * @param {string} symbol unified symbol of the market to fetch the ticker for
216
216
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
217
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
217
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
218
218
  */
219
219
  await this.loadMarkets();
220
220
  const market = this.market(symbol);
@@ -322,7 +322,7 @@ class cryptocom extends cryptocom$1 {
322
322
  * @param {int} [since] the earliest time in ms to fetch orders for
323
323
  * @param {int} [limit] the maximum number of order structures to retrieve
324
324
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
325
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
325
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
326
326
  */
327
327
  await this.loadMarkets();
328
328
  let market = undefined;
@@ -396,7 +396,7 @@ class cryptocom extends cryptocom$1 {
396
396
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
397
397
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-balance
398
398
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
399
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
399
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
400
400
  */
401
401
  const messageHash = 'user.balance';
402
402
  return await this.watchPrivateSubscribe(messageHash, params);
@@ -475,9 +475,9 @@ class cryptocom extends cryptocom$1 {
475
475
  * @param {string} type 'market' or 'limit'
476
476
  * @param {string} side 'buy' or 'sell'
477
477
  * @param {float} amount how much of currency you want to trade in units of base currency
478
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
478
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
479
479
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
480
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
480
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
481
481
  */
482
482
  await this.loadMarkets();
483
483
  params = this.createOrderRequest(symbol, type, side, amount, price, params);
@@ -514,7 +514,7 @@ class cryptocom extends cryptocom$1 {
514
514
  * @param {string} id the order id of the order to cancel
515
515
  * @param {string} [symbol] unified symbol of the market the order was made in
516
516
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
517
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
517
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
518
518
  */
519
519
  await this.loadMarkets();
520
520
  params = this.extend({
@@ -535,7 +535,7 @@ class cryptocom extends cryptocom$1 {
535
535
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
536
536
  * @param {string} symbol unified market symbol of the orders to cancel
537
537
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
538
- * @returns {object} Returns exchange raw message {@link https://docs.ccxt.com/#/?id=order-structure}
538
+ * @returns {object} Returns exchange raw message {@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
539
539
  */
540
540
  await this.loadMarkets();
541
541
  let market = undefined;
@@ -329,7 +329,7 @@ class currencycom extends currencycom$1 {
329
329
  * @name currencycom#watchBalance
330
330
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
331
331
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
332
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
332
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
333
333
  */
334
334
  await this.loadMarkets();
335
335
  return await this.watchPrivate('/api/v1/account', params);
@@ -341,7 +341,7 @@ class currencycom extends currencycom$1 {
341
341
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
342
342
  * @param {string} symbol unified symbol of the market to fetch the ticker for
343
343
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
344
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
344
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
345
345
  */
346
346
  await this.loadMarkets();
347
347
  const market = this.market(symbol);
@@ -372,7 +372,7 @@ class currencycom extends currencycom$1 {
372
372
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
373
373
  * @param {int} [limit] the maximum amount of trades to fetch
374
374
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
375
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
375
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
376
376
  */
377
377
  await this.loadMarkets();
378
378
  symbol = this.symbol(symbol);
@@ -390,7 +390,7 @@ class currencycom extends currencycom$1 {
390
390
  * @param {string} symbol unified symbol of the market to fetch the order book for
391
391
  * @param {int} [limit] the maximum amount of order book entries to return
392
392
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
393
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
393
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
394
394
  */
395
395
  await this.loadMarkets();
396
396
  symbol = this.symbol(symbol);
@@ -61,7 +61,7 @@ class deribit extends deribit$1 {
61
61
  * @see https://docs.deribit.com/#user-portfolio-currency
62
62
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
63
63
  * @param {object} [params] extra parameters specific to the deribit api endpoint
64
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
64
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
65
65
  */
66
66
  await this.authenticate(params);
67
67
  const messageHash = 'balance';
@@ -146,7 +146,7 @@ class deribit extends deribit$1 {
146
146
  * @param {string} symbol unified symbol of the market to fetch the ticker for
147
147
  * @param {object} [params] extra parameters specific to the deribit api endpoint
148
148
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
149
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
149
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
150
150
  */
151
151
  await this.loadMarkets();
152
152
  const market = this.market(symbol);
@@ -219,7 +219,7 @@ class deribit extends deribit$1 {
219
219
  * @param {int} [limit] the maximum amount of trades to fetch
220
220
  * @param {object} [params] extra parameters specific to the deribit api endpoint
221
221
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
222
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
222
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
223
223
  */
224
224
  await this.loadMarkets();
225
225
  const market = this.market(symbol);
@@ -299,7 +299,7 @@ class deribit extends deribit$1 {
299
299
  * @param {int} [limit] the maximum amount of trades to fetch
300
300
  * @param {object} [params] extra parameters specific to the deribit api endpoint
301
301
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
302
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
302
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
303
303
  */
304
304
  await this.authenticate(params);
305
305
  if (symbol !== undefined) {
@@ -381,7 +381,7 @@ class deribit extends deribit$1 {
381
381
  * @param {int} [limit] the maximum amount of order book entries to return
382
382
  * @param {object} [params] extra parameters specific to the deribit api endpoint
383
383
  * @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
384
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
384
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
385
385
  */
386
386
  await this.loadMarkets();
387
387
  const market = this.market(symbol);
@@ -511,7 +511,7 @@ class deribit extends deribit$1 {
511
511
  * @param {int} [since] the earliest time in ms to fetch orders for
512
512
  * @param {int} [limit] the maximum number of orde structures to retrieve
513
513
  * @param {object} [params] extra parameters specific to the deribit api endpoint
514
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
514
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
515
515
  */
516
516
  await this.loadMarkets();
517
517
  await this.authenticate(params);
@@ -46,7 +46,7 @@ class exmo extends exmo$1 {
46
46
  * @name exmo#watchBalance
47
47
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
48
48
  * @param {object} [params] extra parameters specific to the exmo api endpoint
49
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
49
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
50
50
  */
51
51
  await this.authenticate(params);
52
52
  const [type, query] = this.handleMarketTypeAndParams('watchBalance', undefined, params);
@@ -204,7 +204,7 @@ class exmo extends exmo$1 {
204
204
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
205
205
  * @param {string} symbol unified symbol of the market to fetch the ticker for
206
206
  * @param {object} [params] extra parameters specific to the exmo api endpoint
207
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
207
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
208
208
  */
209
209
  await this.loadMarkets();
210
210
  const market = this.market(symbol);
@@ -261,7 +261,7 @@ class exmo extends exmo$1 {
261
261
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
262
262
  * @param {int} [limit] the maximum amount of trades to fetch
263
263
  * @param {object} [params] extra parameters specific to the exmo api endpoint
264
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
264
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
265
265
  */
266
266
  await this.loadMarkets();
267
267
  const market = this.market(symbol);
@@ -325,7 +325,7 @@ class exmo extends exmo$1 {
325
325
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
326
326
  * @param {int} [limit] the maximum amount of trades to fetch
327
327
  * @param {object} [params] extra parameters specific to the exmo api endpoint
328
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
328
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
329
329
  */
330
330
  await this.loadMarkets();
331
331
  await this.authenticate(params);
@@ -454,7 +454,7 @@ class exmo extends exmo$1 {
454
454
  * @param {string} symbol unified symbol of the market to fetch the order book for
455
455
  * @param {int} [limit] the maximum amount of order book entries to return
456
456
  * @param {object} [params] extra parameters specific to the exmo api endpoint
457
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
457
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
458
458
  */
459
459
  await this.loadMarkets();
460
460
  const market = this.market(symbol);
@@ -92,7 +92,7 @@ class gate extends gate$1 {
92
92
  * @param {string} symbol unified symbol of the market to fetch the order book for
93
93
  * @param {int} [limit] the maximum amount of order book entries to return
94
94
  * @param {object} [params] extra parameters specific to the gate api endpoint
95
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
95
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
96
96
  */
97
97
  await this.loadMarkets();
98
98
  const market = this.market(symbol);
@@ -269,7 +269,7 @@ class gate extends gate$1 {
269
269
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
270
270
  * @param {string} symbol unified symbol of the market to fetch the ticker for
271
271
  * @param {object} [params] extra parameters specific to the gate api endpoint
272
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
272
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
273
273
  */
274
274
  await this.loadMarkets();
275
275
  const market = this.market(symbol);
@@ -290,7 +290,7 @@ class gate extends gate$1 {
290
290
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
291
291
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
292
292
  * @param {object} [params] extra parameters specific to the gate api endpoint
293
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
293
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
294
294
  */
295
295
  await this.loadMarkets();
296
296
  symbols = this.marketSymbols(symbols);
@@ -377,7 +377,7 @@ class gate extends gate$1 {
377
377
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
378
378
  * @param {int} [limit] the maximum amount of trades to fetch
379
379
  * @param {object} [params] extra parameters specific to the gate api endpoint
380
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
380
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
381
381
  */
382
382
  await this.loadMarkets();
383
383
  const market = this.market(symbol);
@@ -521,7 +521,7 @@ class gate extends gate$1 {
521
521
  * @param {int} [since] the earliest time in ms to fetch trades for
522
522
  * @param {int} [limit] the maximum number of trade structures to retrieve
523
523
  * @param {object} [params] extra parameters specific to the gate api endpoint
524
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
524
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
525
525
  */
526
526
  await this.loadMarkets();
527
527
  let subType = undefined;
@@ -611,7 +611,7 @@ class gate extends gate$1 {
611
611
  * @name gate#watchBalance
612
612
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
613
613
  * @param {object} [params] extra parameters specific to the gate api endpoint
614
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
614
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
615
615
  */
616
616
  await this.loadMarkets();
617
617
  let type = undefined;
@@ -730,7 +730,7 @@ class gate extends gate$1 {
730
730
  * @param {object} [params] extra parameters specific to the gate api endpoint
731
731
  * @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
732
732
  * @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
733
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
733
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
734
734
  */
735
735
  await this.loadMarkets();
736
736
  let market = undefined;
@@ -42,7 +42,7 @@ class gemini extends gemini$1 {
42
42
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
43
43
  * @param {int} [limit] the maximum amount of trades to fetch
44
44
  * @param {object} [params] extra parameters specific to the gemini api endpoint
45
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
45
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
46
46
  */
47
47
  await this.loadMarkets();
48
48
  const market = this.market(symbol);
@@ -283,7 +283,7 @@ class gemini extends gemini$1 {
283
283
  * @param {string} symbol unified symbol of the market to fetch the order book for
284
284
  * @param {int} [limit] the maximum amount of order book entries to return
285
285
  * @param {object} [params] extra parameters specific to the gemini api endpoint
286
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
286
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
287
287
  */
288
288
  await this.loadMarkets();
289
289
  const market = this.market(symbol);
@@ -379,7 +379,7 @@ class gemini extends gemini$1 {
379
379
  * @param {int} [since] the earliest time in ms to fetch orders for
380
380
  * @param {int} [limit] the maximum number of orde structures to retrieve
381
381
  * @param {object} [params] extra parameters specific to the gemini api endpoint
382
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
382
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
383
383
  */
384
384
  const url = this.urls['api']['ws'] + '/v1/order/events?eventTypeFilter=initial&eventTypeFilter=accepted&eventTypeFilter=rejected&eventTypeFilter=fill&eventTypeFilter=cancelled&eventTypeFilter=booked';
385
385
  await this.loadMarkets();
@@ -62,7 +62,7 @@ class hitbtc extends hitbtc$1 {
62
62
  * @param {string} symbol unified symbol of the market to fetch the order book for
63
63
  * @param {int} [limit] the maximum amount of order book entries to return
64
64
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
65
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
65
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
66
66
  */
67
67
  const orderbook = await this.watchPublic(symbol, 'orderbook', undefined, params);
68
68
  return orderbook.limit();
@@ -164,7 +164,7 @@ class hitbtc extends hitbtc$1 {
164
164
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
165
165
  * @param {string} symbol unified symbol of the market to fetch the ticker for
166
166
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
167
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
167
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
168
168
  */
169
169
  return await this.watchPublic(symbol, 'ticker', undefined, params);
170
170
  }
@@ -206,7 +206,7 @@ class hitbtc extends hitbtc$1 {
206
206
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
207
207
  * @param {int} [limit] the maximum amount of trades to fetch
208
208
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
209
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
209
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
210
210
  */
211
211
  const trades = await this.watchPublic(symbol, 'trades', undefined, params);
212
212
  if (this.newUpdates) {
@@ -58,7 +58,7 @@ class hollaex extends hollaex$1 {
58
58
  * @param {string} symbol unified symbol of the market to fetch the order book for
59
59
  * @param {int} [limit] the maximum amount of order book entries to return
60
60
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
61
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
61
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
62
62
  */
63
63
  await this.loadMarkets();
64
64
  const market = this.market(symbol);
@@ -117,7 +117,7 @@ class hollaex extends hollaex$1 {
117
117
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
118
118
  * @param {int} [limit] the maximum amount of trades to fetch
119
119
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
120
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
120
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
121
121
  */
122
122
  await this.loadMarkets();
123
123
  const market = this.market(symbol);
@@ -173,7 +173,7 @@ class hollaex extends hollaex$1 {
173
173
  * @param {int} [since] the earliest time in ms to fetch trades for
174
174
  * @param {int} [limit] the maximum number of trade structures to retrieve
175
175
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
176
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
176
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
177
177
  */
178
178
  await this.loadMarkets();
179
179
  let messageHash = 'usertrade';
@@ -253,7 +253,7 @@ class hollaex extends hollaex$1 {
253
253
  * @param {int} [since] the earliest time in ms to fetch orders for
254
254
  * @param {int} [limit] the maximum number of orde structures to retrieve
255
255
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
256
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
256
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
257
257
  */
258
258
  await this.loadMarkets();
259
259
  let messageHash = 'order';
@@ -371,7 +371,7 @@ class hollaex extends hollaex$1 {
371
371
  * @name hollaex#watchBalance
372
372
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
373
373
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
374
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
374
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
375
375
  */
376
376
  const messageHash = 'wallet';
377
377
  return await this.watchPrivate(messageHash, params);
@@ -120,7 +120,7 @@ class huobi extends huobi$1 {
120
120
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
121
121
  * @param {string} symbol unified symbol of the market to fetch the ticker for
122
122
  * @param {object} [params] extra parameters specific to the huobi api endpoint
123
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
123
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
124
124
  */
125
125
  await this.loadMarkets();
126
126
  const market = this.market(symbol);
@@ -190,7 +190,7 @@ class huobi extends huobi$1 {
190
190
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
191
191
  * @param {int} [limit] the maximum amount of trades to fetch
192
192
  * @param {object} [params] extra parameters specific to the huobi api endpoint
193
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
193
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
194
194
  */
195
195
  await this.loadMarkets();
196
196
  const market = this.market(symbol);
@@ -315,7 +315,7 @@ class huobi extends huobi$1 {
315
315
  * @param {string} symbol unified symbol of the market to fetch the order book for
316
316
  * @param {int} [limit] the maximum amount of order book entries to return
317
317
  * @param {object} [params] extra parameters specific to the huobi api endpoint
318
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
318
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
319
319
  */
320
320
  await this.loadMarkets();
321
321
  const market = this.market(symbol);
@@ -639,7 +639,7 @@ class huobi extends huobi$1 {
639
639
  * @param {int} [since] the earliest time in ms to fetch trades for
640
640
  * @param {int} [limit] the maximum number of trade structures to retrieve
641
641
  * @param {object} [params] extra parameters specific to the huobi api endpoint
642
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure
642
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
643
643
  */
644
644
  this.checkRequiredCredentials();
645
645
  await this.loadMarkets();
@@ -742,7 +742,7 @@ class huobi extends huobi$1 {
742
742
  * @param {int} [since] the earliest time in ms to fetch orders for
743
743
  * @param {int} [limit] the maximum number of orde structures to retrieve
744
744
  * @param {object} [params] extra parameters specific to the huobi api endpoint
745
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
745
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
746
746
  */
747
747
  await this.loadMarkets();
748
748
  let type = undefined;
@@ -1186,7 +1186,7 @@ class huobi extends huobi$1 {
1186
1186
  * @name huobi#watchBalance
1187
1187
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1188
1188
  * @param {object} [params] extra parameters specific to the huobi api endpoint
1189
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1189
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1190
1190
  */
1191
1191
  let type = this.safeString2(this.options, 'watchBalance', 'defaultType', 'spot');
1192
1192
  type = this.safeString(params, 'type', type);
@@ -50,7 +50,7 @@ class huobijp extends huobijp$1 {
50
50
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
51
51
  * @param {string} symbol unified symbol of the market to fetch the ticker for
52
52
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
53
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
53
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
54
54
  */
55
55
  await this.loadMarkets();
56
56
  const market = this.market(symbol);
@@ -114,7 +114,7 @@ class huobijp extends huobijp$1 {
114
114
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
115
115
  * @param {int} [limit] the maximum amount of trades to fetch
116
116
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
117
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
117
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
118
118
  */
119
119
  await this.loadMarkets();
120
120
  const market = this.market(symbol);
@@ -264,7 +264,7 @@ class huobijp extends huobijp$1 {
264
264
  * @param {string} symbol unified symbol of the market to fetch the order book for
265
265
  * @param {int} [limit] the maximum amount of order book entries to return
266
266
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
267
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
267
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
268
268
  */
269
269
  if ((limit !== undefined) && (limit !== 150)) {
270
270
  throw new errors.ExchangeError(this.id + ' watchOrderBook accepts limit = 150 only');
@@ -70,7 +70,7 @@ class idex extends idex$1 {
70
70
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
71
71
  * @param {string} symbol unified symbol of the market to fetch the ticker for
72
72
  * @param {object} [params] extra parameters specific to the idex api endpoint
73
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
73
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
74
74
  */
75
75
  await this.loadMarkets();
76
76
  const market = this.market(symbol);
@@ -144,7 +144,7 @@ class idex extends idex$1 {
144
144
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
145
145
  * @param {int} [limit] the maximum amount of trades to fetch
146
146
  * @param {object} [params] extra parameters specific to the idex api endpoint
147
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
147
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
148
148
  */
149
149
  await this.loadMarkets();
150
150
  const market = this.market(symbol);
@@ -407,7 +407,7 @@ class idex extends idex$1 {
407
407
  * @param {string} symbol unified symbol of the market to fetch the order book for
408
408
  * @param {int} [limit] the maximum amount of order book entries to return
409
409
  * @param {object} [params] extra parameters specific to the idex api endpoint
410
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
410
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
411
411
  */
412
412
  await this.loadMarkets();
413
413
  const market = this.market(symbol);
@@ -511,7 +511,7 @@ class idex extends idex$1 {
511
511
  * @param {int} [since] the earliest time in ms to fetch orders for
512
512
  * @param {int} [limit] the maximum number of orde structures to retrieve
513
513
  * @param {object} [params] extra parameters specific to the idex api endpoint
514
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
514
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
515
515
  */
516
516
  await this.loadMarkets();
517
517
  const name = 'orders';
@@ -41,7 +41,7 @@ class independentreserve extends independentreserve$1 {
41
41
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
42
42
  * @param {int} [limit] the maximum amount of trades to fetch
43
43
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
44
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
44
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
45
45
  */
46
46
  await this.loadMarkets();
47
47
  const market = this.market(symbol);
@@ -124,7 +124,7 @@ class independentreserve extends independentreserve$1 {
124
124
  * @param {string} symbol unified symbol of the market to fetch the order book for
125
125
  * @param {int} [limit] the maximum amount of order book entries to return
126
126
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
127
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
127
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
128
128
  */
129
129
  await this.loadMarkets();
130
130
  const market = this.market(symbol);