ccxt 4.5.28 → 4.5.29

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 (513) hide show
  1. package/README.md +21 -5
  2. package/dist/ccxt.browser.min.js +3 -3
  3. package/dist/cjs/ccxt.js +1 -1
  4. package/dist/cjs/src/alpaca.js +21 -21
  5. package/dist/cjs/src/apex.js +20 -20
  6. package/dist/cjs/src/arkham.js +22 -22
  7. package/dist/cjs/src/ascendex.js +28 -28
  8. package/dist/cjs/src/backpack.js +22 -22
  9. package/dist/cjs/src/base/Exchange.js +48 -38
  10. package/dist/cjs/src/base/functions/throttle.js +54 -5
  11. package/dist/cjs/src/bigone.js +19 -19
  12. package/dist/cjs/src/binance.js +83 -82
  13. package/dist/cjs/src/bingx.js +46 -46
  14. package/dist/cjs/src/bit2c.js +11 -11
  15. package/dist/cjs/src/bitbank.js +49 -48
  16. package/dist/cjs/src/bitbns.js +13 -13
  17. package/dist/cjs/src/bitfinex.js +33 -33
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitget.js +58 -57
  20. package/dist/cjs/src/bithumb.js +10 -10
  21. package/dist/cjs/src/bitmart.js +44 -44
  22. package/dist/cjs/src/bitmex.js +24 -24
  23. package/dist/cjs/src/bitopro.js +20 -20
  24. package/dist/cjs/src/bitrue.js +18 -18
  25. package/dist/cjs/src/bitso.js +20 -20
  26. package/dist/cjs/src/bitstamp.js +21 -21
  27. package/dist/cjs/src/bittrade.js +20 -20
  28. package/dist/cjs/src/bitvavo.js +19 -19
  29. package/dist/cjs/src/blockchaincom.js +20 -20
  30. package/dist/cjs/src/blofin.js +26 -26
  31. package/dist/cjs/src/btcalpha.js +35 -34
  32. package/dist/cjs/src/btcbox.js +10 -10
  33. package/dist/cjs/src/btcmarkets.js +16 -16
  34. package/dist/cjs/src/btcturk.js +10 -10
  35. package/dist/cjs/src/bullish.js +26 -26
  36. package/dist/cjs/src/bybit.js +67 -67
  37. package/dist/cjs/src/cex.js +18 -18
  38. package/dist/cjs/src/coinbase.js +40 -40
  39. package/dist/cjs/src/coinbaseexchange.js +22 -22
  40. package/dist/cjs/src/coinbaseinternational.js +22 -22
  41. package/dist/cjs/src/coincatch.js +39 -39
  42. package/dist/cjs/src/coincheck.js +11 -11
  43. package/dist/cjs/src/coinex.js +48 -48
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinmetro.js +14 -14
  46. package/dist/cjs/src/coinone.js +11 -11
  47. package/dist/cjs/src/coinsph.js +20 -20
  48. package/dist/cjs/src/coinspot.js +8 -8
  49. package/dist/cjs/src/cryptocom.js +32 -32
  50. package/dist/cjs/src/cryptomus.js +9 -9
  51. package/dist/cjs/src/deepcoin.js +33 -33
  52. package/dist/cjs/src/defx.js +23 -23
  53. package/dist/cjs/src/delta.js +29 -29
  54. package/dist/cjs/src/deribit.js +36 -36
  55. package/dist/cjs/src/derive.js +19 -19
  56. package/dist/cjs/src/digifinex.js +36 -36
  57. package/dist/cjs/src/dydx.js +22 -22
  58. package/dist/cjs/src/exmo.js +29 -29
  59. package/dist/cjs/src/foxbit.js +23 -23
  60. package/dist/cjs/src/gate.js +57 -57
  61. package/dist/cjs/src/gemini.js +16 -16
  62. package/dist/cjs/src/hashkey.js +35 -35
  63. package/dist/cjs/src/hibachi.js +24 -24
  64. package/dist/cjs/src/hitbtc.js +38 -38
  65. package/dist/cjs/src/hollaex.js +22 -22
  66. package/dist/cjs/src/htx.js +50 -50
  67. package/dist/cjs/src/hyperliquid.js +76 -42
  68. package/dist/cjs/src/independentreserve.js +13 -13
  69. package/dist/cjs/src/indodax.js +14 -14
  70. package/dist/cjs/src/kraken.js +30 -30
  71. package/dist/cjs/src/krakenfutures.js +21 -21
  72. package/dist/cjs/src/kucoin.js +44 -44
  73. package/dist/cjs/src/kucoinfutures.js +42 -40
  74. package/dist/cjs/src/latoken.js +16 -16
  75. package/dist/cjs/src/lbank.js +23 -23
  76. package/dist/cjs/src/luno.js +17 -17
  77. package/dist/cjs/src/mercado.js +11 -11
  78. package/dist/cjs/src/mexc.js +47 -47
  79. package/dist/cjs/src/modetrade.js +37 -35
  80. package/dist/cjs/src/ndax.js +19 -19
  81. package/dist/cjs/src/novadax.js +19 -19
  82. package/dist/cjs/src/oceanex.js +16 -16
  83. package/dist/cjs/src/okx.js +83 -83
  84. package/dist/cjs/src/onetrading.js +34 -33
  85. package/dist/cjs/src/oxfun.js +25 -25
  86. package/dist/cjs/src/p2b.js +11 -11
  87. package/dist/cjs/src/paradex.js +54 -54
  88. package/dist/cjs/src/paymium.js +20 -21
  89. package/dist/cjs/src/phemex.js +35 -35
  90. package/dist/cjs/src/poloniex.js +27 -27
  91. package/dist/cjs/src/pro/alpaca.js +5 -5
  92. package/dist/cjs/src/pro/apex.js +8 -8
  93. package/dist/cjs/src/pro/arkham.js +5 -5
  94. package/dist/cjs/src/pro/ascendex.js +5 -5
  95. package/dist/cjs/src/pro/backpack.js +16 -16
  96. package/dist/cjs/src/pro/binance.js +35 -35
  97. package/dist/cjs/src/pro/bingx.js +9 -9
  98. package/dist/cjs/src/pro/bitfinex.js +8 -8
  99. package/dist/cjs/src/pro/bitget.js +12 -12
  100. package/dist/cjs/src/pro/bithumb.js +3 -3
  101. package/dist/cjs/src/pro/bitmart.js +388 -31
  102. package/dist/cjs/src/pro/bitmex.js +9 -9
  103. package/dist/cjs/src/pro/bitopro.js +5 -5
  104. package/dist/cjs/src/pro/bitrue.js +2 -2
  105. package/dist/cjs/src/pro/bitstamp.js +3 -3
  106. package/dist/cjs/src/pro/bittrade.js +3 -3
  107. package/dist/cjs/src/pro/bitvavo.js +19 -19
  108. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  109. package/dist/cjs/src/pro/blofin.js +10 -10
  110. package/dist/cjs/src/pro/bullish.js +6 -6
  111. package/dist/cjs/src/pro/bybit.js +19 -19
  112. package/dist/cjs/src/pro/cex.js +13 -13
  113. package/dist/cjs/src/pro/coinbase.js +13 -13
  114. package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
  115. package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
  116. package/dist/cjs/src/pro/coincatch.js +10 -10
  117. package/dist/cjs/src/pro/coincheck.js +2 -2
  118. package/dist/cjs/src/pro/coinex.js +10 -10
  119. package/dist/cjs/src/pro/coinone.js +3 -3
  120. package/dist/cjs/src/pro/cryptocom.js +20 -20
  121. package/dist/cjs/src/pro/deepcoin.js +8 -8
  122. package/dist/cjs/src/pro/defx.js +15 -15
  123. package/dist/cjs/src/pro/deribit.js +10 -10
  124. package/dist/cjs/src/pro/derive.js +6 -6
  125. package/dist/cjs/src/pro/dydx.js +3 -3
  126. package/dist/cjs/src/pro/exmo.js +7 -7
  127. package/dist/cjs/src/pro/gate.js +21 -59
  128. package/dist/cjs/src/pro/gemini.js +6 -6
  129. package/dist/cjs/src/pro/hashkey.js +6 -6
  130. package/dist/cjs/src/pro/hitbtc.js +8 -8
  131. package/dist/cjs/src/pro/hollaex.js +5 -5
  132. package/dist/cjs/src/pro/htx.js +9 -9
  133. package/dist/cjs/src/pro/hyperliquid.js +103 -14
  134. package/dist/cjs/src/pro/independentreserve.js +2 -2
  135. package/dist/cjs/src/pro/kraken.js +15 -15
  136. package/dist/cjs/src/pro/krakenfutures.js +10 -10
  137. package/dist/cjs/src/pro/kucoin.js +15 -15
  138. package/dist/cjs/src/pro/kucoinfutures.js +13 -13
  139. package/dist/cjs/src/pro/lbank.js +5 -5
  140. package/dist/cjs/src/pro/luno.js +2 -2
  141. package/dist/cjs/src/pro/mexc.js +13 -13
  142. package/dist/cjs/src/pro/modetrade.js +8 -8
  143. package/dist/cjs/src/pro/ndax.js +3 -3
  144. package/dist/cjs/src/pro/okx.js +25 -25
  145. package/dist/cjs/src/pro/onetrading.js +6 -6
  146. package/dist/cjs/src/pro/oxfun.js +13 -13
  147. package/dist/cjs/src/pro/p2b.js +5 -5
  148. package/dist/cjs/src/pro/paradex.js +8 -8
  149. package/dist/cjs/src/pro/phemex.js +7 -7
  150. package/dist/cjs/src/pro/poloniex.js +8 -8
  151. package/dist/cjs/src/pro/probit.js +6 -6
  152. package/dist/cjs/src/pro/toobit.js +9 -9
  153. package/dist/cjs/src/pro/upbit.js +9 -9
  154. package/dist/cjs/src/pro/whitebit.js +7 -7
  155. package/dist/cjs/src/pro/woo.js +13 -13
  156. package/dist/cjs/src/pro/woofipro.js +20 -20
  157. package/dist/cjs/src/pro/xt.js +2 -2
  158. package/dist/cjs/src/probit.js +18 -18
  159. package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
  160. package/dist/cjs/src/timex.js +16 -16
  161. package/dist/cjs/src/tokocrypto.js +17 -17
  162. package/dist/cjs/src/toobit.js +31 -29
  163. package/dist/cjs/src/upbit.js +23 -23
  164. package/dist/cjs/src/wavesexchange.js +86 -85
  165. package/dist/cjs/src/whitebit.js +44 -44
  166. package/dist/cjs/src/woo.js +51 -49
  167. package/dist/cjs/src/woofipro.js +104 -82
  168. package/dist/cjs/src/xt.js +17 -12
  169. package/dist/cjs/src/yobit.js +15 -15
  170. package/dist/cjs/src/zaif.js +38 -9
  171. package/dist/cjs/src/zebpay.js +35 -20
  172. package/dist/cjs/src/zonda.js +14 -14
  173. package/js/ccxt.d.ts +1 -1
  174. package/js/ccxt.js +1 -1
  175. package/js/src/alpaca.d.ts +21 -21
  176. package/js/src/alpaca.js +21 -21
  177. package/js/src/apex.d.ts +20 -20
  178. package/js/src/apex.js +20 -20
  179. package/js/src/arkham.d.ts +22 -22
  180. package/js/src/arkham.js +22 -22
  181. package/js/src/ascendex.d.ts +28 -28
  182. package/js/src/ascendex.js +28 -28
  183. package/js/src/backpack.d.ts +21 -21
  184. package/js/src/backpack.js +22 -22
  185. package/js/src/base/Exchange.d.ts +6 -3
  186. package/js/src/base/Exchange.js +48 -38
  187. package/js/src/base/functions/throttle.d.ts +22 -0
  188. package/js/src/base/functions/throttle.js +54 -5
  189. package/js/src/bigone.d.ts +19 -19
  190. package/js/src/bigone.js +19 -19
  191. package/js/src/binance.d.ts +82 -82
  192. package/js/src/binance.js +83 -82
  193. package/js/src/bingx.d.ts +46 -46
  194. package/js/src/bingx.js +46 -46
  195. package/js/src/bit2c.d.ts +11 -11
  196. package/js/src/bit2c.js +11 -11
  197. package/js/src/bitbank.d.ts +12 -12
  198. package/js/src/bitbank.js +49 -48
  199. package/js/src/bitbns.d.ts +13 -13
  200. package/js/src/bitbns.js +13 -13
  201. package/js/src/bitfinex.d.ts +33 -33
  202. package/js/src/bitfinex.js +33 -33
  203. package/js/src/bitflyer.d.ts +17 -17
  204. package/js/src/bitflyer.js +17 -17
  205. package/js/src/bitget.d.ts +57 -57
  206. package/js/src/bitget.js +58 -57
  207. package/js/src/bithumb.d.ts +10 -10
  208. package/js/src/bithumb.js +10 -10
  209. package/js/src/bitmart.d.ts +42 -42
  210. package/js/src/bitmart.js +44 -44
  211. package/js/src/bitmex.d.ts +24 -24
  212. package/js/src/bitmex.js +24 -24
  213. package/js/src/bitopro.d.ts +20 -20
  214. package/js/src/bitopro.js +20 -20
  215. package/js/src/bitrue.d.ts +18 -18
  216. package/js/src/bitrue.js +18 -18
  217. package/js/src/bitso.d.ts +20 -20
  218. package/js/src/bitso.js +20 -20
  219. package/js/src/bitstamp.d.ts +21 -21
  220. package/js/src/bitstamp.js +21 -21
  221. package/js/src/bittrade.d.ts +20 -20
  222. package/js/src/bittrade.js +20 -20
  223. package/js/src/bitvavo.d.ts +19 -19
  224. package/js/src/bitvavo.js +19 -19
  225. package/js/src/blockchaincom.d.ts +20 -20
  226. package/js/src/blockchaincom.js +20 -20
  227. package/js/src/blofin.d.ts +26 -26
  228. package/js/src/blofin.js +26 -26
  229. package/js/src/btcalpha.d.ts +14 -14
  230. package/js/src/btcalpha.js +35 -34
  231. package/js/src/btcbox.d.ts +10 -10
  232. package/js/src/btcbox.js +10 -10
  233. package/js/src/btcmarkets.d.ts +16 -16
  234. package/js/src/btcmarkets.js +16 -16
  235. package/js/src/btcturk.d.ts +10 -10
  236. package/js/src/btcturk.js +10 -10
  237. package/js/src/bullish.d.ts +26 -26
  238. package/js/src/bullish.js +26 -26
  239. package/js/src/bybit.d.ts +66 -66
  240. package/js/src/bybit.js +67 -67
  241. package/js/src/cex.d.ts +18 -18
  242. package/js/src/cex.js +18 -18
  243. package/js/src/coinbase.d.ts +40 -40
  244. package/js/src/coinbase.js +40 -40
  245. package/js/src/coinbaseexchange.d.ts +22 -22
  246. package/js/src/coinbaseexchange.js +22 -22
  247. package/js/src/coinbaseinternational.d.ts +22 -22
  248. package/js/src/coinbaseinternational.js +22 -22
  249. package/js/src/coincatch.d.ts +39 -39
  250. package/js/src/coincatch.js +39 -39
  251. package/js/src/coincheck.d.ts +11 -11
  252. package/js/src/coincheck.js +11 -11
  253. package/js/src/coinex.d.ts +48 -48
  254. package/js/src/coinex.js +48 -48
  255. package/js/src/coinmate.d.ts +14 -14
  256. package/js/src/coinmate.js +14 -14
  257. package/js/src/coinmetro.d.ts +14 -14
  258. package/js/src/coinmetro.js +14 -14
  259. package/js/src/coinone.d.ts +11 -11
  260. package/js/src/coinone.js +11 -11
  261. package/js/src/coinsph.d.ts +20 -20
  262. package/js/src/coinsph.js +20 -20
  263. package/js/src/coinspot.d.ts +8 -8
  264. package/js/src/coinspot.js +8 -8
  265. package/js/src/cryptocom.d.ts +32 -32
  266. package/js/src/cryptocom.js +32 -32
  267. package/js/src/cryptomus.d.ts +9 -9
  268. package/js/src/cryptomus.js +9 -9
  269. package/js/src/deepcoin.d.ts +33 -33
  270. package/js/src/deepcoin.js +33 -33
  271. package/js/src/defx.d.ts +23 -23
  272. package/js/src/defx.js +23 -23
  273. package/js/src/delta.d.ts +29 -29
  274. package/js/src/delta.js +29 -29
  275. package/js/src/deribit.d.ts +36 -36
  276. package/js/src/deribit.js +36 -36
  277. package/js/src/derive.d.ts +19 -19
  278. package/js/src/derive.js +19 -19
  279. package/js/src/digifinex.d.ts +36 -36
  280. package/js/src/digifinex.js +36 -36
  281. package/js/src/dydx.d.ts +22 -22
  282. package/js/src/dydx.js +22 -22
  283. package/js/src/exmo.d.ts +29 -29
  284. package/js/src/exmo.js +29 -29
  285. package/js/src/foxbit.d.ts +23 -23
  286. package/js/src/foxbit.js +23 -23
  287. package/js/src/gate.d.ts +57 -57
  288. package/js/src/gate.js +57 -57
  289. package/js/src/gemini.d.ts +16 -16
  290. package/js/src/gemini.js +16 -16
  291. package/js/src/hashkey.d.ts +35 -35
  292. package/js/src/hashkey.js +35 -35
  293. package/js/src/hibachi.d.ts +24 -24
  294. package/js/src/hibachi.js +24 -24
  295. package/js/src/hitbtc.d.ts +38 -38
  296. package/js/src/hitbtc.js +38 -38
  297. package/js/src/hollaex.d.ts +22 -22
  298. package/js/src/hollaex.js +22 -22
  299. package/js/src/htx.d.ts +50 -50
  300. package/js/src/htx.js +50 -50
  301. package/js/src/hyperliquid.d.ts +46 -36
  302. package/js/src/hyperliquid.js +76 -42
  303. package/js/src/independentreserve.d.ts +13 -13
  304. package/js/src/independentreserve.js +13 -13
  305. package/js/src/indodax.d.ts +14 -14
  306. package/js/src/indodax.js +14 -14
  307. package/js/src/kraken.d.ts +30 -30
  308. package/js/src/kraken.js +30 -30
  309. package/js/src/krakenfutures.d.ts +21 -21
  310. package/js/src/krakenfutures.js +21 -21
  311. package/js/src/kucoin.d.ts +44 -44
  312. package/js/src/kucoin.js +44 -44
  313. package/js/src/kucoinfutures.d.ts +35 -35
  314. package/js/src/kucoinfutures.js +42 -40
  315. package/js/src/latoken.d.ts +16 -16
  316. package/js/src/latoken.js +16 -16
  317. package/js/src/lbank.d.ts +23 -23
  318. package/js/src/lbank.js +23 -23
  319. package/js/src/luno.d.ts +17 -17
  320. package/js/src/luno.js +17 -17
  321. package/js/src/mercado.d.ts +11 -11
  322. package/js/src/mercado.js +11 -11
  323. package/js/src/mexc.d.ts +47 -47
  324. package/js/src/mexc.js +47 -47
  325. package/js/src/modetrade.d.ts +31 -31
  326. package/js/src/modetrade.js +37 -35
  327. package/js/src/ndax.d.ts +19 -19
  328. package/js/src/ndax.js +19 -19
  329. package/js/src/novadax.d.ts +19 -19
  330. package/js/src/novadax.js +19 -19
  331. package/js/src/oceanex.d.ts +16 -16
  332. package/js/src/oceanex.js +16 -16
  333. package/js/src/okx.d.ts +74 -74
  334. package/js/src/okx.js +83 -83
  335. package/js/src/onetrading.d.ts +34 -33
  336. package/js/src/onetrading.js +34 -33
  337. package/js/src/oxfun.d.ts +25 -25
  338. package/js/src/oxfun.js +25 -25
  339. package/js/src/p2b.d.ts +11 -11
  340. package/js/src/p2b.js +11 -11
  341. package/js/src/paradex.d.ts +54 -54
  342. package/js/src/paradex.js +54 -54
  343. package/js/src/paymium.d.ts +20 -21
  344. package/js/src/paymium.js +20 -21
  345. package/js/src/phemex.d.ts +30 -30
  346. package/js/src/phemex.js +35 -35
  347. package/js/src/poloniex.d.ts +26 -26
  348. package/js/src/poloniex.js +27 -27
  349. package/js/src/pro/alpaca.d.ts +5 -5
  350. package/js/src/pro/alpaca.js +5 -5
  351. package/js/src/pro/apex.d.ts +8 -8
  352. package/js/src/pro/apex.js +8 -8
  353. package/js/src/pro/arkham.d.ts +5 -5
  354. package/js/src/pro/arkham.js +5 -5
  355. package/js/src/pro/ascendex.d.ts +5 -5
  356. package/js/src/pro/ascendex.js +5 -5
  357. package/js/src/pro/backpack.d.ts +16 -16
  358. package/js/src/pro/backpack.js +16 -16
  359. package/js/src/pro/binance.d.ts +35 -35
  360. package/js/src/pro/binance.js +35 -35
  361. package/js/src/pro/bingx.d.ts +9 -9
  362. package/js/src/pro/bingx.js +9 -9
  363. package/js/src/pro/bitfinex.d.ts +8 -8
  364. package/js/src/pro/bitfinex.js +8 -8
  365. package/js/src/pro/bitget.d.ts +12 -12
  366. package/js/src/pro/bitget.js +12 -12
  367. package/js/src/pro/bithumb.d.ts +3 -3
  368. package/js/src/pro/bithumb.js +3 -3
  369. package/js/src/pro/bitmart.d.ts +120 -9
  370. package/js/src/pro/bitmart.js +388 -31
  371. package/js/src/pro/bitmex.d.ts +9 -9
  372. package/js/src/pro/bitmex.js +9 -9
  373. package/js/src/pro/bitopro.d.ts +5 -5
  374. package/js/src/pro/bitopro.js +5 -5
  375. package/js/src/pro/bitrue.d.ts +2 -2
  376. package/js/src/pro/bitrue.js +2 -2
  377. package/js/src/pro/bitstamp.d.ts +3 -3
  378. package/js/src/pro/bitstamp.js +3 -3
  379. package/js/src/pro/bittrade.d.ts +3 -3
  380. package/js/src/pro/bittrade.js +3 -3
  381. package/js/src/pro/bitvavo.d.ts +19 -19
  382. package/js/src/pro/bitvavo.js +19 -19
  383. package/js/src/pro/blockchaincom.d.ts +5 -5
  384. package/js/src/pro/blockchaincom.js +5 -5
  385. package/js/src/pro/blofin.d.ts +10 -10
  386. package/js/src/pro/blofin.js +10 -10
  387. package/js/src/pro/bullish.d.ts +6 -6
  388. package/js/src/pro/bullish.js +6 -6
  389. package/js/src/pro/bybit.d.ts +19 -19
  390. package/js/src/pro/bybit.js +19 -19
  391. package/js/src/pro/cex.d.ts +13 -13
  392. package/js/src/pro/cex.js +13 -13
  393. package/js/src/pro/coinbase.d.ts +13 -13
  394. package/js/src/pro/coinbase.js +13 -13
  395. package/js/src/pro/coinbaseexchange.d.ts +10 -10
  396. package/js/src/pro/coinbaseexchange.js +10 -10
  397. package/js/src/pro/coinbaseinternational.d.ts +8 -8
  398. package/js/src/pro/coinbaseinternational.js +8 -8
  399. package/js/src/pro/coincatch.d.ts +10 -10
  400. package/js/src/pro/coincatch.js +10 -10
  401. package/js/src/pro/coincheck.d.ts +2 -2
  402. package/js/src/pro/coincheck.js +2 -2
  403. package/js/src/pro/coinex.d.ts +10 -10
  404. package/js/src/pro/coinex.js +10 -10
  405. package/js/src/pro/coinone.d.ts +3 -3
  406. package/js/src/pro/coinone.js +3 -3
  407. package/js/src/pro/cryptocom.d.ts +20 -20
  408. package/js/src/pro/cryptocom.js +20 -20
  409. package/js/src/pro/deepcoin.d.ts +8 -8
  410. package/js/src/pro/deepcoin.js +8 -8
  411. package/js/src/pro/defx.d.ts +15 -15
  412. package/js/src/pro/defx.js +15 -15
  413. package/js/src/pro/deribit.d.ts +10 -10
  414. package/js/src/pro/deribit.js +10 -10
  415. package/js/src/pro/derive.d.ts +6 -6
  416. package/js/src/pro/derive.js +6 -6
  417. package/js/src/pro/dydx.d.ts +3 -3
  418. package/js/src/pro/dydx.js +3 -3
  419. package/js/src/pro/exmo.d.ts +7 -7
  420. package/js/src/pro/exmo.js +7 -7
  421. package/js/src/pro/gate.d.ts +22 -23
  422. package/js/src/pro/gate.js +21 -59
  423. package/js/src/pro/gemini.d.ts +6 -6
  424. package/js/src/pro/gemini.js +6 -6
  425. package/js/src/pro/hashkey.d.ts +6 -6
  426. package/js/src/pro/hashkey.js +6 -6
  427. package/js/src/pro/hitbtc.d.ts +8 -8
  428. package/js/src/pro/hitbtc.js +8 -8
  429. package/js/src/pro/hollaex.d.ts +5 -5
  430. package/js/src/pro/hollaex.js +5 -5
  431. package/js/src/pro/htx.d.ts +9 -9
  432. package/js/src/pro/htx.js +9 -9
  433. package/js/src/pro/hyperliquid.d.ts +38 -14
  434. package/js/src/pro/hyperliquid.js +103 -14
  435. package/js/src/pro/independentreserve.d.ts +2 -2
  436. package/js/src/pro/independentreserve.js +2 -2
  437. package/js/src/pro/kraken.d.ts +15 -15
  438. package/js/src/pro/kraken.js +15 -15
  439. package/js/src/pro/krakenfutures.d.ts +10 -10
  440. package/js/src/pro/krakenfutures.js +10 -10
  441. package/js/src/pro/kucoin.d.ts +15 -15
  442. package/js/src/pro/kucoin.js +15 -15
  443. package/js/src/pro/kucoinfutures.d.ts +13 -13
  444. package/js/src/pro/kucoinfutures.js +13 -13
  445. package/js/src/pro/lbank.d.ts +5 -5
  446. package/js/src/pro/lbank.js +5 -5
  447. package/js/src/pro/luno.d.ts +2 -2
  448. package/js/src/pro/luno.js +2 -2
  449. package/js/src/pro/mexc.d.ts +13 -13
  450. package/js/src/pro/mexc.js +13 -13
  451. package/js/src/pro/modetrade.d.ts +8 -8
  452. package/js/src/pro/modetrade.js +8 -8
  453. package/js/src/pro/ndax.d.ts +3 -3
  454. package/js/src/pro/ndax.js +3 -3
  455. package/js/src/pro/okx.d.ts +25 -25
  456. package/js/src/pro/okx.js +25 -25
  457. package/js/src/pro/onetrading.d.ts +6 -6
  458. package/js/src/pro/onetrading.js +6 -6
  459. package/js/src/pro/oxfun.d.ts +13 -13
  460. package/js/src/pro/oxfun.js +13 -13
  461. package/js/src/pro/p2b.d.ts +5 -5
  462. package/js/src/pro/p2b.js +5 -5
  463. package/js/src/pro/paradex.d.ts +8 -8
  464. package/js/src/pro/paradex.js +8 -8
  465. package/js/src/pro/phemex.d.ts +7 -7
  466. package/js/src/pro/phemex.js +7 -7
  467. package/js/src/pro/poloniex.d.ts +8 -8
  468. package/js/src/pro/poloniex.js +8 -8
  469. package/js/src/pro/probit.d.ts +6 -6
  470. package/js/src/pro/probit.js +6 -6
  471. package/js/src/pro/toobit.d.ts +9 -9
  472. package/js/src/pro/toobit.js +9 -9
  473. package/js/src/pro/upbit.d.ts +9 -9
  474. package/js/src/pro/upbit.js +9 -9
  475. package/js/src/pro/whitebit.d.ts +7 -7
  476. package/js/src/pro/whitebit.js +7 -7
  477. package/js/src/pro/woo.d.ts +13 -13
  478. package/js/src/pro/woo.js +13 -13
  479. package/js/src/pro/woofipro.d.ts +20 -20
  480. package/js/src/pro/woofipro.js +20 -20
  481. package/js/src/pro/xt.d.ts +2 -2
  482. package/js/src/pro/xt.js +2 -2
  483. package/js/src/probit.d.ts +18 -18
  484. package/js/src/probit.js +18 -18
  485. package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
  486. package/js/src/static_dependencies/ethers/utils/index.js +8 -1
  487. package/js/src/timex.d.ts +16 -16
  488. package/js/src/timex.js +16 -16
  489. package/js/src/tokocrypto.d.ts +17 -17
  490. package/js/src/tokocrypto.js +17 -17
  491. package/js/src/toobit.d.ts +27 -27
  492. package/js/src/toobit.js +31 -29
  493. package/js/src/upbit.d.ts +23 -23
  494. package/js/src/upbit.js +23 -23
  495. package/js/src/wavesexchange.d.ts +15 -15
  496. package/js/src/wavesexchange.js +86 -85
  497. package/js/src/whitebit.d.ts +44 -44
  498. package/js/src/whitebit.js +44 -44
  499. package/js/src/woo.d.ts +45 -45
  500. package/js/src/woo.js +51 -49
  501. package/js/src/woofipro.d.ts +77 -77
  502. package/js/src/woofipro.js +104 -82
  503. package/js/src/xt.d.ts +12 -12
  504. package/js/src/xt.js +17 -12
  505. package/js/src/yobit.d.ts +15 -15
  506. package/js/src/yobit.js +15 -15
  507. package/js/src/zaif.d.ts +9 -9
  508. package/js/src/zaif.js +38 -9
  509. package/js/src/zebpay.d.ts +20 -20
  510. package/js/src/zebpay.js +35 -20
  511. package/js/src/zonda.d.ts +14 -14
  512. package/js/src/zonda.js +14 -14
  513. package/package.json +1 -1
package/js/src/bitget.js CHANGED
@@ -1664,6 +1664,7 @@ export default class bitget extends Exchange {
1664
1664
  // fiat currencies on deposit page
1665
1665
  'fiatCurrencies': ['EUR', 'VND', 'PLN', 'CZK', 'HUF', 'DKK', 'AUD', 'CAD', 'NOK', 'SEK', 'CHF', 'MXN', 'COP', 'ARS', 'GBP', 'BRL', 'UAH', 'ZAR'],
1666
1666
  },
1667
+ 'rollingWindowSize': 1000.0,
1667
1668
  'features': {
1668
1669
  'spot': {
1669
1670
  'sandbox': true,
@@ -2569,7 +2570,7 @@ export default class bitget extends Exchange {
2569
2570
  * @param {string} [params.code] required for cross spot margin
2570
2571
  * @param {string} [params.productType] *contract and uta only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
2571
2572
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
2572
- * @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}
2573
+ * @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/?id=leverage-tiers-structure}
2573
2574
  */
2574
2575
  async fetchMarketLeverageTiers(symbol, params = {}) {
2575
2576
  await this.loadMarkets();
@@ -2776,7 +2777,7 @@ export default class bitget extends Exchange {
2776
2777
  * @param {int} [params.until] end time in milliseconds
2777
2778
  * @param {string} [params.idLessThan] return records with id less than the provided value
2778
2779
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2779
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2780
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
2780
2781
  */
2781
2782
  async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
2782
2783
  await this.loadMarkets();
@@ -2839,7 +2840,7 @@ export default class bitget extends Exchange {
2839
2840
  * @param {string} tag
2840
2841
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2841
2842
  * @param {string} [params.chain] the blockchain network the withdrawal is taking place on
2842
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2843
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
2843
2844
  */
2844
2845
  async withdraw(code, amount, address, tag = undefined, params = {}) {
2845
2846
  this.checkAddress(address);
@@ -2900,7 +2901,7 @@ export default class bitget extends Exchange {
2900
2901
  * @param {int} [params.until] end time in milliseconds
2901
2902
  * @param {string} [params.idLessThan] return records with id less than the provided value
2902
2903
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
2903
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2904
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
2904
2905
  */
2905
2906
  async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
2906
2907
  await this.loadMarkets();
@@ -3053,7 +3054,7 @@ export default class bitget extends Exchange {
3053
3054
  * @see https://www.bitget.com/api-doc/spot/account/Get-Deposit-Address
3054
3055
  * @param {string} code unified currency code
3055
3056
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3056
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
3057
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
3057
3058
  */
3058
3059
  async fetchDepositAddress(code, params = {}) {
3059
3060
  await this.loadMarkets();
@@ -3120,7 +3121,7 @@ export default class bitget extends Exchange {
3120
3121
  * @param {int} [limit] the maximum amount of order book entries to return
3121
3122
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3122
3123
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
3123
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
3124
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
3124
3125
  */
3125
3126
  async fetchOrderBook(symbol, limit = undefined, params = {}) {
3126
3127
  await this.loadMarkets();
@@ -3334,7 +3335,7 @@ export default class bitget extends Exchange {
3334
3335
  * @param {string} symbol unified symbol of the market to fetch the ticker for
3335
3336
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3336
3337
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
3337
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3338
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
3338
3339
  */
3339
3340
  async fetchTicker(symbol, params = {}) {
3340
3341
  await this.loadMarkets();
@@ -3491,7 +3492,7 @@ export default class bitget extends Exchange {
3491
3492
  * @see https://www.bitget.com/api-doc/contract/market/Get-Symbol-Price
3492
3493
  * @param {string} symbol unified symbol of the market to fetch the ticker for
3493
3494
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3494
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3495
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
3495
3496
  */
3496
3497
  async fetchMarkPrice(symbol, params = {}) {
3497
3498
  await this.loadMarkets();
@@ -3524,7 +3525,7 @@ export default class bitget extends Exchange {
3524
3525
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
3525
3526
  * @param {string} [params.subType] *contract only* 'linear', 'inverse'
3526
3527
  * @param {string} [params.productType] *contract only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
3527
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
3528
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
3528
3529
  */
3529
3530
  async fetchTickers(symbols = undefined, params = {}) {
3530
3531
  await this.loadMarkets();
@@ -3850,7 +3851,7 @@ export default class bitget extends Exchange {
3850
3851
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
3851
3852
  * @param {int} [params.until] *only applies to publicSpotGetV2SpotMarketFillsHistory and publicMixGetV2MixMarketFillsHistory* the latest time in ms to fetch trades for
3852
3853
  * @param {boolean} [params.paginate] *only applies to publicSpotGetV2SpotMarketFillsHistory and publicMixGetV2MixMarketFillsHistory* default false, when true will automatically paginate by calling this endpoint multiple times
3853
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
3854
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
3854
3855
  */
3855
3856
  async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
3856
3857
  await this.loadMarkets();
@@ -3989,7 +3990,7 @@ export default class bitget extends Exchange {
3989
3990
  * @param {string} symbol unified market symbol
3990
3991
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3991
3992
  * @param {string} [params.marginMode] 'isolated' or 'cross', for finding the fee rate of spot margin trading pairs
3992
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
3993
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
3993
3994
  */
3994
3995
  async fetchTradingFee(symbol, params = {}) {
3995
3996
  await this.loadMarkets();
@@ -4035,7 +4036,7 @@ export default class bitget extends Exchange {
4035
4036
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4036
4037
  * @param {string} [params.productType] *contract only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
4037
4038
  * @param {boolean} [params.margin] set to true for spot margin
4038
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
4039
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
4039
4040
  */
4040
4041
  async fetchTradingFees(params = {}) {
4041
4042
  await this.loadMarkets();
@@ -4390,7 +4391,7 @@ export default class bitget extends Exchange {
4390
4391
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4391
4392
  * @param {string} [params.productType] *contract only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
4392
4393
  * @param {string} [params.uta] set to true for the unified trading account (uta), defaults to false
4393
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
4394
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
4394
4395
  */
4395
4396
  async fetchBalance(params = {}) {
4396
4397
  await this.loadMarkets();
@@ -5031,7 +5032,7 @@ export default class bitget extends Exchange {
5031
5032
  * @param {string} symbol unified symbol of the market to create an order in
5032
5033
  * @param {float} cost how much you want to trade in units of the quote currency
5033
5034
  * @param {object} [params] extra parameters specific to the exchange API endpoint
5034
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5035
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
5035
5036
  */
5036
5037
  async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
5037
5038
  await this.loadMarkets();
@@ -5087,7 +5088,7 @@ export default class bitget extends Exchange {
5087
5088
  * @param {bool} [params.reduceOnly] true or false whether the order is reduce-only
5088
5089
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
5089
5090
  * @param {string} [params.posSide] *uta only* hedged two-way position side, long or short
5090
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5091
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
5091
5092
  */
5092
5093
  async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
5093
5094
  await this.loadMarkets();
@@ -5577,7 +5578,7 @@ export default class bitget extends Exchange {
5577
5578
  * @param {Array} orders list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
5578
5579
  * @param {object} [params] extra parameters specific to the api endpoint
5579
5580
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
5580
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5581
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
5581
5582
  */
5582
5583
  async createOrders(orders, params = {}) {
5583
5584
  await this.loadMarkets();
@@ -5709,7 +5710,7 @@ export default class bitget extends Exchange {
5709
5710
  * @param {string} [params.trailingTriggerPrice] *swap and future only* the price to trigger a trailing stop order, default uses the price argument
5710
5711
  * @param {string} [params.newTriggerType] *swap and future only* 'fill_price', 'mark_price' or 'index_price'
5711
5712
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
5712
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5713
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
5713
5714
  */
5714
5715
  async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
5715
5716
  await this.loadMarkets();
@@ -5928,7 +5929,7 @@ export default class bitget extends Exchange {
5928
5929
  * @param {boolean} [params.trailing] set to true if you want to cancel a trailing order
5929
5930
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
5930
5931
  * @param {string} [params.clientOrderId] the clientOrderId of the order, id does not need to be provided if clientOrderId is provided
5931
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
5932
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
5932
5933
  */
5933
5934
  async cancelOrder(id, symbol = undefined, params = {}) {
5934
5935
  if (symbol === undefined) {
@@ -6136,7 +6137,7 @@ export default class bitget extends Exchange {
6136
6137
  * @param {string} [params.marginMode] 'isolated' or 'cross' for spot margin trading
6137
6138
  * @param {boolean} [params.trigger] *contract only* set to true for canceling trigger orders
6138
6139
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
6139
- * @returns {object} an array of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
6140
+ * @returns {object} an array of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
6140
6141
  */
6141
6142
  async cancelOrders(ids, symbol = undefined, params = {}) {
6142
6143
  if (symbol === undefined) {
@@ -6229,7 +6230,7 @@ export default class bitget extends Exchange {
6229
6230
  * @param {string} [params.marginMode] 'isolated' or 'cross' for spot margin trading
6230
6231
  * @param {boolean} [params.trigger] *contract only* set to true for canceling trigger orders
6231
6232
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
6232
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
6233
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
6233
6234
  */
6234
6235
  async cancelAllOrders(symbol = undefined, params = {}) {
6235
6236
  if (symbol === undefined) {
@@ -6357,7 +6358,7 @@ export default class bitget extends Exchange {
6357
6358
  * @param {object} [params] extra parameters specific to the exchange API endpoint
6358
6359
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
6359
6360
  * @param {string} [params.clientOrderId] the clientOrderId of the order, id does not need to be provided if clientOrderId is provided
6360
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
6361
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
6361
6362
  */
6362
6363
  async fetchOrder(id, symbol = undefined, params = {}) {
6363
6364
  if (symbol === undefined) {
@@ -6547,7 +6548,7 @@ export default class bitget extends Exchange {
6547
6548
  * @param {string} [params.isPlan] *swap only* 'plan' for stop orders and 'profit_loss' for tp/sl orders, default is 'plan'
6548
6549
  * @param {boolean} [params.trailing] set to true if you want to fetch trailing orders
6549
6550
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
6550
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
6551
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
6551
6552
  */
6552
6553
  async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
6553
6554
  await this.loadMarkets();
@@ -6960,7 +6961,7 @@ export default class bitget extends Exchange {
6960
6961
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
6961
6962
  * @param {string} [params.isPlan] *swap only* 'plan' for stop orders and 'profit_loss' for tp/sl orders, default is 'plan'
6962
6963
  * @param {boolean} [params.trailing] set to true if you want to fetch trailing orders
6963
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
6964
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
6964
6965
  */
6965
6966
  async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
6966
6967
  await this.loadMarkets();
@@ -6988,7 +6989,7 @@ export default class bitget extends Exchange {
6988
6989
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
6989
6990
  * @param {string} [params.isPlan] *swap only* 'plan' for stop orders and 'profit_loss' for tp/sl orders, default is 'plan'
6990
6991
  * @param {boolean} [params.trailing] set to true if you want to fetch trailing orders
6991
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
6992
+ * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
6992
6993
  */
6993
6994
  async fetchCanceledOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
6994
6995
  await this.loadMarkets();
@@ -7018,7 +7019,7 @@ export default class bitget extends Exchange {
7018
7019
  * @param {string} [params.isPlan] *swap only* 'plan' for stop orders and 'profit_loss' for tp/sl orders, default is 'plan'
7019
7020
  * @param {boolean} [params.trailing] set to true if you want to fetch trailing orders
7020
7021
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
7021
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
7022
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
7022
7023
  */
7023
7024
  async fetchCanceledAndClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
7024
7025
  let uta = undefined;
@@ -7454,7 +7455,7 @@ export default class bitget extends Exchange {
7454
7455
  * @param {string} [params.symbol] *contract only* unified market symbol
7455
7456
  * @param {string} [params.productType] *contract only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
7456
7457
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
7457
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger}
7458
+ * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
7458
7459
  */
7459
7460
  async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
7460
7461
  await this.loadMarkets();
@@ -7674,7 +7675,7 @@ export default class bitget extends Exchange {
7674
7675
  * @param {int} [params.until] the latest time in ms to fetch trades for
7675
7676
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
7676
7677
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
7677
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
7678
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
7678
7679
  */
7679
7680
  async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
7680
7681
  let uta = undefined;
@@ -7899,7 +7900,7 @@ export default class bitget extends Exchange {
7899
7900
  * @param {string} symbol unified market symbol of the market the position is held in
7900
7901
  * @param {object} [params] extra parameters specific to the exchange API endpoint
7901
7902
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
7902
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
7903
+ * @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
7903
7904
  */
7904
7905
  async fetchPosition(symbol, params = {}) {
7905
7906
  await this.loadMarkets();
@@ -8011,7 +8012,7 @@ export default class bitget extends Exchange {
8011
8012
  * @param {boolean} [params.useHistoryEndpoint] default false, when true will use the historic endpoint to fetch positions
8012
8013
  * @param {string} [params.method] either (default) 'privateMixGetV2MixPositionAllPosition', 'privateMixGetV2MixPositionHistoryPosition', or 'privateUtaGetV3PositionCurrentPosition'
8013
8014
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
8014
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
8015
+ * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
8015
8016
  */
8016
8017
  async fetchPositions(symbols = undefined, params = {}) {
8017
8018
  await this.loadMarkets();
@@ -8435,7 +8436,7 @@ export default class bitget extends Exchange {
8435
8436
  * @param {object} [params] extra parameters specific to the exchange API endpoint
8436
8437
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
8437
8438
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
8438
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
8439
+ * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
8439
8440
  */
8440
8441
  async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
8441
8442
  if (symbol === undefined) {
@@ -8532,7 +8533,7 @@ export default class bitget extends Exchange {
8532
8533
  * @param {object} [params] extra parameters specific to the exchange API endpoint
8533
8534
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
8534
8535
  * @param {string} [params.method] either (default) 'publicMixGetV2MixMarketCurrentFundRate' or 'publicMixGetV2MixMarketFundingTime'
8535
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
8536
+ * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
8536
8537
  */
8537
8538
  async fetchFundingRate(symbol, params = {}) {
8538
8539
  await this.loadMarkets();
@@ -8623,7 +8624,7 @@ export default class bitget extends Exchange {
8623
8624
  * @param {string} [params.subType] *contract only* 'linear', 'inverse'
8624
8625
  * @param {string} [params.productType] *contract only* 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
8625
8626
  * @param {string} [params.method] either (default) 'publicMixGetV2MixMarketTickers' or 'publicMixGetV2MixMarketCurrentFundRate'
8626
- * @returns {object} a dictionary of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexed by market symbols
8627
+ * @returns {object} a dictionary of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rates-structure}, indexed by market symbols
8627
8628
  */
8628
8629
  async fetchFundingRates(symbols = undefined, params = {}) {
8629
8630
  await this.loadMarkets();
@@ -8706,7 +8707,7 @@ export default class bitget extends Exchange {
8706
8707
  * @param {string[]} [symbols] list of unified market symbols
8707
8708
  * @param {object} [params] extra parameters specific to the exchange API endpoint
8708
8709
  * @param {string} [params.productType] 'USDT-FUTURES' (default), 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
8709
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
8710
+ * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-structure}
8710
8711
  */
8711
8712
  async fetchFundingIntervals(symbols = undefined, params = {}) {
8712
8713
  await this.loadMarkets();
@@ -8813,7 +8814,7 @@ export default class bitget extends Exchange {
8813
8814
  * @param {object} [params] extra parameters specific to the exchange API endpoint
8814
8815
  * @param {int} [params.until] the latest time in ms to fetch funding history for
8815
8816
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
8816
- * @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
8817
+ * @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/?id=funding-history-structure}
8817
8818
  */
8818
8819
  async fetchFundingHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
8819
8820
  await this.loadMarkets();
@@ -8976,7 +8977,7 @@ export default class bitget extends Exchange {
8976
8977
  * @param {string} symbol unified market symbol
8977
8978
  * @param {float} amount the amount of margin to remove
8978
8979
  * @param {object} [params] extra parameters specific to the exchange API endpoint
8979
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
8980
+ * @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=reduce-margin-structure}
8980
8981
  */
8981
8982
  async reduceMargin(symbol, amount, params = {}) {
8982
8983
  if (amount > 0) {
@@ -8996,7 +8997,7 @@ export default class bitget extends Exchange {
8996
8997
  * @param {string} symbol unified market symbol
8997
8998
  * @param {float} amount the amount of margin to add
8998
8999
  * @param {object} [params] extra parameters specific to the exchange API endpoint
8999
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
9000
+ * @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=add-margin-structure}
9000
9001
  */
9001
9002
  async addMargin(symbol, amount, params = {}) {
9002
9003
  const holdSide = this.safeString(params, 'holdSide');
@@ -9012,7 +9013,7 @@ export default class bitget extends Exchange {
9012
9013
  * @see https://www.bitget.com/api-doc/contract/account/Get-Single-Account
9013
9014
  * @param {string} symbol unified market symbol
9014
9015
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9015
- * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
9016
+ * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/?id=leverage-structure}
9016
9017
  */
9017
9018
  async fetchLeverage(symbol, params = {}) {
9018
9019
  await this.loadMarkets();
@@ -9251,7 +9252,7 @@ export default class bitget extends Exchange {
9251
9252
  * @param {string} symbol unified CCXT market symbol
9252
9253
  * @param {object} [params] exchange specific parameters
9253
9254
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
9254
- * @returns {object} an open interest structure{@link https://docs.ccxt.com/#/?id=open-interest-structure}
9255
+ * @returns {object} an open interest structure{@link https://docs.ccxt.com/?id=open-interest-structure}
9255
9256
  */
9256
9257
  async fetchOpenInterest(symbol, params = {}) {
9257
9258
  await this.loadMarkets();
@@ -9358,7 +9359,7 @@ export default class bitget extends Exchange {
9358
9359
  * @param {int} [limit] the maximum number of transfers structures to retrieve
9359
9360
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9360
9361
  * @param {int} [params.until] the latest time in ms to fetch entries for
9361
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
9362
+ * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
9362
9363
  */
9363
9364
  async fetchTransfers(code = undefined, since = undefined, limit = undefined, params = {}) {
9364
9365
  if (code === undefined) {
@@ -9420,7 +9421,7 @@ export default class bitget extends Exchange {
9420
9421
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9421
9422
  * @param {string} [params.symbol] unified CCXT market symbol, required when transferring to or from an account type that is a leveraged position-by-position account
9422
9423
  * @param {string} [params.clientOid] custom id
9423
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
9424
+ * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
9424
9425
  */
9425
9426
  async transfer(code, amount, fromAccount, toAccount, params = {}) {
9426
9427
  await this.loadMarkets();
@@ -9568,7 +9569,7 @@ export default class bitget extends Exchange {
9568
9569
  * @see https://www.bitget.com/api-doc/spot/market/Get-Coin-List
9569
9570
  * @param {string[]|undefined} codes list of unified currency codes
9570
9571
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9571
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
9572
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
9572
9573
  */
9573
9574
  async fetchDepositWithdrawFees(codes = undefined, params = {}) {
9574
9575
  await this.loadMarkets();
@@ -9613,7 +9614,7 @@ export default class bitget extends Exchange {
9613
9614
  * @param {string} code unified currency code of the currency to borrow
9614
9615
  * @param {string} amount the amount to borrow
9615
9616
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9616
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9617
+ * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/?id=margin-loan-structure}
9617
9618
  */
9618
9619
  async borrowCrossMargin(code, amount, params = {}) {
9619
9620
  await this.loadMarkets();
@@ -9647,7 +9648,7 @@ export default class bitget extends Exchange {
9647
9648
  * @param {string} code unified currency code of the currency to borrow
9648
9649
  * @param {string} amount the amount to borrow
9649
9650
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9650
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9651
+ * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/?id=margin-loan-structure}
9651
9652
  */
9652
9653
  async borrowIsolatedMargin(symbol, code, amount, params = {}) {
9653
9654
  await this.loadMarkets();
@@ -9684,7 +9685,7 @@ export default class bitget extends Exchange {
9684
9685
  * @param {string} code unified currency code of the currency to repay
9685
9686
  * @param {string} amount the amount to repay
9686
9687
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9687
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9688
+ * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/?id=margin-loan-structure}
9688
9689
  */
9689
9690
  async repayIsolatedMargin(symbol, code, amount, params = {}) {
9690
9691
  await this.loadMarkets();
@@ -9721,7 +9722,7 @@ export default class bitget extends Exchange {
9721
9722
  * @param {string} code unified currency code of the currency to repay
9722
9723
  * @param {string} amount the amount to repay
9723
9724
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9724
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
9725
+ * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/?id=margin-loan-structure}
9725
9726
  */
9726
9727
  async repayCrossMargin(code, amount, params = {}) {
9727
9728
  await this.loadMarkets();
@@ -9814,7 +9815,7 @@ export default class bitget extends Exchange {
9814
9815
  * @param {int} [params.until] timestamp in ms of the latest liquidation
9815
9816
  * @param {string} [params.marginMode] 'cross' or 'isolated' default value is 'cross'
9816
9817
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
9817
- * @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com/#/?id=liquidation-structure}
9818
+ * @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com/?id=liquidation-structure}
9818
9819
  */
9819
9820
  async fetchMyLiquidations(symbol = undefined, since = undefined, limit = undefined, params = {}) {
9820
9821
  await this.loadMarkets();
@@ -9967,7 +9968,7 @@ export default class bitget extends Exchange {
9967
9968
  * @see https://www.bitget.com/api-doc/margin/isolated/account/Isolated-Margin-Interest-Rate-And-Max-Borrowable-Amount
9968
9969
  * @param {string} symbol unified market symbol
9969
9970
  * @param {object} [params] extra parameters specific to the exchange API endpoint
9970
- * @returns {object} an [isolated borrow rate structure]{@link https://docs.ccxt.com/#/?id=isolated-borrow-rate-structure}
9971
+ * @returns {object} an [isolated borrow rate structure]{@link https://docs.ccxt.com/?id=isolated-borrow-rate-structure}
9971
9972
  */
9972
9973
  async fetchIsolatedBorrowRate(symbol, params = {}) {
9973
9974
  await this.loadMarkets();
@@ -10200,7 +10201,7 @@ export default class bitget extends Exchange {
10200
10201
  * @param {int} [limit] the maximum number of structures to retrieve
10201
10202
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10202
10203
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
10203
- * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
10204
+ * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/?id=borrow-interest-structure}
10204
10205
  */
10205
10206
  async fetchBorrowInterest(code = undefined, symbol = undefined, since = undefined, limit = undefined, params = {}) {
10206
10207
  await this.loadMarkets();
@@ -10351,7 +10352,7 @@ export default class bitget extends Exchange {
10351
10352
  * @param {string} [side] one-way mode: 'buy' or 'sell', hedge-mode: 'long' or 'short'
10352
10353
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10353
10354
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
10354
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
10355
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
10355
10356
  */
10356
10357
  async closePosition(symbol, side = undefined, params = {}) {
10357
10358
  await this.loadMarkets();
@@ -10423,7 +10424,7 @@ export default class bitget extends Exchange {
10423
10424
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10424
10425
  * @param {string} [params.productType] 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
10425
10426
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
10426
- * @returns {object[]} A list of [position structures]{@link https://docs.ccxt.com/#/?id=position-structure}
10427
+ * @returns {object[]} A list of [position structures]{@link https://docs.ccxt.com/?id=position-structure}
10427
10428
  */
10428
10429
  async closeAllPositions(params = {}) {
10429
10430
  await this.loadMarkets();
@@ -10484,7 +10485,7 @@ export default class bitget extends Exchange {
10484
10485
  * @see https://www.bitget.com/api-doc/contract/account/Get-Single-Account
10485
10486
  * @param {string} symbol unified symbol of the market to fetch the margin mode for
10486
10487
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10487
- * @returns {object} a [margin mode structure]{@link https://docs.ccxt.com/#/?id=margin-mode-structure}
10488
+ * @returns {object} a [margin mode structure]{@link https://docs.ccxt.com/?id=margin-mode-structure}
10488
10489
  */
10489
10490
  async fetchMarginMode(symbol, params = {}) {
10490
10491
  await this.loadMarkets();
@@ -10550,7 +10551,7 @@ export default class bitget extends Exchange {
10550
10551
  * @param {int} [params.until] timestamp in ms of the latest position to fetch, max range for params["until"] - since is 3 months
10551
10552
  * @param {string} [params.productType] USDT-FUTURES (default), COIN-FUTURES, USDC-FUTURES, SUSDT-FUTURES, SCOIN-FUTURES, or SUSDC-FUTURES
10552
10553
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
10553
- * @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/#/?id=position-structure}
10554
+ * @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/?id=position-structure}
10554
10555
  */
10555
10556
  async fetchPositionsHistory(symbols = undefined, since = undefined, limit = undefined, params = {}) {
10556
10557
  await this.loadMarkets();
@@ -10657,7 +10658,7 @@ export default class bitget extends Exchange {
10657
10658
  * @param {string} toCode the currency that you want to buy and convert into
10658
10659
  * @param {float} [amount] how much you want to trade in units of the from currency
10659
10660
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10660
- * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/#/?id=conversion-structure}
10661
+ * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/?id=conversion-structure}
10661
10662
  */
10662
10663
  async fetchConvertQuote(fromCode, toCode, amount = undefined, params = {}) {
10663
10664
  await this.loadMarkets();
@@ -10702,7 +10703,7 @@ export default class bitget extends Exchange {
10702
10703
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10703
10704
  * @param {string} params.price the price of the conversion, obtained from fetchConvertQuote()
10704
10705
  * @param {string} params.toAmount the amount you want to trade in units of the toCurrency, obtained from fetchConvertQuote()
10705
- * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/#/?id=conversion-structure}
10706
+ * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/?id=conversion-structure}
10706
10707
  */
10707
10708
  async createConvertTrade(id, fromCode, toCode, amount = undefined, params = {}) {
10708
10709
  await this.loadMarkets();
@@ -10751,7 +10752,7 @@ export default class bitget extends Exchange {
10751
10752
  * @param {int} [since] the earliest time in ms to fetch conversions for
10752
10753
  * @param {int} [limit] the maximum number of conversion structures to retrieve
10753
10754
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10754
- * @returns {object[]} a list of [conversion structures]{@link https://docs.ccxt.com/#/?id=conversion-structure}
10755
+ * @returns {object[]} a list of [conversion structures]{@link https://docs.ccxt.com/?id=conversion-structure}
10755
10756
  */
10756
10757
  async fetchConvertTradeHistory(code = undefined, since = undefined, limit = undefined, params = {}) {
10757
10758
  await this.loadMarkets();
@@ -10928,7 +10929,7 @@ export default class bitget extends Exchange {
10928
10929
  * @param {string} symbol unified market symbol
10929
10930
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10930
10931
  * @param {boolean} [params.uta] set to true for the unified trading account (uta), defaults to false
10931
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
10932
+ * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
10932
10933
  */
10933
10934
  async fetchFundingInterval(symbol, params = {}) {
10934
10935
  await this.loadMarkets();
@@ -10994,7 +10995,7 @@ export default class bitget extends Exchange {
10994
10995
  * @param {int} [since] the earliest time in ms to fetch ratios for
10995
10996
  * @param {int} [limit] the maximum number of long short ratio structures to retrieve
10996
10997
  * @param {object} [params] extra parameters specific to the exchange API endpoint
10997
- * @returns {object[]} an array of [long short ratio structures]{@link https://docs.ccxt.com/#/?id=long-short-ratio-structure}
10998
+ * @returns {object[]} an array of [long short ratio structures]{@link https://docs.ccxt.com/?id=long-short-ratio-structure}
10998
10999
  */
10999
11000
  async fetchLongShortRatioHistory(symbol = undefined, timeframe = undefined, since = undefined, limit = undefined, params = {}) {
11000
11001
  await this.loadMarkets();
@@ -24,7 +24,7 @@ export default class bithumb extends Exchange {
24
24
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
25
25
  * @see https://apidocs.bithumb.com/v1.2.0/reference/%EB%B3%B4%EC%9C%A0%EC%9E%90%EC%82%B0-%EC%A1%B0%ED%9A%8C
26
26
  * @param {object} [params] extra parameters specific to the exchange API endpoint
27
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
27
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
28
28
  */
29
29
  fetchBalance(params?: {}): Promise<Balances>;
30
30
  /**
@@ -35,7 +35,7 @@ export default class bithumb extends Exchange {
35
35
  * @param {string} symbol unified symbol of the market to fetch the order book for
36
36
  * @param {int} [limit] the maximum amount of order book entries to return
37
37
  * @param {object} [params] extra parameters specific to the exchange API endpoint
38
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
38
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
39
39
  */
40
40
  fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
41
41
  parseTicker(ticker: Dict, market?: Market): Ticker;
@@ -46,7 +46,7 @@ export default class bithumb extends Exchange {
46
46
  * @see https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C-all
47
47
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
48
48
  * @param {object} [params] extra parameters specific to the exchange API endpoint
49
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
49
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
50
50
  */
51
51
  fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
52
52
  /**
@@ -56,7 +56,7 @@ export default class bithumb extends Exchange {
56
56
  * @see https://apidocs.bithumb.com/v1.2.0/reference/%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
57
57
  * @param {string} symbol unified symbol of the market to fetch the ticker for
58
58
  * @param {object} [params] extra parameters specific to the exchange API endpoint
59
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
59
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
60
60
  */
61
61
  fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
62
62
  parseOHLCV(ohlcv: any, market?: Market): OHLCV;
@@ -83,7 +83,7 @@ export default class bithumb extends Exchange {
83
83
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
84
84
  * @param {int} [limit] the maximum amount of trades to fetch
85
85
  * @param {object} [params] extra parameters specific to the exchange API endpoint
86
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
86
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
87
87
  */
88
88
  fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
89
89
  /**
@@ -99,7 +99,7 @@ export default class bithumb extends Exchange {
99
99
  * @param {float} amount how much of currency you want to trade in units of base currency
100
100
  * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
101
101
  * @param {object} [params] extra parameters specific to the exchange API endpoint
102
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
102
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
103
103
  */
104
104
  createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
105
105
  /**
@@ -110,7 +110,7 @@ export default class bithumb extends Exchange {
110
110
  * @param {string} id order id
111
111
  * @param {string} symbol unified symbol of the market the order was made in
112
112
  * @param {object} [params] extra parameters specific to the exchange API endpoint
113
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
113
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
114
114
  */
115
115
  fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
116
116
  parseOrderStatus(status: Str): string;
@@ -124,7 +124,7 @@ export default class bithumb extends Exchange {
124
124
  * @param {int} [since] the earliest time in ms to fetch open orders for
125
125
  * @param {int} [limit] the maximum number of open order structures to retrieve
126
126
  * @param {object} [params] extra parameters specific to the exchange API endpoint
127
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
127
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
128
128
  */
129
129
  fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
130
130
  /**
@@ -135,7 +135,7 @@ export default class bithumb extends Exchange {
135
135
  * @param {string} id order id
136
136
  * @param {string} symbol unified symbol of the market the order was made in
137
137
  * @param {object} [params] extra parameters specific to the exchange API endpoint
138
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
138
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
139
139
  */
140
140
  cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
141
141
  cancelUnifiedOrder(order: Order, params?: {}): Promise<Order>;
@@ -149,7 +149,7 @@ export default class bithumb extends Exchange {
149
149
  * @param {string} address the address to withdraw to
150
150
  * @param {string} tag
151
151
  * @param {object} [params] extra parameters specific to the exchange API endpoint
152
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
152
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
153
153
  */
154
154
  withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
155
155
  parseTransaction(transaction: Dict, currency?: Currency): Transaction;