ccxt 4.0.75 → 4.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +594 -457
  3. package/dist/ccxt.browser.min.js +2 -2
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +2 -2
  6. package/dist/cjs/src/alpaca.js +1 -1
  7. package/dist/cjs/src/ascendex.js +3 -3
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +2 -2
  10. package/dist/cjs/src/binance.js +5 -5
  11. package/dist/cjs/src/bingx.js +64 -19
  12. package/dist/cjs/src/bit2c.js +2 -2
  13. package/dist/cjs/src/bitbank.js +2 -2
  14. package/dist/cjs/src/bitbns.js +2 -2
  15. package/dist/cjs/src/bitfinex.js +2 -2
  16. package/dist/cjs/src/bitfinex2.js +4 -4
  17. package/dist/cjs/src/bitflyer.js +2 -2
  18. package/dist/cjs/src/bitforex.js +2 -2
  19. package/dist/cjs/src/bitget.js +5 -5
  20. package/dist/cjs/src/bithumb.js +2 -2
  21. package/dist/cjs/src/bitmart.js +2 -2
  22. package/dist/cjs/src/bitmex.js +5 -5
  23. package/dist/cjs/src/bitopro.js +3 -3
  24. package/dist/cjs/src/bitpanda.js +2 -2
  25. package/dist/cjs/src/bitrue.js +3 -3
  26. package/dist/cjs/src/bitso.js +2 -2
  27. package/dist/cjs/src/bitstamp.js +2 -2
  28. package/dist/cjs/src/bitstamp1.js +2 -2
  29. package/dist/cjs/src/bittrex.js +3 -3
  30. package/dist/cjs/src/bitvavo.js +3 -3
  31. package/dist/cjs/src/bkex.js +4 -4
  32. package/dist/cjs/src/bl3p.js +2 -2
  33. package/dist/cjs/src/blockchaincom.js +1 -1
  34. package/dist/cjs/src/btcalpha.js +2 -2
  35. package/dist/cjs/src/btcbox.js +2 -2
  36. package/dist/cjs/src/btcmarkets.js +2 -2
  37. package/dist/cjs/src/btctradeua.js +2 -2
  38. package/dist/cjs/src/btcturk.js +2 -2
  39. package/dist/cjs/src/bybit.js +5 -5
  40. package/dist/cjs/src/cex.js +2 -2
  41. package/dist/cjs/src/coinbase.js +3 -3
  42. package/dist/cjs/src/coinbasepro.js +2 -2
  43. package/dist/cjs/src/coincheck.js +2 -2
  44. package/dist/cjs/src/coinex.js +6 -6
  45. package/dist/cjs/src/coinfalcon.js +2 -2
  46. package/dist/cjs/src/coinmate.js +2 -2
  47. package/dist/cjs/src/coinone.js +2 -2
  48. package/dist/cjs/src/coinsph.js +7 -2
  49. package/dist/cjs/src/coinspot.js +2 -2
  50. package/dist/cjs/src/cryptocom.js +5 -5
  51. package/dist/cjs/src/currencycom.js +2 -2
  52. package/dist/cjs/src/delta.js +2 -2
  53. package/dist/cjs/src/deribit.js +3 -3
  54. package/dist/cjs/src/digifinex.js +4 -4
  55. package/dist/cjs/src/exmo.js +2 -2
  56. package/dist/cjs/src/gate.js +4 -4
  57. package/dist/cjs/src/gemini.js +3 -3
  58. package/dist/cjs/src/hitbtc.js +4 -4
  59. package/dist/cjs/src/hollaex.js +3 -3
  60. package/dist/cjs/src/huobi.js +5 -5
  61. package/dist/cjs/src/huobijp.js +2 -2
  62. package/dist/cjs/src/idex.js +2 -2
  63. package/dist/cjs/src/independentreserve.js +2 -2
  64. package/dist/cjs/src/indodax.js +2 -2
  65. package/dist/cjs/src/kraken.js +2 -2
  66. package/dist/cjs/src/kucoin.js +4 -4
  67. package/dist/cjs/src/kucoinfutures.js +5 -5
  68. package/dist/cjs/src/kuna.js +2 -2
  69. package/dist/cjs/src/latoken.js +2 -2
  70. package/dist/cjs/src/lbank.js +2 -2
  71. package/dist/cjs/src/lbank2.js +2 -2
  72. package/dist/cjs/src/luno.js +2 -2
  73. package/dist/cjs/src/lykke.js +2 -2
  74. package/dist/cjs/src/mercado.js +2 -2
  75. package/dist/cjs/src/mexc.js +6 -4
  76. package/dist/cjs/src/ndax.js +2 -2
  77. package/dist/cjs/src/novadax.js +2 -2
  78. package/dist/cjs/src/oceanex.js +2 -2
  79. package/dist/cjs/src/okcoin.js +2 -2
  80. package/dist/cjs/src/okx.js +4 -4
  81. package/dist/cjs/src/paymium.js +2 -2
  82. package/dist/cjs/src/phemex.js +2 -2
  83. package/dist/cjs/src/poloniex.js +165 -81
  84. package/dist/cjs/src/poloniexfutures.js +2 -2
  85. package/dist/cjs/src/pro/ascendex.js +2 -2
  86. package/dist/cjs/src/pro/binance.js +6 -6
  87. package/dist/cjs/src/pro/bitfinex.js +1 -1
  88. package/dist/cjs/src/pro/bitfinex2.js +2 -2
  89. package/dist/cjs/src/pro/bitget.js +2 -2
  90. package/dist/cjs/src/pro/bitmart.js +1 -1
  91. package/dist/cjs/src/pro/bitmex.js +2 -2
  92. package/dist/cjs/src/pro/bitopro.js +2 -2
  93. package/dist/cjs/src/pro/bitpanda.js +6 -6
  94. package/dist/cjs/src/pro/bitrue.js +1 -1
  95. package/dist/cjs/src/pro/bitstamp.js +1 -1
  96. package/dist/cjs/src/pro/bittrex.js +2 -2
  97. package/dist/cjs/src/pro/bitvavo.js +1 -1
  98. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  99. package/dist/cjs/src/pro/bybit.js +1 -1
  100. package/dist/cjs/src/pro/cex.js +4 -4
  101. package/dist/cjs/src/pro/coinbase.js +5 -5
  102. package/dist/cjs/src/pro/coinbasepro.js +1 -1
  103. package/dist/cjs/src/pro/coinex.js +2 -2
  104. package/dist/cjs/src/pro/cryptocom.js +3 -3
  105. package/dist/cjs/src/pro/currencycom.js +2 -2
  106. package/dist/cjs/src/pro/deribit.js +3 -3
  107. package/dist/cjs/src/pro/exmo.js +3 -3
  108. package/dist/cjs/src/pro/gate.js +2 -2
  109. package/dist/cjs/src/pro/gemini.js +1 -1
  110. package/dist/cjs/src/pro/hitbtc.js +1 -1
  111. package/dist/cjs/src/pro/hollaex.js +2 -2
  112. package/dist/cjs/src/pro/huobi.js +2 -2
  113. package/dist/cjs/src/pro/huobijp.js +1 -1
  114. package/dist/cjs/src/pro/idex.js +1 -1
  115. package/dist/cjs/src/pro/independentreserve.js +1 -1
  116. package/dist/cjs/src/pro/kraken.js +6 -6
  117. package/dist/cjs/src/pro/krakenfutures.js +5 -5
  118. package/dist/cjs/src/pro/kucoin.js +2 -2
  119. package/dist/cjs/src/pro/kucoinfutures.js +3 -2
  120. package/dist/cjs/src/pro/luno.js +1 -1
  121. package/dist/cjs/src/pro/mexc.js +6 -6
  122. package/dist/cjs/src/pro/ndax.js +1 -1
  123. package/dist/cjs/src/pro/okcoin.js +2 -2
  124. package/dist/cjs/src/pro/okx.js +7 -7
  125. package/dist/cjs/src/pro/phemex.js +2 -2
  126. package/dist/cjs/src/pro/poloniex.js +6 -6
  127. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  128. package/dist/cjs/src/pro/probit.js +6 -6
  129. package/dist/cjs/src/pro/upbit.js +1 -1
  130. package/dist/cjs/src/pro/wazirx.js +3 -3
  131. package/dist/cjs/src/pro/whitebit.js +2 -2
  132. package/dist/cjs/src/probit.js +2 -2
  133. package/dist/cjs/src/tidex.js +2 -2
  134. package/dist/cjs/src/timex.js +2 -2
  135. package/dist/cjs/src/tokocrypto.js +2 -2
  136. package/dist/cjs/src/upbit.js +2 -2
  137. package/dist/cjs/src/wavesexchange.js +3 -3
  138. package/dist/cjs/src/wazirx.js +2 -2
  139. package/dist/cjs/src/whitebit.js +3 -3
  140. package/dist/cjs/src/woo.js +2 -2
  141. package/dist/cjs/src/yobit.js +2 -2
  142. package/dist/cjs/src/zaif.js +2 -2
  143. package/dist/cjs/src/zonda.js +2 -2
  144. package/js/ccxt.d.ts +1 -1
  145. package/js/ccxt.js +1 -1
  146. package/js/src/abstract/bingx.d.ts +2 -0
  147. package/js/src/abstract/coinsph.d.ts +5 -0
  148. package/js/src/ace.js +2 -2
  149. package/js/src/alpaca.js +1 -1
  150. package/js/src/ascendex.js +3 -3
  151. package/js/src/base/Exchange.js +2 -2
  152. package/js/src/bigone.js +2 -2
  153. package/js/src/binance.js +5 -5
  154. package/js/src/bingx.d.ts +1 -0
  155. package/js/src/bingx.js +64 -19
  156. package/js/src/bit2c.js +2 -2
  157. package/js/src/bitbank.js +2 -2
  158. package/js/src/bitbns.js +2 -2
  159. package/js/src/bitfinex.js +2 -2
  160. package/js/src/bitfinex2.js +4 -4
  161. package/js/src/bitflyer.js +2 -2
  162. package/js/src/bitforex.js +2 -2
  163. package/js/src/bitget.js +5 -5
  164. package/js/src/bithumb.js +2 -2
  165. package/js/src/bitmart.js +2 -2
  166. package/js/src/bitmex.js +5 -5
  167. package/js/src/bitopro.js +3 -3
  168. package/js/src/bitpanda.js +2 -2
  169. package/js/src/bitrue.js +3 -3
  170. package/js/src/bitso.js +2 -2
  171. package/js/src/bitstamp.js +2 -2
  172. package/js/src/bitstamp1.js +2 -2
  173. package/js/src/bittrex.js +3 -3
  174. package/js/src/bitvavo.js +3 -3
  175. package/js/src/bkex.js +4 -4
  176. package/js/src/bl3p.js +2 -2
  177. package/js/src/blockchaincom.js +1 -1
  178. package/js/src/btcalpha.js +2 -2
  179. package/js/src/btcbox.js +2 -2
  180. package/js/src/btcmarkets.js +2 -2
  181. package/js/src/btctradeua.js +2 -2
  182. package/js/src/btcturk.js +2 -2
  183. package/js/src/bybit.js +5 -5
  184. package/js/src/cex.js +2 -2
  185. package/js/src/coinbase.js +3 -3
  186. package/js/src/coinbasepro.js +2 -2
  187. package/js/src/coincheck.js +2 -2
  188. package/js/src/coinex.js +6 -6
  189. package/js/src/coinfalcon.js +2 -2
  190. package/js/src/coinmate.js +2 -2
  191. package/js/src/coinone.js +2 -2
  192. package/js/src/coinsph.js +7 -2
  193. package/js/src/coinspot.js +2 -2
  194. package/js/src/cryptocom.js +5 -5
  195. package/js/src/currencycom.js +2 -2
  196. package/js/src/delta.js +2 -2
  197. package/js/src/deribit.js +3 -3
  198. package/js/src/digifinex.js +4 -4
  199. package/js/src/exmo.js +2 -2
  200. package/js/src/gate.js +4 -4
  201. package/js/src/gemini.js +3 -3
  202. package/js/src/hitbtc.js +4 -4
  203. package/js/src/hollaex.js +3 -3
  204. package/js/src/huobi.js +5 -5
  205. package/js/src/huobijp.js +2 -2
  206. package/js/src/idex.js +2 -2
  207. package/js/src/independentreserve.js +2 -2
  208. package/js/src/indodax.js +2 -2
  209. package/js/src/kraken.js +2 -2
  210. package/js/src/kucoin.js +4 -4
  211. package/js/src/kucoinfutures.js +5 -5
  212. package/js/src/kuna.js +2 -2
  213. package/js/src/latoken.js +2 -2
  214. package/js/src/lbank.js +2 -2
  215. package/js/src/lbank2.js +2 -2
  216. package/js/src/luno.js +2 -2
  217. package/js/src/lykke.js +2 -2
  218. package/js/src/mercado.js +2 -2
  219. package/js/src/mexc.js +7 -5
  220. package/js/src/ndax.js +2 -2
  221. package/js/src/novadax.js +2 -2
  222. package/js/src/oceanex.js +2 -2
  223. package/js/src/okcoin.js +2 -2
  224. package/js/src/okx.js +4 -4
  225. package/js/src/paymium.js +2 -2
  226. package/js/src/phemex.js +2 -2
  227. package/js/src/poloniex.d.ts +1 -1
  228. package/js/src/poloniex.js +165 -81
  229. package/js/src/poloniexfutures.js +2 -2
  230. package/js/src/pro/ascendex.js +2 -2
  231. package/js/src/pro/binance.js +6 -6
  232. package/js/src/pro/bitfinex.js +1 -1
  233. package/js/src/pro/bitfinex2.js +2 -2
  234. package/js/src/pro/bitget.js +2 -2
  235. package/js/src/pro/bitmart.js +1 -1
  236. package/js/src/pro/bitmex.js +2 -2
  237. package/js/src/pro/bitopro.js +2 -2
  238. package/js/src/pro/bitpanda.js +6 -6
  239. package/js/src/pro/bitrue.js +1 -1
  240. package/js/src/pro/bitstamp.js +1 -1
  241. package/js/src/pro/bittrex.js +2 -2
  242. package/js/src/pro/bitvavo.js +1 -1
  243. package/js/src/pro/blockchaincom.js +5 -5
  244. package/js/src/pro/bybit.js +1 -1
  245. package/js/src/pro/cex.js +4 -4
  246. package/js/src/pro/coinbase.js +5 -5
  247. package/js/src/pro/coinbasepro.js +1 -1
  248. package/js/src/pro/coinex.js +2 -2
  249. package/js/src/pro/cryptocom.js +3 -3
  250. package/js/src/pro/currencycom.js +2 -2
  251. package/js/src/pro/deribit.js +3 -3
  252. package/js/src/pro/exmo.js +3 -3
  253. package/js/src/pro/gate.js +2 -2
  254. package/js/src/pro/gemini.js +1 -1
  255. package/js/src/pro/hitbtc.js +1 -1
  256. package/js/src/pro/hollaex.js +2 -2
  257. package/js/src/pro/huobi.js +2 -2
  258. package/js/src/pro/huobijp.js +1 -1
  259. package/js/src/pro/idex.js +1 -1
  260. package/js/src/pro/independentreserve.js +1 -1
  261. package/js/src/pro/kraken.js +6 -6
  262. package/js/src/pro/krakenfutures.js +5 -5
  263. package/js/src/pro/kucoin.js +2 -2
  264. package/js/src/pro/kucoinfutures.js +3 -2
  265. package/js/src/pro/luno.js +1 -1
  266. package/js/src/pro/mexc.js +6 -6
  267. package/js/src/pro/ndax.js +1 -1
  268. package/js/src/pro/okcoin.js +2 -2
  269. package/js/src/pro/okx.js +7 -7
  270. package/js/src/pro/phemex.js +2 -2
  271. package/js/src/pro/poloniex.js +6 -6
  272. package/js/src/pro/poloniexfutures.js +5 -5
  273. package/js/src/pro/probit.js +6 -6
  274. package/js/src/pro/upbit.js +1 -1
  275. package/js/src/pro/wazirx.js +3 -3
  276. package/js/src/pro/whitebit.js +2 -2
  277. package/js/src/probit.js +2 -2
  278. package/js/src/tidex.js +2 -2
  279. package/js/src/timex.js +2 -2
  280. package/js/src/tokocrypto.js +2 -2
  281. package/js/src/upbit.js +2 -2
  282. package/js/src/wavesexchange.js +3 -3
  283. package/js/src/wazirx.js +2 -2
  284. package/js/src/whitebit.js +3 -3
  285. package/js/src/woo.js +2 -2
  286. package/js/src/yobit.js +2 -2
  287. package/js/src/zaif.js +2 -2
  288. package/js/src/zonda.js +2 -2
  289. package/package.json +1 -1
  290. package/skip-tests.json +2 -0
package/dist/cjs/ccxt.js CHANGED
@@ -180,7 +180,7 @@ var woo$1 = require('./src/pro/woo.js');
180
180
 
181
181
  //-----------------------------------------------------------------------------
182
182
  // this is updated by vss.js when building
183
- const version = '4.0.75';
183
+ const version = '4.0.76';
184
184
  Exchange["default"].ccxtVersion = version;
185
185
  const exchanges = {
186
186
  'ace': ace,
@@ -893,7 +893,7 @@ class ace extends ace$1 {
893
893
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
894
894
  * @param {int} [limit] the maximum amount of trades to fetch
895
895
  * @param {object} [params] extra parameters specific to the ace api endpoint
896
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
896
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
897
897
  */
898
898
  await this.loadMarkets();
899
899
  const market = this.safeMarket(symbol);
@@ -978,7 +978,7 @@ class ace extends ace$1 {
978
978
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
979
979
  * @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---account-balance
980
980
  * @param {object} [params] extra parameters specific to the ace api endpoint
981
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
981
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
982
982
  */
983
983
  await this.loadMarkets();
984
984
  const response = await this.privatePostV2CoinCustomerAccount(params);
@@ -320,7 +320,7 @@ class alpaca extends alpaca$1 {
320
320
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
321
321
  * @param {int} [limit] the maximum amount of trades to fetch
322
322
  * @param {object} [params] extra parameters specific to the alpaca api endpoint
323
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
323
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
324
324
  */
325
325
  await this.loadMarkets();
326
326
  const market = this.market(symbol);
@@ -799,7 +799,7 @@ class ascendex extends ascendex$1 {
799
799
  * @name ascendex#fetchBalance
800
800
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
801
801
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
802
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
802
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
803
803
  */
804
804
  await this.loadMarkets();
805
805
  await this.loadAccounts();
@@ -1189,7 +1189,7 @@ class ascendex extends ascendex$1 {
1189
1189
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1190
1190
  * @param {int} [limit] the maximum amount of trades to fetch
1191
1191
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
1192
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1192
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1193
1193
  */
1194
1194
  await this.loadMarkets();
1195
1195
  const market = this.market(symbol);
@@ -2967,7 +2967,7 @@ class ascendex extends ascendex$1 {
2967
2967
  * @see https://ascendex.github.io/ascendex-pro-api/#list-all-assets
2968
2968
  * @param {string[]|undefined} codes list of unified currency codes
2969
2969
  * @param {object} [params] extra parameters specific to the ascendex api endpoint
2970
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
2970
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2971
2971
  */
2972
2972
  await this.loadMarkets();
2973
2973
  const response = await this.v2PublicGetAssets(params);
@@ -3222,7 +3222,7 @@ class Exchange {
3222
3222
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
3223
3223
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
3224
3224
  * @param {object} [params] extra parameters specific to the exchange api endpoint
3225
- * @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com/en/latest/manual.html#transaction-structure}
3225
+ * @returns {object} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3226
3226
  */
3227
3227
  throw new errors.NotSupported(this.id + ' fetchDepositsWithdrawals() is not supported yet');
3228
3228
  }
@@ -3990,7 +3990,7 @@ class Exchange {
3990
3990
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
3991
3991
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
3992
3992
  * @param {object} [params] extra parameters specific to the exchange api endpoint
3993
- * @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com/en/latest/manual.html#transaction-structure}
3993
+ * @returns {object} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
3994
3994
  */
3995
3995
  if (this.has['fetchDepositsWithdrawals']) {
3996
3996
  return await this.fetchDepositsWithdrawals(code, since, limit, params);
@@ -932,7 +932,7 @@ class bigone extends bigone$1 {
932
932
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
933
933
  * @param {int} [limit] the maximum amount of trades to fetch
934
934
  * @param {object} [params] extra parameters specific to the bigone api endpoint
935
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
935
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
936
936
  */
937
937
  await this.loadMarkets();
938
938
  const market = this.market(symbol);
@@ -1063,7 +1063,7 @@ class bigone extends bigone$1 {
1063
1063
  * @name bigone#fetchBalance
1064
1064
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1065
1065
  * @param {object} [params] extra parameters specific to the bigone api endpoint
1066
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1066
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1067
1067
  */
1068
1068
  await this.loadMarkets();
1069
1069
  const type = this.safeString(params, 'type', '');
@@ -2500,7 +2500,7 @@ class binance extends binance$1 {
2500
2500
  * @param {string} [params.type] 'future', 'delivery', 'savings', 'funding', or 'spot'
2501
2501
  * @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
2502
2502
  * @param {string[]|undefined} [params.symbols] unified market symbols, only used in isolated margin mode
2503
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
2503
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
2504
2504
  */
2505
2505
  await this.loadMarkets();
2506
2506
  const defaultType = this.safeString2(this.options, 'fetchBalance', 'defaultType', 'spot');
@@ -3606,7 +3606,7 @@ class binance extends binance$1 {
3606
3606
  *
3607
3607
  * EXCHANGE SPECIFIC PARAMETERS
3608
3608
  * @param {int} [params.fromId] trade id to fetch from, default gets most recent trades, not used when fetchTradesMethod is 'publicGetTrades', 'fapiPublicGetTrades', 'dapiPublicGetTrades', or 'eapiPublicGetTrades'
3609
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
3609
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
3610
3610
  */
3611
3611
  await this.loadMarkets();
3612
3612
  const market = this.market(symbol);
@@ -6516,10 +6516,10 @@ class binance extends binance$1 {
6516
6516
  * @description fetches historical funding rate prices
6517
6517
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
6518
6518
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
6519
- * @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
6519
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
6520
6520
  * @param {object} [params] extra parameters specific to the binance api endpoint
6521
6521
  * @param {int} [params.until] timestamp in ms of the latest funding rate
6522
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
6522
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
6523
6523
  */
6524
6524
  await this.loadMarkets();
6525
6525
  const request = {};
@@ -7220,7 +7220,7 @@ class binance extends binance$1 {
7220
7220
  * @description fetch data on an open position
7221
7221
  * @param {string} symbol unified market symbol of the market the position is held in
7222
7222
  * @param {object} [params] extra parameters specific to the binance api endpoint
7223
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/en/latest/manual.html#position-structure}
7223
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
7224
7224
  */
7225
7225
  await this.loadMarkets();
7226
7226
  const market = this.market(symbol);
@@ -98,11 +98,13 @@ class bingx extends bingx$1 {
98
98
  'trade/openOrders': 3,
99
99
  'trade/historyOrders': 3,
100
100
  'account/balance': 3,
101
+ 'ticker/24hr': 1,
101
102
  },
102
103
  'post': {
103
104
  'trade/order': 3,
104
105
  'trade/cancel': 3,
105
106
  'trade/batchOrders': 3,
107
+ 'trade/cancelOrders': 3,
106
108
  },
107
109
  },
108
110
  },
@@ -682,7 +684,7 @@ class bingx extends bingx$1 {
682
684
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
683
685
  * @param {int} [limit] the maximum amount of trades to fetch
684
686
  * @param {object} [params] extra parameters specific to the bingx api endpoint
685
- * @returns {[object]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
687
+ * @returns {[object]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
686
688
  */
687
689
  await this.loadMarkets();
688
690
  const market = this.market(symbol);
@@ -977,9 +979,9 @@ class bingx extends bingx$1 {
977
979
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Funding%20Rate%20History
978
980
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
979
981
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
980
- * @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
982
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
981
983
  * @param {object} [params] extra parameters specific to the bingx api endpoint
982
- * @returns {[object]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
984
+ * @returns {[object]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
983
985
  */
984
986
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
985
987
  await this.loadMarkets();
@@ -1083,19 +1085,23 @@ class bingx extends bingx$1 {
1083
1085
  * @name bingx#fetchTicker
1084
1086
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1085
1087
  * @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Get%20Ticker
1088
+ * @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
1086
1089
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1087
1090
  * @param {object} [params] extra parameters specific to the bingx api endpoint
1088
1091
  * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1089
1092
  */
1090
1093
  await this.loadMarkets();
1091
1094
  const market = this.market(symbol);
1092
- if (!market['swap']) {
1093
- throw new errors.BadRequest(this.id + ' fetchTicker is only supported for swap markets.');
1094
- }
1095
1095
  const request = {
1096
1096
  'symbol': market['id'],
1097
1097
  };
1098
- const response = await this.swapV2PublicGetQuoteTicker(this.extend(request, params));
1098
+ let response = undefined;
1099
+ if (market['spot']) {
1100
+ response = await this.swapV2PublicGetQuoteTicker(this.extend(request, params));
1101
+ }
1102
+ else {
1103
+ response = await this.spotV1PublicGetCommonSymbols(this.extend(request, params));
1104
+ }
1099
1105
  //
1100
1106
  // {
1101
1107
  // "code": 0,
@@ -1192,10 +1198,12 @@ class bingx extends bingx$1 {
1192
1198
  const baseVolume = this.safeString(ticker, 'volume');
1193
1199
  const change = this.safeString(ticker, 'chapriceChangenge');
1194
1200
  const percentage = this.safeString(ticker, 'priceChangePercent');
1201
+ const ts = this.safeInteger(ticker, 'closeTime');
1202
+ const datetime = this.iso8601(ts);
1195
1203
  return this.safeTicker({
1196
1204
  'symbol': symbol,
1197
- 'timestamp': undefined,
1198
- 'datetime': undefined,
1205
+ 'timestamp': ts,
1206
+ 'datetime': datetime,
1199
1207
  'high': high,
1200
1208
  'low': low,
1201
1209
  'bid': undefined,
@@ -1225,7 +1233,7 @@ class bingx extends bingx$1 {
1225
1233
  * @see https://bingx-api.github.io/docs/#/standard/contract-interface.html#Query%20standard%20contract%20balance
1226
1234
  * @param {object} [params] extra parameters specific to the cryptocom api endpoint
1227
1235
  * @param {boolean} [params.standard] whether to fetch standard contract balances
1228
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1236
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1229
1237
  */
1230
1238
  await this.loadMarkets();
1231
1239
  let response = undefined;
@@ -1875,6 +1883,7 @@ class bingx extends bingx$1 {
1875
1883
  * @name bingx#cancelOrders
1876
1884
  * @description cancel multiple orders
1877
1885
  * @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20a%20Batch%20of%20Orders
1886
+ * @see https://bingx-api.github.io/docs/#/spot/trade-api.html#Cancel%20a%20Batch%20of%20Orders
1878
1887
  * @param {[string]} ids order ids
1879
1888
  * @param {string} symbol unified market symbol, default is undefined
1880
1889
  * @param {object} [params] extra parameters specific to the bingx api endpoint
@@ -1883,14 +1892,24 @@ class bingx extends bingx$1 {
1883
1892
  this.checkRequiredSymbol('cancelOrders', symbol);
1884
1893
  await this.loadMarkets();
1885
1894
  const market = this.market(symbol);
1886
- if (market['type'] !== 'swap') {
1887
- throw new errors.BadRequest(this.id + ' cancelOrders is only supported for swap markets.');
1888
- }
1889
1895
  const request = {
1890
1896
  'symbol': market['id'],
1891
- 'ids': ids,
1892
1897
  };
1893
- const response = await this.swapV2PrivateDeleteTradeBatchOrders(this.extend(request, params));
1898
+ const parsedIds = [];
1899
+ for (let i = 0; i < ids.length; i++) {
1900
+ const id = ids[i];
1901
+ const stringId = id.toString();
1902
+ parsedIds.push(stringId);
1903
+ }
1904
+ let response = undefined;
1905
+ if (market['spot']) {
1906
+ request['orderIds'] = parsedIds.join(',');
1907
+ response = await this.spotV1PrivatePostTradeCancelOrders(this.extend(request, params));
1908
+ }
1909
+ else {
1910
+ request['orderIdList'] = parsedIds;
1911
+ response = await this.swapV2PrivateDeleteTradeBatchOrders(this.extend(request, params));
1912
+ }
1894
1913
  //
1895
1914
  // {
1896
1915
  // "code": 0,
@@ -2739,7 +2758,7 @@ class bingx extends bingx$1 {
2739
2758
  * @see https://bingx-api.github.io/docs/#/common/account-api.html#All%20Coins'%20Information
2740
2759
  * @param {[string]|undefined} codes list of unified currency codes
2741
2760
  * @param {object} [params] extra parameters specific to the bingx api endpoint
2742
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
2761
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2743
2762
  */
2744
2763
  await this.loadMarkets();
2745
2764
  const response = await this.walletsV1PrivateGetCapitalConfigGetall(params);
@@ -2791,6 +2810,33 @@ class bingx extends bingx$1 {
2791
2810
  // }
2792
2811
  this.parseTransaction(data);
2793
2812
  }
2813
+ parseParams(params) {
2814
+ let result = '';
2815
+ const sortedParams = this.keysort(params);
2816
+ const keys = Object.keys(sortedParams);
2817
+ for (let i = 0; i < keys.length; i++) {
2818
+ const key = keys[i];
2819
+ if (i > 0) {
2820
+ result += '&';
2821
+ }
2822
+ const value = sortedParams[key];
2823
+ if (Array.isArray(value)) {
2824
+ result += key + '=[';
2825
+ for (let j = 0; j < value.length; j++) {
2826
+ const arrayElement = value[j];
2827
+ if (j > 0) {
2828
+ result += ',';
2829
+ }
2830
+ result += arrayElement.toString();
2831
+ }
2832
+ result += ']';
2833
+ }
2834
+ else {
2835
+ result += key + '=' + value.toString();
2836
+ }
2837
+ }
2838
+ return result;
2839
+ }
2794
2840
  sign(path, section = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
2795
2841
  const type = section[0];
2796
2842
  const version = section[1];
@@ -2815,9 +2861,8 @@ class bingx extends bingx$1 {
2815
2861
  else if (access === 'private') {
2816
2862
  this.checkRequiredCredentials();
2817
2863
  params['timestamp'] = this.nonce();
2818
- let query = this.urlencode(params);
2819
- const rawQuery = this.rawencode(params);
2820
- const signature = this.hmac(this.encode(rawQuery), this.encode(this.secret), sha256.sha256);
2864
+ let query = this.parseParams(params);
2865
+ const signature = this.hmac(this.encode(query), this.encode(this.secret), sha256.sha256);
2821
2866
  if (Object.keys(params).length) {
2822
2867
  query = '?' + query + '&';
2823
2868
  }
@@ -205,7 +205,7 @@ class bit2c extends bit2c$1 {
205
205
  * @name bit2c#fetchBalance
206
206
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
207
207
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
208
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
208
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
209
209
  */
210
210
  await this.loadMarkets();
211
211
  const response = await this.privateGetAccountBalanceV2(params);
@@ -326,7 +326,7 @@ class bit2c extends bit2c$1 {
326
326
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
327
327
  * @param {int} [limit] the maximum amount of trades to fetch
328
328
  * @param {object} [params] extra parameters specific to the bit2c api endpoint
329
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
329
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
330
330
  */
331
331
  await this.loadMarkets();
332
332
  const market = this.market(symbol);
@@ -358,7 +358,7 @@ class bitbank extends bitbank$1 {
358
358
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
359
359
  * @param {int} [limit] the maximum amount of trades to fetch
360
360
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
361
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
361
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
362
362
  */
363
363
  await this.loadMarkets();
364
364
  const market = this.market(symbol);
@@ -524,7 +524,7 @@ class bitbank extends bitbank$1 {
524
524
  * @name bitbank#fetchBalance
525
525
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
526
526
  * @param {object} [params] extra parameters specific to the bitbank api endpoint
527
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
527
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
528
528
  */
529
529
  await this.loadMarkets();
530
530
  const response = await this.privateGetUserAssets(params);
@@ -456,7 +456,7 @@ class bitbns extends bitbns$1 {
456
456
  * @name bitbns#fetchBalance
457
457
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
458
458
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
459
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
459
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
460
460
  */
461
461
  await this.loadMarkets();
462
462
  const response = await this.v1PostCurrentCoinBalanceEVERYTHING(params);
@@ -909,7 +909,7 @@ class bitbns extends bitbns$1 {
909
909
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
910
910
  * @param {int} [limit] the maximum amount of trades to fetch
911
911
  * @param {object} [params] extra parameters specific to the bitbns api endpoint
912
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
912
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
913
913
  */
914
914
  if (symbol === undefined) {
915
915
  throw new errors.ArgumentsRequired(this.id + ' fetchTrades() requires a symbol argument');
@@ -681,7 +681,7 @@ class bitfinex extends bitfinex$1 {
681
681
  * @name bitfinex#fetchBalance
682
682
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
683
683
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
684
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
684
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
685
685
  */
686
686
  await this.loadMarkets();
687
687
  const accountsByType = this.safeValue(this.options, 'accountsByType', {});
@@ -993,7 +993,7 @@ class bitfinex extends bitfinex$1 {
993
993
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
994
994
  * @param {int} [limit] the maximum amount of trades to fetch
995
995
  * @param {object} [params] extra parameters specific to the bitfinex api endpoint
996
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
996
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
997
997
  */
998
998
  await this.loadMarkets();
999
999
  const market = this.market(symbol);
@@ -791,7 +791,7 @@ class bitfinex2 extends bitfinex2$1 {
791
791
  * @name bitfinex2#fetchBalance
792
792
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
793
793
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
794
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
794
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
795
795
  */
796
796
  // this api call does not return the 'used' amount - use the v1 version instead (which also returns zero balances)
797
797
  // there is a difference between this and the v1 api, namely trading wallet is called margin in v2
@@ -1066,9 +1066,9 @@ class bitfinex2 extends bitfinex2$1 {
1066
1066
  'high': this.safeString(ticker, length - 2),
1067
1067
  'low': this.safeString(ticker, length - 1),
1068
1068
  'bid': this.safeString(ticker, length - 10),
1069
- 'bidVolume': undefined,
1069
+ 'bidVolume': this.safeString(ticker, length - 9),
1070
1070
  'ask': this.safeString(ticker, length - 8),
1071
- 'askVolume': undefined,
1071
+ 'askVolume': this.safeString(ticker, length - 7),
1072
1072
  'vwap': undefined,
1073
1073
  'open': undefined,
1074
1074
  'close': last,
@@ -1260,7 +1260,7 @@ class bitfinex2 extends bitfinex2$1 {
1260
1260
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1261
1261
  * @param {int} [limit] the maximum amount of trades to fetch
1262
1262
  * @param {object} [params] extra parameters specific to the bitfinex2 api endpoint
1263
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1263
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1264
1264
  */
1265
1265
  await this.loadMarkets();
1266
1266
  const market = this.market(symbol);
@@ -315,7 +315,7 @@ class bitflyer extends bitflyer$1 {
315
315
  * @name bitflyer#fetchBalance
316
316
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
317
317
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
318
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
318
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
319
319
  */
320
320
  await this.loadMarkets();
321
321
  const response = await this.privateGetGetbalance(params);
@@ -473,7 +473,7 @@ class bitflyer extends bitflyer$1 {
473
473
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
474
474
  * @param {int} [limit] the maximum amount of trades to fetch
475
475
  * @param {object} [params] extra parameters specific to the bitflyer api endpoint
476
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
476
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
477
477
  */
478
478
  await this.loadMarkets();
479
479
  const market = this.market(symbol);
@@ -323,7 +323,7 @@ class bitforex extends bitforex$1 {
323
323
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
324
324
  * @param {int} [limit] the maximum amount of trades to fetch
325
325
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
326
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
326
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
327
327
  */
328
328
  await this.loadMarkets();
329
329
  const request = {
@@ -432,7 +432,7 @@ class bitforex extends bitforex$1 {
432
432
  * @name bitforex#fetchBalance
433
433
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
434
434
  * @param {object} [params] extra parameters specific to the bitforex api endpoint
435
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
435
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
436
436
  */
437
437
  await this.loadMarkets();
438
438
  const response = await this.privatePostApiV1FundAllAccount(params);
@@ -2235,7 +2235,7 @@ class bitget extends bitget$1 {
2235
2235
  * @param {int} [limit] the maximum amount of trades to fetch
2236
2236
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2237
2237
  * @param {int} [params.until] the latest time in ms to fetch deposits for
2238
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
2238
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
2239
2239
  */
2240
2240
  await this.loadMarkets();
2241
2241
  const market = this.market(symbol);
@@ -2564,7 +2564,7 @@ class bitget extends bitget$1 {
2564
2564
  * @name bitget#fetchBalance
2565
2565
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
2566
2566
  * @param {object} [params] extra parameters specific to the bitget api endpoint
2567
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
2567
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
2568
2568
  */
2569
2569
  const sandboxMode = this.safeValue(this.options, 'sandboxMode', false);
2570
2570
  await this.loadMarkets();
@@ -4250,9 +4250,9 @@ class bitget extends bitget$1 {
4250
4250
  * @description fetches historical funding rate prices
4251
4251
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
4252
4252
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
4253
- * @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
4253
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
4254
4254
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4255
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
4255
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
4256
4256
  */
4257
4257
  this.checkRequiredSymbol('fetchFundingRateHistory', symbol);
4258
4258
  await this.loadMarkets();
@@ -4928,7 +4928,7 @@ class bitget extends bitget$1 {
4928
4928
  * @see https://bitgetlimited.github.io/apidoc/en/spot/#get-coin-list
4929
4929
  * @param {string[]|undefined} codes list of unified currency codes
4930
4930
  * @param {object} [params] extra parameters specific to the bitget api endpoint
4931
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
4931
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
4932
4932
  */
4933
4933
  await this.loadMarkets();
4934
4934
  const response = await this.publicSpotGetPublicCurrencies(params);
@@ -285,7 +285,7 @@ class bithumb extends bithumb$1 {
285
285
  * @name bithumb#fetchBalance
286
286
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
287
287
  * @param {object} [params] extra parameters specific to the bithumb api endpoint
288
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
288
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
289
289
  */
290
290
  await this.loadMarkets();
291
291
  const request = {
@@ -628,7 +628,7 @@ class bithumb extends bithumb$1 {
628
628
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
629
629
  * @param {int} [limit] the maximum amount of trades to fetch
630
630
  * @param {object} [params] extra parameters specific to the bithumb api endpoint
631
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
631
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
632
632
  */
633
633
  await this.loadMarkets();
634
634
  const market = this.market(symbol);
@@ -1331,7 +1331,7 @@ class bitmart extends bitmart$1 {
1331
1331
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1332
1332
  * @param {int} [limit] the maximum amount of trades to fetch
1333
1333
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
1334
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1334
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1335
1335
  */
1336
1336
  await this.loadMarkets();
1337
1337
  const market = this.market(symbol);
@@ -1700,7 +1700,7 @@ class bitmart extends bitmart$1 {
1700
1700
  * @see https://developer-pro.bitmart.com/en/spot/#get-account-balance
1701
1701
  * @see https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated
1702
1702
  * @param {object} [params] extra parameters specific to the bitmart api endpoint
1703
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
1703
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
1704
1704
  */
1705
1705
  await this.loadMarkets();
1706
1706
  let marketType = undefined;
@@ -731,7 +731,7 @@ class bitmex extends bitmex$1 {
731
731
  * @name bitmex#fetchBalance
732
732
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
733
733
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
734
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
734
+ * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
735
735
  */
736
736
  await this.loadMarkets();
737
737
  const request = {
@@ -1707,7 +1707,7 @@ class bitmex extends bitmex$1 {
1707
1707
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1708
1708
  * @param {int} [limit] the maximum amount of trades to fetch
1709
1709
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
1710
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
1710
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
1711
1711
  */
1712
1712
  await this.loadMarkets();
1713
1713
  const market = this.market(symbol);
@@ -2308,14 +2308,14 @@ class bitmex extends bitmex$1 {
2308
2308
  * @description Fetches the history of funding rates
2309
2309
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
2310
2310
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
2311
- * @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
2311
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure} to fetch
2312
2312
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
2313
2313
  * @param {int} [params.until] timestamp in ms for ending date filter
2314
2314
  * @param {bool} [params.reverse] if true, will sort results newest first
2315
2315
  * @param {int} [params.start] starting point for results
2316
2316
  * @param {string} [params.columns] array of column names to fetch in info, if omitted, will return all columns
2317
2317
  * @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
2318
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/en/latest/manual.html?#funding-rate-history-structure}
2318
+ * @returns {object[]} a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
2319
2319
  */
2320
2320
  await this.loadMarkets();
2321
2321
  const request = {};
@@ -2548,7 +2548,7 @@ class bitmex extends bitmex$1 {
2548
2548
  * @see https://www.bitmex.com/api/explorer/#!/Wallet/Wallet_getAssetsConfig
2549
2549
  * @param {string[]|undefined} codes list of unified currency codes
2550
2550
  * @param {object} [params] extra parameters specific to the bitmex api endpoint
2551
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/en/latest/manual.html#fee-structure}
2551
+ * @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2552
2552
  */
2553
2553
  await this.loadMarkets();
2554
2554
  const assets = await this.publicGetWalletAssets(params);