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/woo.js CHANGED
@@ -503,7 +503,7 @@ export default class woo extends Exchange {
503
503
  * @description the latest known information on the availability of the exchange API
504
504
  * @see https://developer.woox.io/api-reference/endpoint/public_data/systemInfo
505
505
  * @param {object} [params] extra parameters specific to the exchange API endpoint
506
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
506
+ * @returns {object} a [status structure]{@link https://docs.ccxt.com/?id=exchange-status-structure}
507
507
  */
508
508
  async fetchStatus(params = {}) {
509
509
  const response = await this.v3PublicGetSystemInfo(params);
@@ -705,7 +705,7 @@ export default class woo extends Exchange {
705
705
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
706
706
  * @param {int} [limit] the maximum amount of trades to fetch
707
707
  * @param {object} [params] extra parameters specific to the exchange API endpoint
708
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
708
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
709
709
  */
710
710
  async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
711
711
  await this.loadMarkets();
@@ -849,7 +849,7 @@ export default class woo extends Exchange {
849
849
  * @param {object} [params] extra parameters specific to the exchange API endpoint
850
850
  * @param {boolean} [params.portfolioMargin] set to true if you would like to fetch trading fees in a portfolio margin account
851
851
  * @param {string} [params.subType] "linear" or "inverse"
852
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
852
+ * @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
853
853
  */
854
854
  async fetchTradingFee(symbol, params = {}) {
855
855
  await this.loadMarkets();
@@ -878,7 +878,7 @@ export default class woo extends Exchange {
878
878
  * @description fetch the trading fees for multiple markets
879
879
  * @see https://developer.woox.io/api-reference/endpoint/account/get_account_info
880
880
  * @param {object} [params] extra parameters specific to the exchange API endpoint
881
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
881
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
882
882
  */
883
883
  async fetchTradingFees(params = {}) {
884
884
  await this.loadMarkets();
@@ -1091,7 +1091,7 @@ export default class woo extends Exchange {
1091
1091
  * @param {string} symbol unified symbol of the market to create an order in
1092
1092
  * @param {float} cost how much you want to trade in units of the quote currency
1093
1093
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1094
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1094
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1095
1095
  */
1096
1096
  async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
1097
1097
  await this.loadMarkets();
@@ -1109,7 +1109,7 @@ export default class woo extends Exchange {
1109
1109
  * @param {string} symbol unified symbol of the market to create an order in
1110
1110
  * @param {float} cost how much you want to trade in units of the quote currency
1111
1111
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1112
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1112
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1113
1113
  */
1114
1114
  async createMarketSellOrderWithCost(symbol, cost, params = {}) {
1115
1115
  await this.loadMarkets();
@@ -1132,7 +1132,7 @@ export default class woo extends Exchange {
1132
1132
  * @param {float} trailingAmount the quote amount to trail away from the current market price
1133
1133
  * @param {float} trailingTriggerPrice the price to activate a trailing order, default uses the price argument
1134
1134
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1135
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1135
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1136
1136
  */
1137
1137
  async createTrailingAmountOrder(symbol, type, side, amount, price = undefined, trailingAmount = undefined, trailingTriggerPrice = undefined, params = {}) {
1138
1138
  if (trailingAmount === undefined) {
@@ -1158,7 +1158,7 @@ export default class woo extends Exchange {
1158
1158
  * @param {float} trailingPercent the percent to trail away from the current market price
1159
1159
  * @param {float} trailingTriggerPrice the price to activate a trailing order, default uses the price argument
1160
1160
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1161
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1161
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1162
1162
  */
1163
1163
  async createTrailingPercentOrder(symbol, type, side, amount, price = undefined, trailingPercent = undefined, trailingTriggerPrice = undefined, params = {}) {
1164
1164
  if (trailingPercent === undefined) {
@@ -1195,7 +1195,7 @@ export default class woo extends Exchange {
1195
1195
  * @param {string} [params.trailingPercent] the percent to trail away from the current market price
1196
1196
  * @param {string} [params.trailingTriggerPrice] the price to trigger a trailing order, default uses the price argument
1197
1197
  * @param {string} [params.position_side] 'SHORT' or 'LONG' - if position mode is HEDGE_MODE and the trading involves futures, then is required, otherwise this parameter is not required
1198
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1198
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1199
1199
  */
1200
1200
  async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
1201
1201
  const reduceOnly = this.safeBool2(params, 'reduceOnly', 'reduce_only');
@@ -1216,6 +1216,8 @@ export default class woo extends Exchange {
1216
1216
  const triggerPrice = this.safeString2(params, 'triggerPrice', 'stopPrice');
1217
1217
  const stopLoss = this.safeValue(params, 'stopLoss');
1218
1218
  const takeProfit = this.safeValue(params, 'takeProfit');
1219
+ const hasStopLoss = (stopLoss !== undefined);
1220
+ const hasTakeProfit = (takeProfit !== undefined);
1219
1221
  const algoType = this.safeString(params, 'algoType');
1220
1222
  const trailingTriggerPrice = this.safeString2(params, 'trailingTriggerPrice', 'activatedPrice', this.numberToString(price));
1221
1223
  const trailingAmount = this.safeString2(params, 'trailingAmount', 'callbackValue');
@@ -1223,7 +1225,7 @@ export default class woo extends Exchange {
1223
1225
  const isTrailingAmountOrder = trailingAmount !== undefined;
1224
1226
  const isTrailingPercentOrder = trailingPercent !== undefined;
1225
1227
  const isTrailing = isTrailingAmountOrder || isTrailingPercentOrder;
1226
- const isConditional = isTrailing || triggerPrice !== undefined || stopLoss !== undefined || takeProfit !== undefined || (this.safeValue(params, 'childOrders') !== undefined);
1228
+ const isConditional = isTrailing || triggerPrice !== undefined || hasStopLoss || hasTakeProfit || (this.safeValue(params, 'childOrders') !== undefined);
1227
1229
  const isMarket = orderType === 'MARKET';
1228
1230
  const timeInForce = this.safeStringLower(params, 'timeInForce');
1229
1231
  const postOnly = this.isPostOnly(isMarket, undefined, params);
@@ -1295,7 +1297,7 @@ export default class woo extends Exchange {
1295
1297
  request['algoType'] = 'STOP';
1296
1298
  }
1297
1299
  }
1298
- else if ((stopLoss !== undefined) || (takeProfit !== undefined)) {
1300
+ else if (hasStopLoss || hasTakeProfit) {
1299
1301
  request['algoType'] = 'BRACKET';
1300
1302
  const outterOrder = {
1301
1303
  'symbol': market['id'],
@@ -1305,7 +1307,7 @@ export default class woo extends Exchange {
1305
1307
  };
1306
1308
  const childOrders = outterOrder['childOrders'];
1307
1309
  const closeSide = (orderSide === 'BUY') ? 'SELL' : 'BUY';
1308
- if (stopLoss !== undefined) {
1310
+ if (hasStopLoss) {
1309
1311
  const stopLossPrice = this.safeString(stopLoss, 'triggerPrice', stopLoss);
1310
1312
  const stopLossOrder = {
1311
1313
  'side': closeSide,
@@ -1316,7 +1318,7 @@ export default class woo extends Exchange {
1316
1318
  };
1317
1319
  childOrders.push(stopLossOrder);
1318
1320
  }
1319
- if (takeProfit !== undefined) {
1321
+ if (hasTakeProfit) {
1320
1322
  const takeProfitPrice = this.safeString(takeProfit, 'triggerPrice', takeProfit);
1321
1323
  const takeProfitOrder = {
1322
1324
  'side': closeSide,
@@ -1401,7 +1403,7 @@ export default class woo extends Exchange {
1401
1403
  * @param {string} [params.trailingAmount] the quote amount to trail away from the current market price
1402
1404
  * @param {string} [params.trailingPercent] the percent to trail away from the current market price
1403
1405
  * @param {string} [params.trailingTriggerPrice] the price to trigger a trailing order, default uses the price argument
1404
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1406
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1405
1407
  */
1406
1408
  async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
1407
1409
  await this.loadMarkets();
@@ -1487,7 +1489,7 @@ export default class woo extends Exchange {
1487
1489
  * @param {string} symbol unified symbol of the market the order was made in
1488
1490
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1489
1491
  * @param {boolean} [params.trigger] whether the order is a trigger/algo order
1490
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1492
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1491
1493
  */
1492
1494
  async cancelOrder(id, symbol = undefined, params = {}) {
1493
1495
  const isTrigger = this.safeBool2(params, 'trigger', 'stop', false);
@@ -1553,7 +1555,7 @@ export default class woo extends Exchange {
1553
1555
  * @param {string} symbol unified market symbol
1554
1556
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1555
1557
  * @param {boolean} [params.trigger] whether the order is a trigger/algo order
1556
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1558
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1557
1559
  */
1558
1560
  async cancelAllOrders(symbol = undefined, params = {}) {
1559
1561
  await this.loadMarkets();
@@ -1619,7 +1621,7 @@ export default class woo extends Exchange {
1619
1621
  * @param {string} symbol unified symbol of the market the order was made in
1620
1622
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1621
1623
  * @param {boolean} [params.trigger] whether the order is a trigger/algo order
1622
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1624
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1623
1625
  */
1624
1626
  async fetchOrder(id, symbol = undefined, params = {}) {
1625
1627
  await this.loadMarkets();
@@ -1734,7 +1736,7 @@ export default class woo extends Exchange {
1734
1736
  * @param {boolean} [params.isTriggered] whether the order has been triggered (false by default)
1735
1737
  * @param {string} [params.side] 'buy' or 'sell'
1736
1738
  * @param {boolean} [params.paginate] set to true if you want to fetch orders with pagination
1737
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1739
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1738
1740
  */
1739
1741
  async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1740
1742
  await this.loadMarkets();
@@ -1873,7 +1875,7 @@ export default class woo extends Exchange {
1873
1875
  * @param {string} [params.side] 'buy' or 'sell'
1874
1876
  * @param {boolean} [params.trailing] set to true if you want to fetch trailing orders
1875
1877
  * @param {boolean} [params.paginate] set to true if you want to fetch orders with pagination
1876
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1878
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1877
1879
  */
1878
1880
  async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1879
1881
  await this.loadMarkets();
@@ -1895,7 +1897,7 @@ export default class woo extends Exchange {
1895
1897
  * @param {string} [params.side] 'buy' or 'sell'
1896
1898
  * @param {boolean} [params.trailing] set to true if you want to fetch trailing orders
1897
1899
  * @param {boolean} [params.paginate] set to true if you want to fetch orders with pagination
1898
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1900
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1899
1901
  */
1900
1902
  async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1901
1903
  await this.loadMarkets();
@@ -2088,7 +2090,7 @@ export default class woo extends Exchange {
2088
2090
  * @param {string} symbol unified symbol of the market to fetch the order book for
2089
2091
  * @param {int} [limit] the maximum amount of order book entries to return
2090
2092
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2091
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
2093
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
2092
2094
  */
2093
2095
  async fetchOrderBook(symbol, limit = undefined, params = {}) {
2094
2096
  await this.loadMarkets();
@@ -2203,7 +2205,7 @@ export default class woo extends Exchange {
2203
2205
  * @param {int} [since] the earliest time in ms to fetch trades for
2204
2206
  * @param {int} [limit] the maximum number of trades to retrieve
2205
2207
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2206
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2208
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
2207
2209
  */
2208
2210
  async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
2209
2211
  await this.loadMarkets();
@@ -2246,7 +2248,7 @@ export default class woo extends Exchange {
2246
2248
  * @param {int} [limit] the maximum number of trades structures to retrieve
2247
2249
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2248
2250
  * @param {boolean} [params.paginate] set to true if you want to fetch trades with pagination
2249
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2251
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
2250
2252
  */
2251
2253
  async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
2252
2254
  await this.loadMarkets();
@@ -2313,7 +2315,7 @@ export default class woo extends Exchange {
2313
2315
  * @see https://developer.woox.io/api-reference/endpoint/account/get_account_info
2314
2316
  * @see https://developer.woox.io/api-reference/endpoint/account/sub_accounts
2315
2317
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2316
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
2318
+ * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
2317
2319
  */
2318
2320
  async fetchAccounts(params = {}) {
2319
2321
  const mainAccountPromise = this.v3PrivateGetAccountInfo(params);
@@ -2416,7 +2418,7 @@ export default class woo extends Exchange {
2416
2418
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
2417
2419
  * @see https://docs.woox.io/#get-current-holding-get-balance-new
2418
2420
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2419
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
2421
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
2420
2422
  */
2421
2423
  async fetchBalance(params = {}) {
2422
2424
  await this.loadMarkets();
@@ -2469,7 +2471,7 @@ export default class woo extends Exchange {
2469
2471
  * @see https://developer.woox.io/api-reference/endpoint/assets/get_wallet_deposit
2470
2472
  * @param {string} code unified currency code
2471
2473
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2472
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2474
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
2473
2475
  */
2474
2476
  async fetchDepositAddress(code, params = {}) {
2475
2477
  // this method is TODO because of networks unification
@@ -2590,7 +2592,7 @@ export default class woo extends Exchange {
2590
2592
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
2591
2593
  * @param {int} [limit] max number of ledger entries to return, default is undefined
2592
2594
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2593
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger}
2595
+ * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
2594
2596
  */
2595
2597
  async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
2596
2598
  const currencyRows = await this.getAssetHistoryRows(code, since, limit, params);
@@ -2679,7 +2681,7 @@ export default class woo extends Exchange {
2679
2681
  * @param {int} [since] the earliest time in ms to fetch deposits for
2680
2682
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2681
2683
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2682
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2684
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
2683
2685
  */
2684
2686
  async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
2685
2687
  const request = {
@@ -2696,7 +2698,7 @@ export default class woo extends Exchange {
2696
2698
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2697
2699
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2698
2700
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2699
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2701
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
2700
2702
  */
2701
2703
  async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
2702
2704
  const request = {
@@ -2713,7 +2715,7 @@ export default class woo extends Exchange {
2713
2715
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
2714
2716
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
2715
2717
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2716
- * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2718
+ * @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
2717
2719
  */
2718
2720
  async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
2719
2721
  const request = {
@@ -2801,7 +2803,7 @@ export default class woo extends Exchange {
2801
2803
  * @param {string} fromAccount account to transfer from
2802
2804
  * @param {string} toAccount account to transfer to
2803
2805
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2804
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2806
+ * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
2805
2807
  */
2806
2808
  async transfer(code, amount, fromAccount, toAccount, params = {}) {
2807
2809
  await this.loadMarkets();
@@ -2847,7 +2849,7 @@ export default class woo extends Exchange {
2847
2849
  * @param {int} [limit] the maximum number of transfers structures to retrieve
2848
2850
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2849
2851
  * @param {int} [params.until] the latest time in ms to fetch entries for
2850
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2852
+ * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
2851
2853
  */
2852
2854
  async fetchTransfers(code = undefined, since = undefined, limit = undefined, params = {}) {
2853
2855
  const request = {};
@@ -2981,7 +2983,7 @@ export default class woo extends Exchange {
2981
2983
  * @param {string} address the address to withdraw to
2982
2984
  * @param {string} tag
2983
2985
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2984
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2986
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
2985
2987
  */
2986
2988
  async withdraw(code, amount, address, tag = undefined, params = {}) {
2987
2989
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -3032,7 +3034,7 @@ export default class woo extends Exchange {
3032
3034
  * @param {float} amount the amount to repay
3033
3035
  * @param {string} symbol not used by woo.repayMargin ()
3034
3036
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3035
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
3037
+ * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/?id=margin-loan-structure}
3036
3038
  */
3037
3039
  async repayMargin(code, amount, symbol = undefined, params = {}) {
3038
3040
  await this.loadMarkets();
@@ -3215,7 +3217,7 @@ export default class woo extends Exchange {
3215
3217
  * @param {int} [limit] the maximum number of funding history structures to retrieve
3216
3218
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3217
3219
  * @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)
3218
- * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
3220
+ * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/?id=funding-history-structure}
3219
3221
  */
3220
3222
  async fetchFundingHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
3221
3223
  await this.loadMarkets();
@@ -3320,7 +3322,7 @@ export default class woo extends Exchange {
3320
3322
  * @see https://developer.woox.io/api-reference/endpoint/public_data/fundingRate
3321
3323
  * @param {string} symbol unified market symbol
3322
3324
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3323
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
3325
+ * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
3324
3326
  */
3325
3327
  async fetchFundingInterval(symbol, params = {}) {
3326
3328
  return await this.fetchFundingRate(symbol, params);
@@ -3332,7 +3334,7 @@ export default class woo extends Exchange {
3332
3334
  * @see https://developer.woox.io/api-reference/endpoint/public_data/fundingRate
3333
3335
  * @param {string} symbol unified market symbol
3334
3336
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3335
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
3337
+ * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
3336
3338
  */
3337
3339
  async fetchFundingRate(symbol, params = {}) {
3338
3340
  await this.loadMarkets();
@@ -3373,7 +3375,7 @@ export default class woo extends Exchange {
3373
3375
  * @see https://developer.woox.io/api-reference/endpoint/public_data/fundingRate
3374
3376
  * @param {string[]|undefined} symbols list of unified market symbols
3375
3377
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3376
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexed by market symbols
3378
+ * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rates-structure}, indexed by market symbols
3377
3379
  */
3378
3380
  async fetchFundingRates(symbols = undefined, params = {}) {
3379
3381
  await this.loadMarkets();
@@ -3410,11 +3412,11 @@ export default class woo extends Exchange {
3410
3412
  * @see https://developer.woox.io/api-reference/endpoint/public_data/fundingRateHistory
3411
3413
  * @param {string} symbol unified symbol of the market to fetch the funding rate history for
3412
3414
  * @param {int} [since] timestamp in ms of the earliest funding rate to fetch
3413
- * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure} to fetch
3415
+ * @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure} to fetch
3414
3416
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3415
3417
  * @param {int} [params.until] timestamp in ms of the latest funding rate
3416
3418
  * @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)
3417
- * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/#/?id=funding-rate-history-structure}
3419
+ * @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
3418
3420
  */
3419
3421
  async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
3420
3422
  await this.loadMarkets();
@@ -3516,7 +3518,7 @@ export default class woo extends Exchange {
3516
3518
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3517
3519
  * @param {string} [params.marginMode] *for swap markets only* 'cross' or 'isolated'
3518
3520
  * @param {string} [params.positionMode] *for swap markets only* 'ONE_WAY' or 'HEDGE_MODE'
3519
- * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
3521
+ * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/?id=leverage-structure}
3520
3522
  */
3521
3523
  async fetchLeverage(symbol, params = {}) {
3522
3524
  await this.loadMarkets();
@@ -3688,7 +3690,7 @@ export default class woo extends Exchange {
3688
3690
  * @param {float} amount amount of margin to add
3689
3691
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3690
3692
  * @param {string} [params.position_side] 'LONG' or 'SHORT' in hedge mode, 'BOTH' in one way mode
3691
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
3693
+ * @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=add-margin-structure}
3692
3694
  */
3693
3695
  async addMargin(symbol, amount, params = {}) {
3694
3696
  return await this.modifyMarginHelper(symbol, amount, 'ADD', params);
@@ -3702,7 +3704,7 @@ export default class woo extends Exchange {
3702
3704
  * @param {float} amount amount of margin to remove
3703
3705
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3704
3706
  * @param {string} [params.position_side] 'LONG' or 'SHORT' in hedge mode, 'BOTH' in one way mode
3705
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
3707
+ * @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=reduce-margin-structure}
3706
3708
  */
3707
3709
  async reduceMargin(symbol, amount, params = {}) {
3708
3710
  return await this.modifyMarginHelper(symbol, amount, 'REDUCE', params);
@@ -3725,7 +3727,7 @@ export default class woo extends Exchange {
3725
3727
  * @see https://developer.woox.io/api-reference/endpoint/futures/get_positions
3726
3728
  * @param {string} symbol unified market symbol of the market the position is held in
3727
3729
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3728
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3730
+ * @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
3729
3731
  */
3730
3732
  async fetchPosition(symbol, params = {}) {
3731
3733
  await this.loadMarkets();
@@ -3777,7 +3779,7 @@ export default class woo extends Exchange {
3777
3779
  * @see https://developer.woox.io/api-reference/endpoint/futures/get_positions
3778
3780
  * @param {string[]} [symbols] list of unified market symbols
3779
3781
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3780
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
3782
+ * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
3781
3783
  */
3782
3784
  async fetchPositions(symbols = undefined, params = {}) {
3783
3785
  await this.loadMarkets();
@@ -3933,7 +3935,7 @@ export default class woo extends Exchange {
3933
3935
  * @param {string} toCode the currency that you want to buy and convert into
3934
3936
  * @param {float} [amount] how much you want to trade in units of the from currency
3935
3937
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3936
- * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/#/?id=conversion-structure}
3938
+ * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/?id=conversion-structure}
3937
3939
  */
3938
3940
  async fetchConvertQuote(fromCode, toCode, amount = undefined, params = {}) {
3939
3941
  await this.loadMarkets();
@@ -3976,7 +3978,7 @@ export default class woo extends Exchange {
3976
3978
  * @param {string} toCode the currency that you want to buy and convert into
3977
3979
  * @param {float} [amount] how much you want to trade in units of the from currency
3978
3980
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3979
- * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/#/?id=conversion-structure}
3981
+ * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/?id=conversion-structure}
3980
3982
  */
3981
3983
  async createConvertTrade(id, fromCode, toCode, amount = undefined, params = {}) {
3982
3984
  await this.loadMarkets();
@@ -4005,7 +4007,7 @@ export default class woo extends Exchange {
4005
4007
  * @param {string} id the id of the trade that you want to fetch
4006
4008
  * @param {string} [code] the unified currency code of the conversion trade
4007
4009
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4008
- * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/#/?id=conversion-structure}
4010
+ * @returns {object} a [conversion structure]{@link https://docs.ccxt.com/?id=conversion-structure}
4009
4011
  */
4010
4012
  async fetchConvertTrade(id, code = undefined, params = {}) {
4011
4013
  await this.loadMarkets();
@@ -4050,7 +4052,7 @@ export default class woo extends Exchange {
4050
4052
  * @param {int} [limit] the maximum number of conversion structures to retrieve
4051
4053
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4052
4054
  * @param {int} [params.until] timestamp in ms of the latest conversion to fetch
4053
- * @returns {object[]} a list of [conversion structures]{@link https://docs.ccxt.com/#/?id=conversion-structure}
4055
+ * @returns {object[]} a list of [conversion structures]{@link https://docs.ccxt.com/?id=conversion-structure}
4054
4056
  */
4055
4057
  async fetchConvertTradeHistory(code = undefined, since = undefined, limit = undefined, params = {}) {
4056
4058
  await this.loadMarkets();