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
@@ -277,7 +277,7 @@ class kucoin extends kucoin$1 {
277
277
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
278
278
  * @param {int} [limit] the maximum amount of trades to fetch
279
279
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
280
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
280
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
281
281
  */
282
282
  await this.loadMarkets();
283
283
  const url = await this.negotiate(false);
@@ -709,7 +709,7 @@ class kucoin extends kucoin$1 {
709
709
  * @name kucoin#watchBalance
710
710
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
711
711
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
712
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
712
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
713
713
  */
714
714
  await this.loadMarkets();
715
715
  const url = await this.negotiate(true);
@@ -185,7 +185,7 @@ class kucoinfutures extends kucoinfutures$1 {
185
185
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
186
186
  * @param {int} [limit] the maximum amount of trades to fetch
187
187
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
188
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
188
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
189
189
  */
190
190
  await this.loadMarkets();
191
191
  const url = await this.negotiate(false);
@@ -525,8 +525,9 @@ class kucoinfutures extends kucoinfutures$1 {
525
525
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
526
526
  * @see https://docs.kucoin.com/futures/#account-balance-events
527
527
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
528
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
528
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
529
529
  */
530
+ await this.loadMarkets();
530
531
  const url = await this.negotiate(true);
531
532
  const topic = '/contractAccount/wallet';
532
533
  const request = {
@@ -40,7 +40,7 @@ class luno extends luno$1 {
40
40
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
41
41
  * @param {int} [limit] the maximum amount of trades to fetch
42
42
  * @param {object} [params] extra parameters specific to the luno api endpoint
43
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
43
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
44
44
  */
45
45
  await this.checkRequiredCredentials();
46
46
  await this.loadMarkets();
@@ -64,7 +64,7 @@ class mexc extends mexc$1 {
64
64
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
65
65
  * @param {string} symbol unified symbol of the market to fetch the ticker for
66
66
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
67
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
67
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
68
68
  */
69
69
  await this.loadMarkets();
70
70
  const market = this.market(symbol);
@@ -345,7 +345,7 @@ class mexc extends mexc$1 {
345
345
  * @param {string} symbol unified symbol of the market to fetch the order book for
346
346
  * @param {int} [limit] the maximum amount of order book entries to return
347
347
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
348
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
348
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
349
349
  */
350
350
  await this.loadMarkets();
351
351
  const market = this.market(symbol);
@@ -513,7 +513,7 @@ class mexc extends mexc$1 {
513
513
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
514
514
  * @param {int} [limit] the maximum amount of trades to fetch
515
515
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
516
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
516
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
517
517
  */
518
518
  await this.loadMarkets();
519
519
  const market = this.market(symbol);
@@ -602,7 +602,7 @@ class mexc extends mexc$1 {
602
602
  * @param {int} [since] the earliest time in ms to fetch trades for
603
603
  * @param {int} [limit] the maximum number of trade structures to retrieve
604
604
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
605
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html#trade-structure
605
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
606
606
  */
607
607
  await this.loadMarkets();
608
608
  let messageHash = 'myTrades';
@@ -731,7 +731,7 @@ class mexc extends mexc$1 {
731
731
  * @param {int} [limit] the maximum number of orde structures to retrieve
732
732
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
733
733
  * @params {string|undefined} params.type the type of orders to retrieve, can be 'spot' or 'margin'
734
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
734
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
735
735
  */
736
736
  await this.loadMarkets();
737
737
  params = this.omit(params, 'type');
@@ -978,7 +978,7 @@ class mexc extends mexc$1 {
978
978
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#spot-account-upadte
979
979
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
980
980
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
981
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
981
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
982
982
  */
983
983
  await this.loadMarkets();
984
984
  let type = undefined;
@@ -109,7 +109,7 @@ class ndax extends ndax$1 {
109
109
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
110
110
  * @param {int} [limit] the maximum amount of trades to fetch
111
111
  * @param {object} [params] extra parameters specific to the ndax 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
  const omsId = this.safeInteger(this.options, 'omsId', 1);
115
115
  await this.loadMarkets();
@@ -71,7 +71,7 @@ class okcoin extends okcoin$1 {
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 okcoin 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);
@@ -483,7 +483,7 @@ class okcoin extends okcoin$1 {
483
483
  * @name okcoin#watchBalance
484
484
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
485
485
  * @param {object} [params] extra parameters specific to the okcoin api endpoint
486
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
486
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
487
487
  */
488
488
  const defaultType = this.safeString2(this.options, 'watchBalance', 'defaultType');
489
489
  const type = this.safeString(params, 'type', defaultType);
@@ -157,7 +157,7 @@ class okx extends okx$1 {
157
157
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
158
158
  * @param {int} [limit] the maximum amount of trades to fetch
159
159
  * @param {object} [params] extra parameters specific to the okx api endpoint
160
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
160
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
161
161
  */
162
162
  await this.loadMarkets();
163
163
  symbol = this.symbol(symbol);
@@ -230,6 +230,9 @@ class okx extends okx$1 {
230
230
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
231
231
  * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
232
232
  */
233
+ if (this.isEmpty(symbols)) {
234
+ throw new errors.ArgumentsRequired(this.id + ' watchTickers requires a list of symbols');
235
+ }
233
236
  let channel = undefined;
234
237
  [channel, params] = this.handleOptionAndParams(params, 'watchTickers', 'channel', 'tickers');
235
238
  const newTickers = await this.subscribeMultiple('public', channel, symbols, params);
@@ -637,7 +640,7 @@ class okx extends okx$1 {
637
640
  * @name okx#watchBalance
638
641
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
639
642
  * @param {object} [params] extra parameters specific to the okx api endpoint
640
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
643
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
641
644
  */
642
645
  await this.loadMarkets();
643
646
  await this.authenticate();
@@ -990,7 +993,7 @@ class okx extends okx$1 {
990
993
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
991
994
  * @param {object} [params] extra parameters specific to the okx api endpoint
992
995
  * @param {boolean} params.test test order, default false
993
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
996
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
994
997
  */
995
998
  await this.loadMarkets();
996
999
  await this.authenticate();
@@ -1059,7 +1062,7 @@ class okx extends okx$1 {
1059
1062
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1060
1063
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1061
1064
  * @param {object} [params] extra parameters specific to the okx api endpoint
1062
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1065
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1063
1066
  */
1064
1067
  await this.loadMarkets();
1065
1068
  await this.authenticate();
@@ -1085,7 +1088,7 @@ class okx extends okx$1 {
1085
1088
  * @param {string} symbol unified market symbol, default is undefined
1086
1089
  * @param {object} [params] extra parameters specific to the okx api endpoint
1087
1090
  * @param {string} [params.clOrdId] client order id
1088
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1091
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1089
1092
  */
1090
1093
  if (symbol === undefined) {
1091
1094
  throw new errors.BadRequest(this.id + ' cancelOrderWs() requires a symbol argument');
@@ -1121,7 +1124,7 @@ class okx extends okx$1 {
1121
1124
  * @param {string[]} ids order ids
1122
1125
  * @param {string} symbol unified market symbol, default is undefined
1123
1126
  * @param {object} [params] extra parameters specific to the okx api endpoint
1124
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1127
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1125
1128
  */
1126
1129
  const idsLength = ids.length;
1127
1130
  if (idsLength > 20) {
@@ -1157,7 +1160,7 @@ class okx extends okx$1 {
1157
1160
  * @description cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
1158
1161
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1159
1162
  * @param {object} [params] extra parameters specific to the okx api endpoint
1160
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1163
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1161
1164
  */
1162
1165
  if (symbol === undefined) {
1163
1166
  throw new errors.BadRequest(this.id + ' cancelAllOrdersWs() requires a symbol argument');
@@ -300,7 +300,7 @@ class phemex extends phemex$1 {
300
300
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
301
301
  * @param {object} [params] extra parameters specific to the phemex api endpoint
302
302
  * @param {string} [params.settle] set to USDT to use hedged perpetual api
303
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
303
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
304
304
  */
305
305
  await this.loadMarkets();
306
306
  let type = undefined;
@@ -530,7 +530,7 @@ class phemex extends phemex$1 {
530
530
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
531
531
  * @param {int} [limit] the maximum amount of trades to fetch
532
532
  * @param {object} [params] extra parameters specific to the phemex api endpoint
533
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
533
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
534
534
  */
535
535
  await this.loadMarkets();
536
536
  const market = this.market(symbol);
@@ -184,7 +184,7 @@ class poloniex extends poloniex$1 {
184
184
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
185
185
  * @param {string} symbol unified symbol of the market to fetch the ticker for
186
186
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
187
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
187
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
188
188
  */
189
189
  await this.loadMarkets();
190
190
  symbol = this.symbol(symbol);
@@ -199,7 +199,7 @@ class poloniex extends poloniex$1 {
199
199
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
200
200
  * @param {string} symbol unified symbol of the market to fetch the ticker for
201
201
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
202
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
202
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
203
203
  */
204
204
  await this.loadMarkets();
205
205
  const name = 'ticker';
@@ -220,7 +220,7 @@ class poloniex extends poloniex$1 {
220
220
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
221
221
  * @param {int} [limit] the maximum amount of trades to fetch
222
222
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
223
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
223
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
224
224
  */
225
225
  await this.loadMarkets();
226
226
  symbol = this.symbol(symbol);
@@ -240,7 +240,7 @@ class poloniex extends poloniex$1 {
240
240
  * @param {string} symbol unified symbol of the market to fetch the order book for
241
241
  * @param {int} [limit] not used by poloniex watchOrderBook
242
242
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
243
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
243
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
244
244
  */
245
245
  await this.loadMarkets();
246
246
  const watchOrderBookOptions = this.safeValue(this.options, 'watchOrderBook');
@@ -259,7 +259,7 @@ class poloniex extends poloniex$1 {
259
259
  * @param {int} [since] not used by poloniex watchOrders
260
260
  * @param {int} [limit] not used by poloniex watchOrders
261
261
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
262
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
262
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
263
263
  */
264
264
  await this.loadMarkets();
265
265
  const name = 'orders';
@@ -307,7 +307,7 @@ class poloniex extends poloniex$1 {
307
307
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
308
308
  * @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
309
309
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
310
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
310
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
311
311
  */
312
312
  await this.loadMarkets();
313
313
  const name = 'balances';
@@ -220,7 +220,7 @@ class poloniexfutures extends poloniexfutures$1 {
220
220
  * @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
221
221
  * @param {string} symbol unified symbol of the market to fetch the ticker for
222
222
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
223
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
223
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
224
224
  */
225
225
  await this.loadMarkets();
226
226
  symbol = this.symbol(symbol);
@@ -237,7 +237,7 @@ class poloniexfutures extends poloniexfutures$1 {
237
237
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
238
238
  * @param {int} [limit] the maximum amount of trades to fetch
239
239
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
240
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
240
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
241
241
  */
242
242
  await this.loadMarkets();
243
243
  const options = this.safeValue(this.options, 'watchTrades');
@@ -260,7 +260,7 @@ class poloniexfutures extends poloniexfutures$1 {
260
260
  * @param {int} [limit] not used by poloniexfutures watchOrderBook
261
261
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
262
262
  * @param {string} [params.method] the method to use. Defaults to /contractMarket/level2 can also be /contractMarket/level3v2 to receive the raw stream of orders
263
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
263
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
264
264
  */
265
265
  await this.loadMarkets();
266
266
  const options = this.safeValue(this.options, 'watchOrderBook');
@@ -291,7 +291,7 @@ class poloniexfutures extends poloniexfutures$1 {
291
291
  * @param {int} [limit] the maximum number of orde structures to retrieve
292
292
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
293
293
  * @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
294
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
294
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
295
295
  */
296
296
  await this.loadMarkets();
297
297
  const options = this.safeValue(this.options, 'watchOrders');
@@ -313,7 +313,7 @@ class poloniexfutures extends poloniexfutures$1 {
313
313
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
314
314
  * @see https://futures-docs.poloniex.com/#account-balance-events
315
315
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
316
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
316
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
317
317
  */
318
318
  await this.loadMarkets();
319
319
  const name = '/contractAccount/wallet';
@@ -53,7 +53,7 @@ class probit extends probit$1 {
53
53
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
54
54
  * @see https://docs-en.probit.com/reference/balance-1
55
55
  * @param {object} [params] extra parameters specific to the probit api endpoint
56
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
56
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
57
57
  */
58
58
  await this.authenticate(params);
59
59
  const messageHash = 'balance';
@@ -121,7 +121,7 @@ class probit extends probit$1 {
121
121
  * @param {string} symbol unified symbol of the market to fetch the ticker for
122
122
  * @param {object} [params] extra parameters specific to the probit api endpoint
123
123
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
124
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
124
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
125
125
  */
126
126
  let filter = undefined;
127
127
  [filter, params] = this.handleOptionAndParams(params, 'watchTicker', 'filter', 'ticker');
@@ -166,7 +166,7 @@ class probit extends probit$1 {
166
166
  * @param {int} [limit] the maximum amount of trades to fetch
167
167
  * @param {object} [params] extra parameters specific to the probit api endpoint
168
168
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
169
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
169
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
170
170
  */
171
171
  let filter = undefined;
172
172
  [filter, params] = this.handleOptionAndParams(params, 'watchTrades', 'filter', 'recent_trades');
@@ -226,7 +226,7 @@ class probit extends probit$1 {
226
226
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
227
227
  * @param {int} [limit] the maximum amount of trades to fetch
228
228
  * @param {object} [params] extra parameters specific to the probit api endpoint
229
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
229
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
230
230
  */
231
231
  await this.loadMarkets();
232
232
  await this.authenticate(params);
@@ -307,7 +307,7 @@ class probit extends probit$1 {
307
307
  * @param {int} [limit] the maximum amount of orders to watch
308
308
  * @param {object} [params] extra parameters specific to the aax api endpoint
309
309
  * @param {string} [params.channel] choose what channel to use. Can open_order or order_history.
310
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
310
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
311
311
  */
312
312
  await this.authenticate(params);
313
313
  const url = this.urls['api']['ws'];
@@ -391,7 +391,7 @@ class probit extends probit$1 {
391
391
  * @param {string} symbol unified symbol of the market to fetch the order book for
392
392
  * @param {int} [limit] the maximum amount of order book entries to return
393
393
  * @param {object} [params] extra parameters specific to the probit api endpoint
394
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
394
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
395
395
  */
396
396
  let filter = undefined;
397
397
  [filter, params] = this.handleOptionAndParams(params, 'watchOrderBook', 'filter', 'order_books');
@@ -68,7 +68,7 @@ class upbit extends upbit$1 {
68
68
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
69
69
  * @param {int} [limit] the maximum amount of trades to fetch
70
70
  * @param {object} [params] extra parameters specific to the upbit api endpoint
71
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
71
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
72
72
  */
73
73
  await this.loadMarkets();
74
74
  symbol = this.symbol(symbol);
@@ -44,7 +44,7 @@ class wazirx extends wazirx$1 {
44
44
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
45
45
  * @see https://docs.wazirx.com/#account-update
46
46
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
47
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
47
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
48
48
  */
49
49
  await this.loadMarkets();
50
50
  const token = await this.authenticate(params);
@@ -288,7 +288,7 @@ class wazirx extends wazirx$1 {
288
288
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
289
289
  * @param {int} [limit] the maximum amount of trades to fetch
290
290
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
291
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
291
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
292
292
  */
293
293
  await this.loadMarkets();
294
294
  const market = this.market(symbol);
@@ -354,7 +354,7 @@ class wazirx extends wazirx$1 {
354
354
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
355
355
  * @param {int} [limit] the maximum amount of trades to fetch
356
356
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
357
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
357
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
358
358
  */
359
359
  await this.loadMarkets();
360
360
  const token = await this.authenticate(params);
@@ -305,7 +305,7 @@ class whitebit extends whitebit$1 {
305
305
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
306
306
  * @param {int} [limit] the maximum amount of trades to fetch
307
307
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
308
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
308
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
309
309
  */
310
310
  await this.loadMarkets();
311
311
  const market = this.market(symbol);
@@ -643,7 +643,7 @@ class whitebit extends whitebit$1 {
643
643
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
644
644
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
645
645
  * @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
646
- * @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}
647
647
  */
648
648
  await this.loadMarkets();
649
649
  let type = undefined;
@@ -530,7 +530,7 @@ class probit extends probit$1 {
530
530
  * @see https://docs-en.probit.com/reference/balance
531
531
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
532
532
  * @param {object} [params] extra parameters specific to the probit api endpoint
533
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
533
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
534
534
  */
535
535
  await this.loadMarkets();
536
536
  const response = await this.privateGetBalance(params);
@@ -759,7 +759,7 @@ class probit extends probit$1 {
759
759
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
760
760
  * @param {int} [limit] the maximum amount of trades to fetch
761
761
  * @param {object} [params] extra parameters specific to the probit api endpoint
762
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
762
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
763
763
  */
764
764
  await this.loadMarkets();
765
765
  const market = this.market(symbol);
@@ -366,7 +366,7 @@ class tidex extends tidex$1 {
366
366
  * @name tidex#fetchBalance
367
367
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
368
368
  * @param {object} [params] extra parameters specific to the tidex api endpoint
369
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
369
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
370
370
  */
371
371
  await this.loadMarkets();
372
372
  const response = await this.privatePostGetInfoExt(params);
@@ -620,7 +620,7 @@ class tidex extends tidex$1 {
620
620
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
621
621
  * @param {int} [limit] the maximum amount of trades to fetch
622
622
  * @param {object} [params] extra parameters specific to the tidex api endpoint
623
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
623
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
624
624
  */
625
625
  await this.loadMarkets();
626
626
  const market = this.market(symbol);
@@ -581,7 +581,7 @@ class timex extends timex$1 {
581
581
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
582
582
  * @param {int} [limit] the maximum amount of trades to fetch
583
583
  * @param {object} [params] extra parameters specific to the timex api endpoint
584
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
584
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
585
585
  */
586
586
  await this.loadMarkets();
587
587
  const market = this.market(symbol);
@@ -690,7 +690,7 @@ class timex extends timex$1 {
690
690
  * @name timex#fetchBalance
691
691
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
692
692
  * @param {object} [params] extra parameters specific to the timex api endpoint
693
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
693
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
694
694
  */
695
695
  await this.loadMarkets();
696
696
  const response = await this.tradingGetBalances(params);
@@ -994,7 +994,7 @@ class tokocrypto extends tokocrypto$1 {
994
994
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
995
995
  * @param {int} [limit] the maximum amount of trades to fetch
996
996
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
997
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
997
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
998
998
  */
999
999
  await this.loadMarkets();
1000
1000
  const market = this.market(symbol);
@@ -1321,7 +1321,7 @@ class tokocrypto extends tokocrypto$1 {
1321
1321
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
1322
1322
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
1323
1323
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
1324
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1324
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1325
1325
  */
1326
1326
  await this.loadMarkets();
1327
1327
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType', 'spot');
@@ -499,7 +499,7 @@ class upbit extends upbit$1 {
499
499
  * @see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
500
500
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
501
501
  * @param {object} [params] extra parameters specific to the upbit api endpoint
502
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
502
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
503
503
  */
504
504
  await this.loadMarkets();
505
505
  const response = await this.privateGetAccounts(params);
@@ -821,7 +821,7 @@ class upbit extends upbit$1 {
821
821
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
822
822
  * @param {int} [limit] the maximum amount of trades to fetch
823
823
  * @param {object} [params] extra parameters specific to the upbit api endpoint
824
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
824
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
825
825
  */
826
826
  await this.loadMarkets();
827
827
  const market = this.market(symbol);
@@ -1833,7 +1833,7 @@ class wavesexchange extends wavesexchange$1 {
1833
1833
  * @name wavesexchange#fetchBalance
1834
1834
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1835
1835
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
1836
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1836
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1837
1837
  */
1838
1838
  // makes a lot of different requests to get all the data
1839
1839
  // in particular:
@@ -2079,7 +2079,7 @@ class wavesexchange extends wavesexchange$1 {
2079
2079
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2080
2080
  * @param {int} [limit] the maximum amount of trades to fetch
2081
2081
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
2082
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2082
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2083
2083
  */
2084
2084
  await this.loadMarkets();
2085
2085
  const market = this.market(symbol);
@@ -2335,7 +2335,7 @@ class wavesexchange extends wavesexchange$1 {
2335
2335
  * @see https://docs.wx.network/en/api/gateways/withdraw/currencies
2336
2336
  * @param {string[]|undefined} codes list of unified currency codes
2337
2337
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
2338
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
2338
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2339
2339
  */
2340
2340
  await this.loadMarkets();
2341
2341
  let data = [];
@@ -436,7 +436,7 @@ class wazirx extends wazirx$1 {
436
436
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
437
437
  * @param {int} [limit] the maximum amount of trades to fetch
438
438
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
439
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
439
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
440
440
  */
441
441
  await this.loadMarkets();
442
442
  const market = this.market(symbol);
@@ -608,7 +608,7 @@ class wazirx extends wazirx$1 {
608
608
  * @see https://docs.wazirx.com/#fund-details-user_data
609
609
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
610
610
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
611
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
611
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
612
612
  */
613
613
  await this.loadMarkets();
614
614
  const response = await this.privateGetFunds(params);