ccxt 4.0.75 → 4.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +659 -461
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +2 -2
  6. package/dist/cjs/src/alpaca.js +1 -1
  7. package/dist/cjs/src/ascendex.js +3 -3
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +2 -2
  10. package/dist/cjs/src/binance.js +5 -5
  11. package/dist/cjs/src/bingx.js +83 -23
  12. package/dist/cjs/src/bit2c.js +2 -2
  13. package/dist/cjs/src/bitbank.js +2 -2
  14. package/dist/cjs/src/bitbns.js +2 -2
  15. package/dist/cjs/src/bitfinex.js +2 -2
  16. package/dist/cjs/src/bitfinex2.js +4 -4
  17. package/dist/cjs/src/bitflyer.js +2 -2
  18. package/dist/cjs/src/bitforex.js +2 -2
  19. package/dist/cjs/src/bitget.js +5 -5
  20. package/dist/cjs/src/bithumb.js +2 -2
  21. package/dist/cjs/src/bitmart.js +2 -2
  22. package/dist/cjs/src/bitmex.js +5 -5
  23. package/dist/cjs/src/bitopro.js +3 -3
  24. package/dist/cjs/src/bitpanda.js +2 -2
  25. package/dist/cjs/src/bitrue.js +3 -3
  26. package/dist/cjs/src/bitso.js +2 -2
  27. package/dist/cjs/src/bitstamp.js +2 -2
  28. package/dist/cjs/src/bitstamp1.js +2 -2
  29. package/dist/cjs/src/bittrex.js +3 -3
  30. package/dist/cjs/src/bitvavo.js +3 -3
  31. package/dist/cjs/src/bkex.js +4 -4
  32. package/dist/cjs/src/bl3p.js +2 -2
  33. package/dist/cjs/src/blockchaincom.js +1 -1
  34. package/dist/cjs/src/btcalpha.js +2 -2
  35. package/dist/cjs/src/btcbox.js +2 -2
  36. package/dist/cjs/src/btcmarkets.js +2 -2
  37. package/dist/cjs/src/btctradeua.js +2 -2
  38. package/dist/cjs/src/btcturk.js +2 -2
  39. package/dist/cjs/src/bybit.js +5 -5
  40. package/dist/cjs/src/cex.js +2 -2
  41. package/dist/cjs/src/coinbase.js +3 -3
  42. package/dist/cjs/src/coinbasepro.js +2 -2
  43. package/dist/cjs/src/coincheck.js +2 -2
  44. package/dist/cjs/src/coinex.js +6 -6
  45. package/dist/cjs/src/coinfalcon.js +2 -2
  46. package/dist/cjs/src/coinmate.js +2 -2
  47. package/dist/cjs/src/coinone.js +2 -2
  48. package/dist/cjs/src/coinsph.js +7 -2
  49. package/dist/cjs/src/coinspot.js +2 -2
  50. package/dist/cjs/src/cryptocom.js +5 -5
  51. package/dist/cjs/src/currencycom.js +2 -2
  52. package/dist/cjs/src/delta.js +2 -2
  53. package/dist/cjs/src/deribit.js +3 -3
  54. package/dist/cjs/src/digifinex.js +4 -4
  55. package/dist/cjs/src/exmo.js +2 -2
  56. package/dist/cjs/src/gate.js +46 -4
  57. package/dist/cjs/src/gemini.js +3 -3
  58. package/dist/cjs/src/hitbtc.js +4 -4
  59. package/dist/cjs/src/hollaex.js +3 -3
  60. package/dist/cjs/src/huobi.js +5 -5
  61. package/dist/cjs/src/huobijp.js +2 -2
  62. package/dist/cjs/src/idex.js +2 -2
  63. package/dist/cjs/src/independentreserve.js +2 -2
  64. package/dist/cjs/src/indodax.js +2 -2
  65. package/dist/cjs/src/kraken.js +2 -2
  66. package/dist/cjs/src/kucoin.js +4 -4
  67. package/dist/cjs/src/kucoinfutures.js +5 -5
  68. package/dist/cjs/src/kuna.js +2 -2
  69. package/dist/cjs/src/latoken.js +2 -2
  70. package/dist/cjs/src/lbank.js +2 -2
  71. package/dist/cjs/src/lbank2.js +2 -2
  72. package/dist/cjs/src/luno.js +2 -2
  73. package/dist/cjs/src/lykke.js +2 -2
  74. package/dist/cjs/src/mercado.js +2 -2
  75. package/dist/cjs/src/mexc.js +6 -4
  76. package/dist/cjs/src/ndax.js +2 -2
  77. package/dist/cjs/src/novadax.js +2 -2
  78. package/dist/cjs/src/oceanex.js +2 -2
  79. package/dist/cjs/src/okcoin.js +2 -2
  80. package/dist/cjs/src/okx.js +4 -4
  81. package/dist/cjs/src/paymium.js +2 -2
  82. package/dist/cjs/src/phemex.js +2 -2
  83. package/dist/cjs/src/poloniex.js +165 -81
  84. package/dist/cjs/src/poloniexfutures.js +2 -2
  85. package/dist/cjs/src/pro/ascendex.js +2 -2
  86. package/dist/cjs/src/pro/binance.js +6 -6
  87. package/dist/cjs/src/pro/bitfinex.js +1 -1
  88. package/dist/cjs/src/pro/bitfinex2.js +2 -2
  89. package/dist/cjs/src/pro/bitget.js +2 -2
  90. package/dist/cjs/src/pro/bitmart.js +1 -1
  91. package/dist/cjs/src/pro/bitmex.js +2 -2
  92. package/dist/cjs/src/pro/bitopro.js +2 -2
  93. package/dist/cjs/src/pro/bitpanda.js +6 -6
  94. package/dist/cjs/src/pro/bitrue.js +1 -1
  95. package/dist/cjs/src/pro/bitstamp.js +1 -1
  96. package/dist/cjs/src/pro/bittrex.js +2 -2
  97. package/dist/cjs/src/pro/bitvavo.js +1 -1
  98. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  99. package/dist/cjs/src/pro/bybit.js +1 -1
  100. package/dist/cjs/src/pro/cex.js +4 -4
  101. package/dist/cjs/src/pro/coinbase.js +5 -5
  102. package/dist/cjs/src/pro/coinbasepro.js +1 -1
  103. package/dist/cjs/src/pro/coinex.js +2 -2
  104. package/dist/cjs/src/pro/cryptocom.js +3 -3
  105. package/dist/cjs/src/pro/currencycom.js +2 -2
  106. package/dist/cjs/src/pro/deribit.js +3 -3
  107. package/dist/cjs/src/pro/exmo.js +3 -3
  108. package/dist/cjs/src/pro/gate.js +2 -2
  109. package/dist/cjs/src/pro/gemini.js +1 -1
  110. package/dist/cjs/src/pro/hitbtc.js +1 -1
  111. package/dist/cjs/src/pro/hollaex.js +2 -2
  112. package/dist/cjs/src/pro/huobi.js +2 -2
  113. package/dist/cjs/src/pro/huobijp.js +1 -1
  114. package/dist/cjs/src/pro/idex.js +1 -1
  115. package/dist/cjs/src/pro/independentreserve.js +1 -1
  116. package/dist/cjs/src/pro/kraken.js +6 -6
  117. package/dist/cjs/src/pro/krakenfutures.js +5 -5
  118. package/dist/cjs/src/pro/kucoin.js +2 -2
  119. package/dist/cjs/src/pro/kucoinfutures.js +3 -2
  120. package/dist/cjs/src/pro/luno.js +1 -1
  121. package/dist/cjs/src/pro/mexc.js +6 -6
  122. package/dist/cjs/src/pro/ndax.js +1 -1
  123. package/dist/cjs/src/pro/okcoin.js +2 -2
  124. package/dist/cjs/src/pro/okx.js +10 -7
  125. package/dist/cjs/src/pro/phemex.js +2 -2
  126. package/dist/cjs/src/pro/poloniex.js +6 -6
  127. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  128. package/dist/cjs/src/pro/probit.js +6 -6
  129. package/dist/cjs/src/pro/upbit.js +1 -1
  130. package/dist/cjs/src/pro/wazirx.js +3 -3
  131. package/dist/cjs/src/pro/whitebit.js +2 -2
  132. package/dist/cjs/src/probit.js +2 -2
  133. package/dist/cjs/src/tidex.js +2 -2
  134. package/dist/cjs/src/timex.js +2 -2
  135. package/dist/cjs/src/tokocrypto.js +2 -2
  136. package/dist/cjs/src/upbit.js +2 -2
  137. package/dist/cjs/src/wavesexchange.js +3 -3
  138. package/dist/cjs/src/wazirx.js +2 -2
  139. package/dist/cjs/src/whitebit.js +4 -3
  140. package/dist/cjs/src/woo.js +2 -2
  141. package/dist/cjs/src/yobit.js +2 -2
  142. package/dist/cjs/src/zaif.js +2 -2
  143. package/dist/cjs/src/zonda.js +2 -2
  144. package/js/ccxt.d.ts +1 -1
  145. package/js/ccxt.js +1 -1
  146. package/js/src/abstract/bingx.d.ts +2 -0
  147. package/js/src/abstract/coinsph.d.ts +5 -0
  148. package/js/src/abstract/gate.d.ts +24 -0
  149. package/js/src/abstract/gateio.d.ts +24 -0
  150. package/js/src/ace.js +2 -2
  151. package/js/src/alpaca.js +1 -1
  152. package/js/src/ascendex.js +3 -3
  153. package/js/src/base/Exchange.js +2 -2
  154. package/js/src/bigone.js +2 -2
  155. package/js/src/binance.js +5 -5
  156. package/js/src/bingx.d.ts +1 -0
  157. package/js/src/bingx.js +83 -23
  158. package/js/src/bit2c.js +2 -2
  159. package/js/src/bitbank.js +2 -2
  160. package/js/src/bitbns.js +2 -2
  161. package/js/src/bitfinex.js +2 -2
  162. package/js/src/bitfinex2.js +4 -4
  163. package/js/src/bitflyer.js +2 -2
  164. package/js/src/bitforex.js +2 -2
  165. package/js/src/bitget.js +5 -5
  166. package/js/src/bithumb.js +2 -2
  167. package/js/src/bitmart.js +2 -2
  168. package/js/src/bitmex.js +5 -5
  169. package/js/src/bitopro.js +3 -3
  170. package/js/src/bitpanda.js +2 -2
  171. package/js/src/bitrue.js +3 -3
  172. package/js/src/bitso.js +2 -2
  173. package/js/src/bitstamp.js +2 -2
  174. package/js/src/bitstamp1.js +2 -2
  175. package/js/src/bittrex.js +3 -3
  176. package/js/src/bitvavo.js +3 -3
  177. package/js/src/bkex.js +4 -4
  178. package/js/src/bl3p.js +2 -2
  179. package/js/src/blockchaincom.js +1 -1
  180. package/js/src/btcalpha.js +2 -2
  181. package/js/src/btcbox.js +2 -2
  182. package/js/src/btcmarkets.js +2 -2
  183. package/js/src/btctradeua.js +2 -2
  184. package/js/src/btcturk.js +2 -2
  185. package/js/src/bybit.js +5 -5
  186. package/js/src/cex.js +2 -2
  187. package/js/src/coinbase.js +3 -3
  188. package/js/src/coinbasepro.js +2 -2
  189. package/js/src/coincheck.js +2 -2
  190. package/js/src/coinex.js +6 -6
  191. package/js/src/coinfalcon.js +2 -2
  192. package/js/src/coinmate.js +2 -2
  193. package/js/src/coinone.js +2 -2
  194. package/js/src/coinsph.js +7 -2
  195. package/js/src/coinspot.js +2 -2
  196. package/js/src/cryptocom.js +5 -5
  197. package/js/src/currencycom.js +2 -2
  198. package/js/src/delta.js +2 -2
  199. package/js/src/deribit.js +3 -3
  200. package/js/src/digifinex.js +4 -4
  201. package/js/src/exmo.js +2 -2
  202. package/js/src/gate.js +46 -4
  203. package/js/src/gemini.js +3 -3
  204. package/js/src/hitbtc.js +4 -4
  205. package/js/src/hollaex.js +3 -3
  206. package/js/src/huobi.js +5 -5
  207. package/js/src/huobijp.js +2 -2
  208. package/js/src/idex.js +2 -2
  209. package/js/src/independentreserve.js +2 -2
  210. package/js/src/indodax.js +2 -2
  211. package/js/src/kraken.js +2 -2
  212. package/js/src/kucoin.js +4 -4
  213. package/js/src/kucoinfutures.js +5 -5
  214. package/js/src/kuna.js +2 -2
  215. package/js/src/latoken.js +2 -2
  216. package/js/src/lbank.js +2 -2
  217. package/js/src/lbank2.js +2 -2
  218. package/js/src/luno.js +2 -2
  219. package/js/src/lykke.js +2 -2
  220. package/js/src/mercado.js +2 -2
  221. package/js/src/mexc.js +7 -5
  222. package/js/src/ndax.js +2 -2
  223. package/js/src/novadax.js +2 -2
  224. package/js/src/oceanex.js +2 -2
  225. package/js/src/okcoin.js +2 -2
  226. package/js/src/okx.js +4 -4
  227. package/js/src/paymium.js +2 -2
  228. package/js/src/phemex.js +2 -2
  229. package/js/src/poloniex.d.ts +1 -1
  230. package/js/src/poloniex.js +165 -81
  231. package/js/src/poloniexfutures.js +2 -2
  232. package/js/src/pro/ascendex.js +2 -2
  233. package/js/src/pro/binance.js +6 -6
  234. package/js/src/pro/bitfinex.js +1 -1
  235. package/js/src/pro/bitfinex2.js +2 -2
  236. package/js/src/pro/bitget.js +2 -2
  237. package/js/src/pro/bitmart.js +1 -1
  238. package/js/src/pro/bitmex.js +2 -2
  239. package/js/src/pro/bitopro.js +2 -2
  240. package/js/src/pro/bitpanda.js +6 -6
  241. package/js/src/pro/bitrue.js +1 -1
  242. package/js/src/pro/bitstamp.js +1 -1
  243. package/js/src/pro/bittrex.js +2 -2
  244. package/js/src/pro/bitvavo.js +1 -1
  245. package/js/src/pro/blockchaincom.js +5 -5
  246. package/js/src/pro/bybit.js +1 -1
  247. package/js/src/pro/cex.js +4 -4
  248. package/js/src/pro/coinbase.js +5 -5
  249. package/js/src/pro/coinbasepro.js +1 -1
  250. package/js/src/pro/coinex.js +2 -2
  251. package/js/src/pro/cryptocom.js +3 -3
  252. package/js/src/pro/currencycom.js +2 -2
  253. package/js/src/pro/deribit.js +3 -3
  254. package/js/src/pro/exmo.js +3 -3
  255. package/js/src/pro/gate.js +2 -2
  256. package/js/src/pro/gemini.js +1 -1
  257. package/js/src/pro/hitbtc.js +1 -1
  258. package/js/src/pro/hollaex.js +2 -2
  259. package/js/src/pro/huobi.js +2 -2
  260. package/js/src/pro/huobijp.js +1 -1
  261. package/js/src/pro/idex.js +1 -1
  262. package/js/src/pro/independentreserve.js +1 -1
  263. package/js/src/pro/kraken.js +6 -6
  264. package/js/src/pro/krakenfutures.js +5 -5
  265. package/js/src/pro/kucoin.js +2 -2
  266. package/js/src/pro/kucoinfutures.js +3 -2
  267. package/js/src/pro/luno.js +1 -1
  268. package/js/src/pro/mexc.js +6 -6
  269. package/js/src/pro/ndax.js +1 -1
  270. package/js/src/pro/okcoin.js +2 -2
  271. package/js/src/pro/okx.js +11 -8
  272. package/js/src/pro/phemex.js +2 -2
  273. package/js/src/pro/poloniex.js +6 -6
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +1 -1
  277. package/js/src/pro/wazirx.js +3 -3
  278. package/js/src/pro/whitebit.js +2 -2
  279. package/js/src/probit.js +2 -2
  280. package/js/src/tidex.js +2 -2
  281. package/js/src/timex.js +2 -2
  282. package/js/src/tokocrypto.js +2 -2
  283. package/js/src/upbit.js +2 -2
  284. package/js/src/wavesexchange.js +3 -3
  285. package/js/src/wazirx.js +2 -2
  286. package/js/src/whitebit.js +4 -3
  287. package/js/src/woo.js +2 -2
  288. package/js/src/yobit.js +2 -2
  289. package/js/src/zaif.js +2 -2
  290. package/js/src/zonda.js +2 -2
  291. package/package.json +1 -1
  292. package/skip-tests.json +2 -0
@@ -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.spotV1PrivateGetTicker24hr(this.extend(request, params));
25657
+ }
25658
+ else {
25659
+ response = await this.swapV2PublicGetQuoteTicker(this.extend(request, params));
25660
+ }
25655
25661
  //
25656
25662
  // {
25657
25663
  // "code": 0,
@@ -25673,7 +25679,8 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25673
25679
  // }
25674
25680
  //
25675
25681
  const data = this.safeValue(response, 'data');
25676
- return this.parseTicker(data, market);
25682
+ const ticker = this.safeValue(data, 0, data);
25683
+ return this.parseTicker(ticker, market);
25677
25684
  }
25678
25685
  async fetchTickers(symbols = undefined, params = {}) {
25679
25686
  /**
@@ -25721,6 +25728,20 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25721
25728
  return this.parseTickers(tickers, symbols);
25722
25729
  }
25723
25730
  parseTicker(ticker, market = undefined) {
25731
+ //
25732
+ // spot
25733
+ // {
25734
+ // symbol: 'BTC-USDT',
25735
+ // openPrice: '26032.08',
25736
+ // highPrice: '26178.86',
25737
+ // lowPrice: '25968.18',
25738
+ // lastPrice: '26113.60',
25739
+ // volume: '1161.79',
25740
+ // quoteVolume: '30288466.44',
25741
+ // openTime: '1693081020762',
25742
+ // closeTime: '1693167420762'
25743
+ // }
25744
+ // swap
25724
25745
  //
25725
25746
  // {
25726
25747
  // "symbol": "BTC-USDT",
@@ -25738,20 +25759,22 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25738
25759
  // }
25739
25760
  //
25740
25761
  const marketId = this.safeString(ticker, 'symbol');
25741
- const defaultType = this.safeString(this.options, 'defaultType', 'swap');
25742
- const symbol = this.safeSymbol(marketId, market, '-', defaultType);
25762
+ const change = this.safeString(ticker, 'priceChange');
25763
+ const type = (change === undefined) ? 'spot' : 'swap';
25764
+ const symbol = this.safeSymbol(marketId, market, undefined, type);
25743
25765
  const open = this.safeString(ticker, 'openPrice');
25744
25766
  const high = this.safeString(ticker, 'highPrice');
25745
25767
  const low = this.safeString(ticker, 'lowPrice');
25746
25768
  const close = this.safeString(ticker, 'lastPrice');
25747
25769
  const quoteVolume = this.safeString(ticker, 'quoteVolume');
25748
25770
  const baseVolume = this.safeString(ticker, 'volume');
25749
- const change = this.safeString(ticker, 'chapriceChangenge');
25750
25771
  const percentage = this.safeString(ticker, 'priceChangePercent');
25772
+ const ts = this.safeInteger(ticker, 'closeTime');
25773
+ const datetime = this.iso8601(ts);
25751
25774
  return this.safeTicker({
25752
25775
  'symbol': symbol,
25753
- 'timestamp': undefined,
25754
- 'datetime': undefined,
25776
+ 'timestamp': ts,
25777
+ 'datetime': datetime,
25755
25778
  'high': high,
25756
25779
  'low': low,
25757
25780
  'bid': undefined,
@@ -25781,7 +25804,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
25781
25804
  * @see https://bingx-api.github.io/docs/#/standard/contract-interface.html#Query%20standard%20contract%20balance
25782
25805
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
25783
25806
  * @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}
25807
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
25785
25808
  */
25786
25809
  await this.loadMarkets();
25787
25810
  let response = undefined;
@@ -26431,6 +26454,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
26431
26454
  * @name bingx#cancelOrders
26432
26455
  * @description cancel multiple orders
26433
26456
  * @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20a%20Batch%20of%20Orders
26457
+ * @see https://bingx-api.github.io/docs/#/spot/trade-api.html#Cancel%20a%20Batch%20of%20Orders
26434
26458
  * @param {[string]} ids order ids
26435
26459
  * @param {string} symbol unified market symbol, default is undefined
26436
26460
  * @param {object} [params] extra parameters specific to the bingx api endpoint
@@ -26439,14 +26463,24 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
26439
26463
  this.checkRequiredSymbol('cancelOrders', symbol);
26440
26464
  await this.loadMarkets();
26441
26465
  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
26466
  const request = {
26446
26467
  'symbol': market['id'],
26447
- 'ids': ids,
26448
26468
  };
26449
- const response = await this.swapV2PrivateDeleteTradeBatchOrders(this.extend(request, params));
26469
+ const parsedIds = [];
26470
+ for (let i = 0; i < ids.length; i++) {
26471
+ const id = ids[i];
26472
+ const stringId = id.toString();
26473
+ parsedIds.push(stringId);
26474
+ }
26475
+ let response = undefined;
26476
+ if (market['spot']) {
26477
+ request['orderIds'] = parsedIds.join(',');
26478
+ response = await this.spotV1PrivatePostTradeCancelOrders(this.extend(request, params));
26479
+ }
26480
+ else {
26481
+ request['orderIdList'] = parsedIds;
26482
+ response = await this.swapV2PrivateDeleteTradeBatchOrders(this.extend(request, params));
26483
+ }
26450
26484
  //
26451
26485
  // {
26452
26486
  // "code": 0,
@@ -27295,7 +27329,7 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27295
27329
  * @see https://bingx-api.github.io/docs/#/common/account-api.html#All%20Coins'%20Information
27296
27330
  * @param {[string]|undefined} codes list of unified currency codes
27297
27331
  * @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}
27332
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
27299
27333
  */
27300
27334
  await this.loadMarkets();
27301
27335
  const response = await this.walletsV1PrivateGetCapitalConfigGetall(params);
@@ -27347,6 +27381,33 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27347
27381
  // }
27348
27382
  this.parseTransaction(data);
27349
27383
  }
27384
+ parseParams(params) {
27385
+ let result = '';
27386
+ const sortedParams = this.keysort(params);
27387
+ const keys = Object.keys(sortedParams);
27388
+ for (let i = 0; i < keys.length; i++) {
27389
+ const key = keys[i];
27390
+ if (i > 0) {
27391
+ result += '&';
27392
+ }
27393
+ const value = sortedParams[key];
27394
+ if (Array.isArray(value)) {
27395
+ result += key + '=[';
27396
+ for (let j = 0; j < value.length; j++) {
27397
+ const arrayElement = value[j];
27398
+ if (j > 0) {
27399
+ result += ',';
27400
+ }
27401
+ result += arrayElement.toString();
27402
+ }
27403
+ result += ']';
27404
+ }
27405
+ else {
27406
+ result += key + '=' + value.toString();
27407
+ }
27408
+ }
27409
+ return result;
27410
+ }
27350
27411
  sign(path, section = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
27351
27412
  const type = section[0];
27352
27413
  const version = section[1];
@@ -27371,9 +27432,8 @@ class bingx extends _abstract_bingx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27371
27432
  else if (access === 'private') {
27372
27433
  this.checkRequiredCredentials();
27373
27434
  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);
27435
+ let query = this.parseParams(params);
27436
+ const signature = this.hmac(this.encode(query), this.encode(this.secret), _static_dependencies_noble_hashes_sha256_js__WEBPACK_IMPORTED_MODULE_4__/* .sha256 */ .J);
27377
27437
  if (Object.keys(params).length) {
27378
27438
  query = '?' + query + '&';
27379
27439
  }
@@ -27635,7 +27695,7 @@ class bit2c extends _abstract_bit2c_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27635
27695
  * @name bit2c#fetchBalance
27636
27696
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
27637
27697
  * @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}
27698
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
27639
27699
  */
27640
27700
  await this.loadMarkets();
27641
27701
  const response = await this.privateGetAccountBalanceV2(params);
@@ -27756,7 +27816,7 @@ class bit2c extends _abstract_bit2c_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
27756
27816
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
27757
27817
  * @param {int} [limit] the maximum amount of trades to fetch
27758
27818
  * @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}
27819
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
27760
27820
  */
27761
27821
  await this.loadMarkets();
27762
27822
  const market = this.market(symbol);
@@ -28705,7 +28765,7 @@ class bitbank extends _abstract_bitbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
28705
28765
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
28706
28766
  * @param {int} [limit] the maximum amount of trades to fetch
28707
28767
  * @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}
28768
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
28709
28769
  */
28710
28770
  await this.loadMarkets();
28711
28771
  const market = this.market(symbol);
@@ -28871,7 +28931,7 @@ class bitbank extends _abstract_bitbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
28871
28931
  * @name bitbank#fetchBalance
28872
28932
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
28873
28933
  * @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}
28934
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
28875
28935
  */
28876
28936
  await this.loadMarkets();
28877
28937
  const response = await this.privateGetUserAssets(params);
@@ -29807,7 +29867,7 @@ class bitbns extends _abstract_bitbns_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
29807
29867
  * @name bitbns#fetchBalance
29808
29868
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
29809
29869
  * @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}
29870
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
29811
29871
  */
29812
29872
  await this.loadMarkets();
29813
29873
  const response = await this.v1PostCurrentCoinBalanceEVERYTHING(params);
@@ -30260,7 +30320,7 @@ class bitbns extends _abstract_bitbns_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
30260
30320
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
30261
30321
  * @param {int} [limit] the maximum amount of trades to fetch
30262
30322
  * @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}
30323
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
30264
30324
  */
30265
30325
  if (symbol === undefined) {
30266
30326
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchTrades() requires a symbol argument');
@@ -31259,7 +31319,7 @@ class bitfinex extends _abstract_bitfinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
31259
31319
  * @name bitfinex#fetchBalance
31260
31320
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
31261
31321
  * @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}
31322
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
31263
31323
  */
31264
31324
  await this.loadMarkets();
31265
31325
  const accountsByType = this.safeValue(this.options, 'accountsByType', {});
@@ -31571,7 +31631,7 @@ class bitfinex extends _abstract_bitfinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
31571
31631
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
31572
31632
  * @param {int} [limit] the maximum amount of trades to fetch
31573
31633
  * @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}
31634
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
31575
31635
  */
31576
31636
  await this.loadMarkets();
31577
31637
  const market = this.market(symbol);
@@ -33044,7 +33104,7 @@ class bitfinex2 extends _abstract_bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["
33044
33104
  * @name bitfinex2#fetchBalance
33045
33105
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
33046
33106
  * @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}
33107
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
33048
33108
  */
33049
33109
  // this api call does not return the 'used' amount - use the v1 version instead (which also returns zero balances)
33050
33110
  // there is a difference between this and the v1 api, namely trading wallet is called margin in v2
@@ -33319,9 +33379,9 @@ class bitfinex2 extends _abstract_bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["
33319
33379
  'high': this.safeString(ticker, length - 2),
33320
33380
  'low': this.safeString(ticker, length - 1),
33321
33381
  'bid': this.safeString(ticker, length - 10),
33322
- 'bidVolume': undefined,
33382
+ 'bidVolume': this.safeString(ticker, length - 9),
33323
33383
  'ask': this.safeString(ticker, length - 8),
33324
- 'askVolume': undefined,
33384
+ 'askVolume': this.safeString(ticker, length - 7),
33325
33385
  'vwap': undefined,
33326
33386
  'open': undefined,
33327
33387
  'close': last,
@@ -33513,7 +33573,7 @@ class bitfinex2 extends _abstract_bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["
33513
33573
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
33514
33574
  * @param {int} [limit] the maximum amount of trades to fetch
33515
33575
  * @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}
33576
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
33517
33577
  */
33518
33578
  await this.loadMarkets();
33519
33579
  const market = this.market(symbol);
@@ -35483,7 +35543,7 @@ class bitflyer extends _abstract_bitflyer_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
35483
35543
  * @name bitflyer#fetchBalance
35484
35544
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
35485
35545
  * @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}
35546
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
35487
35547
  */
35488
35548
  await this.loadMarkets();
35489
35549
  const response = await this.privateGetGetbalance(params);
@@ -35641,7 +35701,7 @@ class bitflyer extends _abstract_bitflyer_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
35641
35701
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
35642
35702
  * @param {int} [limit] the maximum amount of trades to fetch
35643
35703
  * @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}
35704
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
35645
35705
  */
35646
35706
  await this.loadMarkets();
35647
35707
  const market = this.market(symbol);
@@ -36497,7 +36557,7 @@ class bitforex extends _abstract_bitforex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
36497
36557
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
36498
36558
  * @param {int} [limit] the maximum amount of trades to fetch
36499
36559
  * @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}
36560
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
36501
36561
  */
36502
36562
  await this.loadMarkets();
36503
36563
  const request = {
@@ -36606,7 +36666,7 @@ class bitforex extends _abstract_bitforex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
36606
36666
  * @name bitforex#fetchBalance
36607
36667
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
36608
36668
  * @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}
36669
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
36610
36670
  */
36611
36671
  await this.loadMarkets();
36612
36672
  const response = await this.privatePostApiV1FundAllAccount(params);
@@ -39241,7 +39301,7 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
39241
39301
  * @param {int} [limit] the maximum amount of trades to fetch
39242
39302
  * @param {object} [params] extra parameters specific to the bitget api endpoint
39243
39303
  * @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}
39304
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
39245
39305
  */
39246
39306
  await this.loadMarkets();
39247
39307
  const market = this.market(symbol);
@@ -39570,7 +39630,7 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
39570
39630
  * @name bitget#fetchBalance
39571
39631
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
39572
39632
  * @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}
39633
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
39574
39634
  */
39575
39635
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
39576
39636
  await this.loadMarkets();
@@ -41256,9 +41316,9 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
41256
41316
  * @description fetches historical funding rate prices
41257
41317
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
41258
41318
  * @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
41319
+ * @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
41320
  * @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}
41321
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
41262
41322
  */
41263
41323
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
41264
41324
  await this.loadMarkets();
@@ -41934,7 +41994,7 @@ class bitget extends _abstract_bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
41934
41994
  * @see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
41935
41995
  * @param {string[]|undefined} codes list of unified currency codes
41936
41996
  * @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}
41997
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
41938
41998
  */
41939
41999
  await this.loadMarkets();
41940
42000
  const response = await this.publicSpotGetPublicCurrencies(params);
@@ -42377,7 +42437,7 @@ class bithumb extends _abstract_bithumb_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
42377
42437
  * @name bithumb#fetchBalance
42378
42438
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
42379
42439
  * @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}
42440
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
42381
42441
  */
42382
42442
  await this.loadMarkets();
42383
42443
  const request = {
@@ -42720,7 +42780,7 @@ class bithumb extends _abstract_bithumb_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
42720
42780
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
42721
42781
  * @param {int} [limit] the maximum amount of trades to fetch
42722
42782
  * @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}
42783
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
42724
42784
  */
42725
42785
  await this.loadMarkets();
42726
42786
  const market = this.market(symbol);
@@ -44509,7 +44569,7 @@ class bitmart extends _abstract_bitmart_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
44509
44569
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
44510
44570
  * @param {int} [limit] the maximum amount of trades to fetch
44511
44571
  * @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}
44572
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
44513
44573
  */
44514
44574
  await this.loadMarkets();
44515
44575
  const market = this.market(symbol);
@@ -44878,7 +44938,7 @@ class bitmart extends _abstract_bitmart_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
44878
44938
  * @see https://developer-pro.bitmart.com/en/spot/#get-account-balance
44879
44939
  * @see https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
44880
44940
  * @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}
44941
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
44882
44942
  */
44883
44943
  await this.loadMarkets();
44884
44944
  let marketType = undefined;
@@ -47148,7 +47208,7 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
47148
47208
  * @name bitmex#fetchBalance
47149
47209
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
47150
47210
  * @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}
47211
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
47152
47212
  */
47153
47213
  await this.loadMarkets();
47154
47214
  const request = {
@@ -48124,7 +48184,7 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
48124
48184
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
48125
48185
  * @param {int} [limit] the maximum amount of trades to fetch
48126
48186
  * @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}
48187
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
48128
48188
  */
48129
48189
  await this.loadMarkets();
48130
48190
  const market = this.market(symbol);
@@ -48725,14 +48785,14 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
48725
48785
  * @description Fetches the history of funding rates
48726
48786
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
48727
48787
  * @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
48788
+ * @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
48789
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
48730
48790
  * @param {int} [params.until] timestamp in ms for ending date filter
48731
48791
  * @param {bool} [params.reverse] if true, will sort results newest first
48732
48792
  * @param {int} [params.start] starting point for results
48733
48793
  * @param {string} [params.columns] array of column names to fetch in info, if omitted, will return all columns
48734
48794
  * @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}
48795
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
48736
48796
  */
48737
48797
  await this.loadMarkets();
48738
48798
  const request = {};
@@ -48965,7 +49025,7 @@ class bitmex extends _abstract_bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
48965
49025
  * @see https://www.bitmex.com/api/explorer/#!/Wallet/Wallet_getAssetsConfig
48966
49026
  * @param {string[]|undefined} codes list of unified currency codes
48967
49027
  * @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}
49028
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
48969
49029
  */
48970
49030
  await this.loadMarkets();
48971
49031
  const assets = await this.publicGetWalletAssets(params);
@@ -49689,7 +49749,7 @@ class bitopro extends _abstract_bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
49689
49749
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
49690
49750
  * @param {int} [limit] the maximum amount of trades to fetch
49691
49751
  * @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}
49752
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
49693
49753
  */
49694
49754
  await this.loadMarkets();
49695
49755
  const market = this.market(symbol);
@@ -49939,7 +49999,7 @@ class bitopro extends _abstract_bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
49939
49999
  * @name bitopro#fetchBalance
49940
50000
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
49941
50001
  * @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}
50002
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
49943
50003
  */
49944
50004
  await this.loadMarkets();
49945
50005
  const response = await this.privateGetAccountsBalance(params);
@@ -50705,7 +50765,7 @@ class bitopro extends _abstract_bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
50705
50765
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/open/currencies.md
50706
50766
  * @param {string[]|undefined} codes list of unified currency codes
50707
50767
  * @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}
50768
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
50709
50769
  */
50710
50770
  await this.loadMarkets();
50711
50771
  const response = await this.publicGetProvisioningCurrencies(params);
@@ -51741,7 +51801,7 @@ class bitpanda extends _abstract_bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
51741
51801
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
51742
51802
  * @param {int} [limit] the maximum amount of trades to fetch
51743
51803
  * @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}
51804
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
51745
51805
  */
51746
51806
  await this.loadMarkets();
51747
51807
  const market = this.market(symbol);
@@ -51793,7 +51853,7 @@ class bitpanda extends _abstract_bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
51793
51853
  * @name bitpanda#fetchBalance
51794
51854
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
51795
51855
  * @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}
51856
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
51797
51857
  */
51798
51858
  await this.loadMarkets();
51799
51859
  const response = await this.privateGetAccountBalances(params);
@@ -53537,7 +53597,7 @@ class bitrue extends _abstract_bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
53537
53597
  * @name bitrue#fetchBalance
53538
53598
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
53539
53599
  * @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}
53600
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
53541
53601
  */
53542
53602
  await this.loadMarkets();
53543
53603
  const response = await this.v1PrivateGetAccount(params);
@@ -53920,7 +53980,7 @@ class bitrue extends _abstract_bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
53920
53980
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
53921
53981
  * @param {int} [limit] the maximum amount of trades to fetch
53922
53982
  * @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}
53983
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
53924
53984
  */
53925
53985
  await this.loadMarkets();
53926
53986
  const market = this.market(symbol);
@@ -54731,7 +54791,7 @@ class bitrue extends _abstract_bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
54731
54791
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#exchangeInfo_endpoint
54732
54792
  * @param {string[]|undefined} codes list of unified currency codes
54733
54793
  * @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}
54794
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
54735
54795
  */
54736
54796
  await this.loadMarkets();
54737
54797
  const response = await this.v1PublicGetExchangeInfo(params);
@@ -55368,7 +55428,7 @@ class bitso extends _abstract_bitso_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
55368
55428
  * @name bitso#fetchBalance
55369
55429
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
55370
55430
  * @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}
55431
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
55372
55432
  */
55373
55433
  await this.loadMarkets();
55374
55434
  const response = await this.privateGetBalance(params);
@@ -55682,7 +55742,7 @@ class bitso extends _abstract_bitso_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
55682
55742
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
55683
55743
  * @param {int} [limit] the maximum amount of trades to fetch
55684
55744
  * @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}
55745
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
55686
55746
  */
55687
55747
  await this.loadMarkets();
55688
55748
  const market = this.market(symbol);
@@ -57586,7 +57646,7 @@ class bitstamp extends _abstract_bitstamp_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
57586
57646
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
57587
57647
  * @param {int} [limit] the maximum amount of trades to fetch
57588
57648
  * @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}
57649
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
57590
57650
  */
57591
57651
  await this.loadMarkets();
57592
57652
  const market = this.market(symbol);
@@ -57716,7 +57776,7 @@ class bitstamp extends _abstract_bitstamp_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
57716
57776
  * @name bitstamp#fetchBalance
57717
57777
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
57718
57778
  * @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}
57779
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
57720
57780
  */
57721
57781
  await this.loadMarkets();
57722
57782
  const response = await this.privatePostBalance(params);
@@ -59022,7 +59082,7 @@ class bitstamp1 extends _abstract_bitstamp1_js__WEBPACK_IMPORTED_MODULE_0__/* ["
59022
59082
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
59023
59083
  * @param {int} [limit] the maximum amount of trades to fetch
59024
59084
  * @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}
59085
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
59026
59086
  */
59027
59087
  if (symbol !== 'BTC/USD') {
59028
59088
  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 +59116,7 @@ class bitstamp1 extends _abstract_bitstamp1_js__WEBPACK_IMPORTED_MODULE_0__/* ["
59056
59116
  * @name bitstamp1#fetchBalance
59057
59117
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
59058
59118
  * @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}
59119
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
59060
59120
  */
59061
59121
  const response = await this.privatePostBalance(params);
59062
59122
  return this.parseBalance(response);
@@ -59582,7 +59642,7 @@ class bittrex extends _abstract_bittrex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
59582
59642
  * @name bittrex#fetchBalance
59583
59643
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
59584
59644
  * @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}
59645
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
59586
59646
  */
59587
59647
  await this.loadMarkets();
59588
59648
  const response = await this.privateGetBalances(params);
@@ -59963,7 +60023,7 @@ class bittrex extends _abstract_bittrex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
59963
60023
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
59964
60024
  * @param {int} [limit] the maximum amount of trades to fetch
59965
60025
  * @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}
60026
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
59967
60027
  */
59968
60028
  await this.loadMarkets();
59969
60029
  const market = this.market(symbol);
@@ -61271,7 +61331,7 @@ class bittrex extends _abstract_bittrex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
61271
61331
  * @description fetch deposit and withdraw fees
61272
61332
  * @param {string[]|undefined} codes list of unified currency codes
61273
61333
  * @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}
61334
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
61275
61335
  */
61276
61336
  await this.loadMarkets();
61277
61337
  const response = await this.publicGetCurrencies(params);
@@ -62104,7 +62164,7 @@ class bitvavo extends _abstract_bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
62104
62164
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
62105
62165
  * @param {int} [limit] the maximum amount of trades to fetch
62106
62166
  * @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}
62167
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
62108
62168
  */
62109
62169
  await this.loadMarkets();
62110
62170
  const market = this.market(symbol);
@@ -62393,7 +62453,7 @@ class bitvavo extends _abstract_bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
62393
62453
  * @name bitvavo#fetchBalance
62394
62454
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
62395
62455
  * @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}
62456
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
62397
62457
  */
62398
62458
  await this.loadMarkets();
62399
62459
  const response = await this.privateGetBalance(params);
@@ -63275,7 +63335,7 @@ class bitvavo extends _abstract_bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
63275
63335
  * @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
63276
63336
  * @param {string[]|undefined} codes list of unified currency codes
63277
63337
  * @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}
63338
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
63279
63339
  */
63280
63340
  await this.loadMarkets();
63281
63341
  const response = await this.publicGetAssets(params);
@@ -64276,7 +64336,7 @@ class bkex extends _abstract_bkex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
64276
64336
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
64277
64337
  * @param {int} [limit] the maximum amount of trades to fetch
64278
64338
  * @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}
64339
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
64280
64340
  */
64281
64341
  await this.loadMarkets();
64282
64342
  const market = this.market(symbol);
@@ -64397,7 +64457,7 @@ class bkex extends _abstract_bkex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
64397
64457
  * @name bkex#fetchBalance
64398
64458
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
64399
64459
  * @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}
64460
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
64401
64461
  */
64402
64462
  await this.loadMarkets();
64403
64463
  const query = this.omit(params, 'type');
@@ -65145,9 +65205,9 @@ class bkex extends _abstract_bkex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
65145
65205
  * @description fetches historical funding rate prices
65146
65206
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
65147
65207
  * @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
65208
+ * @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
65209
  * @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}
65210
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
65151
65211
  */
65152
65212
  if (symbol === undefined) {
65153
65213
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -65478,7 +65538,7 @@ class bl3p extends _abstract_bl3p_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
65478
65538
  * @name bl3p#fetchBalance
65479
65539
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
65480
65540
  * @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}
65541
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
65482
65542
  */
65483
65543
  await this.loadMarkets();
65484
65544
  const response = await this.privatePostGENMKTMoneyInfo(params);
@@ -65615,7 +65675,7 @@ class bl3p extends _abstract_bl3p_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
65615
65675
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
65616
65676
  * @param {int} [limit] the maximum amount of trades to fetch
65617
65677
  * @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}
65678
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
65619
65679
  */
65620
65680
  const market = this.market(symbol);
65621
65681
  const response = await this.publicGetMarketTrades(this.extend({
@@ -66838,7 +66898,7 @@ class blockchaincom extends _abstract_blockchaincom_js__WEBPACK_IMPORTED_MODULE_
66838
66898
  * @name blockchaincom#fetchBalance
66839
66899
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
66840
66900
  * @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}
66901
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
66842
66902
  */
66843
66903
  await this.loadMarkets();
66844
66904
  const accountName = this.safeString(params, 'account', 'primary');
@@ -67398,7 +67458,7 @@ class btcalpha extends _abstract_btcalpha_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
67398
67458
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
67399
67459
  * @param {int} [limit] the maximum amount of trades to fetch
67400
67460
  * @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}
67461
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
67402
67462
  */
67403
67463
  await this.loadMarkets();
67404
67464
  let market = undefined;
@@ -67601,7 +67661,7 @@ class btcalpha extends _abstract_btcalpha_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
67601
67661
  * @name btcalpha#fetchBalance
67602
67662
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
67603
67663
  * @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}
67664
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
67605
67665
  */
67606
67666
  await this.loadMarkets();
67607
67667
  const response = await this.privateGetWallets(params);
@@ -68047,7 +68107,7 @@ class btcbox extends _abstract_btcbox_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
68047
68107
  * @name btcbox#fetchBalance
68048
68108
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
68049
68109
  * @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}
68110
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
68051
68111
  */
68052
68112
  await this.loadMarkets();
68053
68113
  const response = await this.privatePostBalance(params);
@@ -68163,7 +68223,7 @@ class btcbox extends _abstract_btcbox_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
68163
68223
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
68164
68224
  * @param {int} [limit] the maximum amount of trades to fetch
68165
68225
  * @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}
68226
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
68167
68227
  */
68168
68228
  await this.loadMarkets();
68169
68229
  const market = this.market(symbol);
@@ -68947,7 +69007,7 @@ class btcmarkets extends _abstract_btcmarkets_js__WEBPACK_IMPORTED_MODULE_0__/*
68947
69007
  * @name btcmarkets#fetchBalance
68948
69008
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
68949
69009
  * @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}
69010
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
68951
69011
  */
68952
69012
  await this.loadMarkets();
68953
69013
  const response = await this.privateGetAccountsMeBalances(params);
@@ -69216,7 +69276,7 @@ class btcmarkets extends _abstract_btcmarkets_js__WEBPACK_IMPORTED_MODULE_0__/*
69216
69276
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
69217
69277
  * @param {int} [limit] the maximum amount of trades to fetch
69218
69278
  * @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}
69279
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
69220
69280
  */
69221
69281
  await this.loadMarkets();
69222
69282
  const market = this.market(symbol);
@@ -69874,7 +69934,7 @@ class btctradeua extends _abstract_btctradeua_js__WEBPACK_IMPORTED_MODULE_0__/*
69874
69934
  * @name btctradeua#fetchBalance
69875
69935
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
69876
69936
  * @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}
69937
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
69878
69938
  */
69879
69939
  await this.loadMarkets();
69880
69940
  const response = await this.privatePostBalance(params);
@@ -70115,7 +70175,7 @@ class btctradeua extends _abstract_btctradeua_js__WEBPACK_IMPORTED_MODULE_0__/*
70115
70175
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
70116
70176
  * @param {int} [limit] the maximum amount of trades to fetch
70117
70177
  * @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}
70178
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
70119
70179
  */
70120
70180
  await this.loadMarkets();
70121
70181
  const market = this.market(symbol);
@@ -70562,7 +70622,7 @@ class btcturk extends _abstract_btcturk_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
70562
70622
  * @name btcturk#fetchBalance
70563
70623
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
70564
70624
  * @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}
70625
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
70566
70626
  */
70567
70627
  await this.loadMarkets();
70568
70628
  const response = await this.privateGetUsersBalances(params);
@@ -70762,7 +70822,7 @@ class btcturk extends _abstract_btcturk_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
70762
70822
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
70763
70823
  * @param {int} [limit] the maximum amount of trades to fetch
70764
70824
  * @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}
70825
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
70766
70826
  */
70767
70827
  await this.loadMarkets();
70768
70828
  const market = this.market(symbol);
@@ -73807,10 +73867,10 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
73807
73867
  * @see https://bybit-exchange.github.io/docs/v5/market/history-fund-rate
73808
73868
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
73809
73869
  * @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
73870
+ * @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
73871
  * @param {object} [params] extra parameters specific to the bybit api endpoint
73812
73872
  * @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}
73873
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
73814
73874
  */
73815
73875
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
73816
73876
  await this.loadMarkets();
@@ -74144,7 +74204,7 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
74144
74204
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
74145
74205
  * @param {int} [limit] the maximum amount of trades to fetch
74146
74206
  * @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}
74207
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
74148
74208
  */
74149
74209
  this.checkRequiredSymbol('fetchTrades', symbol);
74150
74210
  await this.loadMarkets();
@@ -74552,7 +74612,7 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
74552
74612
  * @name bybit#fetchBalance
74553
74613
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
74554
74614
  * @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}
74615
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
74556
74616
  */
74557
74617
  await this.loadMarkets();
74558
74618
  const request = {};
@@ -80114,7 +80174,7 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
80114
80174
  * @see https://bybit-exchange.github.io/docs/v5/asset/coin-info
80115
80175
  * @param {string[]|undefined} codes list of unified currency codes
80116
80176
  * @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}
80177
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
80118
80178
  */
80119
80179
  this.checkRequiredCredentials();
80120
80180
  await this.loadMarkets();
@@ -81033,7 +81093,7 @@ class cex extends _abstract_cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
81033
81093
  * @name cex#fetchBalance
81034
81094
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
81035
81095
  * @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}
81096
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
81037
81097
  */
81038
81098
  await this.loadMarkets();
81039
81099
  const response = await this.privatePostBalance(params);
@@ -81247,7 +81307,7 @@ class cex extends _abstract_cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
81247
81307
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
81248
81308
  * @param {int} [limit] the maximum amount of trades to fetch
81249
81309
  * @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}
81310
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
81251
81311
  */
81252
81312
  await this.loadMarkets();
81253
81313
  const market = this.market(symbol);
@@ -83695,7 +83755,7 @@ class coinbase extends _abstract_coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
83695
83755
  * @name coinbase#fetchBalance
83696
83756
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
83697
83757
  * @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}
83758
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
83699
83759
  */
83700
83760
  await this.loadMarkets();
83701
83761
  const request = {
@@ -84843,7 +84903,7 @@ class coinbase extends _abstract_coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
84843
84903
  * @param {int} [since] not used by coinbase fetchTrades
84844
84904
  * @param {int} [limit] the maximum number of trade structures to fetch
84845
84905
  * @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}
84906
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
84847
84907
  */
84848
84908
  await this.loadMarkets();
84849
84909
  const market = this.market(symbol);
@@ -84980,7 +85040,7 @@ class coinbase extends _abstract_coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
84980
85040
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getbestbidask
84981
85041
  * @param {string[]} [symbols] unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
84982
85042
  * @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}
85043
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
84984
85044
  */
84985
85045
  await this.loadMarkets();
84986
85046
  symbols = this.marketSymbols(symbols);
@@ -85651,7 +85711,7 @@ class coinbasepro extends _abstract_coinbasepro_js__WEBPACK_IMPORTED_MODULE_0__/
85651
85711
  * @name coinbasepro#fetchBalance
85652
85712
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
85653
85713
  * @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}
85714
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
85655
85715
  */
85656
85716
  await this.loadMarkets();
85657
85717
  const response = await this.privateGetAccounts(params);
@@ -85970,7 +86030,7 @@ class coinbasepro extends _abstract_coinbasepro_js__WEBPACK_IMPORTED_MODULE_0__/
85970
86030
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
85971
86031
  * @param {int} [limit] the maximum amount of trades to fetch
85972
86032
  * @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}
86033
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
85974
86034
  */
85975
86035
  await this.loadMarkets();
85976
86036
  const market = this.market(symbol);
@@ -87177,7 +87237,7 @@ class coincheck extends _abstract_coincheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["
87177
87237
  * @name coincheck#fetchBalance
87178
87238
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
87179
87239
  * @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}
87240
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
87181
87241
  */
87182
87242
  await this.loadMarkets();
87183
87243
  const response = await this.privateGetAccountsBalance(params);
@@ -87479,7 +87539,7 @@ class coincheck extends _abstract_coincheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["
87479
87539
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
87480
87540
  * @param {int} [limit] the maximum amount of trades to fetch
87481
87541
  * @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}
87542
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
87483
87543
  */
87484
87544
  await this.loadMarkets();
87485
87545
  const market = this.market(symbol);
@@ -88527,9 +88587,9 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
88527
88587
  'high': this.safeString(ticker, 'high'),
88528
88588
  'low': this.safeString(ticker, 'low'),
88529
88589
  'bid': this.safeString(ticker, 'buy'),
88530
- 'bidVolume': undefined,
88590
+ 'bidVolume': this.safeString(ticker, 'buy_amount'),
88531
88591
  'ask': this.safeString(ticker, 'sell'),
88532
- 'askVolume': undefined,
88592
+ 'askVolume': this.safeString(ticker, 'sell_amount'),
88533
88593
  'vwap': undefined,
88534
88594
  'open': this.safeString(ticker, 'open'),
88535
88595
  'close': last,
@@ -88938,7 +88998,7 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
88938
88998
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
88939
88999
  * @param {int} [limit] the maximum amount of trades to fetch
88940
89000
  * @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}
89001
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
88942
89002
  */
88943
89003
  await this.loadMarkets();
88944
89004
  const market = this.market(symbol);
@@ -89329,7 +89389,7 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
89329
89389
  * @see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures001_http016_asset_query // swap
89330
89390
  * @param {object} [params] extra parameters specific to the coinex api endpoint
89331
89391
  * @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}
89392
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
89333
89393
  */
89334
89394
  let marketType = undefined;
89335
89395
  [marketType, params] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
@@ -91686,9 +91746,9 @@ class coinex extends _abstract_coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
91686
91746
  * @description fetches historical funding rate prices
91687
91747
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
91688
91748
  * @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
91749
+ * @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
91750
  * @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}
91751
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
91692
91752
  */
91693
91753
  if (symbol === undefined) {
91694
91754
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_3__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -93145,7 +93205,7 @@ class coinfalcon extends _abstract_coinfalcon_js__WEBPACK_IMPORTED_MODULE_0__/*
93145
93205
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
93146
93206
  * @param {int} [limit] the maximum amount of trades to fetch
93147
93207
  * @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}
93208
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
93149
93209
  */
93150
93210
  await this.loadMarkets();
93151
93211
  const market = this.market(symbol);
@@ -93231,7 +93291,7 @@ class coinfalcon extends _abstract_coinfalcon_js__WEBPACK_IMPORTED_MODULE_0__/*
93231
93291
  * @name coinfalcon#fetchBalance
93232
93292
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
93233
93293
  * @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}
93294
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
93235
93295
  */
93236
93296
  await this.loadMarkets();
93237
93297
  const response = await this.privateGetUserAccounts(params);
@@ -94034,7 +94094,7 @@ class coinmate extends _abstract_coinmate_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
94034
94094
  * @name coinmate#fetchBalance
94035
94095
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
94036
94096
  * @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}
94097
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
94038
94098
  */
94039
94099
  await this.loadMarkets();
94040
94100
  const response = await this.privatePostBalances(params);
@@ -94367,7 +94427,7 @@ class coinmate extends _abstract_coinmate_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
94367
94427
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
94368
94428
  * @param {int} [limit] the maximum amount of trades to fetch
94369
94429
  * @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}
94430
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
94371
94431
  */
94372
94432
  await this.loadMarkets();
94373
94433
  const market = this.market(symbol);
@@ -94972,7 +95032,7 @@ class coinone extends _abstract_coinone_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
94972
95032
  * @name coinone#fetchBalance
94973
95033
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
94974
95034
  * @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}
95035
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
94976
95036
  */
94977
95037
  await this.loadMarkets();
94978
95038
  const response = await this.privatePostAccountBalance(params);
@@ -95173,7 +95233,7 @@ class coinone extends _abstract_coinone_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
95173
95233
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
95174
95234
  * @param {int} [limit] the maximum amount of trades to fetch
95175
95235
  * @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}
95236
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
95177
95237
  */
95178
95238
  await this.loadMarkets();
95179
95239
  const market = this.market(symbol);
@@ -95846,6 +95906,11 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
95846
95906
  'openapi/convert/v1/get-supported-trading-pairs': 1,
95847
95907
  'openapi/convert/v1/get-quote': 1,
95848
95908
  'openapi/convert/v1/accpet-quote': 1,
95909
+ 'openapi/fiat/v1/support-channel': 1,
95910
+ 'openapi/fiat/v1/cash-out': 1,
95911
+ 'openapi/fiat/v1/history': 1,
95912
+ 'openapi/migration/v4/sellorder': 1,
95913
+ 'openapi/migration/v4/validate-field': 1,
95849
95914
  'openapi/transfer/v3/transfers': 1,
95850
95915
  },
95851
95916
  'delete': {
@@ -96473,7 +96538,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
96473
96538
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
96474
96539
  * @param {int} [limit] the maximum amount of trades to fetch (default 500, max 1000)
96475
96540
  * @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}
96541
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
96477
96542
  */
96478
96543
  await this.loadMarkets();
96479
96544
  const market = this.market(symbol);
@@ -96647,7 +96712,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
96647
96712
  * @name coinsph#fetchBalance
96648
96713
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
96649
96714
  * @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}
96715
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
96651
96716
  */
96652
96717
  await this.loadMarkets();
96653
96718
  const response = await this.privateGetOpenapiV1Account(params);
@@ -97753,7 +97818,7 @@ class coinspot extends _abstract_coinspot_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
97753
97818
  * @name coinspot#fetchBalance
97754
97819
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
97755
97820
  * @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}
97821
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
97757
97822
  */
97758
97823
  await this.loadMarkets();
97759
97824
  const method = this.safeString(this.options, 'fetchBalance', 'private_post_my_balances');
@@ -97911,7 +97976,7 @@ class coinspot extends _abstract_coinspot_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
97911
97976
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
97912
97977
  * @param {int} [limit] the maximum amount of trades to fetch
97913
97978
  * @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}
97979
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
97915
97980
  */
97916
97981
  await this.loadMarkets();
97917
97982
  const market = this.market(symbol);
@@ -98768,7 +98833,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
98768
98833
  * @param {int} [limit] the maximum number of trades to fetch
98769
98834
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
98770
98835
  * @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}
98836
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
98772
98837
  */
98773
98838
  await this.loadMarkets();
98774
98839
  const market = this.market(symbol);
@@ -98934,7 +98999,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
98934
98999
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
98935
99000
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-user-balance
98936
99001
  * @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}
99002
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
98938
99003
  */
98939
99004
  await this.loadMarkets();
98940
99005
  const response = await this.v1PrivatePostPrivateUserBalance(params);
@@ -100473,7 +100538,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
100473
100538
  * @see https://exchange-docs.crypto.com/spot/index.html#private-get-currency-networks
100474
100539
  * @param {string[]|undefined} codes list of unified currency codes
100475
100540
  * @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}
100541
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
100477
100542
  */
100478
100543
  await this.loadMarkets();
100479
100544
  const response = await this.v2PrivatePostPrivateGetCurrencyNetworks(params);
@@ -100492,7 +100557,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
100492
100557
  * @param {int} [limit] max number of ledger entries to return
100493
100558
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
100494
100559
  * @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}
100560
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
100496
100561
  */
100497
100562
  await this.loadMarkets();
100498
100563
  const request = {};
@@ -100803,7 +100868,7 @@ class cryptocom extends _abstract_cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["
100803
100868
  * @param {int} [limit] the maximum amount of [funding rate structures] to fetch
100804
100869
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
100805
100870
  * @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}
100871
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
100807
100872
  */
100808
100873
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
100809
100874
  await this.loadMarkets();
@@ -101796,7 +101861,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
101796
101861
  * @name currencycom#fetchBalance
101797
101862
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
101798
101863
  * @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}
101864
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
101800
101865
  */
101801
101866
  await this.loadMarkets();
101802
101867
  const response = await this.privateGetV2Account(params);
@@ -102158,7 +102223,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
102158
102223
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
102159
102224
  * @param {int} [limit] the maximum amount of trades to fetch
102160
102225
  * @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}
102226
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
102162
102227
  */
102163
102228
  await this.loadMarkets();
102164
102229
  const market = this.market(symbol);
@@ -104505,7 +104570,7 @@ class delta extends _abstract_delta_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
104505
104570
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
104506
104571
  * @param {int} [limit] the maximum amount of trades to fetch
104507
104572
  * @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}
104573
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
104509
104574
  */
104510
104575
  await this.loadMarkets();
104511
104576
  const market = this.market(symbol);
@@ -104629,7 +104694,7 @@ class delta extends _abstract_delta_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
104629
104694
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
104630
104695
  * @see https://docs.delta.exchange/#get-wallet-balances
104631
104696
  * @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}
104697
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
104633
104698
  */
104634
104699
  await this.loadMarkets();
104635
104700
  const response = await this.privateGetWalletBalances(params);
@@ -107010,7 +107075,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
107010
107075
  * @name deribit#fetchBalance
107011
107076
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
107012
107077
  * @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}
107078
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
107014
107079
  */
107015
107080
  await this.loadMarkets();
107016
107081
  const code = this.codeFromOptions('fetchBalance', params);
@@ -107480,7 +107545,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
107480
107545
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
107481
107546
  * @param {int} [limit] the maximum amount of trades to fetch
107482
107547
  * @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}
107548
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
107484
107549
  */
107485
107550
  await this.loadMarkets();
107486
107551
  const market = this.market(symbol);
@@ -108932,7 +108997,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
108932
108997
  * @see https://docs.deribit.com/#public-get_currencies
108933
108998
  * @param {string[]|undefined} codes list of unified currency codes
108934
108999
  * @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}
109000
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
108936
109001
  */
108937
109002
  await this.loadMarkets();
108938
109003
  const response = await this.publicGetGetCurrencies(params);
@@ -109937,7 +110002,7 @@ class digifinex extends _abstract_digifinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["
109937
110002
  * @see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-assets
109938
110003
  * @see https://docs.digifinex.com/en-ww/swap/v2/rest.html#accountbalance
109939
110004
  * @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}
110005
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
109941
110006
  */
109942
110007
  await this.loadMarkets();
109943
110008
  let marketType = undefined;
@@ -110506,7 +110571,7 @@ class digifinex extends _abstract_digifinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["
110506
110571
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
110507
110572
  * @param {int} [limit] the maximum amount of trades to fetch
110508
110573
  * @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}
110574
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
110510
110575
  */
110511
110576
  await this.loadMarkets();
110512
110577
  const market = this.market(symbol);
@@ -112153,9 +112218,9 @@ class digifinex extends _abstract_digifinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["
112153
112218
  * @description fetches historical funding rate prices
112154
112219
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
112155
112220
  * @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
112221
+ * @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
112222
  * @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}
112223
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
112159
112224
  */
112160
112225
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
112161
112226
  await this.loadMarkets();
@@ -113945,7 +114010,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
113945
114010
  * @name exmo#fetchBalance
113946
114011
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
113947
114012
  * @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}
114013
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
113949
114014
  */
113950
114015
  await this.loadMarkets();
113951
114016
  const response = await this.privatePostUserInfo(params);
@@ -114199,7 +114264,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
114199
114264
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
114200
114265
  * @param {int} [limit] the maximum amount of trades to fetch
114201
114266
  * @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}
114267
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
114203
114268
  */
114204
114269
  await this.loadMarkets();
114205
114270
  const market = this.market(symbol);
@@ -115478,6 +115543,29 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
115478
115543
  'sub_accounts/{user_id}/keys/{key}': 1,
115479
115544
  },
115480
115545
  },
115546
+ 'portfolio': {
115547
+ 'get': {
115548
+ 'accounts': 1.5,
115549
+ 'account_mode': 1.5,
115550
+ 'borrowable': 1.5,
115551
+ 'transferable': 1.5,
115552
+ 'loans': 1.5,
115553
+ 'loan_records': 1.5,
115554
+ 'interest_records': 1.5,
115555
+ 'spot/orders': 1.5,
115556
+ 'spot/orders/{order_id}': 1.5,
115557
+ },
115558
+ 'post': {
115559
+ 'loans': 1.5,
115560
+ 'spot/orders': 1.5,
115561
+ },
115562
+ 'delete': {
115563
+ 'spot/orders/{order_id}': 1.5,
115564
+ },
115565
+ 'patch': {
115566
+ 'spot/orders/{order_id}': 1.5,
115567
+ },
115568
+ },
115481
115569
  'spot': {
115482
115570
  'get': {
115483
115571
  'fee': 1,
@@ -115671,6 +115759,22 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
115671
115759
  'uni/lends': 1.5,
115672
115760
  },
115673
115761
  },
115762
+ 'loan': {
115763
+ 'get': {
115764
+ 'collateral/orders': 1.5,
115765
+ 'collateral/orders/{order_id}': 1.5,
115766
+ 'collateral/repay_records': 1.5,
115767
+ 'collateral/collaterals': 1.5,
115768
+ 'collateral/total_amount': 1.5,
115769
+ 'collateral/ltv': 1.5,
115770
+ 'collateral/currencies': 1.5,
115771
+ },
115772
+ 'post': {
115773
+ 'collateral/orders': 1.5,
115774
+ 'collateral/repay': 1.5,
115775
+ 'collateral/collaterals': 1.5,
115776
+ },
115777
+ },
115674
115778
  'account': {
115675
115779
  'get': {
115676
115780
  'detail': 1.5,
@@ -115681,6 +115785,9 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
115681
115785
  'stp_groups': 1.5,
115682
115786
  'stp_groups/{stp_id}/users': 1.5,
115683
115787
  },
115788
+ 'delete': {
115789
+ 'stp_groups/{stp_id}/users': 1.5,
115790
+ },
115684
115791
  },
115685
115792
  'rebate': {
115686
115793
  'get': {
@@ -118050,9 +118157,9 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
118050
118157
  * @description fetches historical funding rate prices
118051
118158
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
118052
118159
  * @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
118160
+ * @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
118161
  * @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}
118162
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
118056
118163
  */
118057
118164
  if (symbol === undefined) {
118058
118165
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -118145,7 +118252,7 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
118145
118252
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
118146
118253
  * @param {int} [limit] the maximum amount of trades to fetch
118147
118254
  * @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}
118255
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
118149
118256
  */
118150
118257
  await this.loadMarkets();
118151
118258
  const market = this.market(symbol);
@@ -120102,7 +120209,7 @@ class gate extends _abstract_gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
120102
120209
  * @see https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
120103
120210
  * @param {string} symbol unified market symbol of the market the position is held in
120104
120211
  * @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}
120212
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
120106
120213
  */
120107
120214
  await this.loadMarkets();
120108
120215
  const market = this.market(symbol);
@@ -122368,7 +122475,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
122368
122475
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
122369
122476
  * @param {int} [limit] the maximum amount of trades to fetch
122370
122477
  * @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}
122478
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
122372
122479
  */
122373
122480
  await this.loadMarkets();
122374
122481
  const market = this.market(symbol);
@@ -122474,7 +122581,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
122474
122581
  * @name gemini#fetchBalance
122475
122582
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
122476
122583
  * @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}
122584
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
122478
122585
  */
122479
122586
  await this.loadMarkets();
122480
122587
  const response = await this.privatePostV1Balances(params);
@@ -123068,7 +123175,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
123068
123175
  * @param {string} code unified currency code
123069
123176
  * @param {object} [params] extra parameters specific to the endpoint
123070
123177
  * @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}
123178
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
123072
123179
  */
123073
123180
  await this.loadMarkets();
123074
123181
  const groupedByNetwork = await this.fetchDepositAddressesByNetwork(code, params);
@@ -124187,7 +124294,7 @@ class hitbtc extends _abstract_hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
124187
124294
  * @name hitbtc#fetchBalance
124188
124295
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
124189
124296
  * @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}
124297
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
124191
124298
  */
124192
124299
  const type = this.safeStringLower(params, 'type', 'spot');
124193
124300
  params = this.omit(params, ['type']);
@@ -124328,7 +124435,7 @@ class hitbtc extends _abstract_hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
124328
124435
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
124329
124436
  * @param {int} [limit] the maximum amount of trades to fetch
124330
124437
  * @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}
124438
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
124332
124439
  */
124333
124440
  await this.loadMarkets();
124334
124441
  let market = undefined;
@@ -125612,9 +125719,9 @@ class hitbtc extends _abstract_hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
125612
125719
  * @description fetches historical funding rate prices
125613
125720
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
125614
125721
  * @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
125722
+ * @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
125723
  * @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}
125724
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
125618
125725
  */
125619
125726
  await this.loadMarkets();
125620
125727
  let market = undefined;
@@ -126971,7 +127078,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
126971
127078
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
126972
127079
  * @param {int} [limit] the maximum amount of trades to fetch
126973
127080
  * @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}
127081
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
126975
127082
  */
126976
127083
  await this.loadMarkets();
126977
127084
  const market = this.market(symbol);
@@ -127209,7 +127316,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
127209
127316
  * @name hollaex#fetchBalance
127210
127317
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
127211
127318
  * @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}
127319
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
127213
127320
  */
127214
127321
  await this.loadMarkets();
127215
127322
  const response = await this.privateGetUserBalance(params);
@@ -128142,7 +128249,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
128142
128249
  * @see https://apidocs.hollaex.com/#constants
128143
128250
  * @param {string[]|undefined} codes list of unified currency codes
128144
128251
  * @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}
128252
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
128146
128253
  */
128147
128254
  const response = await this.publicGetConstants(params);
128148
128255
  //
@@ -130776,7 +130883,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
130776
130883
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
130777
130884
  * @param {int} [limit] the maximum amount of trades to fetch
130778
130885
  * @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}
130886
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
130780
130887
  */
130781
130888
  await this.loadMarkets();
130782
130889
  const market = this.market(symbol);
@@ -131241,7 +131348,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
131241
131348
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
131242
131349
  * @param {object} [params] extra parameters specific to the huobi api endpoint
131243
131350
  * @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}
131351
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
131245
131352
  */
131246
131353
  await this.loadMarkets();
131247
131354
  let type = undefined;
@@ -132877,7 +132984,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
132877
132984
  * @param {float} amount how much of currency you want to trade in units of base currency
132878
132985
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
132879
132986
  * @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}
132987
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
132881
132988
  */
132882
132989
  await this.loadMarkets();
132883
132990
  await this.loadAccounts();
@@ -133016,7 +133123,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
133016
133123
  * @param {float} amount how much of currency you want to trade in units of base currency
133017
133124
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
133018
133125
  * @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}
133126
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
133020
133127
  */
133021
133128
  const market = this.market(symbol);
133022
133129
  const request = {
@@ -134278,7 +134385,7 @@ class huobi extends _abstract_huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
134278
134385
  * @param {int} [since] not used by huobi, but filtered internally by ccxt
134279
134386
  * @param {int} [limit] not used by huobi, but filtered internally by ccxt
134280
134387
  * @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}
134388
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
134282
134389
  */
134283
134390
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
134284
134391
  await this.loadMarkets();
@@ -137295,7 +137402,7 @@ class huobijp extends _abstract_huobijp_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
137295
137402
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
137296
137403
  * @param {int} [limit] the maximum amount of trades to fetch
137297
137404
  * @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}
137405
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
137299
137406
  */
137300
137407
  await this.loadMarkets();
137301
137408
  const market = this.market(symbol);
@@ -137541,7 +137648,7 @@ class huobijp extends _abstract_huobijp_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
137541
137648
  * @name huobijp#fetchBalance
137542
137649
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
137543
137650
  * @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}
137651
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
137545
137652
  */
137546
137653
  await this.loadMarkets();
137547
137654
  await this.loadAccounts();
@@ -138857,7 +138964,7 @@ class idex extends _abstract_idex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
138857
138964
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
138858
138965
  * @param {int} [limit] the maximum amount of trades to fetch
138859
138966
  * @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}
138967
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
138861
138968
  */
138862
138969
  await this.loadMarkets();
138863
138970
  const market = this.market(symbol);
@@ -139140,7 +139247,7 @@ class idex extends _abstract_idex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
139140
139247
  * @name idex#fetchBalance
139141
139248
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
139142
139249
  * @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}
139250
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
139144
139251
  */
139145
139252
  this.checkRequiredCredentials();
139146
139253
  await this.loadMarkets();
@@ -140360,7 +140467,7 @@ class independentreserve extends _abstract_independentreserve_js__WEBPACK_IMPORT
140360
140467
  * @name independentreserve#fetchBalance
140361
140468
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
140362
140469
  * @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}
140470
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
140364
140471
  */
140365
140472
  await this.loadMarkets();
140366
140473
  const response = await this.privatePostGetAccounts(params);
@@ -140730,7 +140837,7 @@ class independentreserve extends _abstract_independentreserve_js__WEBPACK_IMPORT
140730
140837
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
140731
140838
  * @param {int} [limit] the maximum amount of trades to fetch
140732
140839
  * @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}
140840
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
140734
140841
  */
140735
140842
  await this.loadMarkets();
140736
140843
  const market = this.market(symbol);
@@ -141199,7 +141306,7 @@ class indodax extends _abstract_indodax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
141199
141306
  * @name indodax#fetchBalance
141200
141307
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
141201
141308
  * @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}
141309
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
141203
141310
  */
141204
141311
  await this.loadMarkets();
141205
141312
  const response = await this.privatePostGetInfo(params);
@@ -141384,7 +141491,7 @@ class indodax extends _abstract_indodax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
141384
141491
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
141385
141492
  * @param {int} [limit] the maximum amount of trades to fetch
141386
141493
  * @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}
141494
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
141388
141495
  */
141389
141496
  await this.loadMarkets();
141390
141497
  const market = this.market(symbol);
@@ -143107,7 +143214,7 @@ class kraken extends _abstract_kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
143107
143214
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
143108
143215
  * @param {int} [limit] the maximum amount of trades to fetch
143109
143216
  * @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}
143217
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
143111
143218
  */
143112
143219
  await this.loadMarkets();
143113
143220
  const market = this.market(symbol);
@@ -143177,7 +143284,7 @@ class kraken extends _abstract_kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
143177
143284
  * @name kraken#fetchBalance
143178
143285
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
143179
143286
  * @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}
143287
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
143181
143288
  */
143182
143289
  await this.loadMarkets();
143183
143290
  const response = await this.privatePostBalance(params);
@@ -147933,7 +148040,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
147933
148040
  * @see https://docs.kucoin.com/#get-withdrawal-quotas
147934
148041
  * @param {string} code unified currency code
147935
148042
  * @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}
148043
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
147937
148044
  */
147938
148045
  await this.loadMarkets();
147939
148046
  const currency = this.currency(code);
@@ -149343,7 +149450,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
149343
149450
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
149344
149451
  * @param {int} [limit] the maximum amount of trades to fetch
149345
149452
  * @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}
149453
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
149347
149454
  */
149348
149455
  await this.loadMarkets();
149349
149456
  const market = this.market(symbol);
@@ -149886,7 +149993,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
149886
149993
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
149887
149994
  * @param {object} [params.marginMode] 'cross' or 'isolated', margin type for fetching margin balance
149888
149995
  * @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}
149996
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
149890
149997
  */
149891
149998
  await this.loadMarkets();
149892
149999
  const code = this.safeString(params, 'code');
@@ -150764,7 +150871,7 @@ class kucoin extends _abstract_kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
150764
150871
  * @see https://docs.kucoin.com/#get-currencies
150765
150872
  * @param {string[]|undefined} codes list of unified currency codes
150766
150873
  * @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}
150874
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
150768
150875
  */
150769
150876
  await this.loadMarkets();
150770
150877
  const response = await this.publicGetCurrencies(params);
@@ -151756,7 +151863,7 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
151756
151863
  * @description fetch data on an open position
151757
151864
  * @param {string} symbol unified market symbol of the market the position is held in
151758
151865
  * @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}
151866
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
151760
151867
  */
151761
151868
  await this.loadMarkets();
151762
151869
  const market = this.market(symbol);
@@ -152671,7 +152778,7 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
152671
152778
  * @name kucoinfutures#fetchBalance
152672
152779
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
152673
152780
  * @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}
152781
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
152675
152782
  */
152676
152783
  await this.loadMarkets();
152677
152784
  // only fetches one balance at a time
@@ -152842,7 +152949,7 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
152842
152949
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
152843
152950
  * @param {int} [limit] the maximum amount of trades to fetch
152844
152951
  * @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}
152952
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
152846
152953
  */
152847
152954
  await this.loadMarkets();
152848
152955
  const market = this.market(symbol);
@@ -153193,9 +153300,9 @@ class kucoinfutures extends _abstract_kucoinfutures_js__WEBPACK_IMPORTED_MODULE_
153193
153300
  * @description fetches historical funding rate prices
153194
153301
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
153195
153302
  * @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
153303
+ * @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
153304
  * @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}
153305
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
153199
153306
  */
153200
153307
  if (symbol === undefined) {
153201
153308
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -153772,7 +153879,7 @@ class kuna extends _abstract_kuna_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
153772
153879
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
153773
153880
  * @param {int} [limit] the maximum amount of trades to fetch
153774
153881
  * @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}
153882
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
153776
153883
  */
153777
153884
  await this.loadMarkets();
153778
153885
  const market = this.market(symbol);
@@ -153908,7 +154015,7 @@ class kuna extends _abstract_kuna_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
153908
154015
  * @name kuna#fetchBalance
153909
154016
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
153910
154017
  * @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}
154018
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
153912
154019
  */
153913
154020
  await this.loadMarkets();
153914
154021
  const response = await this.privateGetMembersMe(params);
@@ -154651,7 +154758,7 @@ class latoken extends _abstract_latoken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
154651
154758
  * @name latoken#fetchBalance
154652
154759
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
154653
154760
  * @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}
154761
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
154655
154762
  */
154656
154763
  await this.loadMarkets();
154657
154764
  const response = await this.privateGetAuthAccount(params);
@@ -154943,7 +155050,7 @@ class latoken extends _abstract_latoken_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
154943
155050
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
154944
155051
  * @param {int} [limit] the maximum amount of trades to fetch
154945
155052
  * @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}
155053
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
154947
155054
  */
154948
155055
  await this.loadMarkets();
154949
155056
  const market = this.market(symbol);
@@ -156187,7 +156294,7 @@ class lbank extends _abstract_lbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
156187
156294
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
156188
156295
  * @param {int} [limit] the maximum amount of trades to fetch
156189
156296
  * @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}
156297
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
156191
156298
  */
156192
156299
  await this.loadMarkets();
156193
156300
  const market = this.market(symbol);
@@ -156289,7 +156396,7 @@ class lbank extends _abstract_lbank_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
156289
156396
  * @name lbank#fetchBalance
156290
156397
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
156291
156398
  * @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}
156399
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
156293
156400
  */
156294
156401
  await this.loadMarkets();
156295
156402
  const response = await this.privatePostUserInfo(params);
@@ -157598,7 +157705,7 @@ class lbank2 extends _abstract_lbank2_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
157598
157705
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
157599
157706
  * @param {int} [limit] the maximum amount of trades to fetch
157600
157707
  * @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}
157708
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
157602
157709
  */
157603
157710
  await this.loadMarkets();
157604
157711
  const market = this.market(symbol);
@@ -157854,7 +157961,7 @@ class lbank2 extends _abstract_lbank2_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
157854
157961
  * @see https://www.lbank.info/en-US/docs/index.html#account-information
157855
157962
  * @see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
157856
157963
  * @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}
157964
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
157858
157965
  */
157859
157966
  await this.loadMarkets();
157860
157967
  let method = this.safeString(params, 'method');
@@ -159778,7 +159885,7 @@ class luno extends _abstract_luno_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
159778
159885
  * @name luno#fetchBalance
159779
159886
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
159780
159887
  * @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}
159888
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
159782
159889
  */
159783
159890
  await this.loadMarkets();
159784
159891
  const response = await this.privateGetBalance(params);
@@ -160163,7 +160270,7 @@ class luno extends _abstract_luno_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
160163
160270
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
160164
160271
  * @param {int} [limit] the maximum amount of trades to fetch
160165
160272
  * @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}
160273
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
160167
160274
  */
160168
160275
  await this.loadMarkets();
160169
160276
  const market = this.market(symbol);
@@ -161132,7 +161239,7 @@ class lykke extends _abstract_lykke_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
161132
161239
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
161133
161240
  * @param {int} [limit] the maximum amount of trades to fetch
161134
161241
  * @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}
161242
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
161136
161243
  */
161137
161244
  await this.loadMarkets();
161138
161245
  const market = this.market(symbol);
@@ -161193,7 +161300,7 @@ class lykke extends _abstract_lykke_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
161193
161300
  * @name lykke#fetchBalance
161194
161301
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
161195
161302
  * @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}
161303
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
161197
161304
  */
161198
161305
  await this.loadMarkets();
161199
161306
  const response = await this.privateGetBalance(params);
@@ -162189,7 +162296,7 @@ class mercado extends _abstract_mercado_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
162189
162296
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
162190
162297
  * @param {int} [limit] the maximum amount of trades to fetch
162191
162298
  * @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}
162299
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
162193
162300
  */
162194
162301
  await this.loadMarkets();
162195
162302
  const market = this.market(symbol);
@@ -162232,7 +162339,7 @@ class mercado extends _abstract_mercado_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
162232
162339
  * @name mercado#fetchBalance
162233
162340
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
162234
162341
  * @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}
162342
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
162236
162343
  */
162237
162344
  await this.loadMarkets();
162238
162345
  const response = await this.privatePostGetAccountInfo(params);
@@ -163435,6 +163542,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
163435
163542
  '2003': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InvalidOrder,
163436
163543
  '2005': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFunds,
163437
163544
  '400': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest,
163545
+ // '500': OnMaintenance, // {"code": 500,"message": "Under maintenance, please try again later","announcement": "https://www.mexc.com/support/articles/17827791510263"}
163438
163546
  '600': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest,
163439
163547
  '70011': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.PermissionDenied,
163440
163548
  '88004': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFunds,
@@ -163528,7 +163636,8 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
163528
163636
  'Insufficient balance!': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFunds,
163529
163637
  'Bid price is great than max allow price': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InvalidOrder,
163530
163638
  'Invalid symbol.': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadSymbol,
163531
- 'Param error!': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest, // code:600
163639
+ 'Param error!': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest,
163640
+ '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
163641
  },
163533
163642
  },
163534
163643
  });
@@ -164077,7 +164186,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
164077
164186
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
164078
164187
  * @param {int} [limit] the maximum amount of trades to fetch
164079
164188
  * @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}
164189
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
164081
164190
  */
164082
164191
  await this.loadMarkets();
164083
164192
  const market = this.market(symbol);
@@ -166124,7 +166233,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
166124
166233
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#isolated-account
166125
166234
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
166126
166235
  * @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}
166236
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
166128
166237
  */
166129
166238
  await this.loadMarkets();
166130
166239
  let marketType = undefined;
@@ -166645,7 +166754,7 @@ class mexc extends _abstract_mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
166645
166754
  * @param {int} [since] not used by mexc, but filtered internally by ccxt
166646
166755
  * @param {int} [limit] mexc limit is page_size default 20, maximum is 100
166647
166756
  * @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}
166757
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
166649
166758
  */
166650
166759
  if (symbol === undefined) {
166651
166760
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -168991,7 +169100,7 @@ class ndax extends _abstract_ndax_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
168991
169100
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
168992
169101
  * @param {int} [limit] the maximum amount of trades to fetch
168993
169102
  * @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}
169103
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
168995
169104
  */
168996
169105
  const omsId = this.safeInteger(this.options, 'omsId', 1);
168997
169106
  await this.loadMarkets();
@@ -169072,7 +169181,7 @@ class ndax extends _abstract_ndax_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
169072
169181
  * @name ndax#fetchBalance
169073
169182
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
169074
169183
  * @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}
169184
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
169076
169185
  */
169077
169186
  const omsId = this.safeInteger(this.options, 'omsId', 1);
169078
169187
  await this.loadMarkets();
@@ -171048,7 +171157,7 @@ class novadax extends _abstract_novadax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
171048
171157
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
171049
171158
  * @param {int} [limit] the maximum amount of trades to fetch
171050
171159
  * @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}
171160
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
171052
171161
  */
171053
171162
  await this.loadMarkets();
171054
171163
  const market = this.market(symbol);
@@ -171180,7 +171289,7 @@ class novadax extends _abstract_novadax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
171180
171289
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
171181
171290
  * @see https://doc.novadax.com/en-US/#get-account-balance
171182
171291
  * @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}
171292
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
171184
171293
  */
171185
171294
  await this.loadMarkets();
171186
171295
  const response = await this.privateGetAccountGetBalance(params);
@@ -172501,7 +172610,7 @@ class oceanex extends _abstract_oceanex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
172501
172610
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
172502
172611
  * @param {int} [limit] the maximum amount of trades to fetch
172503
172612
  * @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}
172613
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
172505
172614
  */
172506
172615
  await this.loadMarkets();
172507
172616
  const market = this.market(symbol);
@@ -172648,7 +172757,7 @@ class oceanex extends _abstract_oceanex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
172648
172757
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
172649
172758
  * @see https://api.oceanex.pro/doc/v1/#account-info-post
172650
172759
  * @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}
172760
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
172652
172761
  */
172653
172762
  await this.loadMarkets();
172654
172763
  const response = await this.privateGetMembersMe(params);
@@ -174460,7 +174569,7 @@ class okcoin extends _abstract_okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
174460
174569
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
174461
174570
  * @param {int} [limit] the maximum amount of trades to fetch
174462
174571
  * @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}
174572
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
174464
174573
  */
174465
174574
  await this.loadMarkets();
174466
174575
  const market = this.market(symbol);
@@ -174844,7 +174953,7 @@ class okcoin extends _abstract_okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
174844
174953
  * @name okcoin#fetchBalance
174845
174954
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
174846
174955
  * @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}
174956
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
174848
174957
  */
174849
174958
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType');
174850
174959
  const type = this.safeString(params, 'type', defaultType);
@@ -178865,7 +178974,7 @@ class okx extends _abstract_okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
178865
178974
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
178866
178975
  * @param {int} [limit] the maximum amount of trades to fetch
178867
178976
  * @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}
178977
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
178869
178978
  */
178870
178979
  await this.loadMarkets();
178871
178980
  const market = this.market(symbol);
@@ -179044,9 +179153,9 @@ class okx extends _abstract_okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
179044
179153
  * @description fetches historical funding rate prices
179045
179154
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
179046
179155
  * @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
179156
+ * @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
179157
  * @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}
179158
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
179050
179159
  */
179051
179160
  if (symbol === undefined) {
179052
179161
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' fetchFundingRateHistory() requires a symbol argument');
@@ -179230,7 +179339,7 @@ class okx extends _abstract_okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
179230
179339
  * @name okx#fetchBalance
179231
179340
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
179232
179341
  * @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}
179342
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
179234
179343
  */
179235
179344
  await this.loadMarkets();
179236
179345
  const [marketType, query] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
@@ -183824,7 +183933,7 @@ class paymium extends _abstract_paymium_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
183824
183933
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
183825
183934
  * @see https://paymium.github.io/api-documentation/#tag/User/paths/~1user/get
183826
183935
  * @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}
183936
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
183828
183937
  */
183829
183938
  await this.loadMarkets();
183830
183939
  const response = await this.privateGetUser(params);
@@ -183967,7 +184076,7 @@ class paymium extends _abstract_paymium_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
183967
184076
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
183968
184077
  * @param {int} [limit] the maximum amount of trades to fetch
183969
184078
  * @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}
184079
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
183971
184080
  */
183972
184081
  await this.loadMarkets();
183973
184082
  const market = this.market(symbol);
@@ -185668,7 +185777,7 @@ class phemex extends _abstract_phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
185668
185777
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
185669
185778
  * @param {int} [limit] the maximum amount of trades to fetch
185670
185779
  * @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}
185780
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
185672
185781
  */
185673
185782
  await this.loadMarkets();
185674
185783
  const market = this.market(symbol);
@@ -186072,7 +186181,7 @@ class phemex extends _abstract_phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
186072
186181
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
186073
186182
  * @see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
186074
186183
  * @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}
186184
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
186076
186185
  */
186077
186186
  await this.loadMarkets();
186078
186187
  let type = undefined;
@@ -188720,9 +188829,9 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
188720
188829
  'CORS': undefined,
188721
188830
  'spot': true,
188722
188831
  'margin': undefined,
188723
- 'swap': undefined,
188724
- 'future': undefined,
188725
- 'option': undefined,
188832
+ 'swap': false,
188833
+ 'future': false,
188834
+ 'option': false,
188726
188835
  'cancelAllOrders': true,
188727
188836
  'cancelOrder': true,
188728
188837
  'createDepositAddress': true,
@@ -189609,7 +189718,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189609
189718
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
189610
189719
  * @param {int} [limit] the maximum amount of trades to fetch
189611
189720
  * @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}
189721
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
189613
189722
  */
189614
189723
  await this.loadMarkets();
189615
189724
  const market = this.market(symbol);
@@ -189790,6 +189899,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189790
189899
  };
189791
189900
  }
189792
189901
  const clientOrderId = this.safeString(order, 'clientOrderId');
189902
+ const triggerPrice = this.safeString2(order, 'triggerPrice', 'stopPrice');
189793
189903
  return this.safeOrder({
189794
189904
  'info': order,
189795
189905
  'id': id,
@@ -189804,8 +189914,8 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189804
189914
  'postOnly': undefined,
189805
189915
  'side': side,
189806
189916
  'price': price,
189807
- 'stopPrice': undefined,
189808
- 'triggerPrice': undefined,
189917
+ 'stopPrice': triggerPrice,
189918
+ 'triggerPrice': triggerPrice,
189809
189919
  'cost': undefined,
189810
189920
  'average': this.safeString(order, 'avgPrice'),
189811
189921
  'amount': amount,
@@ -189843,10 +189953,12 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189843
189953
  * @name poloniex#fetchOpenOrders
189844
189954
  * @description fetch all unfilled currently open orders
189845
189955
  * @see https://docs.poloniex.com/#authenticated-endpoints-orders-open-orders
189956
+ * @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
189846
189957
  * @param {string} symbol unified market symbol
189847
189958
  * @param {int} [since] the earliest time in ms to fetch open orders for
189848
189959
  * @param {int} [limit] the maximum number of open orders structures to retrieve
189849
189960
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
189961
+ * @param {boolean} [params.stop] set true to fetch trigger orders instead of regular orders
189850
189962
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
189851
189963
  */
189852
189964
  await this.loadMarkets();
@@ -189859,7 +189971,15 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189859
189971
  if (limit !== undefined) {
189860
189972
  request['limit'] = limit;
189861
189973
  }
189862
- const response = await this.privateGetOrders(this.extend(request, params));
189974
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
189975
+ params = this.omit(params, ['trigger', 'stop']);
189976
+ let response = undefined;
189977
+ if (isTrigger) {
189978
+ response = await this.privateGetSmartorders(this.extend(request, params));
189979
+ }
189980
+ else {
189981
+ response = await this.privateGetOrders(this.extend(request, params));
189982
+ }
189863
189983
  //
189864
189984
  // [
189865
189985
  // {
@@ -189877,6 +189997,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189877
189997
  // "amount" : "0",
189878
189998
  // "filledQuantity" : "0",
189879
189999
  // "filledAmount" : "0",
190000
+ // "stopPrice": "3750.00", // for trigger orders
189880
190001
  // "createTime" : 16xxxxxxxxx26,
189881
190002
  // "updateTime" : 16xxxxxxxxx36
189882
190003
  // }
@@ -189886,36 +190007,46 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189886
190007
  return this.parseOrders(response, market, since, limit, extension);
189887
190008
  }
189888
190009
  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
- // }
190010
+ //
190011
+ // @method
190012
+ // @name poloniex#createOrder
190013
+ // @description create a trade order
190014
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-create-order
190015
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-create-order // trigger orders
190016
+ // @param {string} symbol unified symbol of the market to create an order in
190017
+ // @param {string} type 'market' or 'limit'
190018
+ // @param {string} side 'buy' or 'sell'
190019
+ // @param {float} amount how much of currency you want to trade in units of base currency
190020
+ // @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
190021
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190022
+ // <<<<<<< HEAD
190023
+ // @param {float} [params.triggerPrice] *spot only* The price at which a trigger order is triggered at
190024
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190025
+ // =======
190026
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190027
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190028
+ //
189905
190029
  await this.loadMarkets();
189906
190030
  const market = this.market(symbol);
189907
190031
  if (!market['spot']) {
189908
190032
  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
190033
  }
189910
- const request = {
190034
+ let request = {
189911
190035
  'symbol': market['id'],
189912
190036
  'side': side,
189913
190037
  // 'timeInForce': timeInForce,
189914
190038
  // 'accountType': 'SPOT',
189915
190039
  // 'amount': amount,
189916
190040
  };
189917
- const orderRequest = this.orderRequest(symbol, type, side, amount, request, price, params);
189918
- let response = await this.privatePostOrders(this.extend(orderRequest[0], orderRequest[1]));
190041
+ const triggerPrice = this.safeNumber2(params, 'stopPrice', 'triggerPrice');
190042
+ [request, params] = this.orderRequest(symbol, type, side, amount, request, price, params);
190043
+ let response = undefined;
190044
+ if (triggerPrice !== undefined) {
190045
+ response = await this.privatePostSmartorders(this.extend(request, params));
190046
+ }
190047
+ else {
190048
+ response = await this.privatePostOrders(this.extend(request, params));
190049
+ }
189919
190050
  //
189920
190051
  // {
189921
190052
  // "id" : "78923648051920896",
@@ -189932,9 +190063,14 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189932
190063
  let upperCaseType = type.toUpperCase();
189933
190064
  const isMarket = upperCaseType === 'MARKET';
189934
190065
  const isPostOnly = this.isPostOnly(isMarket, upperCaseType === 'LIMIT_MAKER', params);
189935
- if (isPostOnly) {
190066
+ const triggerPrice = this.safeNumber2(params, 'stopPrice', 'triggerPrice');
190067
+ params = this.omit(params, ['postOnly', 'triggerPrice', 'stopPrice']);
190068
+ if (triggerPrice !== undefined) {
190069
+ upperCaseType = (price === undefined) ? 'STOP' : 'STOP_LIMIT';
190070
+ request['stopPrice'] = triggerPrice;
190071
+ }
190072
+ else if (isPostOnly) {
189936
190073
  upperCaseType = 'LIMIT_MAKER';
189937
- params = this.omit(params, 'postOnly');
189938
190074
  }
189939
190075
  request['type'] = upperCaseType;
189940
190076
  if (isMarket) {
@@ -189958,31 +190094,44 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189958
190094
  return [request, params];
189959
190095
  }
189960
190096
  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
- */
190097
+ //
190098
+ // @method
190099
+ // @name poloniex#editOrder
190100
+ // @description edit a trade order
190101
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-replace-order
190102
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-replace-order
190103
+ // @param {string} id order id
190104
+ // @param {string} symbol unified symbol of the market to create an order in
190105
+ // @param {string} type 'market' or 'limit'
190106
+ // @param {string} side 'buy' or 'sell'
190107
+ // @param {float} [amount] how much of the currency you want to trade in units of the base currency
190108
+ // @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
190109
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190110
+ // <<<<<<< HEAD
190111
+ // @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
190112
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190113
+ // =======
190114
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190115
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190116
+ //
189975
190117
  await this.loadMarkets();
189976
190118
  const market = this.market(symbol);
189977
190119
  if (!market['spot']) {
189978
190120
  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
190121
  }
189980
- const request = {
190122
+ let request = {
189981
190123
  'id': id,
189982
190124
  // 'timeInForce': timeInForce,
189983
190125
  };
189984
- const orderRequest = this.orderRequest(symbol, type, side, amount, request, price, params);
189985
- let response = await this.privatePutOrdersId(this.extend(orderRequest[0], orderRequest[1]));
190126
+ const triggerPrice = this.safeNumber2(params, 'stopPrice', 'triggerPrice');
190127
+ [request, params] = this.orderRequest(symbol, type, side, amount, request, price, params);
190128
+ let response = undefined;
190129
+ if (triggerPrice !== undefined) {
190130
+ response = await this.privatePutSmartordersId(this.extend(request, params));
190131
+ }
190132
+ else {
190133
+ response = await this.privatePutOrdersId(this.extend(request, params));
190134
+ }
189986
190135
  //
189987
190136
  // {
189988
190137
  // "id" : "78923648051920896",
@@ -189995,16 +190144,22 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
189995
190144
  return this.parseOrder(response, market);
189996
190145
  }
189997
190146
  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
- */
190147
+ //
190148
+ // @method
190149
+ // @name poloniex#cancelOrder
190150
+ // @description cancels an open order
190151
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-order-by-id
190152
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-order-by-id // trigger orders
190153
+ // @param {string} id order id
190154
+ // @param {string} symbol unified symbol of the market the order was made in
190155
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190156
+ // <<<<<<< HEAD
190157
+ // @param {boolean} [params.trigger] true if canceling a trigger order
190158
+ // @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190159
+ // =======
190160
+ // @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190161
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190162
+ //
190008
190163
  await this.loadMarkets();
190009
190164
  const request = {};
190010
190165
  const clientOrderId = this.safeValue(params, 'clientOrderId');
@@ -190012,8 +190167,15 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190012
190167
  id = clientOrderId;
190013
190168
  }
190014
190169
  request['id'] = id;
190015
- params = this.omit(params, 'clientOrderId');
190016
- const response = await this.privateDeleteOrdersId(this.extend(request, params));
190170
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
190171
+ params = this.omit(params, ['clientOrderId', 'trigger', 'stop']);
190172
+ let response = undefined;
190173
+ if (isTrigger) {
190174
+ response = await this.privateDeleteSmartordersId(this.extend(request, params));
190175
+ }
190176
+ else {
190177
+ response = await this.privateDeleteOrdersId(this.extend(request, params));
190178
+ }
190017
190179
  //
190018
190180
  // {
190019
190181
  // "orderId":"210832697138888704",
@@ -190026,18 +190188,25 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190026
190188
  return this.parseOrder(response);
190027
190189
  }
190028
190190
  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
- */
190191
+ //
190192
+ // @method
190193
+ // @name poloniex#cancelAllOrders
190194
+ // @description cancel all open orders
190195
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
190196
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders // trigger orders
190197
+ // @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
190198
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190199
+ // <<<<<<< HEAD
190200
+ // @param {boolean} [params.trigger] true if canceling trigger orders
190201
+ // @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190202
+ // =======
190203
+ // @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190204
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190205
+ //
190038
190206
  await this.loadMarkets();
190039
190207
  const request = {
190040
- // 'accountTypes': 'SPOT',
190208
+ // 'accountTypes': 'SPOT',
190209
+ 'symbols': [],
190041
190210
  };
190042
190211
  let market = undefined;
190043
190212
  if (symbol !== undefined) {
@@ -190046,7 +190215,15 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190046
190215
  market['id'],
190047
190216
  ];
190048
190217
  }
190049
- const response = await this.privateDeleteOrders(this.extend(request, params));
190218
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
190219
+ params = this.omit(params, ['trigger', 'stop']);
190220
+ let response = undefined;
190221
+ if (isTrigger) {
190222
+ response = await this.privateDeleteSmartorders(this.extend(request, params));
190223
+ }
190224
+ else {
190225
+ response = await this.privateDeleteOrders(this.extend(request, params));
190226
+ }
190050
190227
  //
190051
190228
  // [
190052
190229
  // {
@@ -190064,25 +190241,40 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190064
190241
  // }
190065
190242
  // ]
190066
190243
  //
190067
- return response;
190244
+ return this.parseOrders(response, market);
190068
190245
  }
190069
190246
  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
- */
190247
+ //
190248
+ // @method
190249
+ // @name poloniex#fetchOrder
190250
+ // @description fetch an order by it's id
190251
+ // @see https://docs.poloniex.com/#authenticated-endpoints-orders-order-details
190252
+ // @see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders // trigger orders
190253
+ // @param {string} id order id
190254
+ // @param {string} symbol unified market symbol, default is undefined
190255
+ // @param {object} [params] extra parameters specific to the poloniex api endpoint
190256
+ // <<<<<<< HEAD
190257
+ // @param {boolean} [params.trigger] true if fetching a trigger order
190258
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190259
+ // =======
190260
+ // @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
190261
+ // >>>>>>> 1e1c747220aa06f7c710fc71e9b6658d1260c4d1
190262
+ //
190080
190263
  await this.loadMarkets();
190081
190264
  id = id.toString();
190082
190265
  const request = {
190083
190266
  'id': id,
190084
190267
  };
190085
- const response = await this.privateGetOrdersId(this.extend(request, params));
190268
+ const isTrigger = this.safeValue2(params, 'trigger', 'stop');
190269
+ params = this.omit(params, ['trigger', 'stop']);
190270
+ let response = undefined;
190271
+ if (isTrigger) {
190272
+ response = await this.privateGetSmartordersId(this.extend(request, params));
190273
+ response = this.safeValue(response, 0);
190274
+ }
190275
+ else {
190276
+ response = await this.privateGetOrdersId(this.extend(request, params));
190277
+ }
190086
190278
  //
190087
190279
  // {
190088
190280
  // "id": "21934611974062080",
@@ -190099,6 +190291,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190099
190291
  // "amount": "0.00",
190100
190292
  // "filledQuantity": "0.00",
190101
190293
  // "filledAmount": "0.00",
190294
+ // "stopPrice": "3750.00", // for trigger orders
190102
190295
  // "createTime": 1646196019020,
190103
190296
  // "updateTime": 1646196019020
190104
190297
  // }
@@ -190182,7 +190375,7 @@ class poloniex extends _abstract_poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
190182
190375
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
190183
190376
  * @see https://docs.poloniex.com/#authenticated-endpoints-accounts-all-account-balances
190184
190377
  * @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}
190378
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
190186
190379
  */
190187
190380
  await this.loadMarkets();
190188
190381
  const request = {
@@ -191582,7 +191775,7 @@ class poloniexfutures extends _abstract_poloniexfutures_js__WEBPACK_IMPORTED_MOD
191582
191775
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
191583
191776
  * @param {int} [limit] the maximum amount of trades to fetch
191584
191777
  * @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}
191778
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
191586
191779
  */
191587
191780
  await this.loadMarkets();
191588
191781
  const market = this.market(symbol);
@@ -191704,7 +191897,7 @@ class poloniexfutures extends _abstract_poloniexfutures_js__WEBPACK_IMPORTED_MOD
191704
191897
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
191705
191898
  * @see https://futures-docs.poloniex.com/#get-account-overview
191706
191899
  * @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}
191900
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
191708
191901
  */
191709
191902
  await this.loadMarkets();
191710
191903
  const currencyId = this.safeString(params, 'currency');
@@ -193592,7 +193785,7 @@ class ascendex extends _ascendex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
193592
193785
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
193593
193786
  * @param {int} [limit] the maximum amount of trades to fetch
193594
193787
  * @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}
193788
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
193596
193789
  */
193597
193790
  await this.loadMarkets();
193598
193791
  const market = this.market(symbol);
@@ -193797,7 +193990,7 @@ class ascendex extends _ascendex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
193797
193990
  * @name ascendex#watchBalance
193798
193991
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
193799
193992
  * @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}
193993
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
193801
193994
  */
193802
193995
  await this.loadMarkets();
193803
193996
  const [type, query] = this.handleMarketTypeAndParams('watchBalance', undefined, params);
@@ -194873,7 +195066,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
194873
195066
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
194874
195067
  * @param {int} [limit] the maximum amount of trades to fetch
194875
195068
  * @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}
195069
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
194877
195070
  */
194878
195071
  await this.loadMarkets();
194879
195072
  const market = this.market(symbol);
@@ -195637,7 +195830,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
195637
195830
  * @param {string|undefined} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
195638
195831
  * @param {string|undefined} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
195639
195832
  * @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}
195833
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
195641
195834
  */
195642
195835
  await this.loadMarkets();
195643
195836
  const url = this.urls['api']['ws']['ws'];
@@ -195714,7 +195907,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
195714
195907
  * @name binance#watchBalance
195715
195908
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
195716
195909
  * @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}
195910
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
195718
195911
  */
195719
195912
  await this.loadMarkets();
195720
195913
  await this.authenticate(params);
@@ -195878,7 +196071,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
195878
196071
  * @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
196072
  * @param {object} [params] extra parameters specific to the binance api endpoint
195880
196073
  * @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}
196074
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
195882
196075
  */
195883
196076
  await this.loadMarkets();
195884
196077
  this.checkIsSpot('createOrderWs', symbol, params);
@@ -196012,7 +196205,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
196012
196205
  * @param {float} amount how much of the currency you want to trade in units of the base currency
196013
196206
  * @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
196207
  * @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}
196208
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
196016
196209
  */
196017
196210
  await this.loadMarkets();
196018
196211
  this.checkIsSpot('editOrderWs', symbol, params);
@@ -196116,7 +196309,7 @@ class binance extends _binance_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
196116
196309
  * @param {string} symbol unified market symbol, default is undefined
196117
196310
  * @param {object} [params] extra parameters specific to the binance api endpoint
196118
196311
  * @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}
196312
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
196120
196313
  */
196121
196314
  await this.loadMarkets();
196122
196315
  if (symbol === undefined) {
@@ -197118,7 +197311,7 @@ class bitfinex extends _bitfinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
197118
197311
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
197119
197312
  * @param {int} [limit] the maximum amount of trades to fetch
197120
197313
  * @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}
197314
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
197122
197315
  */
197123
197316
  await this.loadMarkets();
197124
197317
  symbol = this.symbol(symbol);
@@ -197933,7 +198126,7 @@ class bitfinex2 extends _bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
197933
198126
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
197934
198127
  * @param {int} [limit] the maximum amount of trades to fetch
197935
198128
  * @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}
198129
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
197937
198130
  */
197938
198131
  const trades = await this.subscribe('trades', symbol, params);
197939
198132
  if (this.newUpdates) {
@@ -198423,7 +198616,7 @@ class bitfinex2 extends _bitfinex2_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
198423
198616
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
198424
198617
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
198425
198618
  * @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}
198619
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
198427
198620
  */
198428
198621
  await this.loadMarkets();
198429
198622
  const balanceType = this.safeString(params, 'wallet', 'exchange'); // exchange, margin
@@ -199383,7 +199576,7 @@ class bitget extends _bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
199383
199576
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
199384
199577
  * @param {int} [limit] the maximum amount of trades to fetch
199385
199578
  * @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}
199579
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
199387
199580
  */
199388
199581
  await this.loadMarkets();
199389
199582
  const market = this.market(symbol);
@@ -199913,7 +200106,7 @@ class bitget extends _bitget_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
199913
200106
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
199914
200107
  * @param {object} [params] extra parameters specific to the bitget api endpoint
199915
200108
  * @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}
200109
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
199917
200110
  */
199918
200111
  let type = undefined;
199919
200112
  [type, params] = this.handleMarketTypeAndParams('watchOrders', undefined, params);
@@ -200255,7 +200448,7 @@ class bitmart extends _bitmart_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
200255
200448
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
200256
200449
  * @param {int} [limit] the maximum amount of trades to fetch
200257
200450
  * @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}
200451
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
200259
200452
  */
200260
200453
  await this.loadMarkets();
200261
200454
  symbol = this.symbol(symbol);
@@ -201127,7 +201320,7 @@ class bitmex extends _bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
201127
201320
  * @name bitmex#watchBalance
201128
201321
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
201129
201322
  * @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}
201323
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
201131
201324
  */
201132
201325
  await this.loadMarkets();
201133
201326
  await this.authenticate();
@@ -201337,7 +201530,7 @@ class bitmex extends _bitmex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
201337
201530
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
201338
201531
  * @param {int} [limit] the maximum amount of trades to fetch
201339
201532
  * @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}
201533
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
201341
201534
  */
201342
201535
  await this.loadMarkets();
201343
201536
  const market = this.market(symbol);
@@ -202289,7 +202482,7 @@ class bitopro extends _bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
202289
202482
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
202290
202483
  * @param {int} [limit] the maximum amount of trades to fetch
202291
202484
  * @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}
202485
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
202293
202486
  */
202294
202487
  await this.loadMarkets();
202295
202488
  const market = this.market(symbol);
@@ -202424,7 +202617,7 @@ class bitopro extends _bitopro_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
202424
202617
  * @name bitopro#watchBalance
202425
202618
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
202426
202619
  * @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}
202620
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
202428
202621
  */
202429
202622
  this.checkRequiredCredentials();
202430
202623
  await this.loadMarkets();
@@ -202582,7 +202775,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202582
202775
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
202583
202776
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
202584
202777
  * @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}
202778
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
202586
202779
  */
202587
202780
  await this.authenticate(params);
202588
202781
  const url = this.urls['api']['ws'];
@@ -202642,7 +202835,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202642
202835
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
202643
202836
  * @param {string} symbol unified symbol of the market to fetch the ticker for
202644
202837
  * @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}
202838
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
202646
202839
  */
202647
202840
  await this.loadMarkets();
202648
202841
  const market = this.market(symbol);
@@ -202668,7 +202861,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202668
202861
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
202669
202862
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
202670
202863
  * @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}
202864
+ * @returns {object} an array of [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
202672
202865
  */
202673
202866
  await this.loadMarkets();
202674
202867
  symbols = this.marketSymbols(symbols);
@@ -202766,7 +202959,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202766
202959
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
202767
202960
  * @param {int} [limit] the maximum amount of trades to fetch
202768
202961
  * @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}
202962
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
202770
202963
  */
202771
202964
  await this.loadMarkets();
202772
202965
  let messageHash = 'myTrades';
@@ -202809,7 +203002,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202809
203002
  * @param {string} symbol unified symbol of the market to fetch the order book for
202810
203003
  * @param {int} [limit] the maximum amount of order book entries to return
202811
203004
  * @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
203005
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
202813
203006
  */
202814
203007
  await this.loadMarkets();
202815
203008
  const market = this.market(symbol);
@@ -202928,7 +203121,7 @@ class bitpanda extends _bitpanda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
202928
203121
  * @param {int} [limit] the maximum number of orde structures to retrieve
202929
203122
  * @param {object} [params] extra parameters specific to the bitpanda api endpoint
202930
203123
  * @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}
203124
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
202932
203125
  */
202933
203126
  await this.loadMarkets();
202934
203127
  let messageHash = 'orders';
@@ -203910,7 +204103,7 @@ class bitrue extends _bitrue_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
203910
204103
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
203911
204104
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
203912
204105
  * @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}
204106
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
203914
204107
  */
203915
204108
  const url = await this.authenticate();
203916
204109
  const messageHash = 'balance';
@@ -204486,7 +204679,7 @@ class bitstamp extends _bitstamp_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
204486
204679
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
204487
204680
  * @param {int} [limit] the maximum amount of trades to fetch
204488
204681
  * @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}
204682
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
204490
204683
  */
204491
204684
  await this.loadMarkets();
204492
204685
  const market = this.market(symbol);
@@ -205146,7 +205339,7 @@ class bittrex extends _bittrex_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */
205146
205339
  * @name bittrex#watchBalance
205147
205340
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
205148
205341
  * @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}
205342
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
205150
205343
  */
205151
205344
  await this.loadMarkets();
205152
205345
  const authentication = await this.authenticate();
@@ -205336,7 +205529,7 @@ class bittrex extends _bittrex_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */
205336
205529
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
205337
205530
  * @param {int} [limit] the maximum amount of trades to fetch
205338
205531
  * @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}
205532
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
205340
205533
  */
205341
205534
  await this.loadMarkets();
205342
205535
  symbol = this.symbol(symbol);
@@ -205881,7 +206074,7 @@ class bitvavo extends _bitvavo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
205881
206074
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
205882
206075
  * @param {int} [limit] the maximum amount of trades to fetch
205883
206076
  * @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}
206077
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
205885
206078
  */
205886
206079
  await this.loadMarkets();
205887
206080
  symbol = this.symbol(symbol);
@@ -206533,7 +206726,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206533
206726
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
206534
206727
  * @see https://exchange.blockchain.com/api/#balances
206535
206728
  * @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}
206729
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
206537
206730
  */
206538
206731
  await this.authenticate(params);
206539
206732
  const messageHash = 'balance';
@@ -206683,7 +206876,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206683
206876
  * @see https://exchange.blockchain.com/api/#ticker
206684
206877
  * @param {string} symbol unified symbol of the market to fetch the ticker for
206685
206878
  * @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}
206879
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
206687
206880
  */
206688
206881
  await this.loadMarkets();
206689
206882
  const market = this.market(symbol);
@@ -206792,7 +206985,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206792
206985
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
206793
206986
  * @param {int} [limit] the maximum amount of trades to fetch
206794
206987
  * @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}
206988
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
206796
206989
  */
206797
206990
  await this.loadMarkets();
206798
206991
  const market = this.market(symbol);
@@ -206891,7 +207084,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
206891
207084
  * @param {int} [since] the earliest time in ms to fetch orders for
206892
207085
  * @param {int} [limit] the maximum number of orde structures to retrieve
206893
207086
  * @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}
207087
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
206895
207088
  */
206896
207089
  await this.loadMarkets();
206897
207090
  await this.authenticate();
@@ -207105,7 +207298,7 @@ class blockchaincom extends _blockchaincom_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
207105
207298
  * @param {int} [limit] the maximum amount of order book entries to return
207106
207299
  * @param {objectConstructor} [params] extra parameters specific to the blockchaincom api endpoint
207107
207300
  * @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
207301
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
207109
207302
  */
207110
207303
  await this.loadMarkets();
207111
207304
  const market = this.market(symbol);
@@ -208397,7 +208590,7 @@ class bybit extends _bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
208397
208590
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
208398
208591
  * @see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
208399
208592
  * @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}
208593
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
208401
208594
  */
208402
208595
  await this.loadMarkets();
208403
208596
  const method = 'watchBalance';
@@ -208964,7 +209157,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
208964
209157
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
208965
209158
  * @see https://cex.io/websocket-api#get-balance
208966
209159
  * @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}
209160
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
208968
209161
  */
208969
209162
  await this.authenticate(params);
208970
209163
  const messageHash = 'balance';
@@ -209026,7 +209219,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
209026
209219
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
209027
209220
  * @param {int} [limit] the maximum amount of trades to fetch
209028
209221
  * @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}
209222
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
209030
209223
  */
209031
209224
  await this.loadMarkets();
209032
209225
  const market = this.market(symbol);
@@ -209298,7 +209491,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
209298
209491
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
209299
209492
  * @param {int} [limit] the maximum amount of trades to fetch
209300
209493
  * @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}
209494
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
209302
209495
  */
209303
209496
  if (symbol === undefined) {
209304
209497
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -209336,7 +209529,7 @@ class cex extends _cex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
209336
209529
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
209337
209530
  * @param {int} [limit] the maximum amount of trades to fetch
209338
209531
  * @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}
209532
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
209340
209533
  */
209341
209534
  if (symbol === undefined) {
209342
209535
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' watchOrders requires a symbol argument');
@@ -210214,7 +210407,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210214
210407
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
210215
210408
  * @param {string} [symbol] unified symbol of the market to fetch the ticker for
210216
210409
  * @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}
210410
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
210218
210411
  */
210219
210412
  const name = 'ticker';
210220
210413
  return await this.subscribe(name, symbol, params);
@@ -210227,7 +210420,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210227
210420
  * @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
210228
210421
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
210229
210422
  * @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}
210423
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
210231
210424
  */
210232
210425
  if (symbols === undefined) {
210233
210426
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' watchTickers requires a symbols argument');
@@ -210368,7 +210561,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210368
210561
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
210369
210562
  * @param {int} [limit] the maximum amount of trades to fetch
210370
210563
  * @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}
210564
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
210372
210565
  */
210373
210566
  await this.loadMarkets();
210374
210567
  symbol = this.symbol(symbol);
@@ -210389,7 +210582,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210389
210582
  * @param {int} [since] the earliest time in ms to fetch orders for
210390
210583
  * @param {int} [limit] the maximum number of orde structures to retrieve
210391
210584
  * @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}
210585
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
210393
210586
  */
210394
210587
  await this.loadMarkets();
210395
210588
  const name = 'user';
@@ -210408,7 +210601,7 @@ class coinbase extends _coinbase_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
210408
210601
  * @param {string} symbol unified symbol of the market to fetch the order book for
210409
210602
  * @param {int} [limit] the maximum amount of order book entries to return
210410
210603
  * @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
210604
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
210412
210605
  */
210413
210606
  await this.loadMarkets();
210414
210607
  const name = 'level2';
@@ -210872,7 +211065,7 @@ class coinbasepro extends _coinbasepro_js__WEBPACK_IMPORTED_MODULE_0__/* ["defau
210872
211065
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
210873
211066
  * @param {int} [limit] the maximum amount of trades to fetch
210874
211067
  * @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}
211068
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
210876
211069
  */
210877
211070
  await this.loadMarkets();
210878
211071
  symbol = this.symbol(symbol);
@@ -211808,7 +212001,7 @@ class coinex extends _coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
211808
212001
  * @name coinex#watchBalance
211809
212002
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
211810
212003
  * @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}
212004
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
211812
212005
  */
211813
212006
  await this.loadMarkets();
211814
212007
  await this.authenticate(params);
@@ -212036,7 +212229,7 @@ class coinex extends _coinex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
212036
212229
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
212037
212230
  * @param {int} [limit] the maximum amount of trades to fetch
212038
212231
  * @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}
212232
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
212040
212233
  */
212041
212234
  await this.loadMarkets();
212042
212235
  const market = this.market(symbol);
@@ -212810,7 +213003,7 @@ class cryptocom extends _cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
212810
213003
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
212811
213004
  * @param {int} [limit] the maximum amount of trades to fetch
212812
213005
  * @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}
213006
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
212814
213007
  */
212815
213008
  await this.loadMarkets();
212816
213009
  const market = this.market(symbol);
@@ -213085,7 +213278,7 @@ class cryptocom extends _cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
213085
213278
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
213086
213279
  * @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#user-balance
213087
213280
  * @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}
213281
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
213089
213282
  */
213090
213283
  const messageHash = 'user.balance';
213091
213284
  return await this.watchPrivateSubscribe(messageHash, params);
@@ -213166,7 +213359,7 @@ class cryptocom extends _cryptocom_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
213166
213359
  * @param {float} amount how much of currency you want to trade in units of base currency
213167
213360
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
213168
213361
  * @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}
213362
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
213170
213363
  */
213171
213364
  await this.loadMarkets();
213172
213365
  params = this.createOrderRequest(symbol, type, side, amount, price, params);
@@ -213774,7 +213967,7 @@ class currencycom extends _currencycom_js__WEBPACK_IMPORTED_MODULE_0__/* ["defau
213774
213967
  * @name currencycom#watchBalance
213775
213968
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
213776
213969
  * @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}
213970
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
213778
213971
  */
213779
213972
  await this.loadMarkets();
213780
213973
  return await this.watchPrivate('/api/v1/account', params);
@@ -213817,7 +214010,7 @@ class currencycom extends _currencycom_js__WEBPACK_IMPORTED_MODULE_0__/* ["defau
213817
214010
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
213818
214011
  * @param {int} [limit] the maximum amount of trades to fetch
213819
214012
  * @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}
214013
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
213821
214014
  */
213822
214015
  await this.loadMarkets();
213823
214016
  symbol = this.symbol(symbol);
@@ -214078,7 +214271,7 @@ class deribit extends _deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
214078
214271
  * @see https://docs.deribit.com/#user-portfolio-currency
214079
214272
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
214080
214273
  * @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}
214274
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
214082
214275
  */
214083
214276
  await this.authenticate(params);
214084
214277
  const messageHash = 'balance';
@@ -214236,7 +214429,7 @@ class deribit extends _deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
214236
214429
  * @param {int} [limit] the maximum amount of trades to fetch
214237
214430
  * @param {object} [params] extra parameters specific to the deribit api endpoint
214238
214431
  * @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}
214432
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
214240
214433
  */
214241
214434
  await this.loadMarkets();
214242
214435
  const market = this.market(symbol);
@@ -214316,7 +214509,7 @@ class deribit extends _deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
214316
214509
  * @param {int} [limit] the maximum amount of trades to fetch
214317
214510
  * @param {object} [params] extra parameters specific to the deribit api endpoint
214318
214511
  * @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}
214512
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
214320
214513
  */
214321
214514
  await this.authenticate(params);
214322
214515
  if (symbol !== undefined) {
@@ -214899,7 +215092,7 @@ class exmo extends _exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
214899
215092
  * @name exmo#watchBalance
214900
215093
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
214901
215094
  * @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}
215095
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
214903
215096
  */
214904
215097
  await this.authenticate(params);
214905
215098
  const [type, query] = this.handleMarketTypeAndParams('watchBalance', undefined, params);
@@ -215114,7 +215307,7 @@ class exmo extends _exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
215114
215307
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
215115
215308
  * @param {int} [limit] the maximum amount of trades to fetch
215116
215309
  * @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}
215310
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
215118
215311
  */
215119
215312
  await this.loadMarkets();
215120
215313
  const market = this.market(symbol);
@@ -215178,7 +215371,7 @@ class exmo extends _exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
215178
215371
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
215179
215372
  * @param {int} [limit] the maximum amount of trades to fetch
215180
215373
  * @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}
215374
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
215182
215375
  */
215183
215376
  await this.loadMarkets();
215184
215377
  await this.authenticate(params);
@@ -215899,7 +216092,7 @@ class gate extends _gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
215899
216092
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
215900
216093
  * @param {int} [limit] the maximum amount of trades to fetch
215901
216094
  * @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}
216095
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
215903
216096
  */
215904
216097
  await this.loadMarkets();
215905
216098
  const market = this.market(symbol);
@@ -216133,7 +216326,7 @@ class gate extends _gate_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
216133
216326
  * @name gate#watchBalance
216134
216327
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
216135
216328
  * @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}
216329
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
216137
216330
  */
216138
216331
  await this.loadMarkets();
216139
216332
  let type = undefined;
@@ -216713,7 +216906,7 @@ class gemini extends _gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
216713
216906
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
216714
216907
  * @param {int} [limit] the maximum amount of trades to fetch
216715
216908
  * @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}
216909
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
216717
216910
  */
216718
216911
  await this.loadMarkets();
216719
216912
  const market = this.market(symbol);
@@ -217533,7 +217726,7 @@ class hitbtc extends _hitbtc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
217533
217726
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
217534
217727
  * @param {int} [limit] the maximum amount of trades to fetch
217535
217728
  * @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}
217729
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
217537
217730
  */
217538
217731
  const trades = await this.watchPublic(symbol, 'trades', undefined, params);
217539
217732
  if (this.newUpdates) {
@@ -217831,7 +218024,7 @@ class hollaex extends _hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
217831
218024
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
217832
218025
  * @param {int} [limit] the maximum amount of trades to fetch
217833
218026
  * @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}
218027
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
217835
218028
  */
217836
218029
  await this.loadMarkets();
217837
218030
  const market = this.market(symbol);
@@ -218085,7 +218278,7 @@ class hollaex extends _hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
218085
218278
  * @name hollaex#watchBalance
218086
218279
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
218087
218280
  * @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}
218281
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
218089
218282
  */
218090
218283
  const messageHash = 'wallet';
218091
218284
  return await this.watchPrivate(messageHash, params);
@@ -218510,7 +218703,7 @@ class huobi extends _huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
218510
218703
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
218511
218704
  * @param {int} [limit] the maximum amount of trades to fetch
218512
218705
  * @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}
218706
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
218514
218707
  */
218515
218708
  await this.loadMarkets();
218516
218709
  const market = this.market(symbol);
@@ -219506,7 +219699,7 @@ class huobi extends _huobi_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
219506
219699
  * @name huobi#watchBalance
219507
219700
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
219508
219701
  * @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}
219702
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
219510
219703
  */
219511
219704
  let type = this.safeString2(this.options, 'watchBalance', 'defaultType', 'spot');
219512
219705
  type = this.safeString(params, 'type', type);
@@ -220625,7 +220818,7 @@ class huobijp extends _huobijp_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
220625
220818
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
220626
220819
  * @param {int} [limit] the maximum amount of trades to fetch
220627
220820
  * @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}
220821
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
220629
220822
  */
220630
220823
  await this.loadMarkets();
220631
220824
  const market = this.market(symbol);
@@ -221293,7 +221486,7 @@ class idex extends _idex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
221293
221486
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
221294
221487
  * @param {int} [limit] the maximum amount of trades to fetch
221295
221488
  * @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}
221489
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
221297
221490
  */
221298
221491
  await this.loadMarkets();
221299
221492
  const market = this.market(symbol);
@@ -221912,7 +222105,7 @@ class independentreserve extends _independentreserve_js__WEBPACK_IMPORTED_MODULE
221912
222105
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
221913
222106
  * @param {int} [limit] the maximum amount of trades to fetch
221914
222107
  * @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}
222108
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
221916
222109
  */
221917
222110
  await this.loadMarkets();
221918
222111
  const market = this.market(symbol);
@@ -222275,7 +222468,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222275
222468
  * @param {float} amount how much of currency you want to trade in units of base currency
222276
222469
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
222277
222470
  * @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}
222471
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222279
222472
  */
222280
222473
  await this.loadMarkets();
222281
222474
  const token = await this.authenticate();
@@ -222332,7 +222525,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222332
222525
  * @param {float} amount how much of the currency you want to trade in units of the base currency
222333
222526
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
222334
222527
  * @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}
222528
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222336
222529
  */
222337
222530
  await this.loadMarkets();
222338
222531
  const token = await this.authenticate();
@@ -222360,7 +222553,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222360
222553
  * @param {string[]} ids order ids
222361
222554
  * @param {string} symbol unified market symbol, default is undefined
222362
222555
  * @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}
222556
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222364
222557
  */
222365
222558
  await this.loadMarkets();
222366
222559
  const token = await this.authenticate();
@@ -222384,7 +222577,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222384
222577
  * @param {string} id order id
222385
222578
  * @param {string} symbol unified symbol of the market the order was made in
222386
222579
  * @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}
222580
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222388
222581
  */
222389
222582
  await this.loadMarkets();
222390
222583
  const token = await this.authenticate();
@@ -222421,7 +222614,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222421
222614
  * @description cancel all open orders
222422
222615
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
222423
222616
  * @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}
222617
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
222425
222618
  */
222426
222619
  if (symbol !== undefined) {
222427
222620
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' cancelAllOrdersWs () does not support cancelling orders in a specific market.');
@@ -222639,7 +222832,7 @@ class kraken extends _kraken_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
222639
222832
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
222640
222833
  * @param {int} [limit] the maximum amount of trades to fetch
222641
222834
  * @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}
222835
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
222643
222836
  */
222644
222837
  await this.loadMarkets();
222645
222838
  symbol = this.symbol(symbol);
@@ -223678,7 +223871,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223678
223871
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
223679
223872
  * @param {string} symbol unified symbol of the market to fetch the ticker for
223680
223873
  * @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}
223874
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
223682
223875
  */
223683
223876
  const options = this.safeValue(this.options, 'watchTicker');
223684
223877
  const method = this.safeString(options, 'method', 'ticker'); // or ticker_lite
@@ -223694,7 +223887,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223694
223887
  * @see https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
223695
223888
  * @param {string} symbol unified symbol of the market to fetch the ticker for
223696
223889
  * @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}
223890
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
223698
223891
  */
223699
223892
  const method = this.safeString(this.options, 'watchTickerMethod', 'ticker'); // or ticker_lite
223700
223893
  const name = this.safeString2(params, 'method', 'watchTickerMethod', method);
@@ -223711,7 +223904,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223711
223904
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
223712
223905
  * @param {int} [limit] the maximum amount of trades to fetch
223713
223906
  * @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}
223907
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
223715
223908
  */
223716
223909
  await this.loadMarkets();
223717
223910
  const name = 'trade';
@@ -223730,7 +223923,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223730
223923
  * @param {string} symbol unified symbol of the market to fetch the order book for
223731
223924
  * @param {int} [limit] not used by krakenfutures watchOrderBook
223732
223925
  * @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
223926
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
223734
223927
  */
223735
223928
  const orderbook = await this.subscribePublic('book', [symbol], params);
223736
223929
  return orderbook.limit();
@@ -223746,7 +223939,7 @@ class krakenfutures extends _krakenfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
223746
223939
  * @param {int} [since] not used by krakenfutures watchOrders
223747
223940
  * @param {int} [limit] not used by krakenfutures watchOrders
223748
223941
  * @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}
223942
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
223750
223943
  */
223751
223944
  await this.loadMarkets();
223752
223945
  const name = 'open_orders';
@@ -225138,7 +225331,7 @@ class kucoin extends _kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
225138
225331
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
225139
225332
  * @param {int} [limit] the maximum amount of trades to fetch
225140
225333
  * @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}
225334
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
225142
225335
  */
225143
225336
  await this.loadMarkets();
225144
225337
  const url = await this.negotiate(false);
@@ -225570,7 +225763,7 @@ class kucoin extends _kucoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
225570
225763
  * @name kucoin#watchBalance
225571
225764
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
225572
225765
  * @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}
225766
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
225574
225767
  */
225575
225768
  await this.loadMarkets();
225576
225769
  const url = await this.negotiate(true);
@@ -225910,7 +226103,7 @@ class kucoinfutures extends _kucoinfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
225910
226103
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
225911
226104
  * @param {int} [limit] the maximum amount of trades to fetch
225912
226105
  * @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}
226106
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
225914
226107
  */
225915
226108
  await this.loadMarkets();
225916
226109
  const url = await this.negotiate(false);
@@ -226250,8 +226443,9 @@ class kucoinfutures extends _kucoinfutures_js__WEBPACK_IMPORTED_MODULE_0__/* ["d
226250
226443
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
226251
226444
  * @see https://docs.kucoin.com/futures/#account-balance-events
226252
226445
  * @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}
226446
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
226254
226447
  */
226448
+ await this.loadMarkets();
226255
226449
  const url = await this.negotiate(true);
226256
226450
  const topic = '/contractAccount/wallet';
226257
226451
  const request = {
@@ -226470,7 +226664,7 @@ class luno extends _luno_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
226470
226664
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
226471
226665
  * @param {int} [limit] the maximum amount of trades to fetch
226472
226666
  * @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}
226667
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
226474
226668
  */
226475
226669
  await this.checkRequiredCredentials();
226476
226670
  await this.loadMarkets();
@@ -226825,7 +227019,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
226825
227019
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
226826
227020
  * @param {string} symbol unified symbol of the market to fetch the ticker for
226827
227021
  * @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}
227022
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
226829
227023
  */
226830
227024
  await this.loadMarkets();
226831
227025
  const market = this.market(symbol);
@@ -227106,7 +227300,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227106
227300
  * @param {string} symbol unified symbol of the market to fetch the order book for
227107
227301
  * @param {int} [limit] the maximum amount of order book entries to return
227108
227302
  * @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
227303
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
227110
227304
  */
227111
227305
  await this.loadMarkets();
227112
227306
  const market = this.market(symbol);
@@ -227274,7 +227468,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227274
227468
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
227275
227469
  * @param {int} [limit] the maximum amount of trades to fetch
227276
227470
  * @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}
227471
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
227278
227472
  */
227279
227473
  await this.loadMarkets();
227280
227474
  const market = this.market(symbol);
@@ -227363,7 +227557,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227363
227557
  * @param {int} [since] the earliest time in ms to fetch trades for
227364
227558
  * @param {int} [limit] the maximum number of trade structures to retrieve
227365
227559
  * @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
227560
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure
227367
227561
  */
227368
227562
  await this.loadMarkets();
227369
227563
  let messageHash = 'myTrades';
@@ -227492,7 +227686,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227492
227686
  * @param {int} [limit] the maximum number of orde structures to retrieve
227493
227687
  * @param {object} [params] extra parameters specific to the mexc3 api endpoint
227494
227688
  * @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}
227689
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
227496
227690
  */
227497
227691
  await this.loadMarkets();
227498
227692
  params = this.omit(params, 'type');
@@ -227739,7 +227933,7 @@ class mexc extends _mexc_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
227739
227933
  * @see https://mxcdevelop.github.io/apidocs/spot_v3_en/#spot-account-upadte
227740
227934
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
227741
227935
  * @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}
227936
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
227743
227937
  */
227744
227938
  await this.loadMarkets();
227745
227939
  let type = undefined;
@@ -228060,7 +228254,7 @@ class ndax extends _ndax_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
228060
228254
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
228061
228255
  * @param {int} [limit] the maximum amount of trades to fetch
228062
228256
  * @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}
228257
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
228064
228258
  */
228065
228259
  const omsId = this.safeInteger(this.options, 'omsId', 1);
228066
228260
  await this.loadMarkets();
@@ -228576,7 +228770,7 @@ class okcoin extends _okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
228576
228770
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
228577
228771
  * @param {int} [limit] the maximum amount of trades to fetch
228578
228772
  * @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}
228773
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
228580
228774
  */
228581
228775
  await this.loadMarkets();
228582
228776
  symbol = this.symbol(symbol);
@@ -228988,7 +229182,7 @@ class okcoin extends _okcoin_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
228988
229182
  * @name okcoin#watchBalance
228989
229183
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
228990
229184
  * @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}
229185
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
228992
229186
  */
228993
229187
  const defaultType = this.safeString2(this.options, 'watchBalance', 'defaultType');
228994
229188
  const type = this.safeString(params, 'type', defaultType);
@@ -229453,7 +229647,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
229453
229647
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
229454
229648
  * @param {int} [limit] the maximum amount of trades to fetch
229455
229649
  * @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}
229650
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
229457
229651
  */
229458
229652
  await this.loadMarkets();
229459
229653
  symbol = this.symbol(symbol);
@@ -229526,6 +229720,9 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
229526
229720
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
229527
229721
  * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
229528
229722
  */
229723
+ if (this.isEmpty(symbols)) {
229724
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.ArgumentsRequired(this.id + ' watchTickers requires a list of symbols');
229725
+ }
229529
229726
  let channel = undefined;
229530
229727
  [channel, params] = this.handleOptionAndParams(params, 'watchTickers', 'channel', 'tickers');
229531
229728
  const newTickers = await this.subscribeMultiple('public', channel, symbols, params);
@@ -229933,7 +230130,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
229933
230130
  * @name okx#watchBalance
229934
230131
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
229935
230132
  * @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}
230133
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
229937
230134
  */
229938
230135
  await this.loadMarkets();
229939
230136
  await this.authenticate();
@@ -230286,7 +230483,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230286
230483
  * @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
230484
  * @param {object} [params] extra parameters specific to the okx api endpoint
230288
230485
  * @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}
230486
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230290
230487
  */
230291
230488
  await this.loadMarkets();
230292
230489
  await this.authenticate();
@@ -230355,7 +230552,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230355
230552
  * @param {float} amount how much of the currency you want to trade in units of the base currency
230356
230553
  * @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
230554
  * @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}
230555
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230359
230556
  */
230360
230557
  await this.loadMarkets();
230361
230558
  await this.authenticate();
@@ -230381,7 +230578,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230381
230578
  * @param {string} symbol unified market symbol, default is undefined
230382
230579
  * @param {object} [params] extra parameters specific to the okx api endpoint
230383
230580
  * @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}
230581
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230385
230582
  */
230386
230583
  if (symbol === undefined) {
230387
230584
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest(this.id + ' cancelOrderWs() requires a symbol argument');
@@ -230417,7 +230614,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230417
230614
  * @param {string[]} ids order ids
230418
230615
  * @param {string} symbol unified market symbol, default is undefined
230419
230616
  * @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}
230617
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230421
230618
  */
230422
230619
  const idsLength = ids.length;
230423
230620
  if (idsLength > 20) {
@@ -230453,7 +230650,7 @@ class okx extends _okx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
230453
230650
  * @description cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
230454
230651
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
230455
230652
  * @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}
230653
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
230457
230654
  */
230458
230655
  if (symbol === undefined) {
230459
230656
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.BadRequest(this.id + ' cancelAllOrdersWs() requires a symbol argument');
@@ -230964,7 +231161,7 @@ class phemex extends _phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
230964
231161
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
230965
231162
  * @param {object} [params] extra parameters specific to the phemex api endpoint
230966
231163
  * @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}
231164
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
230968
231165
  */
230969
231166
  await this.loadMarkets();
230970
231167
  let type = undefined;
@@ -231194,7 +231391,7 @@ class phemex extends _phemex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
231194
231391
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
231195
231392
  * @param {int} [limit] the maximum amount of trades to fetch
231196
231393
  * @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}
231394
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
231198
231395
  */
231199
231396
  await this.loadMarkets();
231200
231397
  const market = this.market(symbol);
@@ -232369,7 +232566,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232369
232566
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
232370
232567
  * @param {string} symbol unified symbol of the market to fetch the ticker for
232371
232568
  * @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}
232569
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
232373
232570
  */
232374
232571
  await this.loadMarkets();
232375
232572
  symbol = this.symbol(symbol);
@@ -232384,7 +232581,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232384
232581
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
232385
232582
  * @param {string} symbol unified symbol of the market to fetch the ticker for
232386
232583
  * @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}
232584
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
232388
232585
  */
232389
232586
  await this.loadMarkets();
232390
232587
  const name = 'ticker';
@@ -232405,7 +232602,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232405
232602
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
232406
232603
  * @param {int} [limit] the maximum amount of trades to fetch
232407
232604
  * @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}
232605
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
232409
232606
  */
232410
232607
  await this.loadMarkets();
232411
232608
  symbol = this.symbol(symbol);
@@ -232425,7 +232622,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232425
232622
  * @param {string} symbol unified symbol of the market to fetch the order book for
232426
232623
  * @param {int} [limit] not used by poloniex watchOrderBook
232427
232624
  * @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
232625
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
232429
232626
  */
232430
232627
  await this.loadMarkets();
232431
232628
  const watchOrderBookOptions = this.safeValue(this.options, 'watchOrderBook');
@@ -232444,7 +232641,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232444
232641
  * @param {int} [since] not used by poloniex watchOrders
232445
232642
  * @param {int} [limit] not used by poloniex watchOrders
232446
232643
  * @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}
232644
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
232448
232645
  */
232449
232646
  await this.loadMarkets();
232450
232647
  const name = 'orders';
@@ -232492,7 +232689,7 @@ class poloniex extends _poloniex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
232492
232689
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
232493
232690
  * @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
232494
232691
  * @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}
232692
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
232496
232693
  */
232497
232694
  await this.loadMarkets();
232498
232695
  const name = 'balances';
@@ -233459,7 +233656,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233459
233656
  * @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
233460
233657
  * @param {string} symbol unified symbol of the market to fetch the ticker for
233461
233658
  * @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}
233659
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
233463
233660
  */
233464
233661
  await this.loadMarkets();
233465
233662
  symbol = this.symbol(symbol);
@@ -233476,7 +233673,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233476
233673
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
233477
233674
  * @param {int} [limit] the maximum amount of trades to fetch
233478
233675
  * @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}
233676
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
233480
233677
  */
233481
233678
  await this.loadMarkets();
233482
233679
  const options = this.safeValue(this.options, 'watchTrades');
@@ -233499,7 +233696,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233499
233696
  * @param {int} [limit] not used by poloniexfutures watchOrderBook
233500
233697
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
233501
233698
  * @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
233699
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
233503
233700
  */
233504
233701
  await this.loadMarkets();
233505
233702
  const options = this.safeValue(this.options, 'watchOrderBook');
@@ -233530,7 +233727,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233530
233727
  * @param {int} [limit] the maximum number of orde structures to retrieve
233531
233728
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
233532
233729
  * @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}
233730
+ * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
233534
233731
  */
233535
233732
  await this.loadMarkets();
233536
233733
  const options = this.safeValue(this.options, 'watchOrders');
@@ -233552,7 +233749,7 @@ class poloniexfutures extends _poloniexfutures_js__WEBPACK_IMPORTED_MODULE_0__/*
233552
233749
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
233553
233750
  * @see https://futures-docs.poloniex.com/#account-balance-events
233554
233751
  * @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}
233752
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
233556
233753
  */
233557
233754
  await this.loadMarkets();
233558
233755
  const name = '/contractAccount/wallet';
@@ -234306,7 +234503,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234306
234503
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
234307
234504
  * @see https://docs-en.probit.com/reference/balance-1
234308
234505
  * @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}
234506
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
234310
234507
  */
234311
234508
  await this.authenticate(params);
234312
234509
  const messageHash = 'balance';
@@ -234374,7 +234571,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234374
234571
  * @param {string} symbol unified symbol of the market to fetch the ticker for
234375
234572
  * @param {object} [params] extra parameters specific to the probit api endpoint
234376
234573
  * @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}
234574
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
234378
234575
  */
234379
234576
  let filter = undefined;
234380
234577
  [filter, params] = this.handleOptionAndParams(params, 'watchTicker', 'filter', 'ticker');
@@ -234419,7 +234616,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234419
234616
  * @param {int} [limit] the maximum amount of trades to fetch
234420
234617
  * @param {object} [params] extra parameters specific to the probit api endpoint
234421
234618
  * @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}
234619
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
234423
234620
  */
234424
234621
  let filter = undefined;
234425
234622
  [filter, params] = this.handleOptionAndParams(params, 'watchTrades', 'filter', 'recent_trades');
@@ -234479,7 +234676,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234479
234676
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
234480
234677
  * @param {int} [limit] the maximum amount of trades to fetch
234481
234678
  * @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}
234679
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
234483
234680
  */
234484
234681
  await this.loadMarkets();
234485
234682
  await this.authenticate(params);
@@ -234560,7 +234757,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234560
234757
  * @param {int} [limit] the maximum amount of orders to watch
234561
234758
  * @param {object} [params] extra parameters specific to the aax api endpoint
234562
234759
  * @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}
234760
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
234564
234761
  */
234565
234762
  await this.authenticate(params);
234566
234763
  const url = this.urls['api']['ws'];
@@ -234644,7 +234841,7 @@ class probit extends _probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
234644
234841
  * @param {string} symbol unified symbol of the market to fetch the order book for
234645
234842
  * @param {int} [limit] the maximum amount of order book entries to return
234646
234843
  * @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
234844
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
234648
234845
  */
234649
234846
  let filter = undefined;
234650
234847
  [filter, params] = this.handleOptionAndParams(params, 'watchOrderBook', 'filter', 'order_books');
@@ -234912,7 +235109,7 @@ class upbit extends _upbit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z {
234912
235109
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
234913
235110
  * @param {int} [limit] the maximum amount of trades to fetch
234914
235111
  * @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}
235112
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
234916
235113
  */
234917
235114
  await this.loadMarkets();
234918
235115
  symbol = this.symbol(symbol);
@@ -235130,7 +235327,7 @@ class wazirx extends _wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
235130
235327
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
235131
235328
  * @see https://docs.wazirx.com/#account-update
235132
235329
  * @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}
235330
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
235134
235331
  */
235135
235332
  await this.loadMarkets();
235136
235333
  const token = await this.authenticate(params);
@@ -235374,7 +235571,7 @@ class wazirx extends _wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
235374
235571
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
235375
235572
  * @param {int} [limit] the maximum amount of trades to fetch
235376
235573
  * @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}
235574
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
235378
235575
  */
235379
235576
  await this.loadMarkets();
235380
235577
  const market = this.market(symbol);
@@ -235440,7 +235637,7 @@ class wazirx extends _wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z
235440
235637
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
235441
235638
  * @param {int} [limit] the maximum amount of trades to fetch
235442
235639
  * @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}
235640
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
235444
235641
  */
235445
235642
  await this.loadMarkets();
235446
235643
  const token = await this.authenticate(params);
@@ -236176,7 +236373,7 @@ class whitebit extends _whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
236176
236373
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
236177
236374
  * @param {int} [limit] the maximum amount of trades to fetch
236178
236375
  * @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}
236376
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
236180
236377
  */
236181
236378
  await this.loadMarkets();
236182
236379
  const market = this.market(symbol);
@@ -236514,7 +236711,7 @@ class whitebit extends _whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] *
236514
236711
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
236515
236712
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
236516
236713
  * @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}
236714
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
236518
236715
  */
236519
236716
  await this.loadMarkets();
236520
236717
  let type = undefined;
@@ -238046,7 +238243,7 @@ class probit extends _abstract_probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
238046
238243
  * @see https://docs-en.probit.com/reference/balance
238047
238244
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
238048
238245
  * @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}
238246
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
238050
238247
  */
238051
238248
  await this.loadMarkets();
238052
238249
  const response = await this.privateGetBalance(params);
@@ -238275,7 +238472,7 @@ class probit extends _abstract_probit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
238275
238472
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
238276
238473
  * @param {int} [limit] the maximum amount of trades to fetch
238277
238474
  * @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}
238475
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
238279
238476
  */
238280
238477
  await this.loadMarkets();
238281
238478
  const market = this.market(symbol);
@@ -248638,7 +248835,7 @@ class tidex extends _abstract_tidex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
248638
248835
  * @name tidex#fetchBalance
248639
248836
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
248640
248837
  * @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}
248838
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
248642
248839
  */
248643
248840
  await this.loadMarkets();
248644
248841
  const response = await this.privatePostGetInfoExt(params);
@@ -248892,7 +249089,7 @@ class tidex extends _abstract_tidex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
248892
249089
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
248893
249090
  * @param {int} [limit] the maximum amount of trades to fetch
248894
249091
  * @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}
249092
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
248896
249093
  */
248897
249094
  await this.loadMarkets();
248898
249095
  const market = this.market(symbol);
@@ -249926,7 +250123,7 @@ class timex extends _abstract_timex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
249926
250123
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
249927
250124
  * @param {int} [limit] the maximum amount of trades to fetch
249928
250125
  * @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}
250126
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
249930
250127
  */
249931
250128
  await this.loadMarkets();
249932
250129
  const market = this.market(symbol);
@@ -250035,7 +250232,7 @@ class timex extends _abstract_timex_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
250035
250232
  * @name timex#fetchBalance
250036
250233
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
250037
250234
  * @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}
250235
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
250039
250236
  */
250040
250237
  await this.loadMarkets();
250041
250238
  const response = await this.tradingGetBalances(params);
@@ -251911,7 +252108,7 @@ class tokocrypto extends _abstract_tokocrypto_js__WEBPACK_IMPORTED_MODULE_0__/*
251911
252108
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
251912
252109
  * @param {int} [limit] the maximum amount of trades to fetch
251913
252110
  * @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}
252111
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
251915
252112
  */
251916
252113
  await this.loadMarkets();
251917
252114
  const market = this.market(symbol);
@@ -252238,7 +252435,7 @@ class tokocrypto extends _abstract_tokocrypto_js__WEBPACK_IMPORTED_MODULE_0__/*
252238
252435
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
252239
252436
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
252240
252437
  * @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}
252438
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
252242
252439
  */
252243
252440
  await this.loadMarkets();
252244
252441
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType', 'spot');
@@ -253951,7 +254148,7 @@ class upbit extends _abstract_upbit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
253951
254148
  * @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
254149
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
253953
254150
  * @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}
254151
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
253955
254152
  */
253956
254153
  await this.loadMarkets();
253957
254154
  const response = await this.privateGetAccounts(params);
@@ -254273,7 +254470,7 @@ class upbit extends _abstract_upbit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
254273
254470
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
254274
254471
  * @param {int} [limit] the maximum amount of trades to fetch
254275
254472
  * @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}
254473
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
254277
254474
  */
254278
254475
  await this.loadMarkets();
254279
254476
  const market = this.market(symbol);
@@ -257119,7 +257316,7 @@ class wavesexchange extends _abstract_wavesexchange_js__WEBPACK_IMPORTED_MODULE_
257119
257316
  * @name wavesexchange#fetchBalance
257120
257317
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
257121
257318
  * @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}
257319
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
257123
257320
  */
257124
257321
  // makes a lot of different requests to get all the data
257125
257322
  // in particular:
@@ -257365,7 +257562,7 @@ class wavesexchange extends _abstract_wavesexchange_js__WEBPACK_IMPORTED_MODULE_
257365
257562
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
257366
257563
  * @param {int} [limit] the maximum amount of trades to fetch
257367
257564
  * @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}
257565
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
257369
257566
  */
257370
257567
  await this.loadMarkets();
257371
257568
  const market = this.market(symbol);
@@ -257621,7 +257818,7 @@ class wavesexchange extends _abstract_wavesexchange_js__WEBPACK_IMPORTED_MODULE_
257621
257818
  * @see https://docs.wx.network/en/api/gateways/withdraw/currencies
257622
257819
  * @param {string[]|undefined} codes list of unified currency codes
257623
257820
  * @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}
257821
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
257625
257822
  */
257626
257823
  await this.loadMarkets();
257627
257824
  let data = [];
@@ -258332,7 +258529,7 @@ class wazirx extends _abstract_wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
258332
258529
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
258333
258530
  * @param {int} [limit] the maximum amount of trades to fetch
258334
258531
  * @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}
258532
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
258336
258533
  */
258337
258534
  await this.loadMarkets();
258338
258535
  const market = this.market(symbol);
@@ -258504,7 +258701,7 @@ class wazirx extends _abstract_wazirx_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
258504
258701
  * @see https://docs.wazirx.com/#fund-details-user_data
258505
258702
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
258506
258703
  * @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}
258704
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
258508
258705
  */
258509
258706
  await this.loadMarkets();
258510
258707
  const response = await this.privateGetFunds(params);
@@ -259081,6 +259278,7 @@ class whitebit extends _abstract_whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
259081
259278
  '422': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.OrderNotFound, // {"response":null,"status":422,"errors":{"orderId":["Finished order id 1295772653 not found on your account"]},"notification":null,"warning":"Finished order id 1295772653 not found on your account","_token":null}
259082
259279
  },
259083
259280
  'broad': {
259281
+ 'This action is unauthorized': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.PermissionDenied,
259084
259282
  'Given amount is less than min amount': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InvalidOrder,
259085
259283
  'Total is less than': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InvalidOrder,
259086
259284
  'fee must be no less than': _base_errors_js__WEBPACK_IMPORTED_MODULE_2__.InvalidOrder,
@@ -259692,7 +259890,7 @@ class whitebit extends _abstract_whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
259692
259890
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
259693
259891
  * @param {int} [limit] the maximum amount of trades to fetch
259694
259892
  * @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}
259893
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
259696
259894
  */
259697
259895
  await this.loadMarkets();
259698
259896
  const market = this.market(symbol);
@@ -259723,7 +259921,7 @@ class whitebit extends _abstract_whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
259723
259921
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
259724
259922
  * @param {int} [limit] the maximum amount of trades to fetch
259725
259923
  * @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}
259924
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
259727
259925
  */
259728
259926
  await this.loadMarkets();
259729
259927
  let market = undefined;
@@ -260106,7 +260304,7 @@ class whitebit extends _abstract_whitebit_js__WEBPACK_IMPORTED_MODULE_0__/* ["de
260106
260304
  * @name whitebit#fetchBalance
260107
260305
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
260108
260306
  * @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}
260307
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
260110
260308
  */
260111
260309
  await this.loadMarkets();
260112
260310
  const [marketType, query] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
@@ -261520,7 +261718,7 @@ class woo extends _abstract_woo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
261520
261718
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
261521
261719
  * @param {int} [limit] the maximum amount of trades to fetch
261522
261720
  * @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}
261721
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
261524
261722
  */
261525
261723
  if (symbol === undefined) {
261526
261724
  throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' fetchTrades() requires a symbol argument');
@@ -262707,7 +262905,7 @@ class woo extends _abstract_woo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */
262707
262905
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
262708
262906
  * @see https://docs.woo.org/#get-current-holding-get-balance-new
262709
262907
  * @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}
262908
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
262711
262909
  */
262712
262910
  await this.loadMarkets();
262713
262911
  const response = await this.v3PrivateGetBalances(params);
@@ -264017,7 +264215,7 @@ class yobit extends _abstract_yobit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
264017
264215
  * @see https://yobit.net/en/api
264018
264216
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
264019
264217
  * @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}
264218
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
264021
264219
  */
264022
264220
  await this.loadMarkets();
264023
264221
  const response = await this.privatePostGetInfo(params);
@@ -264400,7 +264598,7 @@ class yobit extends _abstract_yobit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
264400
264598
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
264401
264599
  * @param {int} [limit] the maximum amount of trades to fetch
264402
264600
  * @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}
264601
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
264404
264602
  */
264405
264603
  await this.loadMarkets();
264406
264604
  const market = this.market(symbol);
@@ -265306,7 +265504,7 @@ class zaif extends _abstract_zaif_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
265306
265504
  * @see https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id10
265307
265505
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
265308
265506
  * @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}
265507
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
265310
265508
  */
265311
265509
  await this.loadMarkets();
265312
265510
  const response = await this.privatePostGetInfo(params);
@@ -265448,7 +265646,7 @@ class zaif extends _abstract_zaif_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
265448
265646
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
265449
265647
  * @param {int} [limit] the maximum amount of trades to fetch
265450
265648
  * @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}
265649
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
265452
265650
  */
265453
265651
  await this.loadMarkets();
265454
265652
  const market = this.market(symbol);
@@ -266321,7 +266519,7 @@ class zonda extends _abstract_zonda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
266321
266519
  * @see https://docs.zonda.exchange/reference/list-of-wallets
266322
266520
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
266323
266521
  * @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}
266522
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
266325
266523
  */
266326
266524
  await this.loadMarkets();
266327
266525
  const response = await this.v1_01PrivateGetBalancesBITBAYBalance(params);
@@ -267096,7 +267294,7 @@ class zonda extends _abstract_zonda_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
267096
267294
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
267097
267295
  * @param {int} [limit] the maximum amount of trades to fetch
267098
267296
  * @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}
267297
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
267100
267298
  */
267101
267299
  await this.loadMarkets();
267102
267300
  const market = this.market(symbol);
@@ -273236,7 +273434,7 @@ SOFTWARE.
273236
273434
 
273237
273435
  //-----------------------------------------------------------------------------
273238
273436
  // this is updated by vss.js when building
273239
- const version = '4.0.75';
273437
+ const version = '4.0.77';
273240
273438
  _src_base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* .Exchange.ccxtVersion */ .e.ccxtVersion = version;
273241
273439
  //-----------------------------------------------------------------------------
273242
273440