ccxt 4.0.75 → 4.0.77

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 (292) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +659 -461
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +2 -2
  6. package/dist/cjs/src/alpaca.js +1 -1
  7. package/dist/cjs/src/ascendex.js +3 -3
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +2 -2
  10. package/dist/cjs/src/binance.js +5 -5
  11. package/dist/cjs/src/bingx.js +83 -23
  12. package/dist/cjs/src/bit2c.js +2 -2
  13. package/dist/cjs/src/bitbank.js +2 -2
  14. package/dist/cjs/src/bitbns.js +2 -2
  15. package/dist/cjs/src/bitfinex.js +2 -2
  16. package/dist/cjs/src/bitfinex2.js +4 -4
  17. package/dist/cjs/src/bitflyer.js +2 -2
  18. package/dist/cjs/src/bitforex.js +2 -2
  19. package/dist/cjs/src/bitget.js +5 -5
  20. package/dist/cjs/src/bithumb.js +2 -2
  21. package/dist/cjs/src/bitmart.js +2 -2
  22. package/dist/cjs/src/bitmex.js +5 -5
  23. package/dist/cjs/src/bitopro.js +3 -3
  24. package/dist/cjs/src/bitpanda.js +2 -2
  25. package/dist/cjs/src/bitrue.js +3 -3
  26. package/dist/cjs/src/bitso.js +2 -2
  27. package/dist/cjs/src/bitstamp.js +2 -2
  28. package/dist/cjs/src/bitstamp1.js +2 -2
  29. package/dist/cjs/src/bittrex.js +3 -3
  30. package/dist/cjs/src/bitvavo.js +3 -3
  31. package/dist/cjs/src/bkex.js +4 -4
  32. package/dist/cjs/src/bl3p.js +2 -2
  33. package/dist/cjs/src/blockchaincom.js +1 -1
  34. package/dist/cjs/src/btcalpha.js +2 -2
  35. package/dist/cjs/src/btcbox.js +2 -2
  36. package/dist/cjs/src/btcmarkets.js +2 -2
  37. package/dist/cjs/src/btctradeua.js +2 -2
  38. package/dist/cjs/src/btcturk.js +2 -2
  39. package/dist/cjs/src/bybit.js +5 -5
  40. package/dist/cjs/src/cex.js +2 -2
  41. package/dist/cjs/src/coinbase.js +3 -3
  42. package/dist/cjs/src/coinbasepro.js +2 -2
  43. package/dist/cjs/src/coincheck.js +2 -2
  44. package/dist/cjs/src/coinex.js +6 -6
  45. package/dist/cjs/src/coinfalcon.js +2 -2
  46. package/dist/cjs/src/coinmate.js +2 -2
  47. package/dist/cjs/src/coinone.js +2 -2
  48. package/dist/cjs/src/coinsph.js +7 -2
  49. package/dist/cjs/src/coinspot.js +2 -2
  50. package/dist/cjs/src/cryptocom.js +5 -5
  51. package/dist/cjs/src/currencycom.js +2 -2
  52. package/dist/cjs/src/delta.js +2 -2
  53. package/dist/cjs/src/deribit.js +3 -3
  54. package/dist/cjs/src/digifinex.js +4 -4
  55. package/dist/cjs/src/exmo.js +2 -2
  56. package/dist/cjs/src/gate.js +46 -4
  57. package/dist/cjs/src/gemini.js +3 -3
  58. package/dist/cjs/src/hitbtc.js +4 -4
  59. package/dist/cjs/src/hollaex.js +3 -3
  60. package/dist/cjs/src/huobi.js +5 -5
  61. package/dist/cjs/src/huobijp.js +2 -2
  62. package/dist/cjs/src/idex.js +2 -2
  63. package/dist/cjs/src/independentreserve.js +2 -2
  64. package/dist/cjs/src/indodax.js +2 -2
  65. package/dist/cjs/src/kraken.js +2 -2
  66. package/dist/cjs/src/kucoin.js +4 -4
  67. package/dist/cjs/src/kucoinfutures.js +5 -5
  68. package/dist/cjs/src/kuna.js +2 -2
  69. package/dist/cjs/src/latoken.js +2 -2
  70. package/dist/cjs/src/lbank.js +2 -2
  71. package/dist/cjs/src/lbank2.js +2 -2
  72. package/dist/cjs/src/luno.js +2 -2
  73. package/dist/cjs/src/lykke.js +2 -2
  74. package/dist/cjs/src/mercado.js +2 -2
  75. package/dist/cjs/src/mexc.js +6 -4
  76. package/dist/cjs/src/ndax.js +2 -2
  77. package/dist/cjs/src/novadax.js +2 -2
  78. package/dist/cjs/src/oceanex.js +2 -2
  79. package/dist/cjs/src/okcoin.js +2 -2
  80. package/dist/cjs/src/okx.js +4 -4
  81. package/dist/cjs/src/paymium.js +2 -2
  82. package/dist/cjs/src/phemex.js +2 -2
  83. package/dist/cjs/src/poloniex.js +165 -81
  84. package/dist/cjs/src/poloniexfutures.js +2 -2
  85. package/dist/cjs/src/pro/ascendex.js +2 -2
  86. package/dist/cjs/src/pro/binance.js +6 -6
  87. package/dist/cjs/src/pro/bitfinex.js +1 -1
  88. package/dist/cjs/src/pro/bitfinex2.js +2 -2
  89. package/dist/cjs/src/pro/bitget.js +2 -2
  90. package/dist/cjs/src/pro/bitmart.js +1 -1
  91. package/dist/cjs/src/pro/bitmex.js +2 -2
  92. package/dist/cjs/src/pro/bitopro.js +2 -2
  93. package/dist/cjs/src/pro/bitpanda.js +6 -6
  94. package/dist/cjs/src/pro/bitrue.js +1 -1
  95. package/dist/cjs/src/pro/bitstamp.js +1 -1
  96. package/dist/cjs/src/pro/bittrex.js +2 -2
  97. package/dist/cjs/src/pro/bitvavo.js +1 -1
  98. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  99. package/dist/cjs/src/pro/bybit.js +1 -1
  100. package/dist/cjs/src/pro/cex.js +4 -4
  101. package/dist/cjs/src/pro/coinbase.js +5 -5
  102. package/dist/cjs/src/pro/coinbasepro.js +1 -1
  103. package/dist/cjs/src/pro/coinex.js +2 -2
  104. package/dist/cjs/src/pro/cryptocom.js +3 -3
  105. package/dist/cjs/src/pro/currencycom.js +2 -2
  106. package/dist/cjs/src/pro/deribit.js +3 -3
  107. package/dist/cjs/src/pro/exmo.js +3 -3
  108. package/dist/cjs/src/pro/gate.js +2 -2
  109. package/dist/cjs/src/pro/gemini.js +1 -1
  110. package/dist/cjs/src/pro/hitbtc.js +1 -1
  111. package/dist/cjs/src/pro/hollaex.js +2 -2
  112. package/dist/cjs/src/pro/huobi.js +2 -2
  113. package/dist/cjs/src/pro/huobijp.js +1 -1
  114. package/dist/cjs/src/pro/idex.js +1 -1
  115. package/dist/cjs/src/pro/independentreserve.js +1 -1
  116. package/dist/cjs/src/pro/kraken.js +6 -6
  117. package/dist/cjs/src/pro/krakenfutures.js +5 -5
  118. package/dist/cjs/src/pro/kucoin.js +2 -2
  119. package/dist/cjs/src/pro/kucoinfutures.js +3 -2
  120. package/dist/cjs/src/pro/luno.js +1 -1
  121. package/dist/cjs/src/pro/mexc.js +6 -6
  122. package/dist/cjs/src/pro/ndax.js +1 -1
  123. package/dist/cjs/src/pro/okcoin.js +2 -2
  124. package/dist/cjs/src/pro/okx.js +10 -7
  125. package/dist/cjs/src/pro/phemex.js +2 -2
  126. package/dist/cjs/src/pro/poloniex.js +6 -6
  127. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  128. package/dist/cjs/src/pro/probit.js +6 -6
  129. package/dist/cjs/src/pro/upbit.js +1 -1
  130. package/dist/cjs/src/pro/wazirx.js +3 -3
  131. package/dist/cjs/src/pro/whitebit.js +2 -2
  132. package/dist/cjs/src/probit.js +2 -2
  133. package/dist/cjs/src/tidex.js +2 -2
  134. package/dist/cjs/src/timex.js +2 -2
  135. package/dist/cjs/src/tokocrypto.js +2 -2
  136. package/dist/cjs/src/upbit.js +2 -2
  137. package/dist/cjs/src/wavesexchange.js +3 -3
  138. package/dist/cjs/src/wazirx.js +2 -2
  139. package/dist/cjs/src/whitebit.js +4 -3
  140. package/dist/cjs/src/woo.js +2 -2
  141. package/dist/cjs/src/yobit.js +2 -2
  142. package/dist/cjs/src/zaif.js +2 -2
  143. package/dist/cjs/src/zonda.js +2 -2
  144. package/js/ccxt.d.ts +1 -1
  145. package/js/ccxt.js +1 -1
  146. package/js/src/abstract/bingx.d.ts +2 -0
  147. package/js/src/abstract/coinsph.d.ts +5 -0
  148. package/js/src/abstract/gate.d.ts +24 -0
  149. package/js/src/abstract/gateio.d.ts +24 -0
  150. package/js/src/ace.js +2 -2
  151. package/js/src/alpaca.js +1 -1
  152. package/js/src/ascendex.js +3 -3
  153. package/js/src/base/Exchange.js +2 -2
  154. package/js/src/bigone.js +2 -2
  155. package/js/src/binance.js +5 -5
  156. package/js/src/bingx.d.ts +1 -0
  157. package/js/src/bingx.js +83 -23
  158. package/js/src/bit2c.js +2 -2
  159. package/js/src/bitbank.js +2 -2
  160. package/js/src/bitbns.js +2 -2
  161. package/js/src/bitfinex.js +2 -2
  162. package/js/src/bitfinex2.js +4 -4
  163. package/js/src/bitflyer.js +2 -2
  164. package/js/src/bitforex.js +2 -2
  165. package/js/src/bitget.js +5 -5
  166. package/js/src/bithumb.js +2 -2
  167. package/js/src/bitmart.js +2 -2
  168. package/js/src/bitmex.js +5 -5
  169. package/js/src/bitopro.js +3 -3
  170. package/js/src/bitpanda.js +2 -2
  171. package/js/src/bitrue.js +3 -3
  172. package/js/src/bitso.js +2 -2
  173. package/js/src/bitstamp.js +2 -2
  174. package/js/src/bitstamp1.js +2 -2
  175. package/js/src/bittrex.js +3 -3
  176. package/js/src/bitvavo.js +3 -3
  177. package/js/src/bkex.js +4 -4
  178. package/js/src/bl3p.js +2 -2
  179. package/js/src/blockchaincom.js +1 -1
  180. package/js/src/btcalpha.js +2 -2
  181. package/js/src/btcbox.js +2 -2
  182. package/js/src/btcmarkets.js +2 -2
  183. package/js/src/btctradeua.js +2 -2
  184. package/js/src/btcturk.js +2 -2
  185. package/js/src/bybit.js +5 -5
  186. package/js/src/cex.js +2 -2
  187. package/js/src/coinbase.js +3 -3
  188. package/js/src/coinbasepro.js +2 -2
  189. package/js/src/coincheck.js +2 -2
  190. package/js/src/coinex.js +6 -6
  191. package/js/src/coinfalcon.js +2 -2
  192. package/js/src/coinmate.js +2 -2
  193. package/js/src/coinone.js +2 -2
  194. package/js/src/coinsph.js +7 -2
  195. package/js/src/coinspot.js +2 -2
  196. package/js/src/cryptocom.js +5 -5
  197. package/js/src/currencycom.js +2 -2
  198. package/js/src/delta.js +2 -2
  199. package/js/src/deribit.js +3 -3
  200. package/js/src/digifinex.js +4 -4
  201. package/js/src/exmo.js +2 -2
  202. package/js/src/gate.js +46 -4
  203. package/js/src/gemini.js +3 -3
  204. package/js/src/hitbtc.js +4 -4
  205. package/js/src/hollaex.js +3 -3
  206. package/js/src/huobi.js +5 -5
  207. package/js/src/huobijp.js +2 -2
  208. package/js/src/idex.js +2 -2
  209. package/js/src/independentreserve.js +2 -2
  210. package/js/src/indodax.js +2 -2
  211. package/js/src/kraken.js +2 -2
  212. package/js/src/kucoin.js +4 -4
  213. package/js/src/kucoinfutures.js +5 -5
  214. package/js/src/kuna.js +2 -2
  215. package/js/src/latoken.js +2 -2
  216. package/js/src/lbank.js +2 -2
  217. package/js/src/lbank2.js +2 -2
  218. package/js/src/luno.js +2 -2
  219. package/js/src/lykke.js +2 -2
  220. package/js/src/mercado.js +2 -2
  221. package/js/src/mexc.js +7 -5
  222. package/js/src/ndax.js +2 -2
  223. package/js/src/novadax.js +2 -2
  224. package/js/src/oceanex.js +2 -2
  225. package/js/src/okcoin.js +2 -2
  226. package/js/src/okx.js +4 -4
  227. package/js/src/paymium.js +2 -2
  228. package/js/src/phemex.js +2 -2
  229. package/js/src/poloniex.d.ts +1 -1
  230. package/js/src/poloniex.js +165 -81
  231. package/js/src/poloniexfutures.js +2 -2
  232. package/js/src/pro/ascendex.js +2 -2
  233. package/js/src/pro/binance.js +6 -6
  234. package/js/src/pro/bitfinex.js +1 -1
  235. package/js/src/pro/bitfinex2.js +2 -2
  236. package/js/src/pro/bitget.js +2 -2
  237. package/js/src/pro/bitmart.js +1 -1
  238. package/js/src/pro/bitmex.js +2 -2
  239. package/js/src/pro/bitopro.js +2 -2
  240. package/js/src/pro/bitpanda.js +6 -6
  241. package/js/src/pro/bitrue.js +1 -1
  242. package/js/src/pro/bitstamp.js +1 -1
  243. package/js/src/pro/bittrex.js +2 -2
  244. package/js/src/pro/bitvavo.js +1 -1
  245. package/js/src/pro/blockchaincom.js +5 -5
  246. package/js/src/pro/bybit.js +1 -1
  247. package/js/src/pro/cex.js +4 -4
  248. package/js/src/pro/coinbase.js +5 -5
  249. package/js/src/pro/coinbasepro.js +1 -1
  250. package/js/src/pro/coinex.js +2 -2
  251. package/js/src/pro/cryptocom.js +3 -3
  252. package/js/src/pro/currencycom.js +2 -2
  253. package/js/src/pro/deribit.js +3 -3
  254. package/js/src/pro/exmo.js +3 -3
  255. package/js/src/pro/gate.js +2 -2
  256. package/js/src/pro/gemini.js +1 -1
  257. package/js/src/pro/hitbtc.js +1 -1
  258. package/js/src/pro/hollaex.js +2 -2
  259. package/js/src/pro/huobi.js +2 -2
  260. package/js/src/pro/huobijp.js +1 -1
  261. package/js/src/pro/idex.js +1 -1
  262. package/js/src/pro/independentreserve.js +1 -1
  263. package/js/src/pro/kraken.js +6 -6
  264. package/js/src/pro/krakenfutures.js +5 -5
  265. package/js/src/pro/kucoin.js +2 -2
  266. package/js/src/pro/kucoinfutures.js +3 -2
  267. package/js/src/pro/luno.js +1 -1
  268. package/js/src/pro/mexc.js +6 -6
  269. package/js/src/pro/ndax.js +1 -1
  270. package/js/src/pro/okcoin.js +2 -2
  271. package/js/src/pro/okx.js +11 -8
  272. package/js/src/pro/phemex.js +2 -2
  273. package/js/src/pro/poloniex.js +6 -6
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +1 -1
  277. package/js/src/pro/wazirx.js +3 -3
  278. package/js/src/pro/whitebit.js +2 -2
  279. package/js/src/probit.js +2 -2
  280. package/js/src/tidex.js +2 -2
  281. package/js/src/timex.js +2 -2
  282. package/js/src/tokocrypto.js +2 -2
  283. package/js/src/upbit.js +2 -2
  284. package/js/src/wavesexchange.js +3 -3
  285. package/js/src/wazirx.js +2 -2
  286. package/js/src/whitebit.js +4 -3
  287. package/js/src/woo.js +2 -2
  288. package/js/src/yobit.js +2 -2
  289. package/js/src/zaif.js +2 -2
  290. package/js/src/zonda.js +2 -2
  291. package/package.json +1 -1
  292. package/skip-tests.json +2 -0
@@ -80,7 +80,7 @@ class bitpanda extends bitpanda$1 {
80
80
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
81
81
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
82
82
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
83
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
83
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
84
84
  */
85
85
  await this.authenticate(params);
86
86
  const url = this.urls['api']['ws'];
@@ -140,7 +140,7 @@ class bitpanda extends bitpanda$1 {
140
140
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
141
141
  * @param {string} symbol unified symbol of the market to fetch the ticker for
142
142
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
143
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
143
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
144
144
  */
145
145
  await this.loadMarkets();
146
146
  const market = this.market(symbol);
@@ -166,7 +166,7 @@ class bitpanda extends bitpanda$1 {
166
166
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
167
167
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
168
168
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
169
- * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
169
+ * @returns {object} an array of [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
170
170
  */
171
171
  await this.loadMarkets();
172
172
  symbols = this.marketSymbols(symbols);
@@ -264,7 +264,7 @@ class bitpanda extends bitpanda$1 {
264
264
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
265
265
  * @param {int} [limit] the maximum amount of trades to fetch
266
266
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
267
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
267
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
268
268
  */
269
269
  await this.loadMarkets();
270
270
  let messageHash = 'myTrades';
@@ -307,7 +307,7 @@ class bitpanda extends bitpanda$1 {
307
307
  * @param {string} symbol unified symbol of the market to fetch the order book for
308
308
  * @param {int} [limit] the maximum amount of order book entries to return
309
309
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
310
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
310
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
311
311
  */
312
312
  await this.loadMarkets();
313
313
  const market = this.market(symbol);
@@ -426,7 +426,7 @@ class bitpanda extends bitpanda$1 {
426
426
  * @param {int} [limit] the maximum number of orde structures to retrieve
427
427
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
428
428
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
429
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
429
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
430
430
  */
431
431
  await this.loadMarkets();
432
432
  let messageHash = 'orders';
@@ -59,7 +59,7 @@ class bitrue extends bitrue$1 {
59
59
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
60
60
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
61
61
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
62
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
62
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
63
63
  */
64
64
  const url = await this.authenticate();
65
65
  const messageHash = 'balance';
@@ -161,7 +161,7 @@ class bitstamp extends bitstamp$1 {
161
161
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
162
162
  * @param {int} [limit] the maximum amount of trades to fetch
163
163
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
164
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
164
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
165
165
  */
166
166
  await this.loadMarkets();
167
167
  const market = this.market(symbol);
@@ -264,7 +264,7 @@ class bittrex extends bittrex$1 {
264
264
  * @name bittrex#watchBalance
265
265
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
266
266
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
267
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
267
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
268
268
  */
269
269
  await this.loadMarkets();
270
270
  const authentication = await this.authenticate();
@@ -454,7 +454,7 @@ class bittrex extends bittrex$1 {
454
454
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
455
455
  * @param {int} [limit] the maximum amount of trades to fetch
456
456
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
457
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
457
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
458
458
  */
459
459
  await this.loadMarkets();
460
460
  symbol = this.symbol(symbol);
@@ -106,7 +106,7 @@ class bitvavo extends bitvavo$1 {
106
106
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
107
107
  * @param {int} [limit] the maximum amount of trades to fetch
108
108
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
109
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
109
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
110
110
  */
111
111
  await this.loadMarkets();
112
112
  symbol = this.symbol(symbol);
@@ -55,7 +55,7 @@ class blockchaincom extends blockchaincom$1 {
55
55
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
56
56
  * @see https://exchange.blockchain.com/api/#balances
57
57
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
58
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
58
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
59
59
  */
60
60
  await this.authenticate(params);
61
61
  const messageHash = 'balance';
@@ -205,7 +205,7 @@ class blockchaincom extends blockchaincom$1 {
205
205
  * @see https://exchange.blockchain.com/api/#ticker
206
206
  * @param {string} symbol unified symbol of the market to fetch the ticker for
207
207
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
208
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
208
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
209
209
  */
210
210
  await this.loadMarkets();
211
211
  const market = this.market(symbol);
@@ -314,7 +314,7 @@ class blockchaincom extends blockchaincom$1 {
314
314
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
315
315
  * @param {int} [limit] the maximum amount of trades to fetch
316
316
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
317
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
317
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
318
318
  */
319
319
  await this.loadMarkets();
320
320
  const market = this.market(symbol);
@@ -413,7 +413,7 @@ class blockchaincom extends blockchaincom$1 {
413
413
  * @param {int} [since] the earliest time in ms to fetch orders for
414
414
  * @param {int} [limit] the maximum number of orde structures to retrieve
415
415
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
416
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
416
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
417
417
  */
418
418
  await this.loadMarkets();
419
419
  await this.authenticate();
@@ -627,7 +627,7 @@ class blockchaincom extends blockchaincom$1 {
627
627
  * @param {int} [limit] the maximum amount of order book entries to return
628
628
  * @param {objectConstructor} [params] extra parameters specific to the blockchaincom api endpoint
629
629
  * @param {string} [params.type] accepts l2 or l3 for level 2 or level 3 order book
630
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
630
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
631
631
  */
632
632
  await this.loadMarkets();
633
633
  const market = this.market(symbol);
@@ -1090,7 +1090,7 @@ class bybit extends bybit$1 {
1090
1090
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1091
1091
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
1092
1092
  * @param {object} [params] extra parameters specific to the bybit api endpoint
1093
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1093
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1094
1094
  */
1095
1095
  await this.loadMarkets();
1096
1096
  const method = 'watchBalance';
@@ -47,7 +47,7 @@ class cex extends cex$1 {
47
47
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
48
48
  * @see https://cex.io/websocket-api#get-balance
49
49
  * @param {object} [params] extra parameters specific to the cex api endpoint
50
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
50
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
51
51
  */
52
52
  await this.authenticate(params);
53
53
  const messageHash = 'balance';
@@ -109,7 +109,7 @@ class cex extends cex$1 {
109
109
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
110
110
  * @param {int} [limit] the maximum amount of trades to fetch
111
111
  * @param {object} [params] extra parameters specific to the cex api endpoint
112
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
112
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
113
113
  */
114
114
  await this.loadMarkets();
115
115
  const market = this.market(symbol);
@@ -381,7 +381,7 @@ class cex extends cex$1 {
381
381
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
382
382
  * @param {int} [limit] the maximum amount of trades to fetch
383
383
  * @param {object} [params] extra parameters specific to the cex api endpoint
384
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
384
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
385
385
  */
386
386
  if (symbol === undefined) {
387
387
  throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -419,7 +419,7 @@ class cex extends cex$1 {
419
419
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
420
420
  * @param {int} [limit] the maximum amount of trades to fetch
421
421
  * @param {object} [params] extra parameters specific to the cex api endpoint
422
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
422
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
423
423
  */
424
424
  if (symbol === undefined) {
425
425
  throw new errors.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -85,7 +85,7 @@ class coinbase extends coinbase$1 {
85
85
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
86
86
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
87
87
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
88
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
88
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
89
89
  */
90
90
  const name = 'ticker';
91
91
  return await this.subscribe(name, symbol, params);
@@ -98,7 +98,7 @@ class coinbase extends coinbase$1 {
98
98
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
99
99
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
100
100
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
101
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
101
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
102
102
  */
103
103
  if (symbols === undefined) {
104
104
  throw new errors.ArgumentsRequired(this.id + ' watchTickers requires a symbols argument');
@@ -239,7 +239,7 @@ class coinbase extends coinbase$1 {
239
239
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
240
240
  * @param {int} [limit] the maximum amount of trades to fetch
241
241
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
242
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
242
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
243
243
  */
244
244
  await this.loadMarkets();
245
245
  symbol = this.symbol(symbol);
@@ -260,7 +260,7 @@ class coinbase extends coinbase$1 {
260
260
  * @param {int} [since] the earliest time in ms to fetch orders for
261
261
  * @param {int} [limit] the maximum number of orde structures to retrieve
262
262
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
263
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
263
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
264
264
  */
265
265
  await this.loadMarkets();
266
266
  const name = 'user';
@@ -279,7 +279,7 @@ class coinbase extends coinbase$1 {
279
279
  * @param {string} symbol unified symbol of the market to fetch the order book for
280
280
  * @param {int} [limit] the maximum amount of order book entries to return
281
281
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
282
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
282
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
283
283
  */
284
284
  await this.loadMarkets();
285
285
  const name = 'level2';
@@ -146,7 +146,7 @@ class coinbasepro extends coinbasepro$1 {
146
146
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
147
147
  * @param {int} [limit] the maximum amount of trades to fetch
148
148
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
149
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
149
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
150
150
  */
151
151
  await this.loadMarkets();
152
152
  symbol = this.symbol(symbol);
@@ -224,7 +224,7 @@ class coinex extends coinex$1 {
224
224
  * @name coinex#watchBalance
225
225
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
226
226
  * @param {object} [params] extra parameters specific to the coinex api endpoint
227
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
227
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
228
228
  */
229
229
  await this.loadMarkets();
230
230
  await this.authenticate(params);
@@ -452,7 +452,7 @@ class coinex extends coinex$1 {
452
452
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
453
453
  * @param {int} [limit] the maximum amount of trades to fetch
454
454
  * @param {object} [params] extra parameters specific to the coinex api endpoint
455
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
455
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
456
456
  */
457
457
  await this.loadMarkets();
458
458
  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);
@@ -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);
@@ -477,7 +477,7 @@ class cryptocom extends cryptocom$1 {
477
477
  * @param {float} amount how much of currency you want to trade in units of base currency
478
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);
@@ -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);
@@ -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);
@@ -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';
@@ -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) {
@@ -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);
@@ -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);
@@ -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);
@@ -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;
@@ -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);
@@ -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) {
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -115,7 +115,7 @@ class kraken extends kraken$1 {
115
115
  * @param {float} amount how much of currency you want to trade in units of base currency
116
116
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
117
117
  * @param {object} [params] extra parameters specific to the kraken api endpoint
118
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
118
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
119
119
  */
120
120
  await this.loadMarkets();
121
121
  const token = await this.authenticate();
@@ -172,7 +172,7 @@ class kraken extends kraken$1 {
172
172
  * @param {float} amount how much of the currency you want to trade in units of the base currency
173
173
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
174
174
  * @param {object} [params] extra parameters specific to the kraken api endpoint
175
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
175
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
176
176
  */
177
177
  await this.loadMarkets();
178
178
  const token = await this.authenticate();
@@ -200,7 +200,7 @@ class kraken extends kraken$1 {
200
200
  * @param {string[]} ids order ids
201
201
  * @param {string} symbol unified market symbol, default is undefined
202
202
  * @param {object} [params] extra parameters specific to the kraken api endpoint
203
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
203
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
204
204
  */
205
205
  await this.loadMarkets();
206
206
  const token = await this.authenticate();
@@ -224,7 +224,7 @@ class kraken extends kraken$1 {
224
224
  * @param {string} id order id
225
225
  * @param {string} symbol unified symbol of the market the order was made in
226
226
  * @param {object} [params] extra parameters specific to the kraken api endpoint
227
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
227
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
228
228
  */
229
229
  await this.loadMarkets();
230
230
  const token = await this.authenticate();
@@ -261,7 +261,7 @@ class kraken extends kraken$1 {
261
261
  * @description cancel all open orders
262
262
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
263
263
  * @param {object} [params] extra parameters specific to the kraken api endpoint
264
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
264
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
265
265
  */
266
266
  if (symbol !== undefined) {
267
267
  throw new errors.NotSupported(this.id + ' cancelAllOrdersWs () does not support cancelling orders in a specific market.');
@@ -479,7 +479,7 @@ class kraken extends kraken$1 {
479
479
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
480
480
  * @param {int} [limit] the maximum amount of trades to fetch
481
481
  * @param {object} [params] extra parameters specific to the kraken api endpoint
482
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
482
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
483
483
  */
484
484
  await this.loadMarkets();
485
485
  symbol = this.symbol(symbol);
@@ -142,7 +142,7 @@ class krakenfutures extends krakenfutures$1 {
142
142
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
143
143
  * @param {string} symbol unified symbol of the market to fetch the ticker for
144
144
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
145
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
145
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
146
146
  */
147
147
  const options = this.safeValue(this.options, 'watchTicker');
148
148
  const method = this.safeString(options, 'method', 'ticker'); // or ticker_lite
@@ -158,7 +158,7 @@ class krakenfutures extends krakenfutures$1 {
158
158
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
159
159
  * @param {string} symbol unified symbol of the market to fetch the ticker for
160
160
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
161
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
161
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
162
162
  */
163
163
  const method = this.safeString(this.options, 'watchTickerMethod', 'ticker'); // or ticker_lite
164
164
  const name = this.safeString2(params, 'method', 'watchTickerMethod', method);
@@ -175,7 +175,7 @@ class krakenfutures extends krakenfutures$1 {
175
175
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
176
176
  * @param {int} [limit] the maximum amount of trades to fetch
177
177
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
178
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
178
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
179
179
  */
180
180
  await this.loadMarkets();
181
181
  const name = 'trade';
@@ -194,7 +194,7 @@ class krakenfutures extends krakenfutures$1 {
194
194
  * @param {string} symbol unified symbol of the market to fetch the order book for
195
195
  * @param {int} [limit] not used by krakenfutures watchOrderBook
196
196
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
197
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
197
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
198
198
  */
199
199
  const orderbook = await this.subscribePublic('book', [symbol], params);
200
200
  return orderbook.limit();
@@ -210,7 +210,7 @@ class krakenfutures extends krakenfutures$1 {
210
210
  * @param {int} [since] not used by krakenfutures watchOrders
211
211
  * @param {int} [limit] not used by krakenfutures watchOrders
212
212
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
213
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
213
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
214
214
  */
215
215
  await this.loadMarkets();
216
216
  const name = 'open_orders';