ccxt 4.0.75 → 4.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +594 -457
  3. package/dist/ccxt.browser.min.js +2 -2
  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 +64 -19
  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 +4 -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 +7 -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 +3 -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/ace.js +2 -2
  149. package/js/src/alpaca.js +1 -1
  150. package/js/src/ascendex.js +3 -3
  151. package/js/src/base/Exchange.js +2 -2
  152. package/js/src/bigone.js +2 -2
  153. package/js/src/binance.js +5 -5
  154. package/js/src/bingx.d.ts +1 -0
  155. package/js/src/bingx.js +64 -19
  156. package/js/src/bit2c.js +2 -2
  157. package/js/src/bitbank.js +2 -2
  158. package/js/src/bitbns.js +2 -2
  159. package/js/src/bitfinex.js +2 -2
  160. package/js/src/bitfinex2.js +4 -4
  161. package/js/src/bitflyer.js +2 -2
  162. package/js/src/bitforex.js +2 -2
  163. package/js/src/bitget.js +5 -5
  164. package/js/src/bithumb.js +2 -2
  165. package/js/src/bitmart.js +2 -2
  166. package/js/src/bitmex.js +5 -5
  167. package/js/src/bitopro.js +3 -3
  168. package/js/src/bitpanda.js +2 -2
  169. package/js/src/bitrue.js +3 -3
  170. package/js/src/bitso.js +2 -2
  171. package/js/src/bitstamp.js +2 -2
  172. package/js/src/bitstamp1.js +2 -2
  173. package/js/src/bittrex.js +3 -3
  174. package/js/src/bitvavo.js +3 -3
  175. package/js/src/bkex.js +4 -4
  176. package/js/src/bl3p.js +2 -2
  177. package/js/src/blockchaincom.js +1 -1
  178. package/js/src/btcalpha.js +2 -2
  179. package/js/src/btcbox.js +2 -2
  180. package/js/src/btcmarkets.js +2 -2
  181. package/js/src/btctradeua.js +2 -2
  182. package/js/src/btcturk.js +2 -2
  183. package/js/src/bybit.js +5 -5
  184. package/js/src/cex.js +2 -2
  185. package/js/src/coinbase.js +3 -3
  186. package/js/src/coinbasepro.js +2 -2
  187. package/js/src/coincheck.js +2 -2
  188. package/js/src/coinex.js +6 -6
  189. package/js/src/coinfalcon.js +2 -2
  190. package/js/src/coinmate.js +2 -2
  191. package/js/src/coinone.js +2 -2
  192. package/js/src/coinsph.js +7 -2
  193. package/js/src/coinspot.js +2 -2
  194. package/js/src/cryptocom.js +5 -5
  195. package/js/src/currencycom.js +2 -2
  196. package/js/src/delta.js +2 -2
  197. package/js/src/deribit.js +3 -3
  198. package/js/src/digifinex.js +4 -4
  199. package/js/src/exmo.js +2 -2
  200. package/js/src/gate.js +4 -4
  201. package/js/src/gemini.js +3 -3
  202. package/js/src/hitbtc.js +4 -4
  203. package/js/src/hollaex.js +3 -3
  204. package/js/src/huobi.js +5 -5
  205. package/js/src/huobijp.js +2 -2
  206. package/js/src/idex.js +2 -2
  207. package/js/src/independentreserve.js +2 -2
  208. package/js/src/indodax.js +2 -2
  209. package/js/src/kraken.js +2 -2
  210. package/js/src/kucoin.js +4 -4
  211. package/js/src/kucoinfutures.js +5 -5
  212. package/js/src/kuna.js +2 -2
  213. package/js/src/latoken.js +2 -2
  214. package/js/src/lbank.js +2 -2
  215. package/js/src/lbank2.js +2 -2
  216. package/js/src/luno.js +2 -2
  217. package/js/src/lykke.js +2 -2
  218. package/js/src/mercado.js +2 -2
  219. package/js/src/mexc.js +7 -5
  220. package/js/src/ndax.js +2 -2
  221. package/js/src/novadax.js +2 -2
  222. package/js/src/oceanex.js +2 -2
  223. package/js/src/okcoin.js +2 -2
  224. package/js/src/okx.js +4 -4
  225. package/js/src/paymium.js +2 -2
  226. package/js/src/phemex.js +2 -2
  227. package/js/src/poloniex.d.ts +1 -1
  228. package/js/src/poloniex.js +165 -81
  229. package/js/src/poloniexfutures.js +2 -2
  230. package/js/src/pro/ascendex.js +2 -2
  231. package/js/src/pro/binance.js +6 -6
  232. package/js/src/pro/bitfinex.js +1 -1
  233. package/js/src/pro/bitfinex2.js +2 -2
  234. package/js/src/pro/bitget.js +2 -2
  235. package/js/src/pro/bitmart.js +1 -1
  236. package/js/src/pro/bitmex.js +2 -2
  237. package/js/src/pro/bitopro.js +2 -2
  238. package/js/src/pro/bitpanda.js +6 -6
  239. package/js/src/pro/bitrue.js +1 -1
  240. package/js/src/pro/bitstamp.js +1 -1
  241. package/js/src/pro/bittrex.js +2 -2
  242. package/js/src/pro/bitvavo.js +1 -1
  243. package/js/src/pro/blockchaincom.js +5 -5
  244. package/js/src/pro/bybit.js +1 -1
  245. package/js/src/pro/cex.js +4 -4
  246. package/js/src/pro/coinbase.js +5 -5
  247. package/js/src/pro/coinbasepro.js +1 -1
  248. package/js/src/pro/coinex.js +2 -2
  249. package/js/src/pro/cryptocom.js +3 -3
  250. package/js/src/pro/currencycom.js +2 -2
  251. package/js/src/pro/deribit.js +3 -3
  252. package/js/src/pro/exmo.js +3 -3
  253. package/js/src/pro/gate.js +2 -2
  254. package/js/src/pro/gemini.js +1 -1
  255. package/js/src/pro/hitbtc.js +1 -1
  256. package/js/src/pro/hollaex.js +2 -2
  257. package/js/src/pro/huobi.js +2 -2
  258. package/js/src/pro/huobijp.js +1 -1
  259. package/js/src/pro/idex.js +1 -1
  260. package/js/src/pro/independentreserve.js +1 -1
  261. package/js/src/pro/kraken.js +6 -6
  262. package/js/src/pro/krakenfutures.js +5 -5
  263. package/js/src/pro/kucoin.js +2 -2
  264. package/js/src/pro/kucoinfutures.js +3 -2
  265. package/js/src/pro/luno.js +1 -1
  266. package/js/src/pro/mexc.js +6 -6
  267. package/js/src/pro/ndax.js +1 -1
  268. package/js/src/pro/okcoin.js +2 -2
  269. package/js/src/pro/okx.js +7 -7
  270. package/js/src/pro/phemex.js +2 -2
  271. package/js/src/pro/poloniex.js +6 -6
  272. package/js/src/pro/poloniexfutures.js +5 -5
  273. package/js/src/pro/probit.js +6 -6
  274. package/js/src/pro/upbit.js +1 -1
  275. package/js/src/pro/wazirx.js +3 -3
  276. package/js/src/pro/whitebit.js +2 -2
  277. package/js/src/probit.js +2 -2
  278. package/js/src/tidex.js +2 -2
  279. package/js/src/timex.js +2 -2
  280. package/js/src/tokocrypto.js +2 -2
  281. package/js/src/upbit.js +2 -2
  282. package/js/src/wavesexchange.js +3 -3
  283. package/js/src/wazirx.js +2 -2
  284. package/js/src/whitebit.js +3 -3
  285. package/js/src/woo.js +2 -2
  286. package/js/src/yobit.js +2 -2
  287. package/js/src/zaif.js +2 -2
  288. package/js/src/zonda.js +2 -2
  289. package/package.json +1 -1
  290. package/skip-tests.json +2 -0
@@ -2377,7 +2377,7 @@ class ace extends _abstract_ace_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
2377
2377
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2378
2378
  * @param {int} [limit] the maximum amount of trades to fetch
2379
2379
  * @param {object} [params] extra parameters specific to the ace api endpoint
2380
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2380
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2381
2381
  */
2382
2382
  await this.loadMarkets();
2383
2383
  const market = this.safeMarket(symbol);
@@ -2462,7 +2462,7 @@ class ace extends _abstract_ace_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
2462
2462
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
2463
2463
  * @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---account-balance
2464
2464
  * @param {object} [params] extra parameters specific to the ace api endpoint
2465
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
2465
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
2466
2466
  */
2467
2467
  await this.loadMarkets();
2468
2468
  const response = await this.privatePostV2CoinCustomerAccount(params);
@@ -2871,7 +2871,7 @@ class alpaca extends _abstract_alpaca_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
2871
2871
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2872
2872
  * @param {int} [limit] the maximum amount of trades to fetch
2873
2873
  * @param {object} [params] extra parameters specific to the alpaca api endpoint
2874
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2874
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2875
2875
  */
2876
2876
  await this.loadMarkets();
2877
2877
  const market = this.market(symbol);
@@ -4197,7 +4197,7 @@ class ascendex extends _abstract_ascendex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
4197
4197
  * @name ascendex#fetchBalance
4198
4198
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
4199
4199
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
4200
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
4200
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
4201
4201
  */
4202
4202
  await this.loadMarkets();
4203
4203
  await this.loadAccounts();
@@ -4587,7 +4587,7 @@ class ascendex extends _abstract_ascendex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
4587
4587
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
4588
4588
  * @param {int} [limit] the maximum amount of trades to fetch
4589
4589
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
4590
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
4590
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
4591
4591
  */
4592
4592
  await this.loadMarkets();
4593
4593
  const market = this.market(symbol);
@@ -6365,7 +6365,7 @@ class ascendex extends _abstract_ascendex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
6365
6365
  * @see https://ascendex.github.io/ascendex-pro-api/#list-all-assets
6366
6366
  * @param {string[]|undefined} codes list of unified currency codes
6367
6367
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
6368
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
6368
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
6369
6369
  */
6370
6370
  await this.loadMarkets();
6371
6371
  const response = await this.v2PublicGetAssets(params);
@@ -9763,7 +9763,7 @@ class Exchange {
9763
9763
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
9764
9764
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
9765
9765
  * @param {object} [params] extra parameters specific to the exchange api endpoint
9766
- * @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com/en/latest/manual.html#transaction-structure}
9766
+ * @returns {object} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
9767
9767
  */
9768
9768
  throw new _errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' fetchDepositsWithdrawals() is not supported yet');
9769
9769
  }
@@ -10531,7 +10531,7 @@ class Exchange {
10531
10531
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
10532
10532
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
10533
10533
  * @param {object} [params] extra parameters specific to the exchange api endpoint
10534
- * @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com/en/latest/manual.html#transaction-structure}
10534
+ * @returns {object} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
10535
10535
  */
10536
10536
  if (this.has['fetchDepositsWithdrawals']) {
10537
10537
  return await this.fetchDepositsWithdrawals(code, since, limit, params);
@@ -14592,7 +14592,7 @@ class bigone extends _abstract_bigone_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
14592
14592
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
14593
14593
  * @param {int} [limit] the maximum amount of trades to fetch
14594
14594
  * @param {object} [params] extra parameters specific to the bigone api endpoint
14595
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
14595
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
14596
14596
  */
14597
14597
  await this.loadMarkets();
14598
14598
  const market = this.market(symbol);
@@ -14723,7 +14723,7 @@ class bigone extends _abstract_bigone_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
14723
14723
  * @name bigone#fetchBalance
14724
14724
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
14725
14725
  * @param {object} [params] extra parameters specific to the bigone api endpoint
14726
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
14726
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
14727
14727
  */
14728
14728
  await this.loadMarkets();
14729
14729
  const type = this.safeString(params, 'type', '');
@@ -18037,7 +18037,7 @@ class binance extends _abstract_binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
18037
18037
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
18038
18038
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
18039
18039
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
18040
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
18040
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
18041
18041
  */
18042
18042
  await this.loadMarkets();
18043
18043
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType', 'spot');
@@ -19143,7 +19143,7 @@ class binance extends _abstract_binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
19143
19143
  *
19144
19144
  * EXCHANGE SPECIFIC PARAMETERS
19145
19145
  * @param {int} [params.fromId] trade id to fetch from, default gets most recent trades, not used when fetchTradesMethod is 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', or 'eapiPublicGetTrades'
19146
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
19146
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
19147
19147
  */
19148
19148
  await this.loadMarkets();
19149
19149
  const market = this.market(symbol);
@@ -22053,10 +22053,10 @@ class binance extends _abstract_binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
22053
22053
  * @description fetches historical funding rate prices
22054
22054
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
22055
22055
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
22056
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
22056
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
22057
22057
  * @param {object} [params] extra parameters specific to the binance api endpoint
22058
22058
  * @param {int} [params.until] timestamp in ms of the latest funding rate
22059
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
22059
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
22060
22060
  */
22061
22061
  await this.loadMarkets();
22062
22062
  const request = {};
@@ -22757,7 +22757,7 @@ class binance extends _abstract_binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
22757
22757
  * @description fetch data on an open position
22758
22758
  * @param {string} symbol unified market symbol of the market the position is held in
22759
22759
  * @param {object} [params] extra parameters specific to the binance api endpoint
22760
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
22760
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
22761
22761
  */
22762
22762
  await this.loadMarkets();
22763
22763
  const market = this.market(symbol);
@@ -24654,11 +24654,13 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
24654
24654
  'trade/openOrders': 3,
24655
24655
  'trade/historyOrders': 3,
24656
24656
  'account/balance': 3,
24657
+ 'ticker/24hr': 1,
24657
24658
  },
24658
24659
  'post': {
24659
24660
  'trade/order': 3,
24660
24661
  'trade/cancel': 3,
24661
24662
  'trade/batchOrders': 3,
24663
+ 'trade/cancelOrders': 3,
24662
24664
  },
24663
24665
  },
24664
24666
  },
@@ -25238,7 +25240,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25238
25240
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
25239
25241
  * @param {int} [limit] the maximum amount of trades to fetch
25240
25242
  * @param {object} [params] extra parameters specific to the bingx api endpoint
25241
- * @returns {[object]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
25243
+ * @returns {[object]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
25242
25244
  */
25243
25245
  await this.loadMarkets();
25244
25246
  const market = this.market(symbol);
@@ -25533,9 +25535,9 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25533
25535
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Funding%20Rate%20History
25534
25536
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
25535
25537
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
25536
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
25538
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
25537
25539
  * @param {object} [params] extra parameters specific to the bingx api endpoint
25538
- * @returns {[object]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
25540
+ * @returns {[object]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
25539
25541
  */
25540
25542
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
25541
25543
  await this.loadMarkets();
@@ -25639,19 +25641,23 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25639
25641
  * @name bingx#fetchTicker
25640
25642
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
25641
25643
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Get%20Ticker
25644
+ * @see https://bingx-api.github.io/docs/#/spot/market-api.html#24%E5%B0%8F%E6%97%B6%E4%BB%B7%E6%A0%BC%E5%8F%98%E5%8A%A8%E6%83%85%E5%86%B5
25642
25645
  * @param {string} symbol unified symbol of the market to fetch the ticker for
25643
25646
  * @param {object} [params] extra parameters specific to the bingx api endpoint
25644
25647
  * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
25645
25648
  */
25646
25649
  await this.loadMarkets();
25647
25650
  const market = this.market(symbol);
25648
- if (!market['swap']) {
25649
- throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest(this.id + ' fetchTicker is only supported for swap markets.');
25650
- }
25651
25651
  const request = {
25652
25652
  'symbol': market['id'],
25653
25653
  };
25654
- const response = await this.swapV2PublicGetQuoteTicker(this.extend(request, params));
25654
+ let response = undefined;
25655
+ if (market['spot']) {
25656
+ response = await this.swapV2PublicGetQuoteTicker(this.extend(request, params));
25657
+ }
25658
+ else {
25659
+ response = await this.spotV1PublicGetCommonSymbols(this.extend(request, params));
25660
+ }
25655
25661
  //
25656
25662
  // {
25657
25663
  // "code": 0,
@@ -25748,10 +25754,12 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25748
25754
  const baseVolume = this.safeString(ticker, 'volume');
25749
25755
  const change = this.safeString(ticker, 'chapriceChangenge');
25750
25756
  const percentage = this.safeString(ticker, 'priceChangePercent');
25757
+ const ts = this.safeInteger(ticker, 'closeTime');
25758
+ const datetime = this.iso8601(ts);
25751
25759
  return this.safeTicker({
25752
25760
  'symbol': symbol,
25753
- 'timestamp': undefined,
25754
- 'datetime': undefined,
25761
+ 'timestamp': ts,
25762
+ 'datetime': datetime,
25755
25763
  'high': high,
25756
25764
  'low': low,
25757
25765
  'bid': undefined,
@@ -25781,7 +25789,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25781
25789
  * @see https://bingx-api.github.io/docs/#/standard/contract-interface.html#Query%20standard%20contract%20balance
25782
25790
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
25783
25791
  * @param {boolean} [params.standard] whether to fetch standard contract balances
25784
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
25792
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
25785
25793
  */
25786
25794
  await this.loadMarkets();
25787
25795
  let response = undefined;
@@ -26431,6 +26439,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
26431
26439
  * @name bingx#cancelOrders
26432
26440
  * @description cancel multiple orders
26433
26441
  * @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20a%20Batch%20of%20Orders
26442
+ * @see https://bingx-api.github.io/docs/#/spot/trade-api.html#Cancel%20a%20Batch%20of%20Orders
26434
26443
  * @param {[string]} ids order ids
26435
26444
  * @param {string} symbol unified market symbol, default is undefined
26436
26445
  * @param {object} [params] extra parameters specific to the bingx api endpoint
@@ -26439,14 +26448,24 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
26439
26448
  this.checkRequiredSymbol('cancelOrders', symbol);
26440
26449
  await this.loadMarkets();
26441
26450
  const market = this.market(symbol);
26442
- if (market['type'] !== 'swap') {
26443
- throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest(this.id + ' cancelOrders is only supported for swap markets.');
26444
- }
26445
26451
  const request = {
26446
26452
  'symbol': market['id'],
26447
- 'ids': ids,
26448
26453
  };
26449
- const response = await this.swapV2PrivateDeleteTradeBatchOrders(this.extend(request, params));
26454
+ const parsedIds = [];
26455
+ for (let i = 0; i < ids.length; i++) {
26456
+ const id = ids[i];
26457
+ const stringId = id.toString();
26458
+ parsedIds.push(stringId);
26459
+ }
26460
+ let response = undefined;
26461
+ if (market['spot']) {
26462
+ request['orderIds'] = parsedIds.join(',');
26463
+ response = await this.spotV1PrivatePostTradeCancelOrders(this.extend(request, params));
26464
+ }
26465
+ else {
26466
+ request['orderIdList'] = parsedIds;
26467
+ response = await this.swapV2PrivateDeleteTradeBatchOrders(this.extend(request, params));
26468
+ }
26450
26469
  //
26451
26470
  // {
26452
26471
  // "code": 0,
@@ -27295,7 +27314,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27295
27314
  * @see https://bingx-api.github.io/docs/#/common/account-api.html#All%20Coins'%20Information
27296
27315
  * @param {[string]|undefined} codes list of unified currency codes
27297
27316
  * @param {object} [params] extra parameters specific to the bingx api endpoint
27298
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
27317
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
27299
27318
  */
27300
27319
  await this.loadMarkets();
27301
27320
  const response = await this.walletsV1PrivateGetCapitalConfigGetall(params);
@@ -27347,6 +27366,33 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27347
27366
  // }
27348
27367
  this.parseTransaction(data);
27349
27368
  }
27369
+ parseParams(params) {
27370
+ let result = '';
27371
+ const sortedParams = this.keysort(params);
27372
+ const keys = Object.keys(sortedParams);
27373
+ for (let i = 0; i < keys.length; i++) {
27374
+ const key = keys[i];
27375
+ if (i > 0) {
27376
+ result += '&';
27377
+ }
27378
+ const value = sortedParams[key];
27379
+ if (Array.isArray(value)) {
27380
+ result += key + '=[';
27381
+ for (let j = 0; j < value.length; j++) {
27382
+ const arrayElement = value[j];
27383
+ if (j > 0) {
27384
+ result += ',';
27385
+ }
27386
+ result += arrayElement.toString();
27387
+ }
27388
+ result += ']';
27389
+ }
27390
+ else {
27391
+ result += key + '=' + value.toString();
27392
+ }
27393
+ }
27394
+ return result;
27395
+ }
27350
27396
  sign(path, section = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
27351
27397
  const type = section[0];
27352
27398
  const version = section[1];
@@ -27371,9 +27417,8 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27371
27417
  else if (access === 'private') {
27372
27418
  this.checkRequiredCredentials();
27373
27419
  params['timestamp'] = this.nonce();
27374
- let query = this.urlencode(params);
27375
- const rawQuery = this.rawencode(params);
27376
- const signature = this.hmac(this.encode(rawQuery), this.encode(this.secret), _static_dependencies_noble_hashes_sha256_js__WEBPACK_IMPORTED_MODULE_4__/* .sha256 */ .J);
27420
+ let query = this.parseParams(params);
27421
+ const signature = this.hmac(this.encode(query), this.encode(this.secret), _static_dependencies_noble_hashes_sha256_js__WEBPACK_IMPORTED_MODULE_4__/* .sha256 */ .J);
27377
27422
  if (Object.keys(params).length) {
27378
27423
  query = '?' + query + '&';
27379
27424
  }
@@ -27635,7 +27680,7 @@ class bit2c extends _abstract_bit2c_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27635
27680
  * @name bit2c#fetchBalance
27636
27681
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
27637
27682
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
27638
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
27683
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
27639
27684
  */
27640
27685
  await this.loadMarkets();
27641
27686
  const response = await this.privateGetAccountBalanceV2(params);
@@ -27756,7 +27801,7 @@ class bit2c extends _abstract_bit2c_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27756
27801
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
27757
27802
  * @param {int} [limit] the maximum amount of trades to fetch
27758
27803
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
27759
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
27804
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
27760
27805
  */
27761
27806
  await this.loadMarkets();
27762
27807
  const market = this.market(symbol);
@@ -28705,7 +28750,7 @@ class bitbank extends _abstract_bitbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
28705
28750
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
28706
28751
  * @param {int} [limit] the maximum amount of trades to fetch
28707
28752
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
28708
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
28753
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
28709
28754
  */
28710
28755
  await this.loadMarkets();
28711
28756
  const market = this.market(symbol);
@@ -28871,7 +28916,7 @@ class bitbank extends _abstract_bitbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
28871
28916
  * @name bitbank#fetchBalance
28872
28917
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
28873
28918
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
28874
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
28919
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
28875
28920
  */
28876
28921
  await this.loadMarkets();
28877
28922
  const response = await this.privateGetUserAssets(params);
@@ -29807,7 +29852,7 @@ class bitbns extends _abstract_bitbns_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
29807
29852
  * @name bitbns#fetchBalance
29808
29853
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
29809
29854
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
29810
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
29855
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
29811
29856
  */
29812
29857
  await this.loadMarkets();
29813
29858
  const response = await this.v1PostCurrentCoinBalanceEVERYTHING(params);
@@ -30260,7 +30305,7 @@ class bitbns extends _abstract_bitbns_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
30260
30305
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
30261
30306
  * @param {int} [limit] the maximum amount of trades to fetch
30262
30307
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
30263
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
30308
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
30264
30309
  */
30265
30310
  if (symbol === undefined) {
30266
30311
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchTrades() requires a symbol argument');
@@ -31259,7 +31304,7 @@ class bitfinex extends _abstract_bitfinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
31259
31304
  * @name bitfinex#fetchBalance
31260
31305
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
31261
31306
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
31262
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
31307
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
31263
31308
  */
31264
31309
  await this.loadMarkets();
31265
31310
  const accountsByType = this.safeValue(this.options, 'accountsByType', {});
@@ -31571,7 +31616,7 @@ class bitfinex extends _abstract_bitfinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
31571
31616
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
31572
31617
  * @param {int} [limit] the maximum amount of trades to fetch
31573
31618
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
31574
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
31619
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
31575
31620
  */
31576
31621
  await this.loadMarkets();
31577
31622
  const market = this.market(symbol);
@@ -33044,7 +33089,7 @@ class bitfinex2 extends _abstract_bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["
33044
33089
  * @name bitfinex2#fetchBalance
33045
33090
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
33046
33091
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
33047
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
33092
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
33048
33093
  */
33049
33094
  // this api call does not return the 'used' amount - use the v1 version instead (which also returns zero balances)
33050
33095
  // there is a difference between this and the v1 api, namely trading wallet is called margin in v2
@@ -33319,9 +33364,9 @@ class bitfinex2 extends _abstract_bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["
33319
33364
  'high': this.safeString(ticker, length - 2),
33320
33365
  'low': this.safeString(ticker, length - 1),
33321
33366
  'bid': this.safeString(ticker, length - 10),
33322
- 'bidVolume': undefined,
33367
+ 'bidVolume': this.safeString(ticker, length - 9),
33323
33368
  'ask': this.safeString(ticker, length - 8),
33324
- 'askVolume': undefined,
33369
+ 'askVolume': this.safeString(ticker, length - 7),
33325
33370
  'vwap': undefined,
33326
33371
  'open': undefined,
33327
33372
  'close': last,
@@ -33513,7 +33558,7 @@ class bitfinex2 extends _abstract_bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["
33513
33558
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
33514
33559
  * @param {int} [limit] the maximum amount of trades to fetch
33515
33560
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
33516
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
33561
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
33517
33562
  */
33518
33563
  await this.loadMarkets();
33519
33564
  const market = this.market(symbol);
@@ -35483,7 +35528,7 @@ class bitflyer extends _abstract_bitflyer_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
35483
35528
  * @name bitflyer#fetchBalance
35484
35529
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
35485
35530
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
35486
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
35531
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
35487
35532
  */
35488
35533
  await this.loadMarkets();
35489
35534
  const response = await this.privateGetGetbalance(params);
@@ -35641,7 +35686,7 @@ class bitflyer extends _abstract_bitflyer_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
35641
35686
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
35642
35687
  * @param {int} [limit] the maximum amount of trades to fetch
35643
35688
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
35644
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
35689
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
35645
35690
  */
35646
35691
  await this.loadMarkets();
35647
35692
  const market = this.market(symbol);
@@ -36497,7 +36542,7 @@ class bitforex extends _abstract_bitforex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
36497
36542
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
36498
36543
  * @param {int} [limit] the maximum amount of trades to fetch
36499
36544
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
36500
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
36545
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
36501
36546
  */
36502
36547
  await this.loadMarkets();
36503
36548
  const request = {
@@ -36606,7 +36651,7 @@ class bitforex extends _abstract_bitforex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
36606
36651
  * @name bitforex#fetchBalance
36607
36652
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
36608
36653
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
36609
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
36654
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
36610
36655
  */
36611
36656
  await this.loadMarkets();
36612
36657
  const response = await this.privatePostApiV1FundAllAccount(params);
@@ -39241,7 +39286,7 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
39241
39286
  * @param {int} [limit] the maximum amount of trades to fetch
39242
39287
  * @param {object} [params] extra parameters specific to the bitget api endpoint
39243
39288
  * @param {int} [params.until] the latest time in ms to fetch deposits for
39244
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
39289
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
39245
39290
  */
39246
39291
  await this.loadMarkets();
39247
39292
  const market = this.market(symbol);
@@ -39570,7 +39615,7 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
39570
39615
  * @name bitget#fetchBalance
39571
39616
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
39572
39617
  * @param {object} [params] extra parameters specific to the bitget api endpoint
39573
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
39618
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
39574
39619
  */
39575
39620
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
39576
39621
  await this.loadMarkets();
@@ -41256,9 +41301,9 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
41256
41301
  * @description fetches historical funding rate prices
41257
41302
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
41258
41303
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
41259
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
41304
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
41260
41305
  * @param {object} [params] extra parameters specific to the bitget api endpoint
41261
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
41306
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
41262
41307
  */
41263
41308
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
41264
41309
  await this.loadMarkets();
@@ -41934,7 +41979,7 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
41934
41979
  * @see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
41935
41980
  * @param {string[]|undefined} codes list of unified currency codes
41936
41981
  * @param {object} [params] extra parameters specific to the bitget api endpoint
41937
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
41982
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
41938
41983
  */
41939
41984
  await this.loadMarkets();
41940
41985
  const response = await this.publicSpotGetPublicCurrencies(params);
@@ -42377,7 +42422,7 @@ class bithumb extends _abstract_bithumb_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
42377
42422
  * @name bithumb#fetchBalance
42378
42423
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
42379
42424
  * @param {object} [params] extra parameters specific to the bithumb api endpoint
42380
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
42425
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
42381
42426
  */
42382
42427
  await this.loadMarkets();
42383
42428
  const request = {
@@ -42720,7 +42765,7 @@ class bithumb extends _abstract_bithumb_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
42720
42765
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
42721
42766
  * @param {int} [limit] the maximum amount of trades to fetch
42722
42767
  * @param {object} [params] extra parameters specific to the bithumb api endpoint
42723
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
42768
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
42724
42769
  */
42725
42770
  await this.loadMarkets();
42726
42771
  const market = this.market(symbol);
@@ -44509,7 +44554,7 @@ class bitmart extends _abstract_bitmart_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
44509
44554
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
44510
44555
  * @param {int} [limit] the maximum amount of trades to fetch
44511
44556
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
44512
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
44557
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
44513
44558
  */
44514
44559
  await this.loadMarkets();
44515
44560
  const market = this.market(symbol);
@@ -44878,7 +44923,7 @@ class bitmart extends _abstract_bitmart_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
44878
44923
  * @see https://developer-pro.bitmart.com/en/spot/#get-account-balance
44879
44924
  * @see https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
44880
44925
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
44881
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
44926
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
44882
44927
  */
44883
44928
  await this.loadMarkets();
44884
44929
  let marketType = undefined;
@@ -47148,7 +47193,7 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
47148
47193
  * @name bitmex#fetchBalance
47149
47194
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
47150
47195
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
47151
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
47196
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
47152
47197
  */
47153
47198
  await this.loadMarkets();
47154
47199
  const request = {
@@ -48124,7 +48169,7 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
48124
48169
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
48125
48170
  * @param {int} [limit] the maximum amount of trades to fetch
48126
48171
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
48127
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
48172
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
48128
48173
  */
48129
48174
  await this.loadMarkets();
48130
48175
  const market = this.market(symbol);
@@ -48725,14 +48770,14 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
48725
48770
  * @description Fetches the history of funding rates
48726
48771
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
48727
48772
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
48728
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
48773
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
48729
48774
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
48730
48775
  * @param {int} [params.until] timestamp in ms for ending date filter
48731
48776
  * @param {bool} [params.reverse] if true, will sort results newest first
48732
48777
  * @param {int} [params.start] starting point for results
48733
48778
  * @param {string} [params.columns] array of column names to fetch in info, if omitted, will return all columns
48734
48779
  * @param {string} [params.filter] generic table filter, send json key/value pairs, such as {"key": "value"}, you can key on individual fields, and do more advanced querying on timestamps, see the [timestamp docs]{@link https://www.bitmex.com/app/restAPI#Timestamp-Filters} for more details
48735
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
48780
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
48736
48781
  */
48737
48782
  await this.loadMarkets();
48738
48783
  const request = {};
@@ -48965,7 +49010,7 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
48965
49010
  * @see https://www.bitmex.com/api/explorer/#!/Wallet/Wallet_getAssetsConfig
48966
49011
  * @param {string[]|undefined} codes list of unified currency codes
48967
49012
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
48968
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
49013
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
48969
49014
  */
48970
49015
  await this.loadMarkets();
48971
49016
  const assets = await this.publicGetWalletAssets(params);
@@ -49689,7 +49734,7 @@ class bitopro extends _abstract_bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
49689
49734
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
49690
49735
  * @param {int} [limit] the maximum amount of trades to fetch
49691
49736
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
49692
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
49737
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
49693
49738
  */
49694
49739
  await this.loadMarkets();
49695
49740
  const market = this.market(symbol);
@@ -49939,7 +49984,7 @@ class bitopro extends _abstract_bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
49939
49984
  * @name bitopro#fetchBalance
49940
49985
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
49941
49986
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
49942
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
49987
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
49943
49988
  */
49944
49989
  await this.loadMarkets();
49945
49990
  const response = await this.privateGetAccountsBalance(params);
@@ -50705,7 +50750,7 @@ class bitopro extends _abstract_bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
50705
50750
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/open/currencies.md
50706
50751
  * @param {string[]|undefined} codes list of unified currency codes
50707
50752
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
50708
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
50753
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
50709
50754
  */
50710
50755
  await this.loadMarkets();
50711
50756
  const response = await this.publicGetProvisioningCurrencies(params);
@@ -51741,7 +51786,7 @@ class bitpanda extends _abstract_bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
51741
51786
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
51742
51787
  * @param {int} [limit] the maximum amount of trades to fetch
51743
51788
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
51744
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
51789
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
51745
51790
  */
51746
51791
  await this.loadMarkets();
51747
51792
  const market = this.market(symbol);
@@ -51793,7 +51838,7 @@ class bitpanda extends _abstract_bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
51793
51838
  * @name bitpanda#fetchBalance
51794
51839
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
51795
51840
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
51796
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
51841
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
51797
51842
  */
51798
51843
  await this.loadMarkets();
51799
51844
  const response = await this.privateGetAccountBalances(params);
@@ -53537,7 +53582,7 @@ class bitrue extends _abstract_bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
53537
53582
  * @name bitrue#fetchBalance
53538
53583
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
53539
53584
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
53540
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
53585
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
53541
53586
  */
53542
53587
  await this.loadMarkets();
53543
53588
  const response = await this.v1PrivateGetAccount(params);
@@ -53920,7 +53965,7 @@ class bitrue extends _abstract_bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
53920
53965
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
53921
53966
  * @param {int} [limit] the maximum amount of trades to fetch
53922
53967
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
53923
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
53968
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
53924
53969
  */
53925
53970
  await this.loadMarkets();
53926
53971
  const market = this.market(symbol);
@@ -54731,7 +54776,7 @@ class bitrue extends _abstract_bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
54731
54776
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
54732
54777
  * @param {string[]|undefined} codes list of unified currency codes
54733
54778
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
54734
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
54779
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
54735
54780
  */
54736
54781
  await this.loadMarkets();
54737
54782
  const response = await this.v1PublicGetExchangeInfo(params);
@@ -55368,7 +55413,7 @@ class bitso extends _abstract_bitso_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
55368
55413
  * @name bitso#fetchBalance
55369
55414
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
55370
55415
  * @param {object} [params] extra parameters specific to the bitso api endpoint
55371
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
55416
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
55372
55417
  */
55373
55418
  await this.loadMarkets();
55374
55419
  const response = await this.privateGetBalance(params);
@@ -55682,7 +55727,7 @@ class bitso extends _abstract_bitso_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
55682
55727
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
55683
55728
  * @param {int} [limit] the maximum amount of trades to fetch
55684
55729
  * @param {object} [params] extra parameters specific to the bitso api endpoint
55685
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
55730
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
55686
55731
  */
55687
55732
  await this.loadMarkets();
55688
55733
  const market = this.market(symbol);
@@ -57586,7 +57631,7 @@ class bitstamp extends _abstract_bitstamp_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
57586
57631
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
57587
57632
  * @param {int} [limit] the maximum amount of trades to fetch
57588
57633
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
57589
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
57634
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
57590
57635
  */
57591
57636
  await this.loadMarkets();
57592
57637
  const market = this.market(symbol);
@@ -57716,7 +57761,7 @@ class bitstamp extends _abstract_bitstamp_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
57716
57761
  * @name bitstamp#fetchBalance
57717
57762
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
57718
57763
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
57719
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
57764
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
57720
57765
  */
57721
57766
  await this.loadMarkets();
57722
57767
  const response = await this.privatePostBalance(params);
@@ -59022,7 +59067,7 @@ class bitstamp1 extends _abstract_bitstamp1_js__WEBPACK_IMPORTED_MODULE_0__/* ["
59022
59067
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
59023
59068
  * @param {int} [limit] the maximum amount of trades to fetch
59024
59069
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
59025
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
59070
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
59026
59071
  */
59027
59072
  if (symbol !== 'BTC/USD') {
59028
59073
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadSymbol(this.id + ' ' + this.version + " fetchTrades doesn't support " + symbol + ', use it for BTC/USD only');
@@ -59056,7 +59101,7 @@ class bitstamp1 extends _abstract_bitstamp1_js__WEBPACK_IMPORTED_MODULE_0__/* ["
59056
59101
  * @name bitstamp1#fetchBalance
59057
59102
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
59058
59103
  * @param {object} [params] extra parameters specific to the bitstamp1 api endpoint
59059
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
59104
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
59060
59105
  */
59061
59106
  const response = await this.privatePostBalance(params);
59062
59107
  return this.parseBalance(response);
@@ -59582,7 +59627,7 @@ class bittrex extends _abstract_bittrex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
59582
59627
  * @name bittrex#fetchBalance
59583
59628
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
59584
59629
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
59585
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
59630
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
59586
59631
  */
59587
59632
  await this.loadMarkets();
59588
59633
  const response = await this.privateGetBalances(params);
@@ -59963,7 +60008,7 @@ class bittrex extends _abstract_bittrex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
59963
60008
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
59964
60009
  * @param {int} [limit] the maximum amount of trades to fetch
59965
60010
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
59966
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
60011
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
59967
60012
  */
59968
60013
  await this.loadMarkets();
59969
60014
  const market = this.market(symbol);
@@ -61271,7 +61316,7 @@ class bittrex extends _abstract_bittrex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
61271
61316
  * @description fetch deposit and withdraw fees
61272
61317
  * @param {string[]|undefined} codes list of unified currency codes
61273
61318
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
61274
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
61319
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
61275
61320
  */
61276
61321
  await this.loadMarkets();
61277
61322
  const response = await this.publicGetCurrencies(params);
@@ -62104,7 +62149,7 @@ class bitvavo extends _abstract_bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
62104
62149
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
62105
62150
  * @param {int} [limit] the maximum amount of trades to fetch
62106
62151
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
62107
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
62152
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
62108
62153
  */
62109
62154
  await this.loadMarkets();
62110
62155
  const market = this.market(symbol);
@@ -62393,7 +62438,7 @@ class bitvavo extends _abstract_bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
62393
62438
  * @name bitvavo#fetchBalance
62394
62439
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
62395
62440
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
62396
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
62441
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
62397
62442
  */
62398
62443
  await this.loadMarkets();
62399
62444
  const response = await this.privateGetBalance(params);
@@ -63275,7 +63320,7 @@ class bitvavo extends _abstract_bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
63275
63320
  * @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
63276
63321
  * @param {string[]|undefined} codes list of unified currency codes
63277
63322
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
63278
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
63323
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
63279
63324
  */
63280
63325
  await this.loadMarkets();
63281
63326
  const response = await this.publicGetAssets(params);
@@ -64276,7 +64321,7 @@ class bkex extends _abstract_bkex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
64276
64321
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
64277
64322
  * @param {int} [limit] the maximum amount of trades to fetch
64278
64323
  * @param {object} [params] extra parameters specific to the bkex api endpoint
64279
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
64324
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
64280
64325
  */
64281
64326
  await this.loadMarkets();
64282
64327
  const market = this.market(symbol);
@@ -64397,7 +64442,7 @@ class bkex extends _abstract_bkex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
64397
64442
  * @name bkex#fetchBalance
64398
64443
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
64399
64444
  * @param {object} [params] extra parameters specific to the bkex api endpoint
64400
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
64445
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
64401
64446
  */
64402
64447
  await this.loadMarkets();
64403
64448
  const query = this.omit(params, 'type');
@@ -65145,9 +65190,9 @@ class bkex extends _abstract_bkex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
65145
65190
  * @description fetches historical funding rate prices
65146
65191
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
65147
65192
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
65148
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
65193
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
65149
65194
  * @param {object} [params] extra parameters specific to the bkex api endpoint
65150
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
65195
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
65151
65196
  */
65152
65197
  if (symbol === undefined) {
65153
65198
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -65478,7 +65523,7 @@ class bl3p extends _abstract_bl3p_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
65478
65523
  * @name bl3p#fetchBalance
65479
65524
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
65480
65525
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
65481
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
65526
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
65482
65527
  */
65483
65528
  await this.loadMarkets();
65484
65529
  const response = await this.privatePostGENMKTMoneyInfo(params);
@@ -65615,7 +65660,7 @@ class bl3p extends _abstract_bl3p_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
65615
65660
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
65616
65661
  * @param {int} [limit] the maximum amount of trades to fetch
65617
65662
  * @param {object} [params] extra parameters specific to the bl3p api endpoint
65618
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
65663
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
65619
65664
  */
65620
65665
  const market = this.market(symbol);
65621
65666
  const response = await this.publicGetMarketTrades(this.extend({
@@ -66838,7 +66883,7 @@ class blockchaincom extends _abstract_blockchaincom_js__WEBPACK_IMPORTED_MODULE_
66838
66883
  * @name blockchaincom#fetchBalance
66839
66884
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
66840
66885
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
66841
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
66886
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
66842
66887
  */
66843
66888
  await this.loadMarkets();
66844
66889
  const accountName = this.safeString(params, 'account', 'primary');
@@ -67398,7 +67443,7 @@ class btcalpha extends _abstract_btcalpha_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
67398
67443
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
67399
67444
  * @param {int} [limit] the maximum amount of trades to fetch
67400
67445
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
67401
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
67446
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
67402
67447
  */
67403
67448
  await this.loadMarkets();
67404
67449
  let market = undefined;
@@ -67601,7 +67646,7 @@ class btcalpha extends _abstract_btcalpha_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
67601
67646
  * @name btcalpha#fetchBalance
67602
67647
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
67603
67648
  * @param {object} [params] extra parameters specific to the btcalpha api endpoint
67604
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
67649
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
67605
67650
  */
67606
67651
  await this.loadMarkets();
67607
67652
  const response = await this.privateGetWallets(params);
@@ -68047,7 +68092,7 @@ class btcbox extends _abstract_btcbox_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
68047
68092
  * @name btcbox#fetchBalance
68048
68093
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
68049
68094
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
68050
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
68095
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
68051
68096
  */
68052
68097
  await this.loadMarkets();
68053
68098
  const response = await this.privatePostBalance(params);
@@ -68163,7 +68208,7 @@ class btcbox extends _abstract_btcbox_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
68163
68208
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
68164
68209
  * @param {int} [limit] the maximum amount of trades to fetch
68165
68210
  * @param {object} [params] extra parameters specific to the btcbox api endpoint
68166
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
68211
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
68167
68212
  */
68168
68213
  await this.loadMarkets();
68169
68214
  const market = this.market(symbol);
@@ -68947,7 +68992,7 @@ class btcmarkets extends _abstract_btcmarkets_js__WEBPACK_IMPORTED_MODULE_0__/*
68947
68992
  * @name btcmarkets#fetchBalance
68948
68993
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
68949
68994
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
68950
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
68995
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
68951
68996
  */
68952
68997
  await this.loadMarkets();
68953
68998
  const response = await this.privateGetAccountsMeBalances(params);
@@ -69216,7 +69261,7 @@ class btcmarkets extends _abstract_btcmarkets_js__WEBPACK_IMPORTED_MODULE_0__/*
69216
69261
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
69217
69262
  * @param {int} [limit] the maximum amount of trades to fetch
69218
69263
  * @param {object} [params] extra parameters specific to the btcmarkets api endpoint
69219
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
69264
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
69220
69265
  */
69221
69266
  await this.loadMarkets();
69222
69267
  const market = this.market(symbol);
@@ -69874,7 +69919,7 @@ class btctradeua extends _abstract_btctradeua_js__WEBPACK_IMPORTED_MODULE_0__/*
69874
69919
  * @name btctradeua#fetchBalance
69875
69920
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
69876
69921
  * @param {object} [params] extra parameters specific to the btctradeua api endpoint
69877
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
69922
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
69878
69923
  */
69879
69924
  await this.loadMarkets();
69880
69925
  const response = await this.privatePostBalance(params);
@@ -70115,7 +70160,7 @@ class btctradeua extends _abstract_btctradeua_js__WEBPACK_IMPORTED_MODULE_0__/*
70115
70160
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
70116
70161
  * @param {int} [limit] the maximum amount of trades to fetch
70117
70162
  * @param {object} [params] extra parameters specific to the btctradeua api endpoint
70118
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
70163
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
70119
70164
  */
70120
70165
  await this.loadMarkets();
70121
70166
  const market = this.market(symbol);
@@ -70562,7 +70607,7 @@ class btcturk extends _abstract_btcturk_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
70562
70607
  * @name btcturk#fetchBalance
70563
70608
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
70564
70609
  * @param {object} [params] extra parameters specific to the btcturk api endpoint
70565
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
70610
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
70566
70611
  */
70567
70612
  await this.loadMarkets();
70568
70613
  const response = await this.privateGetUsersBalances(params);
@@ -70762,7 +70807,7 @@ class btcturk extends _abstract_btcturk_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
70762
70807
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
70763
70808
  * @param {int} [limit] the maximum amount of trades to fetch
70764
70809
  * @param {object} [params] extra parameters specific to the btcturk api endpoint
70765
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
70810
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
70766
70811
  */
70767
70812
  await this.loadMarkets();
70768
70813
  const market = this.market(symbol);
@@ -73807,10 +73852,10 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
73807
73852
  * @see https://bybit-exchange.github.io/docs/v5/market/history-fund-rate
73808
73853
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
73809
73854
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
73810
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
73855
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
73811
73856
  * @param {object} [params] extra parameters specific to the bybit api endpoint
73812
73857
  * @param {int} [params.until] timestamp in ms of the latest funding rate
73813
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
73858
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
73814
73859
  */
73815
73860
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
73816
73861
  await this.loadMarkets();
@@ -74144,7 +74189,7 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
74144
74189
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
74145
74190
  * @param {int} [limit] the maximum amount of trades to fetch
74146
74191
  * @param {object} [params] extra parameters specific to the bybit api endpoint
74147
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
74192
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
74148
74193
  */
74149
74194
  this.checkRequiredSymbol('fetchTrades', symbol);
74150
74195
  await this.loadMarkets();
@@ -74552,7 +74597,7 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
74552
74597
  * @name bybit#fetchBalance
74553
74598
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
74554
74599
  * @param {object} [params] extra parameters specific to the bybit api endpoint
74555
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
74600
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
74556
74601
  */
74557
74602
  await this.loadMarkets();
74558
74603
  const request = {};
@@ -80114,7 +80159,7 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
80114
80159
  * @see https://bybit-exchange.github.io/docs/v5/asset/coin-info
80115
80160
  * @param {string[]|undefined} codes list of unified currency codes
80116
80161
  * @param {object} [params] extra parameters specific to the bybit api endpoint
80117
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
80162
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
80118
80163
  */
80119
80164
  this.checkRequiredCredentials();
80120
80165
  await this.loadMarkets();
@@ -81033,7 +81078,7 @@ class cex extends _abstract_cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
81033
81078
  * @name cex#fetchBalance
81034
81079
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
81035
81080
  * @param {object} [params] extra parameters specific to the cex api endpoint
81036
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
81081
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
81037
81082
  */
81038
81083
  await this.loadMarkets();
81039
81084
  const response = await this.privatePostBalance(params);
@@ -81247,7 +81292,7 @@ class cex extends _abstract_cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
81247
81292
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
81248
81293
  * @param {int} [limit] the maximum amount of trades to fetch
81249
81294
  * @param {object} [params] extra parameters specific to the cex api endpoint
81250
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
81295
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
81251
81296
  */
81252
81297
  await this.loadMarkets();
81253
81298
  const market = this.market(symbol);
@@ -83695,7 +83740,7 @@ class coinbase extends _abstract_coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
83695
83740
  * @name coinbase#fetchBalance
83696
83741
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
83697
83742
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
83698
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
83743
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
83699
83744
  */
83700
83745
  await this.loadMarkets();
83701
83746
  const request = {
@@ -84843,7 +84888,7 @@ class coinbase extends _abstract_coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
84843
84888
  * @param {int} [since] not used by coinbase fetchTrades
84844
84889
  * @param {int} [limit] the maximum number of trade structures to fetch
84845
84890
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
84846
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
84891
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
84847
84892
  */
84848
84893
  await this.loadMarkets();
84849
84894
  const market = this.market(symbol);
@@ -84980,7 +85025,7 @@ class coinbase extends _abstract_coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
84980
85025
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getbestbidask
84981
85026
  * @param {string[]} [symbols] unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
84982
85027
  * @param {object} [params] extra parameters specific to the coinbase api endpoint
84983
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
85028
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
84984
85029
  */
84985
85030
  await this.loadMarkets();
84986
85031
  symbols = this.marketSymbols(symbols);
@@ -85651,7 +85696,7 @@ class coinbasepro extends _abstract_coinbasepro_js__WEBPACK_IMPORTED_MODULE_0__/
85651
85696
  * @name coinbasepro#fetchBalance
85652
85697
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
85653
85698
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
85654
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
85699
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
85655
85700
  */
85656
85701
  await this.loadMarkets();
85657
85702
  const response = await this.privateGetAccounts(params);
@@ -85970,7 +86015,7 @@ class coinbasepro extends _abstract_coinbasepro_js__WEBPACK_IMPORTED_MODULE_0__/
85970
86015
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
85971
86016
  * @param {int} [limit] the maximum amount of trades to fetch
85972
86017
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
85973
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
86018
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
85974
86019
  */
85975
86020
  await this.loadMarkets();
85976
86021
  const market = this.market(symbol);
@@ -87177,7 +87222,7 @@ class coincheck extends _abstract_coincheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["
87177
87222
  * @name coincheck#fetchBalance
87178
87223
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
87179
87224
  * @param {object} [params] extra parameters specific to the coincheck api endpoint
87180
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
87225
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
87181
87226
  */
87182
87227
  await this.loadMarkets();
87183
87228
  const response = await this.privateGetAccountsBalance(params);
@@ -87479,7 +87524,7 @@ class coincheck extends _abstract_coincheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["
87479
87524
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
87480
87525
  * @param {int} [limit] the maximum amount of trades to fetch
87481
87526
  * @param {object} [params] extra parameters specific to the coincheck api endpoint
87482
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
87527
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
87483
87528
  */
87484
87529
  await this.loadMarkets();
87485
87530
  const market = this.market(symbol);
@@ -88527,9 +88572,9 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
88527
88572
  'high': this.safeString(ticker, 'high'),
88528
88573
  'low': this.safeString(ticker, 'low'),
88529
88574
  'bid': this.safeString(ticker, 'buy'),
88530
- 'bidVolume': undefined,
88575
+ 'bidVolume': this.safeString(ticker, 'buy_amount'),
88531
88576
  'ask': this.safeString(ticker, 'sell'),
88532
- 'askVolume': undefined,
88577
+ 'askVolume': this.safeString(ticker, 'sell_amount'),
88533
88578
  'vwap': undefined,
88534
88579
  'open': this.safeString(ticker, 'open'),
88535
88580
  'close': last,
@@ -88938,7 +88983,7 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
88938
88983
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
88939
88984
  * @param {int} [limit] the maximum amount of trades to fetch
88940
88985
  * @param {object} [params] extra parameters specific to the coinex api endpoint
88941
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
88986
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
88942
88987
  */
88943
88988
  await this.loadMarkets();
88944
88989
  const market = this.market(symbol);
@@ -89329,7 +89374,7 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
89329
89374
  * @see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures001_http016_asset_query // swap
89330
89375
  * @param {object} [params] extra parameters specific to the coinex api endpoint
89331
89376
  * @param {string} [params.type] 'margin', 'swap', 'financial', or 'spot'
89332
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
89377
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
89333
89378
  */
89334
89379
  let marketType = undefined;
89335
89380
  [marketType, params] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
@@ -91686,9 +91731,9 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
91686
91731
  * @description fetches historical funding rate prices
91687
91732
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
91688
91733
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
91689
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
91734
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
91690
91735
  * @param {object} [params] extra parameters specific to the coinex api endpoint
91691
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
91736
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
91692
91737
  */
91693
91738
  if (symbol === undefined) {
91694
91739
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_3__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -93145,7 +93190,7 @@ class coinfalcon extends _abstract_coinfalcon_js__WEBPACK_IMPORTED_MODULE_0__/*
93145
93190
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
93146
93191
  * @param {int} [limit] the maximum amount of trades to fetch
93147
93192
  * @param {object} [params] extra parameters specific to the coinfalcon api endpoint
93148
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
93193
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
93149
93194
  */
93150
93195
  await this.loadMarkets();
93151
93196
  const market = this.market(symbol);
@@ -93231,7 +93276,7 @@ class coinfalcon extends _abstract_coinfalcon_js__WEBPACK_IMPORTED_MODULE_0__/*
93231
93276
  * @name coinfalcon#fetchBalance
93232
93277
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
93233
93278
  * @param {object} [params] extra parameters specific to the coinfalcon api endpoint
93234
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
93279
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
93235
93280
  */
93236
93281
  await this.loadMarkets();
93237
93282
  const response = await this.privateGetUserAccounts(params);
@@ -94034,7 +94079,7 @@ class coinmate extends _abstract_coinmate_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
94034
94079
  * @name coinmate#fetchBalance
94035
94080
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
94036
94081
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
94037
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
94082
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
94038
94083
  */
94039
94084
  await this.loadMarkets();
94040
94085
  const response = await this.privatePostBalances(params);
@@ -94367,7 +94412,7 @@ class coinmate extends _abstract_coinmate_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
94367
94412
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
94368
94413
  * @param {int} [limit] the maximum amount of trades to fetch
94369
94414
  * @param {object} [params] extra parameters specific to the coinmate api endpoint
94370
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
94415
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
94371
94416
  */
94372
94417
  await this.loadMarkets();
94373
94418
  const market = this.market(symbol);
@@ -94972,7 +95017,7 @@ class coinone extends _abstract_coinone_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
94972
95017
  * @name coinone#fetchBalance
94973
95018
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
94974
95019
  * @param {object} [params] extra parameters specific to the coinone api endpoint
94975
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
95020
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
94976
95021
  */
94977
95022
  await this.loadMarkets();
94978
95023
  const response = await this.privatePostAccountBalance(params);
@@ -95173,7 +95218,7 @@ class coinone extends _abstract_coinone_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
95173
95218
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
95174
95219
  * @param {int} [limit] the maximum amount of trades to fetch
95175
95220
  * @param {object} [params] extra parameters specific to the coinone api endpoint
95176
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
95221
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
95177
95222
  */
95178
95223
  await this.loadMarkets();
95179
95224
  const market = this.market(symbol);
@@ -95846,6 +95891,11 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
95846
95891
  'openapi/convert/v1/get-supported-trading-pairs': 1,
95847
95892
  'openapi/convert/v1/get-quote': 1,
95848
95893
  'openapi/convert/v1/accpet-quote': 1,
95894
+ 'openapi/fiat/v1/support-channel': 1,
95895
+ 'openapi/fiat/v1/cash-out': 1,
95896
+ 'openapi/fiat/v1/history': 1,
95897
+ 'openapi/migration/v4/sellorder': 1,
95898
+ 'openapi/migration/v4/validate-field': 1,
95849
95899
  'openapi/transfer/v3/transfers': 1,
95850
95900
  },
95851
95901
  'delete': {
@@ -96473,7 +96523,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
96473
96523
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
96474
96524
  * @param {int} [limit] the maximum amount of trades to fetch (default 500, max 1000)
96475
96525
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
96476
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
96526
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
96477
96527
  */
96478
96528
  await this.loadMarkets();
96479
96529
  const market = this.market(symbol);
@@ -96647,7 +96697,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
96647
96697
  * @name coinsph#fetchBalance
96648
96698
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
96649
96699
  * @param {object} [params] extra parameters specific to the coinsph api endpoint
96650
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
96700
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
96651
96701
  */
96652
96702
  await this.loadMarkets();
96653
96703
  const response = await this.privateGetOpenapiV1Account(params);
@@ -97753,7 +97803,7 @@ class coinspot extends _abstract_coinspot_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
97753
97803
  * @name coinspot#fetchBalance
97754
97804
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
97755
97805
  * @param {object} [params] extra parameters specific to the coinspot api endpoint
97756
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
97806
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
97757
97807
  */
97758
97808
  await this.loadMarkets();
97759
97809
  const method = this.safeString(this.options, 'fetchBalance', 'private_post_my_balances');
@@ -97911,7 +97961,7 @@ class coinspot extends _abstract_coinspot_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
97911
97961
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
97912
97962
  * @param {int} [limit] the maximum amount of trades to fetch
97913
97963
  * @param {object} [params] extra parameters specific to the coinspot api endpoint
97914
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
97964
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
97915
97965
  */
97916
97966
  await this.loadMarkets();
97917
97967
  const market = this.market(symbol);
@@ -98768,7 +98818,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
98768
98818
  * @param {int} [limit] the maximum number of trades to fetch
98769
98819
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
98770
98820
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
98771
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
98821
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
98772
98822
  */
98773
98823
  await this.loadMarkets();
98774
98824
  const market = this.market(symbol);
@@ -98934,7 +98984,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
98934
98984
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
98935
98985
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-user-balance
98936
98986
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
98937
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
98987
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
98938
98988
  */
98939
98989
  await this.loadMarkets();
98940
98990
  const response = await this.v1PrivatePostPrivateUserBalance(params);
@@ -100473,7 +100523,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
100473
100523
  * @see https://exchange-docs.crypto.com/spot/index.html#private-get-currency-networks
100474
100524
  * @param {string[]|undefined} codes list of unified currency codes
100475
100525
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
100476
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
100526
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
100477
100527
  */
100478
100528
  await this.loadMarkets();
100479
100529
  const response = await this.v2PrivatePostPrivateGetCurrencyNetworks(params);
@@ -100492,7 +100542,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
100492
100542
  * @param {int} [limit] max number of ledger entries to return
100493
100543
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
100494
100544
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
100495
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/en/latest/manual.html#ledger-structure}
100545
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
100496
100546
  */
100497
100547
  await this.loadMarkets();
100498
100548
  const request = {};
@@ -100803,7 +100853,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
100803
100853
  * @param {int} [limit] the maximum amount of [funding rate structures] to fetch
100804
100854
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
100805
100855
  * @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
100806
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
100856
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
100807
100857
  */
100808
100858
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
100809
100859
  await this.loadMarkets();
@@ -101796,7 +101846,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
101796
101846
  * @name currencycom#fetchBalance
101797
101847
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
101798
101848
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
101799
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
101849
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
101800
101850
  */
101801
101851
  await this.loadMarkets();
101802
101852
  const response = await this.privateGetV2Account(params);
@@ -102158,7 +102208,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
102158
102208
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
102159
102209
  * @param {int} [limit] the maximum amount of trades to fetch
102160
102210
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
102161
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
102211
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
102162
102212
  */
102163
102213
  await this.loadMarkets();
102164
102214
  const market = this.market(symbol);
@@ -104505,7 +104555,7 @@ class delta extends _abstract_delta_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
104505
104555
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
104506
104556
  * @param {int} [limit] the maximum amount of trades to fetch
104507
104557
  * @param {object} [params] extra parameters specific to the delta api endpoint
104508
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
104558
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
104509
104559
  */
104510
104560
  await this.loadMarkets();
104511
104561
  const market = this.market(symbol);
@@ -104629,7 +104679,7 @@ class delta extends _abstract_delta_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
104629
104679
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
104630
104680
  * @see https://docs.delta.exchange/#get-wallet-balances
104631
104681
  * @param {object} [params] extra parameters specific to the delta api endpoint
104632
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
104682
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
104633
104683
  */
104634
104684
  await this.loadMarkets();
104635
104685
  const response = await this.privateGetWalletBalances(params);
@@ -107010,7 +107060,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
107010
107060
  * @name deribit#fetchBalance
107011
107061
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
107012
107062
  * @param {object} [params] extra parameters specific to the deribit api endpoint
107013
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
107063
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
107014
107064
  */
107015
107065
  await this.loadMarkets();
107016
107066
  const code = this.codeFromOptions('fetchBalance', params);
@@ -107480,7 +107530,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
107480
107530
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
107481
107531
  * @param {int} [limit] the maximum amount of trades to fetch
107482
107532
  * @param {object} [params] extra parameters specific to the deribit api endpoint
107483
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
107533
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
107484
107534
  */
107485
107535
  await this.loadMarkets();
107486
107536
  const market = this.market(symbol);
@@ -108932,7 +108982,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
108932
108982
  * @see https://docs.deribit.com/#public-get_currencies
108933
108983
  * @param {string[]|undefined} codes list of unified currency codes
108934
108984
  * @param {object} [params] extra parameters specific to the deribit api endpoint
108935
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
108985
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
108936
108986
  */
108937
108987
  await this.loadMarkets();
108938
108988
  const response = await this.publicGetGetCurrencies(params);
@@ -109937,7 +109987,7 @@ class digifinex extends _abstract_digifinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["
109937
109987
  * @see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-assets
109938
109988
  * @see https://docs.digifinex.com/en-ww/swap/v2/rest.html#accountbalance
109939
109989
  * @param {object} [params] extra parameters specific to the digifinex api endpoint
109940
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
109990
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
109941
109991
  */
109942
109992
  await this.loadMarkets();
109943
109993
  let marketType = undefined;
@@ -110506,7 +110556,7 @@ class digifinex extends _abstract_digifinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["
110506
110556
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
110507
110557
  * @param {int} [limit] the maximum amount of trades to fetch
110508
110558
  * @param {object} [params] extra parameters specific to the digifinex api endpoint
110509
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
110559
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
110510
110560
  */
110511
110561
  await this.loadMarkets();
110512
110562
  const market = this.market(symbol);
@@ -112153,9 +112203,9 @@ class digifinex extends _abstract_digifinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["
112153
112203
  * @description fetches historical funding rate prices
112154
112204
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
112155
112205
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
112156
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
112206
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
112157
112207
  * @param {object} [params] extra parameters specific to the digifinex api endpoint
112158
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
112208
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
112159
112209
  */
112160
112210
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
112161
112211
  await this.loadMarkets();
@@ -113945,7 +113995,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
113945
113995
  * @name exmo#fetchBalance
113946
113996
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
113947
113997
  * @param {object} [params] extra parameters specific to the exmo api endpoint
113948
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
113998
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
113949
113999
  */
113950
114000
  await this.loadMarkets();
113951
114001
  const response = await this.privatePostUserInfo(params);
@@ -114199,7 +114249,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
114199
114249
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
114200
114250
  * @param {int} [limit] the maximum amount of trades to fetch
114201
114251
  * @param {object} [params] extra parameters specific to the exmo api endpoint
114202
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
114252
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
114203
114253
  */
114204
114254
  await this.loadMarkets();
114205
114255
  const market = this.market(symbol);
@@ -118050,9 +118100,9 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
118050
118100
  * @description fetches historical funding rate prices
118051
118101
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
118052
118102
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
118053
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
118103
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
118054
118104
  * @param {object} [params] extra parameters specific to the gate api endpoint
118055
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
118105
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
118056
118106
  */
118057
118107
  if (symbol === undefined) {
118058
118108
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -118145,7 +118195,7 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
118145
118195
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
118146
118196
  * @param {int} [limit] the maximum amount of trades to fetch
118147
118197
  * @param {object} [params] extra parameters specific to the gate api endpoint
118148
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
118198
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
118149
118199
  */
118150
118200
  await this.loadMarkets();
118151
118201
  const market = this.market(symbol);
@@ -120102,7 +120152,7 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
120102
120152
  * @see https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
120103
120153
  * @param {string} symbol unified market symbol of the market the position is held in
120104
120154
  * @param {object} [params] extra parameters specific to the gate api endpoint
120105
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
120155
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
120106
120156
  */
120107
120157
  await this.loadMarkets();
120108
120158
  const market = this.market(symbol);
@@ -122368,7 +122418,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
122368
122418
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
122369
122419
  * @param {int} [limit] the maximum amount of trades to fetch
122370
122420
  * @param {object} [params] extra parameters specific to the gemini api endpoint
122371
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
122421
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
122372
122422
  */
122373
122423
  await this.loadMarkets();
122374
122424
  const market = this.market(symbol);
@@ -122474,7 +122524,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
122474
122524
  * @name gemini#fetchBalance
122475
122525
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
122476
122526
  * @param {object} [params] extra parameters specific to the gemini api endpoint
122477
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
122527
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
122478
122528
  */
122479
122529
  await this.loadMarkets();
122480
122530
  const response = await this.privatePostV1Balances(params);
@@ -123068,7 +123118,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
123068
123118
  * @param {string} code unified currency code
123069
123119
  * @param {object} [params] extra parameters specific to the endpoint
123070
123120
  * @param {string} [params.network] *required* The chain of currency
123071
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/en/latest/manual.html#address-structure}
123121
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
123072
123122
  */
123073
123123
  await this.loadMarkets();
123074
123124
  const groupedByNetwork = await this.fetchDepositAddressesByNetwork(code, params);
@@ -124187,7 +124237,7 @@ class hitbtc extends _abstract_hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
124187
124237
  * @name hitbtc#fetchBalance
124188
124238
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
124189
124239
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
124190
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
124240
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
124191
124241
  */
124192
124242
  const type = this.safeStringLower(params, 'type', 'spot');
124193
124243
  params = this.omit(params, ['type']);
@@ -124328,7 +124378,7 @@ class hitbtc extends _abstract_hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
124328
124378
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
124329
124379
  * @param {int} [limit] the maximum amount of trades to fetch
124330
124380
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
124331
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
124381
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
124332
124382
  */
124333
124383
  await this.loadMarkets();
124334
124384
  let market = undefined;
@@ -125612,9 +125662,9 @@ class hitbtc extends _abstract_hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
125612
125662
  * @description fetches historical funding rate prices
125613
125663
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
125614
125664
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
125615
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
125665
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
125616
125666
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
125617
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
125667
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
125618
125668
  */
125619
125669
  await this.loadMarkets();
125620
125670
  let market = undefined;
@@ -126971,7 +127021,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
126971
127021
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
126972
127022
  * @param {int} [limit] the maximum amount of trades to fetch
126973
127023
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
126974
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
127024
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
126975
127025
  */
126976
127026
  await this.loadMarkets();
126977
127027
  const market = this.market(symbol);
@@ -127209,7 +127259,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
127209
127259
  * @name hollaex#fetchBalance
127210
127260
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
127211
127261
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
127212
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
127262
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
127213
127263
  */
127214
127264
  await this.loadMarkets();
127215
127265
  const response = await this.privateGetUserBalance(params);
@@ -128142,7 +128192,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
128142
128192
  * @see https://apidocs.hollaex.com/#constants
128143
128193
  * @param {string[]|undefined} codes list of unified currency codes
128144
128194
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
128145
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
128195
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
128146
128196
  */
128147
128197
  const response = await this.publicGetConstants(params);
128148
128198
  //
@@ -130776,7 +130826,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
130776
130826
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
130777
130827
  * @param {int} [limit] the maximum amount of trades to fetch
130778
130828
  * @param {object} [params] extra parameters specific to the huobi api endpoint
130779
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
130829
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
130780
130830
  */
130781
130831
  await this.loadMarkets();
130782
130832
  const market = this.market(symbol);
@@ -131241,7 +131291,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
131241
131291
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
131242
131292
  * @param {object} [params] extra parameters specific to the huobi api endpoint
131243
131293
  * @param {bool} [params.unified] provide this parameter if you have a recent account with unified cross+isolated margin account
131244
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
131294
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
131245
131295
  */
131246
131296
  await this.loadMarkets();
131247
131297
  let type = undefined;
@@ -132877,7 +132927,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
132877
132927
  * @param {float} amount how much of currency you want to trade in units of base currency
132878
132928
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
132879
132929
  * @param {object} params extra parameters specific to the huobi api endpoint
132880
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
132930
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
132881
132931
  */
132882
132932
  await this.loadMarkets();
132883
132933
  await this.loadAccounts();
@@ -133016,7 +133066,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
133016
133066
  * @param {float} amount how much of currency you want to trade in units of base currency
133017
133067
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
133018
133068
  * @param {object} params extra parameters specific to the huobi api endpoint
133019
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
133069
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
133020
133070
  */
133021
133071
  const market = this.market(symbol);
133022
133072
  const request = {
@@ -134278,7 +134328,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
134278
134328
  * @param {int} [since] not used by huobi, but filtered internally by ccxt
134279
134329
  * @param {int} [limit] not used by huobi, but filtered internally by ccxt
134280
134330
  * @param {object} [params] extra parameters specific to the huobi api endpoint
134281
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
134331
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
134282
134332
  */
134283
134333
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
134284
134334
  await this.loadMarkets();
@@ -137295,7 +137345,7 @@ class huobijp extends _abstract_huobijp_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
137295
137345
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
137296
137346
  * @param {int} [limit] the maximum amount of trades to fetch
137297
137347
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
137298
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
137348
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
137299
137349
  */
137300
137350
  await this.loadMarkets();
137301
137351
  const market = this.market(symbol);
@@ -137541,7 +137591,7 @@ class huobijp extends _abstract_huobijp_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
137541
137591
  * @name huobijp#fetchBalance
137542
137592
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
137543
137593
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
137544
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
137594
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
137545
137595
  */
137546
137596
  await this.loadMarkets();
137547
137597
  await this.loadAccounts();
@@ -138857,7 +138907,7 @@ class idex extends _abstract_idex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
138857
138907
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
138858
138908
  * @param {int} [limit] the maximum amount of trades to fetch
138859
138909
  * @param {object} [params] extra parameters specific to the idex api endpoint
138860
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
138910
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
138861
138911
  */
138862
138912
  await this.loadMarkets();
138863
138913
  const market = this.market(symbol);
@@ -139140,7 +139190,7 @@ class idex extends _abstract_idex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
139140
139190
  * @name idex#fetchBalance
139141
139191
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
139142
139192
  * @param {object} [params] extra parameters specific to the idex api endpoint
139143
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
139193
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
139144
139194
  */
139145
139195
  this.checkRequiredCredentials();
139146
139196
  await this.loadMarkets();
@@ -140360,7 +140410,7 @@ class independentreserve extends _abstract_independentreserve_js__WEBPACK_IMPORT
140360
140410
  * @name independentreserve#fetchBalance
140361
140411
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
140362
140412
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
140363
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
140413
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
140364
140414
  */
140365
140415
  await this.loadMarkets();
140366
140416
  const response = await this.privatePostGetAccounts(params);
@@ -140730,7 +140780,7 @@ class independentreserve extends _abstract_independentreserve_js__WEBPACK_IMPORT
140730
140780
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
140731
140781
  * @param {int} [limit] the maximum amount of trades to fetch
140732
140782
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
140733
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
140783
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
140734
140784
  */
140735
140785
  await this.loadMarkets();
140736
140786
  const market = this.market(symbol);
@@ -141199,7 +141249,7 @@ class indodax extends _abstract_indodax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
141199
141249
  * @name indodax#fetchBalance
141200
141250
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
141201
141251
  * @param {object} [params] extra parameters specific to the indodax api endpoint
141202
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
141252
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
141203
141253
  */
141204
141254
  await this.loadMarkets();
141205
141255
  const response = await this.privatePostGetInfo(params);
@@ -141384,7 +141434,7 @@ class indodax extends _abstract_indodax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
141384
141434
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
141385
141435
  * @param {int} [limit] the maximum amount of trades to fetch
141386
141436
  * @param {object} [params] extra parameters specific to the indodax api endpoint
141387
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
141437
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
141388
141438
  */
141389
141439
  await this.loadMarkets();
141390
141440
  const market = this.market(symbol);
@@ -143107,7 +143157,7 @@ class kraken extends _abstract_kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
143107
143157
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
143108
143158
  * @param {int} [limit] the maximum amount of trades to fetch
143109
143159
  * @param {object} [params] extra parameters specific to the kraken api endpoint
143110
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
143160
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
143111
143161
  */
143112
143162
  await this.loadMarkets();
143113
143163
  const market = this.market(symbol);
@@ -143177,7 +143227,7 @@ class kraken extends _abstract_kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
143177
143227
  * @name kraken#fetchBalance
143178
143228
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
143179
143229
  * @param {object} [params] extra parameters specific to the kraken api endpoint
143180
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
143230
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
143181
143231
  */
143182
143232
  await this.loadMarkets();
143183
143233
  const response = await this.privatePostBalance(params);
@@ -147933,7 +147983,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
147933
147983
  * @see https://docs.kucoin.com/#get-withdrawal-quotas
147934
147984
  * @param {string} code unified currency code
147935
147985
  * @param {object} params extra parameters specific to the kucoin api endpoint
147936
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
147986
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
147937
147987
  */
147938
147988
  await this.loadMarkets();
147939
147989
  const currency = this.currency(code);
@@ -149343,7 +149393,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
149343
149393
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
149344
149394
  * @param {int} [limit] the maximum amount of trades to fetch
149345
149395
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
149346
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
149396
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
149347
149397
  */
149348
149398
  await this.loadMarkets();
149349
149399
  const market = this.market(symbol);
@@ -149886,7 +149936,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
149886
149936
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
149887
149937
  * @param {object} [params.marginMode] 'cross' or 'isolated', margin type for fetching margin balance
149888
149938
  * @param {object} [params.type] extra parameters specific to the kucoin api endpoint
149889
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
149939
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
149890
149940
  */
149891
149941
  await this.loadMarkets();
149892
149942
  const code = this.safeString(params, 'code');
@@ -150764,7 +150814,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
150764
150814
  * @see https://docs.kucoin.com/#get-currencies
150765
150815
  * @param {string[]|undefined} codes list of unified currency codes
150766
150816
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
150767
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
150817
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
150768
150818
  */
150769
150819
  await this.loadMarkets();
150770
150820
  const response = await this.publicGetCurrencies(params);
@@ -151756,7 +151806,7 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
151756
151806
  * @description fetch data on an open position
151757
151807
  * @param {string} symbol unified market symbol of the market the position is held in
151758
151808
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
151759
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
151809
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
151760
151810
  */
151761
151811
  await this.loadMarkets();
151762
151812
  const market = this.market(symbol);
@@ -152671,7 +152721,7 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
152671
152721
  * @name kucoinfutures#fetchBalance
152672
152722
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
152673
152723
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
152674
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
152724
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
152675
152725
  */
152676
152726
  await this.loadMarkets();
152677
152727
  // only fetches one balance at a time
@@ -152842,7 +152892,7 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
152842
152892
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
152843
152893
  * @param {int} [limit] the maximum amount of trades to fetch
152844
152894
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
152845
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
152895
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
152846
152896
  */
152847
152897
  await this.loadMarkets();
152848
152898
  const market = this.market(symbol);
@@ -153193,9 +153243,9 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
153193
153243
  * @description fetches historical funding rate prices
153194
153244
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
153195
153245
  * @param {int} [since] not used by kucuoinfutures
153196
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
153246
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
153197
153247
  * @param {object} [params] extra parameters specific to the okx api endpoint
153198
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
153248
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
153199
153249
  */
153200
153250
  if (symbol === undefined) {
153201
153251
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -153772,7 +153822,7 @@ class kuna extends _abstract_kuna_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
153772
153822
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
153773
153823
  * @param {int} [limit] the maximum amount of trades to fetch
153774
153824
  * @param {object} [params] extra parameters specific to the kuna api endpoint
153775
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
153825
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
153776
153826
  */
153777
153827
  await this.loadMarkets();
153778
153828
  const market = this.market(symbol);
@@ -153908,7 +153958,7 @@ class kuna extends _abstract_kuna_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
153908
153958
  * @name kuna#fetchBalance
153909
153959
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
153910
153960
  * @param {object} [params] extra parameters specific to the kuna api endpoint
153911
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
153961
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
153912
153962
  */
153913
153963
  await this.loadMarkets();
153914
153964
  const response = await this.privateGetMembersMe(params);
@@ -154651,7 +154701,7 @@ class latoken extends _abstract_latoken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
154651
154701
  * @name latoken#fetchBalance
154652
154702
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
154653
154703
  * @param {object} [params] extra parameters specific to the latoken api endpoint
154654
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
154704
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
154655
154705
  */
154656
154706
  await this.loadMarkets();
154657
154707
  const response = await this.privateGetAuthAccount(params);
@@ -154943,7 +154993,7 @@ class latoken extends _abstract_latoken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
154943
154993
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
154944
154994
  * @param {int} [limit] the maximum amount of trades to fetch
154945
154995
  * @param {object} [params] extra parameters specific to the latoken api endpoint
154946
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
154996
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
154947
154997
  */
154948
154998
  await this.loadMarkets();
154949
154999
  const market = this.market(symbol);
@@ -156187,7 +156237,7 @@ class lbank extends _abstract_lbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
156187
156237
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
156188
156238
  * @param {int} [limit] the maximum amount of trades to fetch
156189
156239
  * @param {object} [params] extra parameters specific to the lbank api endpoint
156190
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
156240
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
156191
156241
  */
156192
156242
  await this.loadMarkets();
156193
156243
  const market = this.market(symbol);
@@ -156289,7 +156339,7 @@ class lbank extends _abstract_lbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
156289
156339
  * @name lbank#fetchBalance
156290
156340
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
156291
156341
  * @param {object} [params] extra parameters specific to the lbank api endpoint
156292
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
156342
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
156293
156343
  */
156294
156344
  await this.loadMarkets();
156295
156345
  const response = await this.privatePostUserInfo(params);
@@ -157598,7 +157648,7 @@ class lbank2 extends _abstract_lbank2_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
157598
157648
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
157599
157649
  * @param {int} [limit] the maximum amount of trades to fetch
157600
157650
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
157601
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
157651
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
157602
157652
  */
157603
157653
  await this.loadMarkets();
157604
157654
  const market = this.market(symbol);
@@ -157854,7 +157904,7 @@ class lbank2 extends _abstract_lbank2_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
157854
157904
  * @see https://www.lbank.info/en-US/docs/index.html#account-information
157855
157905
  * @see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
157856
157906
  * @param {object} [params] extra parameters specific to the lbank2 api endpoint
157857
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
157907
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
157858
157908
  */
157859
157909
  await this.loadMarkets();
157860
157910
  let method = this.safeString(params, 'method');
@@ -159778,7 +159828,7 @@ class luno extends _abstract_luno_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
159778
159828
  * @name luno#fetchBalance
159779
159829
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
159780
159830
  * @param {object} [params] extra parameters specific to the luno api endpoint
159781
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
159831
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
159782
159832
  */
159783
159833
  await this.loadMarkets();
159784
159834
  const response = await this.privateGetBalance(params);
@@ -160163,7 +160213,7 @@ class luno extends _abstract_luno_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
160163
160213
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
160164
160214
  * @param {int} [limit] the maximum amount of trades to fetch
160165
160215
  * @param {object} [params] extra parameters specific to the luno api endpoint
160166
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
160216
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
160167
160217
  */
160168
160218
  await this.loadMarkets();
160169
160219
  const market = this.market(symbol);
@@ -161132,7 +161182,7 @@ class lykke extends _abstract_lykke_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
161132
161182
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
161133
161183
  * @param {int} [limit] the maximum amount of trades to fetch
161134
161184
  * @param {object} [params] extra parameters specific to the lykke api endpoint
161135
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
161185
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
161136
161186
  */
161137
161187
  await this.loadMarkets();
161138
161188
  const market = this.market(symbol);
@@ -161193,7 +161243,7 @@ class lykke extends _abstract_lykke_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
161193
161243
  * @name lykke#fetchBalance
161194
161244
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
161195
161245
  * @param {object} [params] extra parameters specific to the lykke api endpoint
161196
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
161246
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
161197
161247
  */
161198
161248
  await this.loadMarkets();
161199
161249
  const response = await this.privateGetBalance(params);
@@ -162189,7 +162239,7 @@ class mercado extends _abstract_mercado_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
162189
162239
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
162190
162240
  * @param {int} [limit] the maximum amount of trades to fetch
162191
162241
  * @param {object} [params] extra parameters specific to the mercado api endpoint
162192
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
162242
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
162193
162243
  */
162194
162244
  await this.loadMarkets();
162195
162245
  const market = this.market(symbol);
@@ -162232,7 +162282,7 @@ class mercado extends _abstract_mercado_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
162232
162282
  * @name mercado#fetchBalance
162233
162283
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
162234
162284
  * @param {object} [params] extra parameters specific to the mercado api endpoint
162235
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
162285
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
162236
162286
  */
162237
162287
  await this.loadMarkets();
162238
162288
  const response = await this.privatePostGetAccountInfo(params);
@@ -163435,6 +163485,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
163435
163485
  '2003': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InvalidOrder,
163436
163486
  '2005': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFunds,
163437
163487
  '400': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest,
163488
+ // '500': OnMaintenance, // {"code": 500,"message": "Under maintenance, please try again later","announcement": "https://www.mexc.com/support/articles/17827791510263"}
163438
163489
  '600': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest,
163439
163490
  '70011': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.PermissionDenied,
163440
163491
  '88004': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFunds,
@@ -163528,7 +163579,8 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
163528
163579
  'Insufficient balance!': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFunds,
163529
163580
  'Bid price is great than max allow price': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InvalidOrder,
163530
163581
  'Invalid symbol.': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadSymbol,
163531
- 'Param error!': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest, // code:600
163582
+ 'Param error!': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest,
163583
+ 'maintenance': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.OnMaintenance, // {"code": 500,"message": "Under maintenance, please try again later","announcement": "https://www.mexc.com/support/articles/17827791510263"}
163532
163584
  },
163533
163585
  },
163534
163586
  });
@@ -164077,7 +164129,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
164077
164129
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
164078
164130
  * @param {int} [limit] the maximum amount of trades to fetch
164079
164131
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
164080
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
164132
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
164081
164133
  */
164082
164134
  await this.loadMarkets();
164083
164135
  const market = this.market(symbol);
@@ -166124,7 +166176,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
166124
166176
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#isolated-account
166125
166177
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
166126
166178
  * @param {string} [params.symbols] // required for margin, market id's separated by commas
166127
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
166179
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
166128
166180
  */
166129
166181
  await this.loadMarkets();
166130
166182
  let marketType = undefined;
@@ -166645,7 +166697,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
166645
166697
  * @param {int} [since] not used by mexc, but filtered internally by ccxt
166646
166698
  * @param {int} [limit] mexc limit is page_size default 20, maximum is 100
166647
166699
  * @param {object} [params] extra parameters specific to the mexc api endpoint
166648
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
166700
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
166649
166701
  */
166650
166702
  if (symbol === undefined) {
166651
166703
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -168991,7 +169043,7 @@ class ndax extends _abstract_ndax_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
168991
169043
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
168992
169044
  * @param {int} [limit] the maximum amount of trades to fetch
168993
169045
  * @param {object} [params] extra parameters specific to the ndax api endpoint
168994
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
169046
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
168995
169047
  */
168996
169048
  const omsId = this.safeInteger(this.options, 'omsId', 1);
168997
169049
  await this.loadMarkets();
@@ -169072,7 +169124,7 @@ class ndax extends _abstract_ndax_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
169072
169124
  * @name ndax#fetchBalance
169073
169125
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
169074
169126
  * @param {object} [params] extra parameters specific to the ndax api endpoint
169075
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
169127
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
169076
169128
  */
169077
169129
  const omsId = this.safeInteger(this.options, 'omsId', 1);
169078
169130
  await this.loadMarkets();
@@ -171048,7 +171100,7 @@ class novadax extends _abstract_novadax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
171048
171100
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
171049
171101
  * @param {int} [limit] the maximum amount of trades to fetch
171050
171102
  * @param {object} [params] extra parameters specific to the novadax api endpoint
171051
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
171103
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
171052
171104
  */
171053
171105
  await this.loadMarkets();
171054
171106
  const market = this.market(symbol);
@@ -171180,7 +171232,7 @@ class novadax extends _abstract_novadax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
171180
171232
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
171181
171233
  * @see https://doc.novadax.com/en-US/#get-account-balance
171182
171234
  * @param {object} [params] extra parameters specific to the novadax api endpoint
171183
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
171235
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
171184
171236
  */
171185
171237
  await this.loadMarkets();
171186
171238
  const response = await this.privateGetAccountGetBalance(params);
@@ -172501,7 +172553,7 @@ class oceanex extends _abstract_oceanex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
172501
172553
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
172502
172554
  * @param {int} [limit] the maximum amount of trades to fetch
172503
172555
  * @param {object} [params] extra parameters specific to the oceanex api endpoint
172504
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
172556
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
172505
172557
  */
172506
172558
  await this.loadMarkets();
172507
172559
  const market = this.market(symbol);
@@ -172648,7 +172700,7 @@ class oceanex extends _abstract_oceanex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
172648
172700
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
172649
172701
  * @see https://api.oceanex.pro/doc/v1/#account-info-post
172650
172702
  * @param {object} [params] extra parameters specific to the oceanex api endpoint
172651
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
172703
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
172652
172704
  */
172653
172705
  await this.loadMarkets();
172654
172706
  const response = await this.privateGetMembersMe(params);
@@ -174460,7 +174512,7 @@ class okcoin extends _abstract_okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
174460
174512
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
174461
174513
  * @param {int} [limit] the maximum amount of trades to fetch
174462
174514
  * @param {object} [params] extra parameters specific to the okcoin api endpoint
174463
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
174515
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
174464
174516
  */
174465
174517
  await this.loadMarkets();
174466
174518
  const market = this.market(symbol);
@@ -174844,7 +174896,7 @@ class okcoin extends _abstract_okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
174844
174896
  * @name okcoin#fetchBalance
174845
174897
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
174846
174898
  * @param {object} [params] extra parameters specific to the okcoin api endpoint
174847
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
174899
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
174848
174900
  */
174849
174901
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType');
174850
174902
  const type = this.safeString(params, 'type', defaultType);
@@ -178865,7 +178917,7 @@ class okx extends _abstract_okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
178865
178917
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
178866
178918
  * @param {int} [limit] the maximum amount of trades to fetch
178867
178919
  * @param {object} [params] extra parameters specific to the okx api endpoint
178868
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
178920
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
178869
178921
  */
178870
178922
  await this.loadMarkets();
178871
178923
  const market = this.market(symbol);
@@ -179044,9 +179096,9 @@ class okx extends _abstract_okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
179044
179096
  * @description fetches historical funding rate prices
179045
179097
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
179046
179098
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
179047
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure} to fetch
179099
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
179048
179100
  * @param {object} [params] extra parameters specific to the okx api endpoint
179049
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
179101
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
179050
179102
  */
179051
179103
  if (symbol === undefined) {
179052
179104
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -179230,7 +179282,7 @@ class okx extends _abstract_okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
179230
179282
  * @name okx#fetchBalance
179231
179283
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
179232
179284
  * @param {object} [params] extra parameters specific to the okx api endpoint
179233
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
179285
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
179234
179286
  */
179235
179287
  await this.loadMarkets();
179236
179288
  const [marketType, query] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
@@ -183824,7 +183876,7 @@ class paymium extends _abstract_paymium_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
183824
183876
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
183825
183877
  * @see https://paymium.github.io/api-documentation/#tag/User/paths/~1user/get
183826
183878
  * @param {object} [params] extra parameters specific to the paymium api endpoint
183827
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
183879
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
183828
183880
  */
183829
183881
  await this.loadMarkets();
183830
183882
  const response = await this.privateGetUser(params);
@@ -183967,7 +184019,7 @@ class paymium extends _abstract_paymium_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
183967
184019
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
183968
184020
  * @param {int} [limit] the maximum amount of trades to fetch
183969
184021
  * @param {object} [params] extra parameters specific to the paymium api endpoint
183970
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
184022
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
183971
184023
  */
183972
184024
  await this.loadMarkets();
183973
184025
  const market = this.market(symbol);
@@ -185668,7 +185720,7 @@ class phemex extends _abstract_phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
185668
185720
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
185669
185721
  * @param {int} [limit] the maximum amount of trades to fetch
185670
185722
  * @param {object} [params] extra parameters specific to the phemex api endpoint
185671
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
185723
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
185672
185724
  */
185673
185725
  await this.loadMarkets();
185674
185726
  const market = this.market(symbol);
@@ -186072,7 +186124,7 @@ class phemex extends _abstract_phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
186072
186124
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
186073
186125
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
186074
186126
  * @param {object} [params] extra parameters specific to the phemex api endpoint
186075
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
186127
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
186076
186128
  */
186077
186129
  await this.loadMarkets();
186078
186130
  let type = undefined;
@@ -188720,9 +188772,9 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
188720
188772
  'CORS': undefined,
188721
188773
  'spot': true,
188722
188774
  'margin': undefined,
188723
- 'swap': undefined,
188724
- 'future': undefined,
188725
- 'option': undefined,
188775
+ 'swap': false,
188776
+ 'future': false,
188777
+ 'option': false,
188726
188778
  'cancelAllOrders': true,
188727
188779
  'cancelOrder': true,
188728
188780
  'createDepositAddress': true,
@@ -189609,7 +189661,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189609
189661
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
189610
189662
  * @param {int} [limit] the maximum amount of trades to fetch
189611
189663
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
189612
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
189664
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
189613
189665
  */
189614
189666
  await this.loadMarkets();
189615
189667
  const market = this.market(symbol);
@@ -189790,6 +189842,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189790
189842
  };
189791
189843
  }
189792
189844
  const clientOrderId = this.safeString(order, 'clientOrderId');
189845
+ const triggerPrice = this.safeString2(order, 'triggerPrice', 'stopPrice');
189793
189846
  return this.safeOrder({
189794
189847
  'info': order,
189795
189848
  'id': id,
@@ -189804,8 +189857,8 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189804
189857
  'postOnly': undefined,
189805
189858
  'side': side,
189806
189859
  'price': price,
189807
- 'stopPrice': undefined,
189808
- 'triggerPrice': undefined,
189860
+ 'stopPrice': triggerPrice,
189861
+ 'triggerPrice': triggerPrice,
189809
189862
  'cost': undefined,
189810
189863
  'average': this.safeString(order, 'avgPrice'),
189811
189864
  'amount': amount,
@@ -189843,10 +189896,12 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189843
189896
  * @name poloniex#fetchOpenOrders
189844
189897
  * @description fetch all unfilled currently open orders
189845
189898
  * @see https://docs.poloniex.com/#authenticated-endpoints-orders-open-orders
189899
+ * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
189846
189900
  * @param {string} symbol unified market symbol
189847
189901
  * @param {int} [since] the earliest time in ms to fetch open orders for
189848
189902
  * @param {int} [limit] the maximum number of open orders structures to retrieve
189849
189903
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
189904
+ * @param {boolean} [params.stop] set true to fetch trigger orders instead of regular orders
189850
189905
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
189851
189906
  */
189852
189907
  await this.loadMarkets();
@@ -189859,7 +189914,15 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189859
189914
  if (limit !== undefined) {
189860
189915
  request['limit'] = limit;
189861
189916
  }
189862
- const response = await this.privateGetOrders(this.extend(request, params));
189917
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
189918
+ params = this.omit(params, ['trigger', 'stop']);
189919
+ let response = undefined;
189920
+ if (isTrigger) {
189921
+ response = await this.privateGetSmartorders(this.extend(request, params));
189922
+ }
189923
+ else {
189924
+ response = await this.privateGetOrders(this.extend(request, params));
189925
+ }
189863
189926
  //
189864
189927
  // [
189865
189928
  // {
@@ -189877,6 +189940,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189877
189940
  // "amount" : "0",
189878
189941
  // "filledQuantity" : "0",
189879
189942
  // "filledAmount" : "0",
189943
+ // "stopPrice": "3750.00", // for trigger orders
189880
189944
  // "createTime" : 16xxxxxxxxx26,
189881
189945
  // "updateTime" : 16xxxxxxxxx36
189882
189946
  // }
@@ -189886,36 +189950,46 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189886
189950
  return this.parseOrders(response, market, since, limit, extension);
189887
189951
  }
189888
189952
  async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
189889
- /**
189890
- * @method
189891
- * @name poloniex#createOrder
189892
- * @description create a trade order
189893
- * @see https://docs.poloniex.com/#authenticated-endpoints-orders-create-order
189894
- * @param {string} symbol unified symbol of the market to create an order in
189895
- * @param {string} type 'market' or 'limit'
189896
- * @param {string} side 'buy' or 'sell'
189897
- * @param {float} amount how much of currency you want to trade in units of base currency
189898
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
189899
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
189900
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
189901
- */
189902
- // if (type === 'market') {
189903
- // throw new ExchangeError (this.id + ' createOrder() does not accept market orders');
189904
- // }
189953
+ //
189954
+ // @method
189955
+ // @name poloniex#createOrder
189956
+ // @description create a trade order
189957
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-create-order
189958
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-create-order // trigger orders
189959
+ // @param {string} symbol unified symbol of the market to create an order in
189960
+ // @param {string} type 'market' or 'limit'
189961
+ // @param {string} side 'buy' or 'sell'
189962
+ // @param {float} amount how much of currency you want to trade in units of base currency
189963
+ // @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
189964
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
189965
+ // <<<<<<< HEAD
189966
+ // @param {float} [params.triggerPrice] *spot only* The price at which a trigger order is triggered at
189967
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
189968
+ // =======
189969
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
189970
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
189971
+ //
189905
189972
  await this.loadMarkets();
189906
189973
  const market = this.market(symbol);
189907
189974
  if (!market['spot']) {
189908
189975
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.NotSupported(this.id + ' createOrder() does not support ' + market['type'] + ' orders, only spot orders are accepted');
189909
189976
  }
189910
- const request = {
189977
+ let request = {
189911
189978
  'symbol': market['id'],
189912
189979
  'side': side,
189913
189980
  // 'timeInForce': timeInForce,
189914
189981
  // 'accountType': 'SPOT',
189915
189982
  // 'amount': amount,
189916
189983
  };
189917
- const orderRequest = this.orderRequest(symbol, type, side, amount, request, price, params);
189918
- let response = await this.privatePostOrders(this.extend(orderRequest[0], orderRequest[1]));
189984
+ const triggerPrice = this.safeNumber2(params, 'stopPrice', 'triggerPrice');
189985
+ [request, params] = this.orderRequest(symbol, type, side, amount, request, price, params);
189986
+ let response = undefined;
189987
+ if (triggerPrice !== undefined) {
189988
+ response = await this.privatePostSmartorders(this.extend(request, params));
189989
+ }
189990
+ else {
189991
+ response = await this.privatePostOrders(this.extend(request, params));
189992
+ }
189919
189993
  //
189920
189994
  // {
189921
189995
  // "id" : "78923648051920896",
@@ -189932,9 +190006,14 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189932
190006
  let upperCaseType = type.toUpperCase();
189933
190007
  const isMarket = upperCaseType === 'MARKET';
189934
190008
  const isPostOnly = this.isPostOnly(isMarket, upperCaseType === 'LIMIT_MAKER', params);
189935
- if (isPostOnly) {
190009
+ const triggerPrice = this.safeNumber2(params, 'stopPrice', 'triggerPrice');
190010
+ params = this.omit(params, ['postOnly', 'triggerPrice', 'stopPrice']);
190011
+ if (triggerPrice !== undefined) {
190012
+ upperCaseType = (price === undefined) ? 'STOP' : 'STOP_LIMIT';
190013
+ request['stopPrice'] = triggerPrice;
190014
+ }
190015
+ else if (isPostOnly) {
189936
190016
  upperCaseType = 'LIMIT_MAKER';
189937
- params = this.omit(params, 'postOnly');
189938
190017
  }
189939
190018
  request['type'] = upperCaseType;
189940
190019
  if (isMarket) {
@@ -189958,31 +190037,44 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189958
190037
  return [request, params];
189959
190038
  }
189960
190039
  async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
189961
- /**
189962
- * @method
189963
- * @name poloniex#editOrder
189964
- * @description edit a trade order
189965
- * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-replace-order
189966
- * @param {string} id order id
189967
- * @param {string} symbol unified symbol of the market to create an order in
189968
- * @param {string} type 'market' or 'limit'
189969
- * @param {string} side 'buy' or 'sell'
189970
- * @param {float} amount how much of the currency you want to trade in units of the base currency
189971
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
189972
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
189973
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
189974
- */
190040
+ //
190041
+ // @method
190042
+ // @name poloniex#editOrder
190043
+ // @description edit a trade order
190044
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-replace-order
190045
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-replace-order
190046
+ // @param {string} id order id
190047
+ // @param {string} symbol unified symbol of the market to create an order in
190048
+ // @param {string} type 'market' or 'limit'
190049
+ // @param {string} side 'buy' or 'sell'
190050
+ // @param {float} [amount] how much of the currency you want to trade in units of the base currency
190051
+ // @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
190052
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190053
+ // <<<<<<< HEAD
190054
+ // @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
190055
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190056
+ // =======
190057
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190058
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190059
+ //
189975
190060
  await this.loadMarkets();
189976
190061
  const market = this.market(symbol);
189977
190062
  if (!market['spot']) {
189978
190063
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.NotSupported(this.id + ' editOrder() does not support ' + market['type'] + ' orders, only spot orders are accepted');
189979
190064
  }
189980
- const request = {
190065
+ let request = {
189981
190066
  'id': id,
189982
190067
  // 'timeInForce': timeInForce,
189983
190068
  };
189984
- const orderRequest = this.orderRequest(symbol, type, side, amount, request, price, params);
189985
- let response = await this.privatePutOrdersId(this.extend(orderRequest[0], orderRequest[1]));
190069
+ const triggerPrice = this.safeNumber2(params, 'stopPrice', 'triggerPrice');
190070
+ [request, params] = this.orderRequest(symbol, type, side, amount, request, price, params);
190071
+ let response = undefined;
190072
+ if (triggerPrice !== undefined) {
190073
+ response = await this.privatePutSmartordersId(this.extend(request, params));
190074
+ }
190075
+ else {
190076
+ response = await this.privatePutOrdersId(this.extend(request, params));
190077
+ }
189986
190078
  //
189987
190079
  // {
189988
190080
  // "id" : "78923648051920896",
@@ -189995,16 +190087,22 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189995
190087
  return this.parseOrder(response, market);
189996
190088
  }
189997
190089
  async cancelOrder(id, symbol = undefined, params = {}) {
189998
- /**
189999
- * @method
190000
- * @name poloniex#cancelOrder
190001
- * @description cancels an open order
190002
- * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-order-by-id
190003
- * @param {string} id order id
190004
- * @param {string} symbol unified symbol of the market the order was made in
190005
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
190006
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190007
- */
190090
+ //
190091
+ // @method
190092
+ // @name poloniex#cancelOrder
190093
+ // @description cancels an open order
190094
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-order-by-id
190095
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-order-by-id // trigger orders
190096
+ // @param {string} id order id
190097
+ // @param {string} symbol unified symbol of the market the order was made in
190098
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190099
+ // <<<<<<< HEAD
190100
+ // @param {boolean} [params.trigger] true if canceling a trigger order
190101
+ // @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190102
+ // =======
190103
+ // @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190104
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190105
+ //
190008
190106
  await this.loadMarkets();
190009
190107
  const request = {};
190010
190108
  const clientOrderId = this.safeValue(params, 'clientOrderId');
@@ -190012,8 +190110,15 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190012
190110
  id = clientOrderId;
190013
190111
  }
190014
190112
  request['id'] = id;
190015
- params = this.omit(params, 'clientOrderId');
190016
- const response = await this.privateDeleteOrdersId(this.extend(request, params));
190113
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
190114
+ params = this.omit(params, ['clientOrderId', 'trigger', 'stop']);
190115
+ let response = undefined;
190116
+ if (isTrigger) {
190117
+ response = await this.privateDeleteSmartordersId(this.extend(request, params));
190118
+ }
190119
+ else {
190120
+ response = await this.privateDeleteOrdersId(this.extend(request, params));
190121
+ }
190017
190122
  //
190018
190123
  // {
190019
190124
  // "orderId":"210832697138888704",
@@ -190026,18 +190131,25 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190026
190131
  return this.parseOrder(response);
190027
190132
  }
190028
190133
  async cancelAllOrders(symbol = undefined, params = {}) {
190029
- /**
190030
- * @method
190031
- * @name poloniex#cancelAllOrders
190032
- * @description cancel all open orders
190033
- * @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
190034
- * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
190035
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
190036
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190037
- */
190134
+ //
190135
+ // @method
190136
+ // @name poloniex#cancelAllOrders
190137
+ // @description cancel all open orders
190138
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
190139
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders // trigger orders
190140
+ // @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
190141
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190142
+ // <<<<<<< HEAD
190143
+ // @param {boolean} [params.trigger] true if canceling trigger orders
190144
+ // @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190145
+ // =======
190146
+ // @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190147
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190148
+ //
190038
190149
  await this.loadMarkets();
190039
190150
  const request = {
190040
- // 'accountTypes': 'SPOT',
190151
+ // 'accountTypes': 'SPOT',
190152
+ 'symbols': [],
190041
190153
  };
190042
190154
  let market = undefined;
190043
190155
  if (symbol !== undefined) {
@@ -190046,7 +190158,15 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190046
190158
  market['id'],
190047
190159
  ];
190048
190160
  }
190049
- const response = await this.privateDeleteOrders(this.extend(request, params));
190161
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
190162
+ params = this.omit(params, ['trigger', 'stop']);
190163
+ let response = undefined;
190164
+ if (isTrigger) {
190165
+ response = await this.privateDeleteSmartorders(this.extend(request, params));
190166
+ }
190167
+ else {
190168
+ response = await this.privateDeleteOrders(this.extend(request, params));
190169
+ }
190050
190170
  //
190051
190171
  // [
190052
190172
  // {
@@ -190064,25 +190184,40 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190064
190184
  // }
190065
190185
  // ]
190066
190186
  //
190067
- return response;
190187
+ return this.parseOrders(response, market);
190068
190188
  }
190069
190189
  async fetchOrder(id, symbol = undefined, params = {}) {
190070
- /**
190071
- * @method
190072
- * @name poloniex#fetchOrder
190073
- * @description fetch an order by it's id
190074
- * @see https://docs.poloniex.com/#authenticated-endpoints-orders-order-details
190075
- * @param {string} id order id
190076
- * @param {string} symbol unified market symbol, default is undefined
190077
- * @param {object} [params] extra parameters specific to the poloniex api endpoint
190078
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190079
- */
190190
+ //
190191
+ // @method
190192
+ // @name poloniex#fetchOrder
190193
+ // @description fetch an order by it's id
190194
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-order-details
190195
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
190196
+ // @param {string} id order id
190197
+ // @param {string} symbol unified market symbol, default is undefined
190198
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190199
+ // <<<<<<< HEAD
190200
+ // @param {boolean} [params.trigger] true if fetching a trigger order
190201
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190202
+ // =======
190203
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190204
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190205
+ //
190080
190206
  await this.loadMarkets();
190081
190207
  id = id.toString();
190082
190208
  const request = {
190083
190209
  'id': id,
190084
190210
  };
190085
- const response = await this.privateGetOrdersId(this.extend(request, params));
190211
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
190212
+ params = this.omit(params, ['trigger', 'stop']);
190213
+ let response = undefined;
190214
+ if (isTrigger) {
190215
+ response = await this.privateGetSmartordersId(this.extend(request, params));
190216
+ response = this.safeValue(response, 0);
190217
+ }
190218
+ else {
190219
+ response = await this.privateGetOrdersId(this.extend(request, params));
190220
+ }
190086
190221
  //
190087
190222
  // {
190088
190223
  // "id": "21934611974062080",
@@ -190099,6 +190234,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190099
190234
  // "amount": "0.00",
190100
190235
  // "filledQuantity": "0.00",
190101
190236
  // "filledAmount": "0.00",
190237
+ // "stopPrice": "3750.00", // for trigger orders
190102
190238
  // "createTime": 1646196019020,
190103
190239
  // "updateTime": 1646196019020
190104
190240
  // }
@@ -190182,7 +190318,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190182
190318
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
190183
190319
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-all-account-balances
190184
190320
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
190185
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
190321
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
190186
190322
  */
190187
190323
  await this.loadMarkets();
190188
190324
  const request = {
@@ -191582,7 +191718,7 @@ class poloniexfutures extends _abstract_poloniexfutures_js__WEBPACK_IMPORTED_MOD
191582
191718
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
191583
191719
  * @param {int} [limit] the maximum amount of trades to fetch
191584
191720
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
191585
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
191721
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
191586
191722
  */
191587
191723
  await this.loadMarkets();
191588
191724
  const market = this.market(symbol);
@@ -191704,7 +191840,7 @@ class poloniexfutures extends _abstract_poloniexfutures_js__WEBPACK_IMPORTED_MOD
191704
191840
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
191705
191841
  * @see https://futures-docs.poloniex.com/#get-account-overview
191706
191842
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
191707
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
191843
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
191708
191844
  */
191709
191845
  await this.loadMarkets();
191710
191846
  const currencyId = this.safeString(params, 'currency');
@@ -193592,7 +193728,7 @@ class ascendex extends _ascendex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
193592
193728
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
193593
193729
  * @param {int} [limit] the maximum amount of trades to fetch
193594
193730
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
193595
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
193731
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
193596
193732
  */
193597
193733
  await this.loadMarkets();
193598
193734
  const market = this.market(symbol);
@@ -193797,7 +193933,7 @@ class ascendex extends _ascendex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
193797
193933
  * @name ascendex#watchBalance
193798
193934
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
193799
193935
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
193800
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
193936
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
193801
193937
  */
193802
193938
  await this.loadMarkets();
193803
193939
  const [type, query] = this.handleMarketTypeAndParams('watchBalance', undefined, params);
@@ -194873,7 +195009,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
194873
195009
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
194874
195010
  * @param {int} [limit] the maximum amount of trades to fetch
194875
195011
  * @param {object} [params] extra parameters specific to the binance api endpoint
194876
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
195012
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
194877
195013
  */
194878
195014
  await this.loadMarkets();
194879
195015
  const market = this.market(symbol);
@@ -195637,7 +195773,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
195637
195773
  * @param {string|undefined} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
195638
195774
  * @param {string|undefined} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
195639
195775
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
195640
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
195776
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
195641
195777
  */
195642
195778
  await this.loadMarkets();
195643
195779
  const url = this.urls['api']['ws']['ws'];
@@ -195714,7 +195850,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
195714
195850
  * @name binance#watchBalance
195715
195851
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
195716
195852
  * @param {object} [params] extra parameters specific to the binance api endpoint
195717
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
195853
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
195718
195854
  */
195719
195855
  await this.loadMarkets();
195720
195856
  await this.authenticate(params);
@@ -195878,7 +196014,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
195878
196014
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
195879
196015
  * @param {object} [params] extra parameters specific to the binance api endpoint
195880
196016
  * @param {boolean} params.test test order, default false
195881
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
196017
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
195882
196018
  */
195883
196019
  await this.loadMarkets();
195884
196020
  this.checkIsSpot('createOrderWs', symbol, params);
@@ -196012,7 +196148,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
196012
196148
  * @param {float} amount how much of the currency you want to trade in units of the base currency
196013
196149
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
196014
196150
  * @param {object} [params] extra parameters specific to the binance api endpoint
196015
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
196151
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
196016
196152
  */
196017
196153
  await this.loadMarkets();
196018
196154
  this.checkIsSpot('editOrderWs', symbol, params);
@@ -196116,7 +196252,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
196116
196252
  * @param {string} symbol unified market symbol, default is undefined
196117
196253
  * @param {object} [params] extra parameters specific to the binance api endpoint
196118
196254
  * @param {string|undefined} [params.cancelRestrictions] Supported values: ONLY_NEW - Cancel will succeed if the order status is NEW. ONLY_PARTIALLY_FILLED - Cancel will succeed if order status is PARTIALLY_FILLED.
196119
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
196255
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
196120
196256
  */
196121
196257
  await this.loadMarkets();
196122
196258
  if (symbol === undefined) {
@@ -197118,7 +197254,7 @@ class bitfinex extends _bitfinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
197118
197254
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
197119
197255
  * @param {int} [limit] the maximum amount of trades to fetch
197120
197256
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
197121
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
197257
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
197122
197258
  */
197123
197259
  await this.loadMarkets();
197124
197260
  symbol = this.symbol(symbol);
@@ -197933,7 +198069,7 @@ class bitfinex2 extends _bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
197933
198069
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
197934
198070
  * @param {int} [limit] the maximum amount of trades to fetch
197935
198071
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
197936
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
198072
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
197937
198073
  */
197938
198074
  const trades = await this.subscribe('trades', symbol, params);
197939
198075
  if (this.newUpdates) {
@@ -198423,7 +198559,7 @@ class bitfinex2 extends _bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
198423
198559
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
198424
198560
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
198425
198561
  * @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
198426
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
198562
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
198427
198563
  */
198428
198564
  await this.loadMarkets();
198429
198565
  const balanceType = this.safeString(params, 'wallet', 'exchange'); // exchange, margin
@@ -199383,7 +199519,7 @@ class bitget extends _bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
199383
199519
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
199384
199520
  * @param {int} [limit] the maximum amount of trades to fetch
199385
199521
  * @param {object} [params] extra parameters specific to the bitget api endpoint
199386
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
199522
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
199387
199523
  */
199388
199524
  await this.loadMarkets();
199389
199525
  const market = this.market(symbol);
@@ -199913,7 +200049,7 @@ class bitget extends _bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
199913
200049
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
199914
200050
  * @param {object} [params] extra parameters specific to the bitget api endpoint
199915
200051
  * @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
199916
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
200052
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
199917
200053
  */
199918
200054
  let type = undefined;
199919
200055
  [type, params] = this.handleMarketTypeAndParams('watchOrders', undefined, params);
@@ -200255,7 +200391,7 @@ class bitmart extends _bitmart_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
200255
200391
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
200256
200392
  * @param {int} [limit] the maximum amount of trades to fetch
200257
200393
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
200258
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
200394
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
200259
200395
  */
200260
200396
  await this.loadMarkets();
200261
200397
  symbol = this.symbol(symbol);
@@ -201127,7 +201263,7 @@ class bitmex extends _bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
201127
201263
  * @name bitmex#watchBalance
201128
201264
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
201129
201265
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
201130
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
201266
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
201131
201267
  */
201132
201268
  await this.loadMarkets();
201133
201269
  await this.authenticate();
@@ -201337,7 +201473,7 @@ class bitmex extends _bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
201337
201473
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
201338
201474
  * @param {int} [limit] the maximum amount of trades to fetch
201339
201475
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
201340
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
201476
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
201341
201477
  */
201342
201478
  await this.loadMarkets();
201343
201479
  const market = this.market(symbol);
@@ -202289,7 +202425,7 @@ class bitopro extends _bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
202289
202425
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
202290
202426
  * @param {int} [limit] the maximum amount of trades to fetch
202291
202427
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
202292
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
202428
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
202293
202429
  */
202294
202430
  await this.loadMarkets();
202295
202431
  const market = this.market(symbol);
@@ -202424,7 +202560,7 @@ class bitopro extends _bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
202424
202560
  * @name bitopro#watchBalance
202425
202561
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
202426
202562
  * @param {object} [params] extra parameters specific to the bitopro api endpoint
202427
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
202563
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
202428
202564
  */
202429
202565
  this.checkRequiredCredentials();
202430
202566
  await this.loadMarkets();
@@ -202582,7 +202718,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202582
202718
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
202583
202719
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
202584
202720
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
202585
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
202721
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
202586
202722
  */
202587
202723
  await this.authenticate(params);
202588
202724
  const url = this.urls['api']['ws'];
@@ -202642,7 +202778,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202642
202778
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
202643
202779
  * @param {string} symbol unified symbol of the market to fetch the ticker for
202644
202780
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
202645
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
202781
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
202646
202782
  */
202647
202783
  await this.loadMarkets();
202648
202784
  const market = this.market(symbol);
@@ -202668,7 +202804,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202668
202804
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
202669
202805
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
202670
202806
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
202671
- * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
202807
+ * @returns {object} an array of [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
202672
202808
  */
202673
202809
  await this.loadMarkets();
202674
202810
  symbols = this.marketSymbols(symbols);
@@ -202766,7 +202902,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202766
202902
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
202767
202903
  * @param {int} [limit] the maximum amount of trades to fetch
202768
202904
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
202769
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
202905
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
202770
202906
  */
202771
202907
  await this.loadMarkets();
202772
202908
  let messageHash = 'myTrades';
@@ -202809,7 +202945,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202809
202945
  * @param {string} symbol unified symbol of the market to fetch the order book for
202810
202946
  * @param {int} [limit] the maximum amount of order book entries to return
202811
202947
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
202812
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
202948
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
202813
202949
  */
202814
202950
  await this.loadMarkets();
202815
202951
  const market = this.market(symbol);
@@ -202928,7 +203064,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202928
203064
  * @param {int} [limit] the maximum number of orde structures to retrieve
202929
203065
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
202930
203066
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
202931
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
203067
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
202932
203068
  */
202933
203069
  await this.loadMarkets();
202934
203070
  let messageHash = 'orders';
@@ -203910,7 +204046,7 @@ class bitrue extends _bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
203910
204046
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
203911
204047
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
203912
204048
  * @param {object} [params] extra parameters specific to the bitrue api endpoint
203913
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
204049
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
203914
204050
  */
203915
204051
  const url = await this.authenticate();
203916
204052
  const messageHash = 'balance';
@@ -204486,7 +204622,7 @@ class bitstamp extends _bitstamp_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
204486
204622
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
204487
204623
  * @param {int} [limit] the maximum amount of trades to fetch
204488
204624
  * @param {object} [params] extra parameters specific to the bitstamp api endpoint
204489
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
204625
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
204490
204626
  */
204491
204627
  await this.loadMarkets();
204492
204628
  const market = this.market(symbol);
@@ -205146,7 +205282,7 @@ class bittrex extends _bittrex_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */
205146
205282
  * @name bittrex#watchBalance
205147
205283
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
205148
205284
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
205149
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
205285
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
205150
205286
  */
205151
205287
  await this.loadMarkets();
205152
205288
  const authentication = await this.authenticate();
@@ -205336,7 +205472,7 @@ class bittrex extends _bittrex_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */
205336
205472
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
205337
205473
  * @param {int} [limit] the maximum amount of trades to fetch
205338
205474
  * @param {object} [params] extra parameters specific to the bittrex api endpoint
205339
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
205475
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
205340
205476
  */
205341
205477
  await this.loadMarkets();
205342
205478
  symbol = this.symbol(symbol);
@@ -205881,7 +206017,7 @@ class bitvavo extends _bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
205881
206017
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
205882
206018
  * @param {int} [limit] the maximum amount of trades to fetch
205883
206019
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
205884
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
206020
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
205885
206021
  */
205886
206022
  await this.loadMarkets();
205887
206023
  symbol = this.symbol(symbol);
@@ -206533,7 +206669,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206533
206669
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
206534
206670
  * @see https://exchange.blockchain.com/api/#balances
206535
206671
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
206536
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
206672
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
206537
206673
  */
206538
206674
  await this.authenticate(params);
206539
206675
  const messageHash = 'balance';
@@ -206683,7 +206819,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206683
206819
  * @see https://exchange.blockchain.com/api/#ticker
206684
206820
  * @param {string} symbol unified symbol of the market to fetch the ticker for
206685
206821
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
206686
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
206822
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
206687
206823
  */
206688
206824
  await this.loadMarkets();
206689
206825
  const market = this.market(symbol);
@@ -206792,7 +206928,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206792
206928
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
206793
206929
  * @param {int} [limit] the maximum amount of trades to fetch
206794
206930
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
206795
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
206931
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
206796
206932
  */
206797
206933
  await this.loadMarkets();
206798
206934
  const market = this.market(symbol);
@@ -206891,7 +207027,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206891
207027
  * @param {int} [since] the earliest time in ms to fetch orders for
206892
207028
  * @param {int} [limit] the maximum number of orde structures to retrieve
206893
207029
  * @param {object} [params] extra parameters specific to the blockchaincom api endpoint
206894
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
207030
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
206895
207031
  */
206896
207032
  await this.loadMarkets();
206897
207033
  await this.authenticate();
@@ -207105,7 +207241,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
207105
207241
  * @param {int} [limit] the maximum amount of order book entries to return
207106
207242
  * @param {objectConstructor} [params] extra parameters specific to the blockchaincom api endpoint
207107
207243
  * @param {string} [params.type] accepts l2 or l3 for level 2 or level 3 order book
207108
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
207244
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
207109
207245
  */
207110
207246
  await this.loadMarkets();
207111
207247
  const market = this.market(symbol);
@@ -208397,7 +208533,7 @@ class bybit extends _bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
208397
208533
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
208398
208534
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
208399
208535
  * @param {object} [params] extra parameters specific to the bybit api endpoint
208400
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
208536
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
208401
208537
  */
208402
208538
  await this.loadMarkets();
208403
208539
  const method = 'watchBalance';
@@ -208964,7 +209100,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
208964
209100
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
208965
209101
  * @see https://cex.io/websocket-api#get-balance
208966
209102
  * @param {object} [params] extra parameters specific to the cex api endpoint
208967
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
209103
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
208968
209104
  */
208969
209105
  await this.authenticate(params);
208970
209106
  const messageHash = 'balance';
@@ -209026,7 +209162,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
209026
209162
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
209027
209163
  * @param {int} [limit] the maximum amount of trades to fetch
209028
209164
  * @param {object} [params] extra parameters specific to the cex api endpoint
209029
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
209165
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
209030
209166
  */
209031
209167
  await this.loadMarkets();
209032
209168
  const market = this.market(symbol);
@@ -209298,7 +209434,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
209298
209434
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
209299
209435
  * @param {int} [limit] the maximum amount of trades to fetch
209300
209436
  * @param {object} [params] extra parameters specific to the cex api endpoint
209301
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
209437
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
209302
209438
  */
209303
209439
  if (symbol === undefined) {
209304
209440
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -209336,7 +209472,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
209336
209472
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
209337
209473
  * @param {int} [limit] the maximum amount of trades to fetch
209338
209474
  * @param {object} [params] extra parameters specific to the cex api endpoint
209339
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
209475
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
209340
209476
  */
209341
209477
  if (symbol === undefined) {
209342
209478
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -210214,7 +210350,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210214
210350
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
210215
210351
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
210216
210352
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
210217
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
210353
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
210218
210354
  */
210219
210355
  const name = 'ticker';
210220
210356
  return await this.subscribe(name, symbol, params);
@@ -210227,7 +210363,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210227
210363
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
210228
210364
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
210229
210365
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
210230
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
210366
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
210231
210367
  */
210232
210368
  if (symbols === undefined) {
210233
210369
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' watchTickers requires a symbols argument');
@@ -210368,7 +210504,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210368
210504
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
210369
210505
  * @param {int} [limit] the maximum amount of trades to fetch
210370
210506
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
210371
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
210507
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
210372
210508
  */
210373
210509
  await this.loadMarkets();
210374
210510
  symbol = this.symbol(symbol);
@@ -210389,7 +210525,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210389
210525
  * @param {int} [since] the earliest time in ms to fetch orders for
210390
210526
  * @param {int} [limit] the maximum number of orde structures to retrieve
210391
210527
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
210392
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
210528
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
210393
210529
  */
210394
210530
  await this.loadMarkets();
210395
210531
  const name = 'user';
@@ -210408,7 +210544,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210408
210544
  * @param {string} symbol unified symbol of the market to fetch the order book for
210409
210545
  * @param {int} [limit] the maximum amount of order book entries to return
210410
210546
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
210411
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
210547
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
210412
210548
  */
210413
210549
  await this.loadMarkets();
210414
210550
  const name = 'level2';
@@ -210872,7 +211008,7 @@ class coinbasepro extends _coinbasepro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defau
210872
211008
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
210873
211009
  * @param {int} [limit] the maximum amount of trades to fetch
210874
211010
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
210875
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
211011
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
210876
211012
  */
210877
211013
  await this.loadMarkets();
210878
211014
  symbol = this.symbol(symbol);
@@ -211808,7 +211944,7 @@ class coinex extends _coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
211808
211944
  * @name coinex#watchBalance
211809
211945
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
211810
211946
  * @param {object} [params] extra parameters specific to the coinex api endpoint
211811
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
211947
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
211812
211948
  */
211813
211949
  await this.loadMarkets();
211814
211950
  await this.authenticate(params);
@@ -212036,7 +212172,7 @@ class coinex extends _coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
212036
212172
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
212037
212173
  * @param {int} [limit] the maximum amount of trades to fetch
212038
212174
  * @param {object} [params] extra parameters specific to the coinex api endpoint
212039
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
212175
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
212040
212176
  */
212041
212177
  await this.loadMarkets();
212042
212178
  const market = this.market(symbol);
@@ -212810,7 +212946,7 @@ class cryptocom extends _cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
212810
212946
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
212811
212947
  * @param {int} [limit] the maximum amount of trades to fetch
212812
212948
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
212813
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
212949
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
212814
212950
  */
212815
212951
  await this.loadMarkets();
212816
212952
  const market = this.market(symbol);
@@ -213085,7 +213221,7 @@ class cryptocom extends _cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
213085
213221
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
213086
213222
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-balance
213087
213223
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
213088
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
213224
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
213089
213225
  */
213090
213226
  const messageHash = 'user.balance';
213091
213227
  return await this.watchPrivateSubscribe(messageHash, params);
@@ -213166,7 +213302,7 @@ class cryptocom extends _cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
213166
213302
  * @param {float} amount how much of currency you want to trade in units of base currency
213167
213303
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
213168
213304
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
213169
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
213305
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
213170
213306
  */
213171
213307
  await this.loadMarkets();
213172
213308
  params = this.createOrderRequest(symbol, type, side, amount, price, params);
@@ -213774,7 +213910,7 @@ class currencycom extends _currencycom_js__WEBPACK_IMPORTED_MODULE_0__/* ["defau
213774
213910
  * @name currencycom#watchBalance
213775
213911
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
213776
213912
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
213777
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
213913
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
213778
213914
  */
213779
213915
  await this.loadMarkets();
213780
213916
  return await this.watchPrivate('/api/v1/account', params);
@@ -213817,7 +213953,7 @@ class currencycom extends _currencycom_js__WEBPACK_IMPORTED_MODULE_0__/* ["defau
213817
213953
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
213818
213954
  * @param {int} [limit] the maximum amount of trades to fetch
213819
213955
  * @param {object} [params] extra parameters specific to the currencycom api endpoint
213820
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
213956
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
213821
213957
  */
213822
213958
  await this.loadMarkets();
213823
213959
  symbol = this.symbol(symbol);
@@ -214078,7 +214214,7 @@ class deribit extends _deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
214078
214214
  * @see https://docs.deribit.com/#user-portfolio-currency
214079
214215
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
214080
214216
  * @param {object} [params] extra parameters specific to the deribit api endpoint
214081
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
214217
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
214082
214218
  */
214083
214219
  await this.authenticate(params);
214084
214220
  const messageHash = 'balance';
@@ -214236,7 +214372,7 @@ class deribit extends _deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
214236
214372
  * @param {int} [limit] the maximum amount of trades to fetch
214237
214373
  * @param {object} [params] extra parameters specific to the deribit api endpoint
214238
214374
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
214239
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
214375
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
214240
214376
  */
214241
214377
  await this.loadMarkets();
214242
214378
  const market = this.market(symbol);
@@ -214316,7 +214452,7 @@ class deribit extends _deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
214316
214452
  * @param {int} [limit] the maximum amount of trades to fetch
214317
214453
  * @param {object} [params] extra parameters specific to the deribit api endpoint
214318
214454
  * @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
214319
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
214455
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
214320
214456
  */
214321
214457
  await this.authenticate(params);
214322
214458
  if (symbol !== undefined) {
@@ -214899,7 +215035,7 @@ class exmo extends _exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
214899
215035
  * @name exmo#watchBalance
214900
215036
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
214901
215037
  * @param {object} [params] extra parameters specific to the exmo api endpoint
214902
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
215038
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
214903
215039
  */
214904
215040
  await this.authenticate(params);
214905
215041
  const [type, query] = this.handleMarketTypeAndParams('watchBalance', undefined, params);
@@ -215114,7 +215250,7 @@ class exmo extends _exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
215114
215250
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
215115
215251
  * @param {int} [limit] the maximum amount of trades to fetch
215116
215252
  * @param {object} [params] extra parameters specific to the exmo api endpoint
215117
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
215253
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
215118
215254
  */
215119
215255
  await this.loadMarkets();
215120
215256
  const market = this.market(symbol);
@@ -215178,7 +215314,7 @@ class exmo extends _exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
215178
215314
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
215179
215315
  * @param {int} [limit] the maximum amount of trades to fetch
215180
215316
  * @param {object} [params] extra parameters specific to the exmo api endpoint
215181
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
215317
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
215182
215318
  */
215183
215319
  await this.loadMarkets();
215184
215320
  await this.authenticate(params);
@@ -215899,7 +216035,7 @@ class gate extends _gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
215899
216035
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
215900
216036
  * @param {int} [limit] the maximum amount of trades to fetch
215901
216037
  * @param {object} [params] extra parameters specific to the gate api endpoint
215902
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
216038
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
215903
216039
  */
215904
216040
  await this.loadMarkets();
215905
216041
  const market = this.market(symbol);
@@ -216133,7 +216269,7 @@ class gate extends _gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
216133
216269
  * @name gate#watchBalance
216134
216270
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
216135
216271
  * @param {object} [params] extra parameters specific to the gate api endpoint
216136
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
216272
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
216137
216273
  */
216138
216274
  await this.loadMarkets();
216139
216275
  let type = undefined;
@@ -216713,7 +216849,7 @@ class gemini extends _gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
216713
216849
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
216714
216850
  * @param {int} [limit] the maximum amount of trades to fetch
216715
216851
  * @param {object} [params] extra parameters specific to the gemini api endpoint
216716
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
216852
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
216717
216853
  */
216718
216854
  await this.loadMarkets();
216719
216855
  const market = this.market(symbol);
@@ -217533,7 +217669,7 @@ class hitbtc extends _hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
217533
217669
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
217534
217670
  * @param {int} [limit] the maximum amount of trades to fetch
217535
217671
  * @param {object} [params] extra parameters specific to the hitbtc api endpoint
217536
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
217672
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
217537
217673
  */
217538
217674
  const trades = await this.watchPublic(symbol, 'trades', undefined, params);
217539
217675
  if (this.newUpdates) {
@@ -217831,7 +217967,7 @@ class hollaex extends _hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
217831
217967
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
217832
217968
  * @param {int} [limit] the maximum amount of trades to fetch
217833
217969
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
217834
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
217970
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
217835
217971
  */
217836
217972
  await this.loadMarkets();
217837
217973
  const market = this.market(symbol);
@@ -218085,7 +218221,7 @@ class hollaex extends _hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
218085
218221
  * @name hollaex#watchBalance
218086
218222
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
218087
218223
  * @param {object} [params] extra parameters specific to the hollaex api endpoint
218088
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
218224
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
218089
218225
  */
218090
218226
  const messageHash = 'wallet';
218091
218227
  return await this.watchPrivate(messageHash, params);
@@ -218510,7 +218646,7 @@ class huobi extends _huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
218510
218646
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
218511
218647
  * @param {int} [limit] the maximum amount of trades to fetch
218512
218648
  * @param {object} [params] extra parameters specific to the huobi api endpoint
218513
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
218649
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
218514
218650
  */
218515
218651
  await this.loadMarkets();
218516
218652
  const market = this.market(symbol);
@@ -219506,7 +219642,7 @@ class huobi extends _huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
219506
219642
  * @name huobi#watchBalance
219507
219643
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
219508
219644
  * @param {object} [params] extra parameters specific to the huobi api endpoint
219509
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
219645
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
219510
219646
  */
219511
219647
  let type = this.safeString2(this.options, 'watchBalance', 'defaultType', 'spot');
219512
219648
  type = this.safeString(params, 'type', type);
@@ -220625,7 +220761,7 @@ class huobijp extends _huobijp_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
220625
220761
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
220626
220762
  * @param {int} [limit] the maximum amount of trades to fetch
220627
220763
  * @param {object} [params] extra parameters specific to the huobijp api endpoint
220628
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
220764
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
220629
220765
  */
220630
220766
  await this.loadMarkets();
220631
220767
  const market = this.market(symbol);
@@ -221293,7 +221429,7 @@ class idex extends _idex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
221293
221429
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
221294
221430
  * @param {int} [limit] the maximum amount of trades to fetch
221295
221431
  * @param {object} [params] extra parameters specific to the idex api endpoint
221296
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
221432
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
221297
221433
  */
221298
221434
  await this.loadMarkets();
221299
221435
  const market = this.market(symbol);
@@ -221912,7 +222048,7 @@ class independentreserve extends _independentreserve_js__WEBPACK_IMPORTED_MODULE
221912
222048
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
221913
222049
  * @param {int} [limit] the maximum amount of trades to fetch
221914
222050
  * @param {object} [params] extra parameters specific to the independentreserve api endpoint
221915
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
222051
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
221916
222052
  */
221917
222053
  await this.loadMarkets();
221918
222054
  const market = this.market(symbol);
@@ -222275,7 +222411,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222275
222411
  * @param {float} amount how much of currency you want to trade in units of base currency
222276
222412
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
222277
222413
  * @param {object} [params] extra parameters specific to the kraken api endpoint
222278
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
222414
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222279
222415
  */
222280
222416
  await this.loadMarkets();
222281
222417
  const token = await this.authenticate();
@@ -222332,7 +222468,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222332
222468
  * @param {float} amount how much of the currency you want to trade in units of the base currency
222333
222469
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
222334
222470
  * @param {object} [params] extra parameters specific to the kraken api endpoint
222335
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
222471
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222336
222472
  */
222337
222473
  await this.loadMarkets();
222338
222474
  const token = await this.authenticate();
@@ -222360,7 +222496,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222360
222496
  * @param {string[]} ids order ids
222361
222497
  * @param {string} symbol unified market symbol, default is undefined
222362
222498
  * @param {object} [params] extra parameters specific to the kraken api endpoint
222363
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
222499
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222364
222500
  */
222365
222501
  await this.loadMarkets();
222366
222502
  const token = await this.authenticate();
@@ -222384,7 +222520,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222384
222520
  * @param {string} id order id
222385
222521
  * @param {string} symbol unified symbol of the market the order was made in
222386
222522
  * @param {object} [params] extra parameters specific to the kraken api endpoint
222387
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
222523
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222388
222524
  */
222389
222525
  await this.loadMarkets();
222390
222526
  const token = await this.authenticate();
@@ -222421,7 +222557,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222421
222557
  * @description cancel all open orders
222422
222558
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
222423
222559
  * @param {object} [params] extra parameters specific to the kraken api endpoint
222424
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
222560
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222425
222561
  */
222426
222562
  if (symbol !== undefined) {
222427
222563
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' cancelAllOrdersWs () does not support cancelling orders in a specific market.');
@@ -222639,7 +222775,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222639
222775
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
222640
222776
  * @param {int} [limit] the maximum amount of trades to fetch
222641
222777
  * @param {object} [params] extra parameters specific to the kraken api endpoint
222642
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
222778
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
222643
222779
  */
222644
222780
  await this.loadMarkets();
222645
222781
  symbol = this.symbol(symbol);
@@ -223678,7 +223814,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223678
223814
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
223679
223815
  * @param {string} symbol unified symbol of the market to fetch the ticker for
223680
223816
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
223681
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
223817
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
223682
223818
  */
223683
223819
  const options = this.safeValue(this.options, 'watchTicker');
223684
223820
  const method = this.safeString(options, 'method', 'ticker'); // or ticker_lite
@@ -223694,7 +223830,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223694
223830
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
223695
223831
  * @param {string} symbol unified symbol of the market to fetch the ticker for
223696
223832
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
223697
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
223833
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
223698
223834
  */
223699
223835
  const method = this.safeString(this.options, 'watchTickerMethod', 'ticker'); // or ticker_lite
223700
223836
  const name = this.safeString2(params, 'method', 'watchTickerMethod', method);
@@ -223711,7 +223847,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223711
223847
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
223712
223848
  * @param {int} [limit] the maximum amount of trades to fetch
223713
223849
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
223714
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
223850
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
223715
223851
  */
223716
223852
  await this.loadMarkets();
223717
223853
  const name = 'trade';
@@ -223730,7 +223866,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223730
223866
  * @param {string} symbol unified symbol of the market to fetch the order book for
223731
223867
  * @param {int} [limit] not used by krakenfutures watchOrderBook
223732
223868
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
223733
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
223869
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
223734
223870
  */
223735
223871
  const orderbook = await this.subscribePublic('book', [symbol], params);
223736
223872
  return orderbook.limit();
@@ -223746,7 +223882,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223746
223882
  * @param {int} [since] not used by krakenfutures watchOrders
223747
223883
  * @param {int} [limit] not used by krakenfutures watchOrders
223748
223884
  * @param {object} [params] extra parameters specific to the krakenfutures api endpoint
223749
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
223885
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
223750
223886
  */
223751
223887
  await this.loadMarkets();
223752
223888
  const name = 'open_orders';
@@ -225138,7 +225274,7 @@ class kucoin extends _kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
225138
225274
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
225139
225275
  * @param {int} [limit] the maximum amount of trades to fetch
225140
225276
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
225141
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
225277
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
225142
225278
  */
225143
225279
  await this.loadMarkets();
225144
225280
  const url = await this.negotiate(false);
@@ -225570,7 +225706,7 @@ class kucoin extends _kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
225570
225706
  * @name kucoin#watchBalance
225571
225707
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
225572
225708
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
225573
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
225709
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
225574
225710
  */
225575
225711
  await this.loadMarkets();
225576
225712
  const url = await this.negotiate(true);
@@ -225910,7 +226046,7 @@ class kucoinfutures extends _kucoinfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
225910
226046
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
225911
226047
  * @param {int} [limit] the maximum amount of trades to fetch
225912
226048
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
225913
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
226049
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
225914
226050
  */
225915
226051
  await this.loadMarkets();
225916
226052
  const url = await this.negotiate(false);
@@ -226250,8 +226386,9 @@ class kucoinfutures extends _kucoinfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
226250
226386
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
226251
226387
  * @see https://docs.kucoin.com/futures/#account-balance-events
226252
226388
  * @param {object} [params] extra parameters specific to the kucoinfutures api endpoint
226253
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
226389
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
226254
226390
  */
226391
+ await this.loadMarkets();
226255
226392
  const url = await this.negotiate(true);
226256
226393
  const topic = '/contractAccount/wallet';
226257
226394
  const request = {
@@ -226470,7 +226607,7 @@ class luno extends _luno_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
226470
226607
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
226471
226608
  * @param {int} [limit] the maximum amount of trades to fetch
226472
226609
  * @param {object} [params] extra parameters specific to the luno api endpoint
226473
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
226610
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
226474
226611
  */
226475
226612
  await this.checkRequiredCredentials();
226476
226613
  await this.loadMarkets();
@@ -226825,7 +226962,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
226825
226962
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
226826
226963
  * @param {string} symbol unified symbol of the market to fetch the ticker for
226827
226964
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
226828
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
226965
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
226829
226966
  */
226830
226967
  await this.loadMarkets();
226831
226968
  const market = this.market(symbol);
@@ -227106,7 +227243,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227106
227243
  * @param {string} symbol unified symbol of the market to fetch the order book for
227107
227244
  * @param {int} [limit] the maximum amount of order book entries to return
227108
227245
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
227109
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
227246
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
227110
227247
  */
227111
227248
  await this.loadMarkets();
227112
227249
  const market = this.market(symbol);
@@ -227274,7 +227411,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227274
227411
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
227275
227412
  * @param {int} [limit] the maximum amount of trades to fetch
227276
227413
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
227277
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
227414
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
227278
227415
  */
227279
227416
  await this.loadMarkets();
227280
227417
  const market = this.market(symbol);
@@ -227363,7 +227500,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227363
227500
  * @param {int} [since] the earliest time in ms to fetch trades for
227364
227501
  * @param {int} [limit] the maximum number of trade structures to retrieve
227365
227502
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
227366
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html#trade-structure
227503
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
227367
227504
  */
227368
227505
  await this.loadMarkets();
227369
227506
  let messageHash = 'myTrades';
@@ -227492,7 +227629,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227492
227629
  * @param {int} [limit] the maximum number of orde structures to retrieve
227493
227630
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
227494
227631
  * @params {string|undefined} params.type the type of orders to retrieve, can be 'spot' or 'margin'
227495
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
227632
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
227496
227633
  */
227497
227634
  await this.loadMarkets();
227498
227635
  params = this.omit(params, 'type');
@@ -227739,7 +227876,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227739
227876
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#spot-account-upadte
227740
227877
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
227741
227878
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
227742
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
227879
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
227743
227880
  */
227744
227881
  await this.loadMarkets();
227745
227882
  let type = undefined;
@@ -228060,7 +228197,7 @@ class ndax extends _ndax_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
228060
228197
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
228061
228198
  * @param {int} [limit] the maximum amount of trades to fetch
228062
228199
  * @param {object} [params] extra parameters specific to the ndax api endpoint
228063
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
228200
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
228064
228201
  */
228065
228202
  const omsId = this.safeInteger(this.options, 'omsId', 1);
228066
228203
  await this.loadMarkets();
@@ -228576,7 +228713,7 @@ class okcoin extends _okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
228576
228713
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
228577
228714
  * @param {int} [limit] the maximum amount of trades to fetch
228578
228715
  * @param {object} [params] extra parameters specific to the okcoin api endpoint
228579
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
228716
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
228580
228717
  */
228581
228718
  await this.loadMarkets();
228582
228719
  symbol = this.symbol(symbol);
@@ -228988,7 +229125,7 @@ class okcoin extends _okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
228988
229125
  * @name okcoin#watchBalance
228989
229126
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
228990
229127
  * @param {object} [params] extra parameters specific to the okcoin api endpoint
228991
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
229128
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
228992
229129
  */
228993
229130
  const defaultType = this.safeString2(this.options, 'watchBalance', 'defaultType');
228994
229131
  const type = this.safeString(params, 'type', defaultType);
@@ -229453,7 +229590,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
229453
229590
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
229454
229591
  * @param {int} [limit] the maximum amount of trades to fetch
229455
229592
  * @param {object} [params] extra parameters specific to the okx api endpoint
229456
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
229593
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
229457
229594
  */
229458
229595
  await this.loadMarkets();
229459
229596
  symbol = this.symbol(symbol);
@@ -229933,7 +230070,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
229933
230070
  * @name okx#watchBalance
229934
230071
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
229935
230072
  * @param {object} [params] extra parameters specific to the okx api endpoint
229936
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
230073
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
229937
230074
  */
229938
230075
  await this.loadMarkets();
229939
230076
  await this.authenticate();
@@ -230286,7 +230423,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230286
230423
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
230287
230424
  * @param {object} [params] extra parameters specific to the okx api endpoint
230288
230425
  * @param {boolean} params.test test order, default false
230289
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
230426
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230290
230427
  */
230291
230428
  await this.loadMarkets();
230292
230429
  await this.authenticate();
@@ -230355,7 +230492,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230355
230492
  * @param {float} amount how much of the currency you want to trade in units of the base currency
230356
230493
  * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
230357
230494
  * @param {object} [params] extra parameters specific to the okx api endpoint
230358
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
230495
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230359
230496
  */
230360
230497
  await this.loadMarkets();
230361
230498
  await this.authenticate();
@@ -230381,7 +230518,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230381
230518
  * @param {string} symbol unified market symbol, default is undefined
230382
230519
  * @param {object} [params] extra parameters specific to the okx api endpoint
230383
230520
  * @param {string} [params.clOrdId] client order id
230384
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
230521
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230385
230522
  */
230386
230523
  if (symbol === undefined) {
230387
230524
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest(this.id + ' cancelOrderWs() requires a symbol argument');
@@ -230417,7 +230554,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230417
230554
  * @param {string[]} ids order ids
230418
230555
  * @param {string} symbol unified market symbol, default is undefined
230419
230556
  * @param {object} [params] extra parameters specific to the okx api endpoint
230420
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
230557
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230421
230558
  */
230422
230559
  const idsLength = ids.length;
230423
230560
  if (idsLength > 20) {
@@ -230453,7 +230590,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230453
230590
  * @description cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
230454
230591
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
230455
230592
  * @param {object} [params] extra parameters specific to the okx api endpoint
230456
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
230593
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230457
230594
  */
230458
230595
  if (symbol === undefined) {
230459
230596
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest(this.id + ' cancelAllOrdersWs() requires a symbol argument');
@@ -230964,7 +231101,7 @@ class phemex extends _phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
230964
231101
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
230965
231102
  * @param {object} [params] extra parameters specific to the phemex api endpoint
230966
231103
  * @param {string} [params.settle] set to USDT to use hedged perpetual api
230967
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
231104
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
230968
231105
  */
230969
231106
  await this.loadMarkets();
230970
231107
  let type = undefined;
@@ -231194,7 +231331,7 @@ class phemex extends _phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
231194
231331
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
231195
231332
  * @param {int} [limit] the maximum amount of trades to fetch
231196
231333
  * @param {object} [params] extra parameters specific to the phemex api endpoint
231197
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
231334
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
231198
231335
  */
231199
231336
  await this.loadMarkets();
231200
231337
  const market = this.market(symbol);
@@ -232369,7 +232506,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232369
232506
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
232370
232507
  * @param {string} symbol unified symbol of the market to fetch the ticker for
232371
232508
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
232372
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
232509
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
232373
232510
  */
232374
232511
  await this.loadMarkets();
232375
232512
  symbol = this.symbol(symbol);
@@ -232384,7 +232521,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232384
232521
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
232385
232522
  * @param {string} symbol unified symbol of the market to fetch the ticker for
232386
232523
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
232387
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
232524
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
232388
232525
  */
232389
232526
  await this.loadMarkets();
232390
232527
  const name = 'ticker';
@@ -232405,7 +232542,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232405
232542
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
232406
232543
  * @param {int} [limit] the maximum amount of trades to fetch
232407
232544
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
232408
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
232545
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
232409
232546
  */
232410
232547
  await this.loadMarkets();
232411
232548
  symbol = this.symbol(symbol);
@@ -232425,7 +232562,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232425
232562
  * @param {string} symbol unified symbol of the market to fetch the order book for
232426
232563
  * @param {int} [limit] not used by poloniex watchOrderBook
232427
232564
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
232428
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
232565
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
232429
232566
  */
232430
232567
  await this.loadMarkets();
232431
232568
  const watchOrderBookOptions = this.safeValue(this.options, 'watchOrderBook');
@@ -232444,7 +232581,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232444
232581
  * @param {int} [since] not used by poloniex watchOrders
232445
232582
  * @param {int} [limit] not used by poloniex watchOrders
232446
232583
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
232447
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
232584
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
232448
232585
  */
232449
232586
  await this.loadMarkets();
232450
232587
  const name = 'orders';
@@ -232492,7 +232629,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232492
232629
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
232493
232630
  * @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
232494
232631
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
232495
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
232632
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
232496
232633
  */
232497
232634
  await this.loadMarkets();
232498
232635
  const name = 'balances';
@@ -233459,7 +233596,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233459
233596
  * @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
233460
233597
  * @param {string} symbol unified symbol of the market to fetch the ticker for
233461
233598
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
233462
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
233599
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
233463
233600
  */
233464
233601
  await this.loadMarkets();
233465
233602
  symbol = this.symbol(symbol);
@@ -233476,7 +233613,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233476
233613
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
233477
233614
  * @param {int} [limit] the maximum amount of trades to fetch
233478
233615
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
233479
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
233616
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
233480
233617
  */
233481
233618
  await this.loadMarkets();
233482
233619
  const options = this.safeValue(this.options, 'watchTrades');
@@ -233499,7 +233636,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233499
233636
  * @param {int} [limit] not used by poloniexfutures watchOrderBook
233500
233637
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
233501
233638
  * @param {string} [params.method] the method to use. Defaults to /contractMarket/level2 can also be /contractMarket/level3v2 to receive the raw stream of orders
233502
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
233639
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
233503
233640
  */
233504
233641
  await this.loadMarkets();
233505
233642
  const options = this.safeValue(this.options, 'watchOrderBook');
@@ -233530,7 +233667,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233530
233667
  * @param {int} [limit] the maximum number of orde structures to retrieve
233531
233668
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
233532
233669
  * @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
233533
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
233670
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
233534
233671
  */
233535
233672
  await this.loadMarkets();
233536
233673
  const options = this.safeValue(this.options, 'watchOrders');
@@ -233552,7 +233689,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233552
233689
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
233553
233690
  * @see https://futures-docs.poloniex.com/#account-balance-events
233554
233691
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
233555
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
233692
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
233556
233693
  */
233557
233694
  await this.loadMarkets();
233558
233695
  const name = '/contractAccount/wallet';
@@ -234306,7 +234443,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234306
234443
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
234307
234444
  * @see https://docs-en.probit.com/reference/balance-1
234308
234445
  * @param {object} [params] extra parameters specific to the probit api endpoint
234309
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
234446
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
234310
234447
  */
234311
234448
  await this.authenticate(params);
234312
234449
  const messageHash = 'balance';
@@ -234374,7 +234511,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234374
234511
  * @param {string} symbol unified symbol of the market to fetch the ticker for
234375
234512
  * @param {object} [params] extra parameters specific to the probit api endpoint
234376
234513
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
234377
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/en/latest/manual.html#ticker-structure}
234514
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
234378
234515
  */
234379
234516
  let filter = undefined;
234380
234517
  [filter, params] = this.handleOptionAndParams(params, 'watchTicker', 'filter', 'ticker');
@@ -234419,7 +234556,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234419
234556
  * @param {int} [limit] the maximum amount of trades to fetch
234420
234557
  * @param {object} [params] extra parameters specific to the probit api endpoint
234421
234558
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
234422
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
234559
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
234423
234560
  */
234424
234561
  let filter = undefined;
234425
234562
  [filter, params] = this.handleOptionAndParams(params, 'watchTrades', 'filter', 'recent_trades');
@@ -234479,7 +234616,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234479
234616
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
234480
234617
  * @param {int} [limit] the maximum amount of trades to fetch
234481
234618
  * @param {object} [params] extra parameters specific to the probit api endpoint
234482
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
234619
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
234483
234620
  */
234484
234621
  await this.loadMarkets();
234485
234622
  await this.authenticate(params);
@@ -234560,7 +234697,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234560
234697
  * @param {int} [limit] the maximum amount of orders to watch
234561
234698
  * @param {object} [params] extra parameters specific to the aax api endpoint
234562
234699
  * @param {string} [params.channel] choose what channel to use. Can open_order or order_history.
234563
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
234700
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
234564
234701
  */
234565
234702
  await this.authenticate(params);
234566
234703
  const url = this.urls['api']['ws'];
@@ -234644,7 +234781,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234644
234781
  * @param {string} symbol unified symbol of the market to fetch the order book for
234645
234782
  * @param {int} [limit] the maximum amount of order book entries to return
234646
234783
  * @param {object} [params] extra parameters specific to the probit api endpoint
234647
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/en/latest/manual.html#order-book-structure} indexed by market symbols
234784
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
234648
234785
  */
234649
234786
  let filter = undefined;
234650
234787
  [filter, params] = this.handleOptionAndParams(params, 'watchOrderBook', 'filter', 'order_books');
@@ -234912,7 +235049,7 @@ class upbit extends _upbit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
234912
235049
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
234913
235050
  * @param {int} [limit] the maximum amount of trades to fetch
234914
235051
  * @param {object} [params] extra parameters specific to the upbit api endpoint
234915
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
235052
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
234916
235053
  */
234917
235054
  await this.loadMarkets();
234918
235055
  symbol = this.symbol(symbol);
@@ -235130,7 +235267,7 @@ class wazirx extends _wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
235130
235267
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
235131
235268
  * @see https://docs.wazirx.com/#account-update
235132
235269
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
235133
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
235270
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
235134
235271
  */
235135
235272
  await this.loadMarkets();
235136
235273
  const token = await this.authenticate(params);
@@ -235374,7 +235511,7 @@ class wazirx extends _wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
235374
235511
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
235375
235512
  * @param {int} [limit] the maximum amount of trades to fetch
235376
235513
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
235377
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
235514
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
235378
235515
  */
235379
235516
  await this.loadMarkets();
235380
235517
  const market = this.market(symbol);
@@ -235440,7 +235577,7 @@ class wazirx extends _wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
235440
235577
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
235441
235578
  * @param {int} [limit] the maximum amount of trades to fetch
235442
235579
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
235443
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
235580
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
235444
235581
  */
235445
235582
  await this.loadMarkets();
235446
235583
  const token = await this.authenticate(params);
@@ -236176,7 +236313,7 @@ class whitebit extends _whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
236176
236313
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
236177
236314
  * @param {int} [limit] the maximum amount of trades to fetch
236178
236315
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
236179
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
236316
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
236180
236317
  */
236181
236318
  await this.loadMarkets();
236182
236319
  const market = this.market(symbol);
@@ -236514,7 +236651,7 @@ class whitebit extends _whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
236514
236651
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
236515
236652
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
236516
236653
  * @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
236517
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
236654
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
236518
236655
  */
236519
236656
  await this.loadMarkets();
236520
236657
  let type = undefined;
@@ -238046,7 +238183,7 @@ class probit extends _abstract_probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
238046
238183
  * @see https://docs-en.probit.com/reference/balance
238047
238184
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
238048
238185
  * @param {object} [params] extra parameters specific to the probit api endpoint
238049
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
238186
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
238050
238187
  */
238051
238188
  await this.loadMarkets();
238052
238189
  const response = await this.privateGetBalance(params);
@@ -238275,7 +238412,7 @@ class probit extends _abstract_probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
238275
238412
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
238276
238413
  * @param {int} [limit] the maximum amount of trades to fetch
238277
238414
  * @param {object} [params] extra parameters specific to the probit api endpoint
238278
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
238415
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
238279
238416
  */
238280
238417
  await this.loadMarkets();
238281
238418
  const market = this.market(symbol);
@@ -248638,7 +248775,7 @@ class tidex extends _abstract_tidex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
248638
248775
  * @name tidex#fetchBalance
248639
248776
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
248640
248777
  * @param {object} [params] extra parameters specific to the tidex api endpoint
248641
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
248778
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
248642
248779
  */
248643
248780
  await this.loadMarkets();
248644
248781
  const response = await this.privatePostGetInfoExt(params);
@@ -248892,7 +249029,7 @@ class tidex extends _abstract_tidex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
248892
249029
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
248893
249030
  * @param {int} [limit] the maximum amount of trades to fetch
248894
249031
  * @param {object} [params] extra parameters specific to the tidex api endpoint
248895
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
249032
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
248896
249033
  */
248897
249034
  await this.loadMarkets();
248898
249035
  const market = this.market(symbol);
@@ -249926,7 +250063,7 @@ class timex extends _abstract_timex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
249926
250063
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
249927
250064
  * @param {int} [limit] the maximum amount of trades to fetch
249928
250065
  * @param {object} [params] extra parameters specific to the timex api endpoint
249929
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
250066
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
249930
250067
  */
249931
250068
  await this.loadMarkets();
249932
250069
  const market = this.market(symbol);
@@ -250035,7 +250172,7 @@ class timex extends _abstract_timex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
250035
250172
  * @name timex#fetchBalance
250036
250173
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
250037
250174
  * @param {object} [params] extra parameters specific to the timex api endpoint
250038
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
250175
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
250039
250176
  */
250040
250177
  await this.loadMarkets();
250041
250178
  const response = await this.tradingGetBalances(params);
@@ -251911,7 +252048,7 @@ class tokocrypto extends _abstract_tokocrypto_js__WEBPACK_IMPORTED_MODULE_0__/*
251911
252048
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
251912
252049
  * @param {int} [limit] the maximum amount of trades to fetch
251913
252050
  * @param {object} [params] extra parameters specific to the tokocrypto api endpoint
251914
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
252051
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
251915
252052
  */
251916
252053
  await this.loadMarkets();
251917
252054
  const market = this.market(symbol);
@@ -252238,7 +252375,7 @@ class tokocrypto extends _abstract_tokocrypto_js__WEBPACK_IMPORTED_MODULE_0__/*
252238
252375
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
252239
252376
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
252240
252377
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
252241
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
252378
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
252242
252379
  */
252243
252380
  await this.loadMarkets();
252244
252381
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType', 'spot');
@@ -253951,7 +254088,7 @@ class upbit extends _abstract_upbit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
253951
254088
  * @see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
253952
254089
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
253953
254090
  * @param {object} [params] extra parameters specific to the upbit api endpoint
253954
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
254091
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
253955
254092
  */
253956
254093
  await this.loadMarkets();
253957
254094
  const response = await this.privateGetAccounts(params);
@@ -254273,7 +254410,7 @@ class upbit extends _abstract_upbit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
254273
254410
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
254274
254411
  * @param {int} [limit] the maximum amount of trades to fetch
254275
254412
  * @param {object} [params] extra parameters specific to the upbit api endpoint
254276
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
254413
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
254277
254414
  */
254278
254415
  await this.loadMarkets();
254279
254416
  const market = this.market(symbol);
@@ -257119,7 +257256,7 @@ class wavesexchange extends _abstract_wavesexchange_js__WEBPACK_IMPORTED_MODULE_
257119
257256
  * @name wavesexchange#fetchBalance
257120
257257
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
257121
257258
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
257122
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
257259
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
257123
257260
  */
257124
257261
  // makes a lot of different requests to get all the data
257125
257262
  // in particular:
@@ -257365,7 +257502,7 @@ class wavesexchange extends _abstract_wavesexchange_js__WEBPACK_IMPORTED_MODULE_
257365
257502
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
257366
257503
  * @param {int} [limit] the maximum amount of trades to fetch
257367
257504
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
257368
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
257505
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
257369
257506
  */
257370
257507
  await this.loadMarkets();
257371
257508
  const market = this.market(symbol);
@@ -257621,7 +257758,7 @@ class wavesexchange extends _abstract_wavesexchange_js__WEBPACK_IMPORTED_MODULE_
257621
257758
  * @see https://docs.wx.network/en/api/gateways/withdraw/currencies
257622
257759
  * @param {string[]|undefined} codes list of unified currency codes
257623
257760
  * @param {object} [params] extra parameters specific to the wavesexchange api endpoint
257624
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
257761
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
257625
257762
  */
257626
257763
  await this.loadMarkets();
257627
257764
  let data = [];
@@ -258332,7 +258469,7 @@ class wazirx extends _abstract_wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
258332
258469
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
258333
258470
  * @param {int} [limit] the maximum amount of trades to fetch
258334
258471
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
258335
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
258472
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
258336
258473
  */
258337
258474
  await this.loadMarkets();
258338
258475
  const market = this.market(symbol);
@@ -258504,7 +258641,7 @@ class wazirx extends _abstract_wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
258504
258641
  * @see https://docs.wazirx.com/#fund-details-user_data
258505
258642
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
258506
258643
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
258507
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
258644
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
258508
258645
  */
258509
258646
  await this.loadMarkets();
258510
258647
  const response = await this.privateGetFunds(params);
@@ -259692,7 +259829,7 @@ class whitebit extends _abstract_whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
259692
259829
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
259693
259830
  * @param {int} [limit] the maximum amount of trades to fetch
259694
259831
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
259695
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
259832
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
259696
259833
  */
259697
259834
  await this.loadMarkets();
259698
259835
  const market = this.market(symbol);
@@ -259723,7 +259860,7 @@ class whitebit extends _abstract_whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
259723
259860
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
259724
259861
  * @param {int} [limit] the maximum amount of trades to fetch
259725
259862
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
259726
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
259863
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
259727
259864
  */
259728
259865
  await this.loadMarkets();
259729
259866
  let market = undefined;
@@ -260106,7 +260243,7 @@ class whitebit extends _abstract_whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
260106
260243
  * @name whitebit#fetchBalance
260107
260244
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
260108
260245
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
260109
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
260246
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
260110
260247
  */
260111
260248
  await this.loadMarkets();
260112
260249
  const [marketType, query] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
@@ -261520,7 +261657,7 @@ class woo extends _abstract_woo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
261520
261657
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
261521
261658
  * @param {int} [limit] the maximum amount of trades to fetch
261522
261659
  * @param {object} [params] extra parameters specific to the woo api endpoint
261523
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
261660
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
261524
261661
  */
261525
261662
  if (symbol === undefined) {
261526
261663
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' fetchTrades() requires a symbol argument');
@@ -262707,7 +262844,7 @@ class woo extends _abstract_woo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
262707
262844
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
262708
262845
  * @see https://docs.woo.org/#get-current-holding-get-balance-new
262709
262846
  * @param {object} [params] extra parameters specific to the woo api endpoint
262710
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
262847
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
262711
262848
  */
262712
262849
  await this.loadMarkets();
262713
262850
  const response = await this.v3PrivateGetBalances(params);
@@ -264017,7 +264154,7 @@ class yobit extends _abstract_yobit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
264017
264154
  * @see https://yobit.net/en/api
264018
264155
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
264019
264156
  * @param {object} [params] extra parameters specific to the yobit api endpoint
264020
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
264157
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
264021
264158
  */
264022
264159
  await this.loadMarkets();
264023
264160
  const response = await this.privatePostGetInfo(params);
@@ -264400,7 +264537,7 @@ class yobit extends _abstract_yobit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
264400
264537
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
264401
264538
  * @param {int} [limit] the maximum amount of trades to fetch
264402
264539
  * @param {object} [params] extra parameters specific to the yobit api endpoint
264403
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
264540
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
264404
264541
  */
264405
264542
  await this.loadMarkets();
264406
264543
  const market = this.market(symbol);
@@ -265306,7 +265443,7 @@ class zaif extends _abstract_zaif_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
265306
265443
  * @see https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id10
265307
265444
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
265308
265445
  * @param {object} [params] extra parameters specific to the zaif api endpoint
265309
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
265446
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
265310
265447
  */
265311
265448
  await this.loadMarkets();
265312
265449
  const response = await this.privatePostGetInfo(params);
@@ -265448,7 +265585,7 @@ class zaif extends _abstract_zaif_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
265448
265585
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
265449
265586
  * @param {int} [limit] the maximum amount of trades to fetch
265450
265587
  * @param {object} [params] extra parameters specific to the zaif api endpoint
265451
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
265588
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
265452
265589
  */
265453
265590
  await this.loadMarkets();
265454
265591
  const market = this.market(symbol);
@@ -266321,7 +266458,7 @@ class zonda extends _abstract_zonda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
266321
266458
  * @see https://docs.zonda.exchange/reference/list-of-wallets
266322
266459
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
266323
266460
  * @param {object} [params] extra parameters specific to the zonda api endpoint
266324
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
266461
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
266325
266462
  */
266326
266463
  await this.loadMarkets();
266327
266464
  const response = await this.v1_01PrivateGetBalancesBITBAYBalance(params);
@@ -267096,7 +267233,7 @@ class zonda extends _abstract_zonda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
267096
267233
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
267097
267234
  * @param {int} [limit] the maximum amount of trades to fetch
267098
267235
  * @param {object} [params] extra parameters specific to the zonda api endpoint
267099
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
267236
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
267100
267237
  */
267101
267238
  await this.loadMarkets();
267102
267239
  const market = this.market(symbol);
@@ -273236,7 +273373,7 @@ SOFTWARE.
273236
273373
 
273237
273374
  //-----------------------------------------------------------------------------
273238
273375
  // this is updated by vss.js when building
273239
- const version = '4.0.75';
273376
+ const version = '4.0.76';
273240
273377
  _src_base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* .Exchange.ccxtVersion */ .e.ccxtVersion = version;
273241
273378
  //-----------------------------------------------------------------------------
273242
273379