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/bithumb.js CHANGED
@@ -444,7 +444,7 @@ export default class bithumb extends Exchange {
444
444
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
445
445
  * @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
446
446
  * @param {object} [params] extra parameters specific to the exchange API endpoint
447
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
447
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
448
448
  */
449
449
  async fetchBalance(params = {}) {
450
450
  await this.loadMarkets();
@@ -462,7 +462,7 @@ export default class bithumb extends Exchange {
462
462
  * @param {string} symbol unified symbol of the market to fetch the order book for
463
463
  * @param {int} [limit] the maximum amount of order book entries to return
464
464
  * @param {object} [params] extra parameters specific to the exchange API endpoint
465
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
465
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
466
466
  */
467
467
  async fetchOrderBook(symbol, limit = undefined, params = {}) {
468
468
  await this.loadMarkets();
@@ -554,7 +554,7 @@ export default class bithumb extends Exchange {
554
554
  * @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
555
555
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
556
556
  * @param {object} [params] extra parameters specific to the exchange API endpoint
557
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
557
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
558
558
  */
559
559
  async fetchTickers(symbols = undefined, params = {}) {
560
560
  await this.loadMarkets();
@@ -616,7 +616,7 @@ export default class bithumb extends Exchange {
616
616
  * @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
617
617
  * @param {string} symbol unified symbol of the market to fetch the ticker for
618
618
  * @param {object} [params] extra parameters specific to the exchange API endpoint
619
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
619
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
620
620
  */
621
621
  async fetchTicker(symbol, params = {}) {
622
622
  await this.loadMarkets();
@@ -802,7 +802,7 @@ export default class bithumb extends Exchange {
802
802
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
803
803
  * @param {int} [limit] the maximum amount of trades to fetch
804
804
  * @param {object} [params] extra parameters specific to the exchange API endpoint
805
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
805
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
806
806
  */
807
807
  async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
808
808
  await this.loadMarkets();
@@ -845,7 +845,7 @@ export default class bithumb extends Exchange {
845
845
  * @param {float} amount how much of currency you want to trade in units of base currency
846
846
  * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
847
847
  * @param {object} [params] extra parameters specific to the exchange API endpoint
848
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
848
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
849
849
  */
850
850
  async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
851
851
  await this.loadMarkets();
@@ -884,7 +884,7 @@ export default class bithumb extends Exchange {
884
884
  * @param {string} id order id
885
885
  * @param {string} symbol unified symbol of the market the order was made in
886
886
  * @param {object} [params] extra parameters specific to the exchange API endpoint
887
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
887
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
888
888
  */
889
889
  async fetchOrder(id, symbol = undefined, params = {}) {
890
890
  if (symbol === undefined) {
@@ -1044,7 +1044,7 @@ export default class bithumb extends Exchange {
1044
1044
  * @param {int} [since] the earliest time in ms to fetch open orders for
1045
1045
  * @param {int} [limit] the maximum number of open order structures to retrieve
1046
1046
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1047
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1047
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1048
1048
  */
1049
1049
  async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1050
1050
  if (symbol === undefined) {
@@ -1092,7 +1092,7 @@ export default class bithumb extends Exchange {
1092
1092
  * @param {string} id order id
1093
1093
  * @param {string} symbol unified symbol of the market the order was made in
1094
1094
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1095
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1095
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1096
1096
  */
1097
1097
  async cancelOrder(id, symbol = undefined, params = {}) {
1098
1098
  if (symbol === undefined) {
@@ -1138,7 +1138,7 @@ export default class bithumb extends Exchange {
1138
1138
  * @param {string} address the address to withdraw to
1139
1139
  * @param {string} tag
1140
1140
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1141
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1141
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
1142
1142
  */
1143
1143
  async withdraw(code, amount, address, tag = undefined, params = {}) {
1144
1144
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -21,7 +21,7 @@ export default class bitmart extends Exchange {
21
21
  * @description the latest known information on the availability of the exchange API
22
22
  * @see https://developer-pro.bitmart.com/en/spot/#get-system-service-status
23
23
  * @param {object} [params] extra parameters specific to the exchange API endpoint
24
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
24
+ * @returns {object} a [status structure]{@link https://docs.ccxt.com/?id=exchange-status-structure}
25
25
  */
26
26
  fetchStatus(params?: {}): Promise<{
27
27
  status: any;
@@ -60,7 +60,7 @@ export default class bitmart extends Exchange {
60
60
  * @param {string} code unified currency code
61
61
  * @param {object} [params] extra parameters specific to the exchange API endpoint
62
62
  * @param {string} [params.network] the network code of the currency
63
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
63
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
64
64
  */
65
65
  fetchTransactionFee(code: string, params?: {}): Promise<{
66
66
  info: any;
@@ -87,7 +87,7 @@ export default class bitmart extends Exchange {
87
87
  * @param {string} code unified currency code
88
88
  * @param {object} [params] extra parameters specific to the exchange API endpoint
89
89
  * @param {string} [params.network] the network code of the currency
90
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
90
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
91
91
  */
92
92
  fetchDepositWithdrawFee(code: string, params?: {}): Promise<any>;
93
93
  parseTicker(ticker: Dict, market?: Market): Ticker;
@@ -99,7 +99,7 @@ export default class bitmart extends Exchange {
99
99
  * @see https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
100
100
  * @param {string} symbol unified symbol of the market to fetch the ticker for
101
101
  * @param {object} [params] extra parameters specific to the exchange API endpoint
102
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
102
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
103
103
  */
104
104
  fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
105
105
  /**
@@ -110,7 +110,7 @@ export default class bitmart extends Exchange {
110
110
  * @see https://developer-pro.bitmart.com/en/futuresv2/#get-contract-details
111
111
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
112
112
  * @param {object} [params] extra parameters specific to the exchange API endpoint
113
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
113
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
114
114
  */
115
115
  fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
116
116
  /**
@@ -122,7 +122,7 @@ export default class bitmart extends Exchange {
122
122
  * @param {string} symbol unified symbol of the market to fetch the order book for
123
123
  * @param {int} [limit] the maximum amount of order book entries to return
124
124
  * @param {object} [params] extra parameters specific to the exchange API endpoint
125
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
125
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
126
126
  */
127
127
  fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
128
128
  parseTrade(trade: Dict, market?: Market): Trade;
@@ -135,7 +135,7 @@ export default class bitmart extends Exchange {
135
135
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
136
136
  * @param {int} [limit] the maximum number of trades to fetch
137
137
  * @param {object} [params] extra parameters specific to the exchange API endpoint
138
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
138
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
139
139
  */
140
140
  fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
141
141
  parseOHLCV(ohlcv: any, market?: Market): OHLCV;
@@ -168,7 +168,7 @@ export default class bitmart extends Exchange {
168
168
  * @param {int} [params.until] the latest time in ms to fetch trades for
169
169
  * @param {boolean} [params.marginMode] *spot* whether to fetch trades for margin orders or spot orders, defaults to spot orders (only isolated margin orders are supported)
170
170
  * @param {string} [params.stpMode] self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
171
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
171
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
172
172
  */
173
173
  fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
174
174
  /**
@@ -182,7 +182,7 @@ export default class bitmart extends Exchange {
182
182
  * @param {int} [limit] the maximum number of trades to retrieve
183
183
  * @param {object} [params] extra parameters specific to the exchange API endpoint
184
184
  * @param {string} [params.stpMode] self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
185
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
185
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
186
186
  */
187
187
  fetchOrderTrades(id: string, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
188
188
  customParseBalance(response: any, marketType: any): Balances;
@@ -196,7 +196,7 @@ export default class bitmart extends Exchange {
196
196
  * @see https://developer-pro.bitmart.com/en/spot/#get-account-balance-keyed
197
197
  * @see https://developer-pro.bitmart.com/en/spot/#get-margin-account-details-isolated-keyed
198
198
  * @param {object} [params] extra parameters specific to the exchange API endpoint
199
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
199
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
200
200
  */
201
201
  fetchBalance(params?: {}): Promise<Balances>;
202
202
  parseTradingFee(fee: Dict, market?: Market): TradingFeeInterface;
@@ -207,7 +207,7 @@ export default class bitmart extends Exchange {
207
207
  * @see https://developer-pro.bitmart.com/en/spot/#get-actual-trade-fee-rate-keyed
208
208
  * @param {string} symbol unified market symbol
209
209
  * @param {object} [params] extra parameters specific to the exchange API endpoint
210
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
210
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
211
211
  */
212
212
  fetchTradingFee(symbol: string, params?: {}): Promise<TradingFeeInterface>;
213
213
  parseOrder(order: Dict, market?: Market): Order;
@@ -221,7 +221,7 @@ export default class bitmart extends Exchange {
221
221
  * @param {string} symbol unified symbol of the market to create an order in
222
222
  * @param {float} cost how much you want to trade in units of the quote currency
223
223
  * @param {object} [params] extra parameters specific to the exchange API endpoint
224
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
224
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
225
225
  */
226
226
  createMarketBuyOrderWithCost(symbol: string, cost: number, params?: {}): Promise<Order>;
227
227
  /**
@@ -255,7 +255,7 @@ export default class bitmart extends Exchange {
255
255
  * @param {string} [params.takeProfitPrice] *swap only* the price to trigger a take-profit order
256
256
  * @param {int} [params.plan_category] *swap tp/sl only* 1: tp/sl, 2: position tp/sl, default is 1
257
257
  * @param {string} [params.stpMode] self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
258
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
258
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
259
259
  */
260
260
  createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
261
261
  /**
@@ -266,7 +266,7 @@ export default class bitmart extends Exchange {
266
266
  * @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
267
267
  * @param {object} [params] extra parameters specific to the exchange API endpoint
268
268
  * @param {string} [params.stpMode] self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
269
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
269
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
270
270
  */
271
271
  createOrders(orders: OrderRequest[], params?: {}): Promise<Order[]>;
272
272
  createSwapOrderRequest(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): any;
@@ -286,7 +286,7 @@ export default class bitmart extends Exchange {
286
286
  * @param {string} [params.clientOrderId] *spot only* the client order id of the order to cancel
287
287
  * @param {boolean} [params.trigger] *swap only* whether the order is a trigger order
288
288
  * @param {boolean} [params.trailing] *swap only* whether the order is a stop order
289
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
289
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
290
290
  */
291
291
  cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
292
292
  /**
@@ -298,7 +298,7 @@ export default class bitmart extends Exchange {
298
298
  * @param {string} symbol unified symbol of the market the order was made in
299
299
  * @param {object} [params] extra parameters specific to the exchange API endpoint
300
300
  * @param {string[]} [params.clientOrderIds] client order ids
301
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
301
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
302
302
  */
303
303
  cancelOrders(ids: string[], symbol?: Str, params?: {}): Promise<Order[]>;
304
304
  /**
@@ -310,7 +310,7 @@ export default class bitmart extends Exchange {
310
310
  * @param {string} symbol unified market symbol of the market to cancel orders in
311
311
  * @param {object} [params] extra parameters specific to the exchange API endpoint
312
312
  * @param {string} [params.side] *spot only* 'buy' or 'sell'
313
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
313
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
314
314
  */
315
315
  cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
316
316
  fetchOrdersByStatus(status: any, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
@@ -333,7 +333,7 @@ export default class bitmart extends Exchange {
333
333
  * @param {boolean} [params.trailing] *swap only* set to true if you want to fetch trailing orders
334
334
  * @param {boolean} [params.trigger] *swap only* set to true if you want to fetch trigger orders
335
335
  * @param {string} [params.stpMode] self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
336
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
336
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
337
337
  */
338
338
  fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
339
339
  /**
@@ -349,7 +349,7 @@ export default class bitmart extends Exchange {
349
349
  * @param {int} [params.until] timestamp in ms of the latest entry
350
350
  * @param {string} [params.marginMode] *spot only* 'cross' or 'isolated', for margin trading
351
351
  * @param {string} [params.stpMode] self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
352
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
352
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
353
353
  */
354
354
  fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
355
355
  /**
@@ -360,7 +360,7 @@ export default class bitmart extends Exchange {
360
360
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
361
361
  * @param {int} [limit] max number of orders to return, default is undefined
362
362
  * @param {object} [params] extra parameters specific to the exchange API endpoint
363
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
363
+ * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
364
364
  */
365
365
  fetchCanceledOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
366
366
  /**
@@ -377,7 +377,7 @@ export default class bitmart extends Exchange {
377
377
  * @param {string} [params.orderType] *swap only* 'limit', 'market', 'liquidate', 'bankruptcy', 'adl' or 'trailing'
378
378
  * @param {boolean} [params.trailing] *swap only* set to true if you want to fetch a trailing order
379
379
  * @param {string} [params.stpMode] self-trade prevention only for spot, defaults to none, ['none', 'cancel_maker', 'cancel_taker', 'cancel_both']
380
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
380
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
381
381
  */
382
382
  fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
383
383
  /**
@@ -387,7 +387,7 @@ export default class bitmart extends Exchange {
387
387
  * @see https://developer-pro.bitmart.com/en/spot/#deposit-address-keyed
388
388
  * @param {string} code unified currency code
389
389
  * @param {object} [params] extra parameters specific to the exchange API endpoint
390
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
390
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
391
391
  */
392
392
  fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
393
393
  parseDepositAddress(depositAddress: any, currency?: any): DepositAddress;
@@ -402,7 +402,7 @@ export default class bitmart extends Exchange {
402
402
  * @param {string} tag
403
403
  * @param {object} [params] extra parameters specific to the exchange API endpoint
404
404
  * @param {string} [params.network] the network name for this withdrawal
405
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
405
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
406
406
  */
407
407
  withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
408
408
  fetchTransactionsByType(type: any, code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
@@ -414,7 +414,7 @@ export default class bitmart extends Exchange {
414
414
  * @param {string} id deposit id
415
415
  * @param {string} code not used by bitmart fetchDeposit ()
416
416
  * @param {object} [params] extra parameters specific to the exchange API endpoint
417
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
417
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
418
418
  */
419
419
  fetchDeposit(id: string, code?: Str, params?: {}): Promise<Transaction>;
420
420
  /**
@@ -426,7 +426,7 @@ export default class bitmart extends Exchange {
426
426
  * @param {int} [since] the earliest time in ms to fetch deposits for
427
427
  * @param {int} [limit] the maximum number of deposits structures to retrieve
428
428
  * @param {object} [params] extra parameters specific to the exchange API endpoint
429
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
429
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
430
430
  */
431
431
  fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
432
432
  /**
@@ -437,7 +437,7 @@ export default class bitmart extends Exchange {
437
437
  * @param {string} id withdrawal id
438
438
  * @param {string} code not used by bitmart.fetchWithdrawal
439
439
  * @param {object} [params] extra parameters specific to the exchange API endpoint
440
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
440
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
441
441
  */
442
442
  fetchWithdrawal(id: string, code?: Str, params?: {}): Promise<Transaction>;
443
443
  /**
@@ -449,7 +449,7 @@ export default class bitmart extends Exchange {
449
449
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
450
450
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
451
451
  * @param {object} [params] extra parameters specific to the exchange API endpoint
452
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
452
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
453
453
  */
454
454
  fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
455
455
  parseTransactionStatus(status: Str): string;
@@ -463,7 +463,7 @@ export default class bitmart extends Exchange {
463
463
  * @param {string} code unified currency code of the currency to repay
464
464
  * @param {string} amount the amount to repay
465
465
  * @param {object} [params] extra parameters specific to the exchange API endpoint
466
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
466
+ * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/?id=margin-loan-structure}
467
467
  */
468
468
  repayIsolatedMargin(symbol: string, code: string, amount: any, params?: {}): Promise<any>;
469
469
  /**
@@ -475,7 +475,7 @@ export default class bitmart extends Exchange {
475
475
  * @param {string} code unified currency code of the currency to borrow
476
476
  * @param {string} amount the amount to borrow
477
477
  * @param {object} [params] extra parameters specific to the exchange API endpoint
478
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
478
+ * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/?id=margin-loan-structure}
479
479
  */
480
480
  borrowIsolatedMargin(symbol: string, code: string, amount: number, params?: {}): Promise<any>;
481
481
  parseMarginLoan(info: any, currency?: Currency): {
@@ -504,7 +504,7 @@ export default class bitmart extends Exchange {
504
504
  * @description fetch the borrow interest rates of all currencies, currently only works for isolated margin
505
505
  * @see https://developer-pro.bitmart.com/en/spot/#get-trading-pair-borrowing-rate-and-amount-keyed
506
506
  * @param {object} [params] extra parameters specific to the exchange API endpoint
507
- * @returns {object} a list of [isolated borrow rate structures]{@link https://docs.ccxt.com/#/?id=isolated-borrow-rate-structure}
507
+ * @returns {object} a list of [isolated borrow rate structures]{@link https://docs.ccxt.com/?id=isolated-borrow-rate-structure}
508
508
  */
509
509
  fetchIsolatedBorrowRates(params?: {}): Promise<IsolatedBorrowRates>;
510
510
  /**
@@ -518,7 +518,7 @@ export default class bitmart extends Exchange {
518
518
  * @param {string} fromAccount account to transfer from
519
519
  * @param {string} toAccount account to transfer to
520
520
  * @param {object} [params] extra parameters specific to the exchange API endpoint
521
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
521
+ * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
522
522
  */
523
523
  transfer(code: string, amount: number, fromAccount: string, toAccount: string, params?: {}): Promise<TransferEntry>;
524
524
  parseTransferStatus(status: Str): Str;
@@ -536,7 +536,7 @@ export default class bitmart extends Exchange {
536
536
  * @param {object} [params] extra parameters specific to the exchange API endpoint
537
537
  * @param {int} [params.page] the required number of pages, default is 1, max is 1000
538
538
  * @param {int} [params.until] the latest time in ms to fetch transfers for
539
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
539
+ * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
540
540
  */
541
541
  fetchTransfers(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<TransferEntry[]>;
542
542
  /**
@@ -549,7 +549,7 @@ export default class bitmart extends Exchange {
549
549
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
550
550
  * @param {int} [limit] the maximum number of structures to retrieve
551
551
  * @param {object} [params] extra parameters specific to the exchange API endpoint
552
- * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
552
+ * @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/?id=borrow-interest-structure}
553
553
  */
554
554
  fetchBorrowInterest(code?: Str, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<BorrowInterest[]>;
555
555
  parseBorrowInterest(info: Dict, market?: Market): BorrowInterest;
@@ -560,7 +560,7 @@ export default class bitmart extends Exchange {
560
560
  * @see https://developer-pro.bitmart.com/en/futuresv2/#get-futures-openinterest
561
561
  * @param {string} symbol Unified CCXT market symbol
562
562
  * @param {object} [params] exchange specific parameters
563
- * @returns {object} an open interest structure{@link https://docs.ccxt.com/#/?id=open-interest-structure}
563
+ * @returns {object} an open interest structure{@link https://docs.ccxt.com/?id=open-interest-structure}
564
564
  */
565
565
  fetchOpenInterest(symbol: string, params?: {}): Promise<import("./base/types.js").OpenInterest>;
566
566
  parseOpenInterest(interest: any, market?: Market): import("./base/types.js").OpenInterest;
@@ -583,7 +583,7 @@ export default class bitmart extends Exchange {
583
583
  * @see https://developer-pro.bitmart.com/en/futuresv2/#get-current-funding-rate
584
584
  * @param {string} symbol unified market symbol
585
585
  * @param {object} [params] extra parameters specific to the exchange API endpoint
586
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
586
+ * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
587
587
  */
588
588
  fetchFundingRate(symbol: string, params?: {}): Promise<FundingRate>;
589
589
  /**
@@ -595,7 +595,7 @@ export default class bitmart extends Exchange {
595
595
  * @param {int} [since] not sent to exchange api, exchange api always returns the most recent data, only used to filter exchange response
596
596
  * @param {int} [limit] the maximum amount of funding rate structures to fetch
597
597
  * @param {object} [params] extra parameters specific to the exchange API endpoint
598
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
598
+ * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
599
599
  */
600
600
  fetchFundingRateHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<FundingRateHistory[]>;
601
601
  parseFundingRate(contract: any, market?: Market): FundingRate;
@@ -606,7 +606,7 @@ export default class bitmart extends Exchange {
606
606
  * @see https://developer-pro.bitmart.com/en/futuresv2/#get-current-position-keyed
607
607
  * @param {string} symbol unified market symbol of the market the position is held in
608
608
  * @param {object} [params] extra parameters specific to the exchange API endpoint
609
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
609
+ * @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
610
610
  */
611
611
  fetchPosition(symbol: string, params?: {}): Promise<Position>;
612
612
  /**
@@ -617,7 +617,7 @@ export default class bitmart extends Exchange {
617
617
  * @see https://developer-pro.bitmart.com/en/futuresv2/#get-current-position-v2-keyed
618
618
  * @param {string[]|undefined} symbols list of unified market symbols
619
619
  * @param {object} [params] extra parameters specific to the exchange API endpoint
620
- * @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/#/?id=position-structure}
620
+ * @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/?id=position-structure}
621
621
  */
622
622
  fetchPositions(symbols?: Strings, params?: {}): Promise<Position[]>;
623
623
  parsePosition(position: Dict, market?: Market): Position;
@@ -631,7 +631,7 @@ export default class bitmart extends Exchange {
631
631
  * @param {int} [limit] the maximum number of liquidation structures to retrieve
632
632
  * @param {object} [params] exchange specific parameters for the bitmart api endpoint
633
633
  * @param {int} [params.until] timestamp in ms of the latest liquidation
634
- * @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com/#/?id=liquidation-structure}
634
+ * @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com/?id=liquidation-structure}
635
635
  */
636
636
  fetchMyLiquidations(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<import("./base/types.js").Liquidation[]>;
637
637
  parseLiquidation(liquidation: any, market?: Market): import("./base/types.js").Liquidation;
@@ -658,7 +658,7 @@ export default class bitmart extends Exchange {
658
658
  * @param {string} [params.clientOrderId] client order id of the order
659
659
  * @param {int} [params.price_type] *swap only* 1: last price, 2: fair price, default is 1
660
660
  * @param {int} [params.plan_category] *swap tp/sl only* 1: tp/sl, 2: position tp/sl, default is 1
661
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
661
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
662
662
  */
663
663
  editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
664
664
  /**
@@ -671,7 +671,7 @@ export default class bitmart extends Exchange {
671
671
  * @param {int} [limit] max number of ledger entries to return
672
672
  * @param {object} [params] extra parameters specific to the exchange API endpoint
673
673
  * @param {int} [params.until] timestamp in ms of the latest ledger entry
674
- * @returns {object[]} a list of [ledger structures]{@link https://docs.ccxt.com/#/?id=ledger}
674
+ * @returns {object[]} a list of [ledger structures]{@link https://docs.ccxt.com/?id=ledger}
675
675
  */
676
676
  fetchLedger(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<LedgerEntry[]>;
677
677
  parseLedgerEntry(item: Dict, currency?: Currency): LedgerEntry;
@@ -687,7 +687,7 @@ export default class bitmart extends Exchange {
687
687
  * @param {int} [limit] the number of entries to return
688
688
  * @param {object} [params] extra parameters specific to the exchange API endpoint
689
689
  * @param {int} [params.until] the latest time in ms to fetch funding history for
690
- * @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
690
+ * @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/?id=funding-history-structure}
691
691
  */
692
692
  fetchFundingHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<FundingHistory[]>;
693
693
  parseFundingHistory(contract: any, market?: Market): {