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
@@ -83,7 +83,7 @@ export default class bitpanda extends bitpandaRest {
83
83
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
84
84
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
85
85
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
86
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
86
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
87
87
  */
88
88
  await this.authenticate(params);
89
89
  const url = this.urls['api']['ws'];
@@ -143,7 +143,7 @@ export default class bitpanda extends bitpandaRest {
143
143
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
144
144
  * @param {string} symbol unified symbol of the market to fetch the ticker for
145
145
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
146
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
146
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
147
147
  */
148
148
  await this.loadMarkets();
149
149
  const market = this.market(symbol);
@@ -169,7 +169,7 @@ export default class bitpanda extends bitpandaRest {
169
169
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
170
170
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
171
171
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
172
- * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
172
+ * @returns {object} an array of [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
173
173
  */
174
174
  await this.loadMarkets();
175
175
  symbols = this.marketSymbols(symbols);
@@ -267,7 +267,7 @@ export default class bitpanda extends bitpandaRest {
267
267
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
268
268
  * @param {int} [limit] the maximum amount of trades to fetch
269
269
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
270
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
270
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
271
271
  */
272
272
  await this.loadMarkets();
273
273
  let messageHash = 'myTrades';
@@ -310,7 +310,7 @@ export default class bitpanda extends bitpandaRest {
310
310
  * @param {string} symbol unified symbol of the market to fetch the order book for
311
311
  * @param {int} [limit] the maximum amount of order book entries to return
312
312
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
313
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
313
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
314
314
  */
315
315
  await this.loadMarkets();
316
316
  const market = this.market(symbol);
@@ -429,7 +429,7 @@ export default class bitpanda extends bitpandaRest {
429
429
  * @param {int} [limit] the maximum number of orde structures to retrieve
430
430
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
431
431
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
432
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
432
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
433
433
  */
434
434
  await this.loadMarkets();
435
435
  let messageHash = 'orders';
@@ -62,7 +62,7 @@ export default class bitrue extends bitrueRest {
62
62
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
63
63
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
64
64
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
65
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
65
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
66
66
  */
67
67
  const url = await this.authenticate();
68
68
  const messageHash = 'balance';
@@ -164,7 +164,7 @@ export default class bitstamp extends bitstampRest {
164
164
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
165
165
  * @param {int} [limit] the maximum amount of trades to fetch
166
166
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
167
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
167
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
168
168
  */
169
169
  await this.loadMarkets();
170
170
  const market = this.market(symbol);
@@ -267,7 +267,7 @@ export default class bittrex extends bittrexRest {
267
267
  * @name bittrex#watchBalance
268
268
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
269
269
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
270
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
270
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
271
271
  */
272
272
  await this.loadMarkets();
273
273
  const authentication = await this.authenticate();
@@ -457,7 +457,7 @@ export default class bittrex extends bittrexRest {
457
457
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
458
458
  * @param {int} [limit] the maximum amount of trades to fetch
459
459
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
460
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
460
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
461
461
  */
462
462
  await this.loadMarkets();
463
463
  symbol = this.symbol(symbol);
@@ -109,7 +109,7 @@ export default class bitvavo extends bitvavoRest {
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 bitvavo 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
  symbol = this.symbol(symbol);
@@ -58,7 +58,7 @@ export default class blockchaincom extends blockchaincomRest {
58
58
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
59
59
  * @see https://exchange.blockchain.com/api/#balances
60
60
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
61
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
61
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
62
62
  */
63
63
  await this.authenticate(params);
64
64
  const messageHash = 'balance';
@@ -208,7 +208,7 @@ export default class blockchaincom extends blockchaincomRest {
208
208
  * @see https://exchange.blockchain.com/api/#ticker
209
209
  * @param {string} symbol unified symbol of the market to fetch the ticker for
210
210
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
211
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
211
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
212
212
  */
213
213
  await this.loadMarkets();
214
214
  const market = this.market(symbol);
@@ -317,7 +317,7 @@ export default class blockchaincom extends blockchaincomRest {
317
317
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
318
318
  * @param {int} [limit] the maximum amount of trades to fetch
319
319
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
320
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
320
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
321
321
  */
322
322
  await this.loadMarkets();
323
323
  const market = this.market(symbol);
@@ -416,7 +416,7 @@ export default class blockchaincom extends blockchaincomRest {
416
416
  * @param {int} [since] the earliest time in ms to fetch orders for
417
417
  * @param {int} [limit] the maximum number of orde structures to retrieve
418
418
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
419
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
419
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
420
420
  */
421
421
  await this.loadMarkets();
422
422
  await this.authenticate();
@@ -630,7 +630,7 @@ export default class blockchaincom extends blockchaincomRest {
630
630
  * @param {int} [limit] the maximum amount of order book entries to return
631
631
  * @param {objectConstructor} [params] extra parameters specific to the blockchaincom api endpoint
632
632
  * @param {string} [params.type] accepts l2 or l3 for level 2 or level 3 order book
633
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
633
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
634
634
  */
635
635
  await this.loadMarkets();
636
636
  const market = this.market(symbol);
@@ -1093,7 +1093,7 @@ export default class bybit extends bybitRest {
1093
1093
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1094
1094
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
1095
1095
  * @param {object} [params] extra parameters specific to the bybit api endpoint
1096
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1096
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1097
1097
  */
1098
1098
  await this.loadMarkets();
1099
1099
  const method = 'watchBalance';
package/js/src/pro/cex.js CHANGED
@@ -50,7 +50,7 @@ export default class cex extends cexRest {
50
50
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
51
51
  * @see https://cex.io/websocket-api#get-balance
52
52
  * @param {object} [params] extra parameters specific to the cex api endpoint
53
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
53
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
54
54
  */
55
55
  await this.authenticate(params);
56
56
  const messageHash = 'balance';
@@ -112,7 +112,7 @@ export default class cex extends cexRest {
112
112
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
113
113
  * @param {int} [limit] the maximum amount of trades to fetch
114
114
  * @param {object} [params] extra parameters specific to the cex api endpoint
115
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
115
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
116
116
  */
117
117
  await this.loadMarkets();
118
118
  const market = this.market(symbol);
@@ -384,7 +384,7 @@ export default class cex extends cexRest {
384
384
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
385
385
  * @param {int} [limit] the maximum amount of trades to fetch
386
386
  * @param {object} [params] extra parameters specific to the cex api endpoint
387
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
387
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
388
388
  */
389
389
  if (symbol === undefined) {
390
390
  throw new ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -422,7 +422,7 @@ export default class cex extends cexRest {
422
422
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
423
423
  * @param {int} [limit] the maximum amount of trades to fetch
424
424
  * @param {object} [params] extra parameters specific to the cex api endpoint
425
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
425
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
426
426
  */
427
427
  if (symbol === undefined) {
428
428
  throw new ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -88,7 +88,7 @@ export default class coinbase extends coinbaseRest {
88
88
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
89
89
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
90
90
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
91
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
91
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
92
92
  */
93
93
  const name = 'ticker';
94
94
  return await this.subscribe(name, symbol, params);
@@ -101,7 +101,7 @@ export default class coinbase extends coinbaseRest {
101
101
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
102
102
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
103
103
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
104
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
104
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
105
105
  */
106
106
  if (symbols === undefined) {
107
107
  throw new ArgumentsRequired(this.id + ' watchTickers requires a symbols argument');
@@ -242,7 +242,7 @@ export default class coinbase extends coinbaseRest {
242
242
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
243
243
  * @param {int} [limit] the maximum amount of trades to fetch
244
244
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
245
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
245
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
246
246
  */
247
247
  await this.loadMarkets();
248
248
  symbol = this.symbol(symbol);
@@ -263,7 +263,7 @@ export default class coinbase extends coinbaseRest {
263
263
  * @param {int} [since] the earliest time in ms to fetch orders for
264
264
  * @param {int} [limit] the maximum number of orde structures to retrieve
265
265
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
266
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
266
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
267
267
  */
268
268
  await this.loadMarkets();
269
269
  const name = 'user';
@@ -282,7 +282,7 @@ export default class coinbase extends coinbaseRest {
282
282
  * @param {string} symbol unified symbol of the market to fetch the order book for
283
283
  * @param {int} [limit] the maximum amount of order book entries to return
284
284
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
285
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
285
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
286
286
  */
287
287
  await this.loadMarkets();
288
288
  const name = 'level2';
@@ -149,7 +149,7 @@ export default class coinbasepro extends coinbaseproRest {
149
149
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
150
150
  * @param {int} [limit] the maximum amount of trades to fetch
151
151
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
152
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
152
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
153
153
  */
154
154
  await this.loadMarkets();
155
155
  symbol = this.symbol(symbol);
@@ -227,7 +227,7 @@ export default class coinex extends coinexRest {
227
227
  * @name coinex#watchBalance
228
228
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
229
229
  * @param {object} [params] extra parameters specific to the coinex api endpoint
230
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
230
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
231
231
  */
232
232
  await this.loadMarkets();
233
233
  await this.authenticate(params);
@@ -455,7 +455,7 @@ export default class coinex extends coinexRest {
455
455
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
456
456
  * @param {int} [limit] the maximum amount of trades to fetch
457
457
  * @param {object} [params] extra parameters specific to the coinex api endpoint
458
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
458
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
459
459
  */
460
460
  await this.loadMarkets();
461
461
  const market = this.market(symbol);
@@ -124,7 +124,7 @@ export default class cryptocom extends cryptocomRest {
124
124
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
125
125
  * @param {int} [limit] the maximum amount of trades to fetch
126
126
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
127
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
127
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
128
128
  */
129
129
  await this.loadMarkets();
130
130
  const market = this.market(symbol);
@@ -399,7 +399,7 @@ export default class cryptocom extends cryptocomRest {
399
399
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
400
400
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-balance
401
401
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
402
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
402
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
403
403
  */
404
404
  const messageHash = 'user.balance';
405
405
  return await this.watchPrivateSubscribe(messageHash, params);
@@ -480,7 +480,7 @@ export default class cryptocom extends cryptocomRest {
480
480
  * @param {float} amount how much of currency you want to trade in units of base currency
481
481
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
482
482
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
483
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
483
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
484
484
  */
485
485
  await this.loadMarkets();
486
486
  params = this.createOrderRequest(symbol, type, side, amount, price, params);
@@ -332,7 +332,7 @@ export default class currencycom extends currencycomRest {
332
332
  * @name currencycom#watchBalance
333
333
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
334
334
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
335
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
335
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
336
336
  */
337
337
  await this.loadMarkets();
338
338
  return await this.watchPrivate('/api/v1/account', params);
@@ -375,7 +375,7 @@ export default class currencycom extends currencycomRest {
375
375
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
376
376
  * @param {int} [limit] the maximum amount of trades to fetch
377
377
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
378
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
378
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
379
379
  */
380
380
  await this.loadMarkets();
381
381
  symbol = this.symbol(symbol);
@@ -64,7 +64,7 @@ export default class deribit extends deribitRest {
64
64
  * @see https://docs.deribit.com/#user-portfolio-currency
65
65
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
66
66
  * @param {object} [params] extra parameters specific to the deribit api endpoint
67
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
67
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
68
68
  */
69
69
  await this.authenticate(params);
70
70
  const messageHash = 'balance';
@@ -222,7 +222,7 @@ export default class deribit extends deribitRest {
222
222
  * @param {int} [limit] the maximum amount of trades to fetch
223
223
  * @param {object} [params] extra parameters specific to the deribit api endpoint
224
224
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
225
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
225
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
226
226
  */
227
227
  await this.loadMarkets();
228
228
  const market = this.market(symbol);
@@ -302,7 +302,7 @@ export default class deribit extends deribitRest {
302
302
  * @param {int} [limit] the maximum amount of trades to fetch
303
303
  * @param {object} [params] extra parameters specific to the deribit api endpoint
304
304
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
305
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
305
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
306
306
  */
307
307
  await this.authenticate(params);
308
308
  if (symbol !== undefined) {
@@ -49,7 +49,7 @@ export default class exmo extends exmoRest {
49
49
  * @name exmo#watchBalance
50
50
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
51
51
  * @param {object} [params] extra parameters specific to the exmo api endpoint
52
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
52
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
53
53
  */
54
54
  await this.authenticate(params);
55
55
  const [type, query] = this.handleMarketTypeAndParams('watchBalance', undefined, params);
@@ -264,7 +264,7 @@ export default class exmo extends exmoRest {
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 exmo 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
  const market = this.market(symbol);
@@ -328,7 +328,7 @@ export default class exmo extends exmoRest {
328
328
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
329
329
  * @param {int} [limit] the maximum amount of trades to fetch
330
330
  * @param {object} [params] extra parameters specific to the exmo api endpoint
331
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
331
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
332
332
  */
333
333
  await this.loadMarkets();
334
334
  await this.authenticate(params);
@@ -380,7 +380,7 @@ export default class gate extends gateRest {
380
380
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
381
381
  * @param {int} [limit] the maximum amount of trades to fetch
382
382
  * @param {object} [params] extra parameters specific to the gate api endpoint
383
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
383
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
384
384
  */
385
385
  await this.loadMarkets();
386
386
  const market = this.market(symbol);
@@ -614,7 +614,7 @@ export default class gate extends gateRest {
614
614
  * @name gate#watchBalance
615
615
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
616
616
  * @param {object} [params] extra parameters specific to the gate api endpoint
617
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
617
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
618
618
  */
619
619
  await this.loadMarkets();
620
620
  let type = undefined;
@@ -45,7 +45,7 @@ export default class gemini extends geminiRest {
45
45
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
46
46
  * @param {int} [limit] the maximum amount of trades to fetch
47
47
  * @param {object} [params] extra parameters specific to the gemini api endpoint
48
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
48
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
49
49
  */
50
50
  await this.loadMarkets();
51
51
  const market = this.market(symbol);
@@ -209,7 +209,7 @@ export default class hitbtc extends hitbtcRest {
209
209
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
210
210
  * @param {int} [limit] the maximum amount of trades to fetch
211
211
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
212
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
212
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
213
213
  */
214
214
  const trades = await this.watchPublic(symbol, 'trades', undefined, params);
215
215
  if (this.newUpdates) {
@@ -120,7 +120,7 @@ export default class hollaex extends hollaexRest {
120
120
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
121
121
  * @param {int} [limit] the maximum amount of trades to fetch
122
122
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
123
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
123
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
124
124
  */
125
125
  await this.loadMarkets();
126
126
  const market = this.market(symbol);
@@ -374,7 +374,7 @@ export default class hollaex extends hollaexRest {
374
374
  * @name hollaex#watchBalance
375
375
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
376
376
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
377
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
377
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
378
378
  */
379
379
  const messageHash = 'wallet';
380
380
  return await this.watchPrivate(messageHash, params);
@@ -193,7 +193,7 @@ export default class huobi extends huobiRest {
193
193
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
194
194
  * @param {int} [limit] the maximum amount of trades to fetch
195
195
  * @param {object} [params] extra parameters specific to the huobi api endpoint
196
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
196
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
197
197
  */
198
198
  await this.loadMarkets();
199
199
  const market = this.market(symbol);
@@ -1189,7 +1189,7 @@ export default class huobi extends huobiRest {
1189
1189
  * @name huobi#watchBalance
1190
1190
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1191
1191
  * @param {object} [params] extra parameters specific to the huobi api endpoint
1192
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1192
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1193
1193
  */
1194
1194
  let type = this.safeString2(this.options, 'watchBalance', 'defaultType', 'spot');
1195
1195
  type = this.safeString(params, 'type', type);
@@ -117,7 +117,7 @@ export default class huobijp extends huobijpRest {
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 huobijp 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);
@@ -147,7 +147,7 @@ export default class idex extends idexRest {
147
147
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
148
148
  * @param {int} [limit] the maximum amount of trades to fetch
149
149
  * @param {object} [params] extra parameters specific to the idex api endpoint
150
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
150
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
151
151
  */
152
152
  await this.loadMarkets();
153
153
  const market = this.market(symbol);
@@ -44,7 +44,7 @@ export default class independentreserve extends independentreserveRest {
44
44
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
45
45
  * @param {int} [limit] the maximum amount of trades to fetch
46
46
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
47
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
47
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
48
48
  */
49
49
  await this.loadMarkets();
50
50
  const market = this.market(symbol);
@@ -118,7 +118,7 @@ export default class kraken extends krakenRest {
118
118
  * @param {float} amount how much of currency you want to trade in units of base currency
119
119
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
120
120
  * @param {object} [params] extra parameters specific to the kraken api endpoint
121
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
121
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
122
122
  */
123
123
  await this.loadMarkets();
124
124
  const token = await this.authenticate();
@@ -175,7 +175,7 @@ export default class kraken extends krakenRest {
175
175
  * @param {float} amount how much of the currency you want to trade in units of the base currency
176
176
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
177
177
  * @param {object} [params] extra parameters specific to the kraken api endpoint
178
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
178
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
179
179
  */
180
180
  await this.loadMarkets();
181
181
  const token = await this.authenticate();
@@ -203,7 +203,7 @@ export default class kraken extends krakenRest {
203
203
  * @param {string[]} ids order ids
204
204
  * @param {string} symbol unified market symbol, default is undefined
205
205
  * @param {object} [params] extra parameters specific to the kraken api endpoint
206
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
206
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
207
207
  */
208
208
  await this.loadMarkets();
209
209
  const token = await this.authenticate();
@@ -227,7 +227,7 @@ export default class kraken extends krakenRest {
227
227
  * @param {string} id order id
228
228
  * @param {string} symbol unified symbol of the market the order was made in
229
229
  * @param {object} [params] extra parameters specific to the kraken api endpoint
230
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
230
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
231
231
  */
232
232
  await this.loadMarkets();
233
233
  const token = await this.authenticate();
@@ -264,7 +264,7 @@ export default class kraken extends krakenRest {
264
264
  * @description cancel all open orders
265
265
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
266
266
  * @param {object} [params] extra parameters specific to the kraken api endpoint
267
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
267
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
268
268
  */
269
269
  if (symbol !== undefined) {
270
270
  throw new NotSupported(this.id + ' cancelAllOrdersWs () does not support cancelling orders in a specific market.');
@@ -482,7 +482,7 @@ export default class kraken extends krakenRest {
482
482
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
483
483
  * @param {int} [limit] the maximum amount of trades to fetch
484
484
  * @param {object} [params] extra parameters specific to the kraken api endpoint
485
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
485
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
486
486
  */
487
487
  await this.loadMarkets();
488
488
  symbol = this.symbol(symbol);
@@ -145,7 +145,7 @@ export default class krakenfutures extends krakenfuturesRest {
145
145
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
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 krakenfutures api endpoint
148
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
148
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
149
149
  */
150
150
  const options = this.safeValue(this.options, 'watchTicker');
151
151
  const method = this.safeString(options, 'method', 'ticker'); // or ticker_lite
@@ -161,7 +161,7 @@ export default class krakenfutures extends krakenfuturesRest {
161
161
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
162
162
  * @param {string} symbol unified symbol of the market to fetch the ticker for
163
163
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
164
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
164
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
165
165
  */
166
166
  const method = this.safeString(this.options, 'watchTickerMethod', 'ticker'); // or ticker_lite
167
167
  const name = this.safeString2(params, 'method', 'watchTickerMethod', method);
@@ -178,7 +178,7 @@ export default class krakenfutures extends krakenfuturesRest {
178
178
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
179
179
  * @param {int} [limit] the maximum amount of trades to fetch
180
180
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
181
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
181
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
182
182
  */
183
183
  await this.loadMarkets();
184
184
  const name = 'trade';
@@ -197,7 +197,7 @@ export default class krakenfutures extends krakenfuturesRest {
197
197
  * @param {string} symbol unified symbol of the market to fetch the order book for
198
198
  * @param {int} [limit] not used by krakenfutures watchOrderBook
199
199
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
200
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
200
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
201
201
  */
202
202
  const orderbook = await this.subscribePublic('book', [symbol], params);
203
203
  return orderbook.limit();
@@ -213,7 +213,7 @@ export default class krakenfutures extends krakenfuturesRest {
213
213
  * @param {int} [since] not used by krakenfutures watchOrders
214
214
  * @param {int} [limit] not used by krakenfutures watchOrders
215
215
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
216
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
216
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
217
217
  */
218
218
  await this.loadMarkets();
219
219
  const name = 'open_orders';