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
@@ -280,7 +280,7 @@ export default class kucoin extends kucoinRest {
280
280
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
281
281
  * @param {int} [limit] the maximum amount of trades to fetch
282
282
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
283
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
283
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
284
284
  */
285
285
  await this.loadMarkets();
286
286
  const url = await this.negotiate(false);
@@ -712,7 +712,7 @@ export default class kucoin extends kucoinRest {
712
712
  * @name kucoin#watchBalance
713
713
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
714
714
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
715
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
715
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
716
716
  */
717
717
  await this.loadMarkets();
718
718
  const url = await this.negotiate(true);
@@ -188,7 +188,7 @@ export default class kucoinfutures extends kucoinfuturesRest {
188
188
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
189
189
  * @param {int} [limit] the maximum amount of trades to fetch
190
190
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
191
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
191
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
192
192
  */
193
193
  await this.loadMarkets();
194
194
  const url = await this.negotiate(false);
@@ -528,8 +528,9 @@ export default class kucoinfutures extends kucoinfuturesRest {
528
528
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
529
529
  * @see https://docs.kucoin.com/futures/#account-balance-events
530
530
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
531
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
531
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
532
532
  */
533
+ await this.loadMarkets();
533
534
  const url = await this.negotiate(true);
534
535
  const topic = '/contractAccount/wallet';
535
536
  const request = {
@@ -43,7 +43,7 @@ export default class luno extends lunoRest {
43
43
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
44
44
  * @param {int} [limit] the maximum amount of trades to fetch
45
45
  * @param {object} [params] extra parameters specific to the luno api endpoint
46
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
46
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
47
47
  */
48
48
  await this.checkRequiredCredentials();
49
49
  await this.loadMarkets();
@@ -67,7 +67,7 @@ export default class mexc extends mexcRest {
67
67
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
68
68
  * @param {string} symbol unified symbol of the market to fetch the ticker for
69
69
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
70
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
70
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
71
71
  */
72
72
  await this.loadMarkets();
73
73
  const market = this.market(symbol);
@@ -348,7 +348,7 @@ export default class mexc extends mexcRest {
348
348
  * @param {string} symbol unified symbol of the market to fetch the order book for
349
349
  * @param {int} [limit] the maximum amount of order book entries to return
350
350
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
351
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
351
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
352
352
  */
353
353
  await this.loadMarkets();
354
354
  const market = this.market(symbol);
@@ -516,7 +516,7 @@ export default class mexc extends mexcRest {
516
516
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
517
517
  * @param {int} [limit] the maximum amount of trades to fetch
518
518
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
519
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
519
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
520
520
  */
521
521
  await this.loadMarkets();
522
522
  const market = this.market(symbol);
@@ -605,7 +605,7 @@ export default class mexc extends mexcRest {
605
605
  * @param {int} [since] the earliest time in ms to fetch trades for
606
606
  * @param {int} [limit] the maximum number of trade structures to retrieve
607
607
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
608
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html#trade-structure
608
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
609
609
  */
610
610
  await this.loadMarkets();
611
611
  let messageHash = 'myTrades';
@@ -734,7 +734,7 @@ export default class mexc extends mexcRest {
734
734
  * @param {int} [limit] the maximum number of orde structures to retrieve
735
735
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
736
736
  * @params {string|undefined} params.type the type of orders to retrieve, can be 'spot' or 'margin'
737
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
737
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
738
738
  */
739
739
  await this.loadMarkets();
740
740
  params = this.omit(params, 'type');
@@ -981,7 +981,7 @@ export default class mexc extends mexcRest {
981
981
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#spot-account-upadte
982
982
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
983
983
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
984
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
984
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
985
985
  */
986
986
  await this.loadMarkets();
987
987
  let type = undefined;
@@ -112,7 +112,7 @@ export default class ndax extends ndaxRest {
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 ndax 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
  const omsId = this.safeInteger(this.options, 'omsId', 1);
118
118
  await this.loadMarkets();
@@ -74,7 +74,7 @@ export default class okcoin extends okcoinRest {
74
74
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
75
75
  * @param {int} [limit] the maximum amount of trades to fetch
76
76
  * @param {object} [params] extra parameters specific to the okcoin api endpoint
77
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
77
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
78
78
  */
79
79
  await this.loadMarkets();
80
80
  symbol = this.symbol(symbol);
@@ -486,7 +486,7 @@ export default class okcoin extends okcoinRest {
486
486
  * @name okcoin#watchBalance
487
487
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
488
488
  * @param {object} [params] extra parameters specific to the okcoin api endpoint
489
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
489
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
490
490
  */
491
491
  const defaultType = this.safeString2(this.options, 'watchBalance', 'defaultType');
492
492
  const type = this.safeString(params, 'type', defaultType);
package/js/src/pro/okx.js CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  // ---------------------------------------------------------------------------
8
8
  import okxRest from '../okx.js';
9
- import { AuthenticationError, BadRequest, InvalidNonce } from '../base/errors.js';
9
+ import { ArgumentsRequired, AuthenticationError, BadRequest, InvalidNonce } from '../base/errors.js';
10
10
  import { ArrayCache, ArrayCacheByTimestamp, ArrayCacheBySymbolById } from '../base/ws/Cache.js';
11
11
  import { sha256 } from '../static_dependencies/noble-hashes/sha256.js';
12
12
  // ---------------------------------------------------------------------------
@@ -160,7 +160,7 @@ export default class okx extends okxRest {
160
160
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
161
161
  * @param {int} [limit] the maximum amount of trades to fetch
162
162
  * @param {object} [params] extra parameters specific to the okx api endpoint
163
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
163
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
164
164
  */
165
165
  await this.loadMarkets();
166
166
  symbol = this.symbol(symbol);
@@ -233,6 +233,9 @@ export default class okx extends okxRest {
233
233
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
234
234
  * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
235
235
  */
236
+ if (this.isEmpty(symbols)) {
237
+ throw new ArgumentsRequired(this.id + ' watchTickers requires a list of symbols');
238
+ }
236
239
  let channel = undefined;
237
240
  [channel, params] = this.handleOptionAndParams(params, 'watchTickers', 'channel', 'tickers');
238
241
  const newTickers = await this.subscribeMultiple('public', channel, symbols, params);
@@ -640,7 +643,7 @@ export default class okx extends okxRest {
640
643
  * @name okx#watchBalance
641
644
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
642
645
  * @param {object} [params] extra parameters specific to the okx api endpoint
643
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
646
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
644
647
  */
645
648
  await this.loadMarkets();
646
649
  await this.authenticate();
@@ -993,7 +996,7 @@ export default class okx extends okxRest {
993
996
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
994
997
  * @param {object} [params] extra parameters specific to the okx api endpoint
995
998
  * @param {boolean} params.test test order, default false
996
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
999
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
997
1000
  */
998
1001
  await this.loadMarkets();
999
1002
  await this.authenticate();
@@ -1062,7 +1065,7 @@ export default class okx extends okxRest {
1062
1065
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1063
1066
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1064
1067
  * @param {object} [params] extra parameters specific to the okx api endpoint
1065
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1068
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1066
1069
  */
1067
1070
  await this.loadMarkets();
1068
1071
  await this.authenticate();
@@ -1088,7 +1091,7 @@ export default class okx extends okxRest {
1088
1091
  * @param {string} symbol unified market symbol, default is undefined
1089
1092
  * @param {object} [params] extra parameters specific to the okx api endpoint
1090
1093
  * @param {string} [params.clOrdId] client order id
1091
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1094
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1092
1095
  */
1093
1096
  if (symbol === undefined) {
1094
1097
  throw new BadRequest(this.id + ' cancelOrderWs() requires a symbol argument');
@@ -1124,7 +1127,7 @@ export default class okx extends okxRest {
1124
1127
  * @param {string[]} ids order ids
1125
1128
  * @param {string} symbol unified market symbol, default is undefined
1126
1129
  * @param {object} [params] extra parameters specific to the okx api endpoint
1127
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1130
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1128
1131
  */
1129
1132
  const idsLength = ids.length;
1130
1133
  if (idsLength > 20) {
@@ -1160,7 +1163,7 @@ export default class okx extends okxRest {
1160
1163
  * @description cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
1161
1164
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1162
1165
  * @param {object} [params] extra parameters specific to the okx api endpoint
1163
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1166
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1164
1167
  */
1165
1168
  if (symbol === undefined) {
1166
1169
  throw new BadRequest(this.id + ' cancelAllOrdersWs() requires a symbol argument');
@@ -303,7 +303,7 @@ export default class phemex extends phemexRest {
303
303
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
304
304
  * @param {object} [params] extra parameters specific to the phemex api endpoint
305
305
  * @param {string} [params.settle] set to USDT to use hedged perpetual api
306
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
306
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
307
307
  */
308
308
  await this.loadMarkets();
309
309
  let type = undefined;
@@ -533,7 +533,7 @@ export default class phemex extends phemexRest {
533
533
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
534
534
  * @param {int} [limit] the maximum amount of trades to fetch
535
535
  * @param {object} [params] extra parameters specific to the phemex api endpoint
536
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
536
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
537
537
  */
538
538
  await this.loadMarkets();
539
539
  const market = this.market(symbol);
@@ -187,7 +187,7 @@ export default class poloniex extends poloniexRest {
187
187
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
188
188
  * @param {string} symbol unified symbol of the market to fetch the ticker for
189
189
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
190
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
190
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
191
191
  */
192
192
  await this.loadMarkets();
193
193
  symbol = this.symbol(symbol);
@@ -202,7 +202,7 @@ export default class poloniex extends poloniexRest {
202
202
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
203
203
  * @param {string} symbol unified symbol of the market to fetch the ticker for
204
204
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
205
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
205
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
206
206
  */
207
207
  await this.loadMarkets();
208
208
  const name = 'ticker';
@@ -223,7 +223,7 @@ export default class poloniex extends poloniexRest {
223
223
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
224
224
  * @param {int} [limit] the maximum amount of trades to fetch
225
225
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
226
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
226
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
227
227
  */
228
228
  await this.loadMarkets();
229
229
  symbol = this.symbol(symbol);
@@ -243,7 +243,7 @@ export default class poloniex extends poloniexRest {
243
243
  * @param {string} symbol unified symbol of the market to fetch the order book for
244
244
  * @param {int} [limit] not used by poloniex watchOrderBook
245
245
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
246
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
246
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
247
247
  */
248
248
  await this.loadMarkets();
249
249
  const watchOrderBookOptions = this.safeValue(this.options, 'watchOrderBook');
@@ -262,7 +262,7 @@ export default class poloniex extends poloniexRest {
262
262
  * @param {int} [since] not used by poloniex watchOrders
263
263
  * @param {int} [limit] not used by poloniex watchOrders
264
264
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
265
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
265
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
266
266
  */
267
267
  await this.loadMarkets();
268
268
  const name = 'orders';
@@ -310,7 +310,7 @@ export default class poloniex extends poloniexRest {
310
310
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
311
311
  * @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
312
312
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
313
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
313
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
314
314
  */
315
315
  await this.loadMarkets();
316
316
  const name = 'balances';
@@ -225,7 +225,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
225
225
  * @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
226
226
  * @param {string} symbol unified symbol of the market to fetch the ticker for
227
227
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
228
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
228
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
229
229
  */
230
230
  await this.loadMarkets();
231
231
  symbol = this.symbol(symbol);
@@ -242,7 +242,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
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 poloniexfutures 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
  const options = this.safeValue(this.options, 'watchTrades');
@@ -265,7 +265,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
265
265
  * @param {int} [limit] not used by poloniexfutures watchOrderBook
266
266
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
267
267
  * @param {string} [params.method] the method to use. Defaults to /contractMarket/level2 can also be /contractMarket/level3v2 to receive the raw stream of orders
268
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
268
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
269
269
  */
270
270
  await this.loadMarkets();
271
271
  const options = this.safeValue(this.options, 'watchOrderBook');
@@ -296,7 +296,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
296
296
  * @param {int} [limit] the maximum number of orde structures to retrieve
297
297
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
298
298
  * @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
299
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
299
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
300
300
  */
301
301
  await this.loadMarkets();
302
302
  const options = this.safeValue(this.options, 'watchOrders');
@@ -318,7 +318,7 @@ export default class poloniexfutures extends poloniexfuturesRest {
318
318
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
319
319
  * @see https://futures-docs.poloniex.com/#account-balance-events
320
320
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
321
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
321
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
322
322
  */
323
323
  await this.loadMarkets();
324
324
  const name = '/contractAccount/wallet';
@@ -58,7 +58,7 @@ export default class probit extends probitRest {
58
58
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
59
59
  * @see https://docs-en.probit.com/reference/balance-1
60
60
  * @param {object} [params] extra parameters specific to the probit 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';
@@ -126,7 +126,7 @@ export default class probit extends probitRest {
126
126
  * @param {string} symbol unified symbol of the market to fetch the ticker for
127
127
  * @param {object} [params] extra parameters specific to the probit api endpoint
128
128
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
129
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
129
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
130
130
  */
131
131
  let filter = undefined;
132
132
  [filter, params] = this.handleOptionAndParams(params, 'watchTicker', 'filter', 'ticker');
@@ -171,7 +171,7 @@ export default class probit extends probitRest {
171
171
  * @param {int} [limit] the maximum amount of trades to fetch
172
172
  * @param {object} [params] extra parameters specific to the probit api endpoint
173
173
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
174
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
174
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
175
175
  */
176
176
  let filter = undefined;
177
177
  [filter, params] = this.handleOptionAndParams(params, 'watchTrades', 'filter', 'recent_trades');
@@ -231,7 +231,7 @@ export default class probit extends probitRest {
231
231
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
232
232
  * @param {int} [limit] the maximum amount of trades to fetch
233
233
  * @param {object} [params] extra parameters specific to the probit api endpoint
234
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
234
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
235
235
  */
236
236
  await this.loadMarkets();
237
237
  await this.authenticate(params);
@@ -312,7 +312,7 @@ export default class probit extends probitRest {
312
312
  * @param {int} [limit] the maximum amount of orders to watch
313
313
  * @param {object} [params] extra parameters specific to the aax api endpoint
314
314
  * @param {string} [params.channel] choose what channel to use. Can open_order or order_history.
315
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
315
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
316
316
  */
317
317
  await this.authenticate(params);
318
318
  const url = this.urls['api']['ws'];
@@ -396,7 +396,7 @@ export default class probit extends probitRest {
396
396
  * @param {string} symbol unified symbol of the market to fetch the order book for
397
397
  * @param {int} [limit] the maximum amount of order book entries to return
398
398
  * @param {object} [params] extra parameters specific to the probit api endpoint
399
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
399
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
400
400
  */
401
401
  let filter = undefined;
402
402
  [filter, params] = this.handleOptionAndParams(params, 'watchOrderBook', 'filter', 'order_books');
@@ -71,7 +71,7 @@ export default class upbit extends upbitRest {
71
71
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
72
72
  * @param {int} [limit] the maximum amount of trades to fetch
73
73
  * @param {object} [params] extra parameters specific to the upbit api endpoint
74
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
74
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
75
75
  */
76
76
  await this.loadMarkets();
77
77
  symbol = this.symbol(symbol);
@@ -47,7 +47,7 @@ export default class wazirx extends wazirxRest {
47
47
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
48
48
  * @see https://docs.wazirx.com/#account-update
49
49
  * @param {object} [params] extra parameters specific to the wazirx 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.loadMarkets();
53
53
  const token = await this.authenticate(params);
@@ -291,7 +291,7 @@ export default class wazirx extends wazirxRest {
291
291
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
292
292
  * @param {int} [limit] the maximum amount of trades to fetch
293
293
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
294
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
294
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
295
295
  */
296
296
  await this.loadMarkets();
297
297
  const market = this.market(symbol);
@@ -357,7 +357,7 @@ export default class wazirx extends wazirxRest {
357
357
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
358
358
  * @param {int} [limit] the maximum amount of trades to fetch
359
359
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
360
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
360
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
361
361
  */
362
362
  await this.loadMarkets();
363
363
  const token = await this.authenticate(params);
@@ -308,7 +308,7 @@ export default class whitebit extends whitebitRest {
308
308
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
309
309
  * @param {int} [limit] the maximum amount of trades to fetch
310
310
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
311
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
311
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
312
312
  */
313
313
  await this.loadMarkets();
314
314
  const market = this.market(symbol);
@@ -646,7 +646,7 @@ export default class whitebit extends whitebitRest {
646
646
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
647
647
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
648
648
  * @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
649
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
649
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
650
650
  */
651
651
  await this.loadMarkets();
652
652
  let type = undefined;
package/js/src/probit.js CHANGED
@@ -533,7 +533,7 @@ export default class probit extends Exchange {
533
533
  * @see https://docs-en.probit.com/reference/balance
534
534
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
535
535
  * @param {object} [params] extra parameters specific to the probit api endpoint
536
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
536
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
537
537
  */
538
538
  await this.loadMarkets();
539
539
  const response = await this.privateGetBalance(params);
@@ -762,7 +762,7 @@ export default class probit extends Exchange {
762
762
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
763
763
  * @param {int} [limit] the maximum amount of trades to fetch
764
764
  * @param {object} [params] extra parameters specific to the probit api endpoint
765
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
765
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
766
766
  */
767
767
  await this.loadMarkets();
768
768
  const market = this.market(symbol);
package/js/src/tidex.js CHANGED
@@ -369,7 +369,7 @@ export default class tidex extends Exchange {
369
369
  * @name tidex#fetchBalance
370
370
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
371
371
  * @param {object} [params] extra parameters specific to the tidex api endpoint
372
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
372
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
373
373
  */
374
374
  await this.loadMarkets();
375
375
  const response = await this.privatePostGetInfoExt(params);
@@ -623,7 +623,7 @@ export default class tidex extends Exchange {
623
623
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
624
624
  * @param {int} [limit] the maximum amount of trades to fetch
625
625
  * @param {object} [params] extra parameters specific to the tidex api endpoint
626
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
626
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
627
627
  */
628
628
  await this.loadMarkets();
629
629
  const market = this.market(symbol);
package/js/src/timex.js CHANGED
@@ -584,7 +584,7 @@ export default class timex extends Exchange {
584
584
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
585
585
  * @param {int} [limit] the maximum amount of trades to fetch
586
586
  * @param {object} [params] extra parameters specific to the timex api endpoint
587
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
587
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
588
588
  */
589
589
  await this.loadMarkets();
590
590
  const market = this.market(symbol);
@@ -693,7 +693,7 @@ export default class timex extends Exchange {
693
693
  * @name timex#fetchBalance
694
694
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
695
695
  * @param {object} [params] extra parameters specific to the timex api endpoint
696
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
696
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
697
697
  */
698
698
  await this.loadMarkets();
699
699
  const response = await this.tradingGetBalances(params);
@@ -997,7 +997,7 @@ export default class tokocrypto extends Exchange {
997
997
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
998
998
  * @param {int} [limit] the maximum amount of trades to fetch
999
999
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
1000
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1000
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1001
1001
  */
1002
1002
  await this.loadMarkets();
1003
1003
  const market = this.market(symbol);
@@ -1324,7 +1324,7 @@ export default class tokocrypto extends Exchange {
1324
1324
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
1325
1325
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
1326
1326
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
1327
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1327
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1328
1328
  */
1329
1329
  await this.loadMarkets();
1330
1330
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType', 'spot');
package/js/src/upbit.js CHANGED
@@ -502,7 +502,7 @@ export default class upbit extends Exchange {
502
502
  * @see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
503
503
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
504
504
  * @param {object} [params] extra parameters specific to the upbit api endpoint
505
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
505
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
506
506
  */
507
507
  await this.loadMarkets();
508
508
  const response = await this.privateGetAccounts(params);
@@ -824,7 +824,7 @@ export default class upbit extends Exchange {
824
824
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
825
825
  * @param {int} [limit] the maximum amount of trades to fetch
826
826
  * @param {object} [params] extra parameters specific to the upbit api endpoint
827
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
827
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
828
828
  */
829
829
  await this.loadMarkets();
830
830
  const market = this.market(symbol);
@@ -1836,7 +1836,7 @@ export default class wavesexchange extends Exchange {
1836
1836
  * @name wavesexchange#fetchBalance
1837
1837
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1838
1838
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1839
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1839
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1840
1840
  */
1841
1841
  // makes a lot of different requests to get all the data
1842
1842
  // in particular:
@@ -2082,7 +2082,7 @@ export default class wavesexchange extends Exchange {
2082
2082
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2083
2083
  * @param {int} [limit] the maximum amount of trades to fetch
2084
2084
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
2085
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2085
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2086
2086
  */
2087
2087
  await this.loadMarkets();
2088
2088
  const market = this.market(symbol);
@@ -2338,7 +2338,7 @@ export default class wavesexchange extends Exchange {
2338
2338
  * @see https://docs.wx.network/en/api/gateways/withdraw/currencies
2339
2339
  * @param {string[]|undefined} codes list of unified currency codes
2340
2340
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
2341
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
2341
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2342
2342
  */
2343
2343
  await this.loadMarkets();
2344
2344
  let data = [];
package/js/src/wazirx.js CHANGED
@@ -439,7 +439,7 @@ export default class wazirx extends Exchange {
439
439
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
440
440
  * @param {int} [limit] the maximum amount of trades to fetch
441
441
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
442
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
442
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
443
443
  */
444
444
  await this.loadMarkets();
445
445
  const market = this.market(symbol);
@@ -611,7 +611,7 @@ export default class wazirx extends Exchange {
611
611
  * @see https://docs.wazirx.com/#fund-details-user_data
612
612
  * @description query for 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 wazirx 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
  const response = await this.privateGetFunds(params);