ccxt 4.5.28 → 4.5.30

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 (522) hide show
  1. package/README.md +24 -7
  2. package/dist/ccxt.browser.min.js +7 -7
  3. package/dist/cjs/ccxt.js +6 -1
  4. package/dist/cjs/src/abstract/bydfi.js +11 -0
  5. package/dist/cjs/src/alpaca.js +21 -21
  6. package/dist/cjs/src/apex.js +20 -20
  7. package/dist/cjs/src/arkham.js +22 -22
  8. package/dist/cjs/src/ascendex.js +28 -28
  9. package/dist/cjs/src/backpack.js +22 -22
  10. package/dist/cjs/src/base/Exchange.js +48 -38
  11. package/dist/cjs/src/base/functions/throttle.js +54 -5
  12. package/dist/cjs/src/bigone.js +19 -19
  13. package/dist/cjs/src/binance.js +83 -82
  14. package/dist/cjs/src/bingx.js +47 -47
  15. package/dist/cjs/src/bit2c.js +11 -11
  16. package/dist/cjs/src/bitbank.js +49 -48
  17. package/dist/cjs/src/bitbns.js +13 -13
  18. package/dist/cjs/src/bitfinex.js +33 -33
  19. package/dist/cjs/src/bitflyer.js +17 -17
  20. package/dist/cjs/src/bitget.js +58 -57
  21. package/dist/cjs/src/bithumb.js +10 -10
  22. package/dist/cjs/src/bitmart.js +44 -44
  23. package/dist/cjs/src/bitmex.js +24 -24
  24. package/dist/cjs/src/bitopro.js +20 -20
  25. package/dist/cjs/src/bitrue.js +18 -18
  26. package/dist/cjs/src/bitso.js +20 -20
  27. package/dist/cjs/src/bitstamp.js +21 -21
  28. package/dist/cjs/src/bittrade.js +20 -20
  29. package/dist/cjs/src/bitvavo.js +19 -19
  30. package/dist/cjs/src/blockchaincom.js +20 -20
  31. package/dist/cjs/src/blofin.js +26 -26
  32. package/dist/cjs/src/btcalpha.js +35 -34
  33. package/dist/cjs/src/btcbox.js +10 -10
  34. package/dist/cjs/src/btcmarkets.js +16 -16
  35. package/dist/cjs/src/btcturk.js +10 -10
  36. package/dist/cjs/src/bullish.js +27 -27
  37. package/dist/cjs/src/bybit.js +69 -67
  38. package/dist/cjs/src/bydfi.js +2907 -0
  39. package/dist/cjs/src/cex.js +18 -18
  40. package/dist/cjs/src/coinbase.js +74 -41
  41. package/dist/cjs/src/coinbaseexchange.js +22 -22
  42. package/dist/cjs/src/coinbaseinternational.js +22 -22
  43. package/dist/cjs/src/coincatch.js +39 -39
  44. package/dist/cjs/src/coincheck.js +11 -11
  45. package/dist/cjs/src/coinex.js +48 -48
  46. package/dist/cjs/src/coinmate.js +14 -14
  47. package/dist/cjs/src/coinmetro.js +14 -14
  48. package/dist/cjs/src/coinone.js +11 -11
  49. package/dist/cjs/src/coinsph.js +20 -20
  50. package/dist/cjs/src/coinspot.js +8 -8
  51. package/dist/cjs/src/cryptocom.js +32 -32
  52. package/dist/cjs/src/cryptomus.js +9 -9
  53. package/dist/cjs/src/deepcoin.js +33 -33
  54. package/dist/cjs/src/defx.js +23 -23
  55. package/dist/cjs/src/delta.js +29 -29
  56. package/dist/cjs/src/deribit.js +36 -36
  57. package/dist/cjs/src/derive.js +19 -19
  58. package/dist/cjs/src/digifinex.js +36 -36
  59. package/dist/cjs/src/dydx.js +25 -25
  60. package/dist/cjs/src/exmo.js +29 -29
  61. package/dist/cjs/src/foxbit.js +23 -23
  62. package/dist/cjs/src/gate.js +60 -59
  63. package/dist/cjs/src/gemini.js +16 -16
  64. package/dist/cjs/src/hashkey.js +35 -35
  65. package/dist/cjs/src/hibachi.js +24 -24
  66. package/dist/cjs/src/hitbtc.js +38 -38
  67. package/dist/cjs/src/hollaex.js +22 -22
  68. package/dist/cjs/src/htx.js +50 -50
  69. package/dist/cjs/src/hyperliquid.js +86 -45
  70. package/dist/cjs/src/independentreserve.js +13 -13
  71. package/dist/cjs/src/indodax.js +14 -14
  72. package/dist/cjs/src/kraken.js +30 -30
  73. package/dist/cjs/src/krakenfutures.js +21 -21
  74. package/dist/cjs/src/kucoin.js +156 -48
  75. package/dist/cjs/src/kucoinfutures.js +42 -40
  76. package/dist/cjs/src/latoken.js +16 -16
  77. package/dist/cjs/src/lbank.js +23 -23
  78. package/dist/cjs/src/luno.js +17 -17
  79. package/dist/cjs/src/mercado.js +11 -11
  80. package/dist/cjs/src/mexc.js +47 -47
  81. package/dist/cjs/src/modetrade.js +37 -35
  82. package/dist/cjs/src/ndax.js +19 -19
  83. package/dist/cjs/src/novadax.js +19 -19
  84. package/dist/cjs/src/oceanex.js +16 -16
  85. package/dist/cjs/src/okx.js +83 -83
  86. package/dist/cjs/src/onetrading.js +34 -33
  87. package/dist/cjs/src/oxfun.js +25 -25
  88. package/dist/cjs/src/p2b.js +11 -11
  89. package/dist/cjs/src/paradex.js +54 -54
  90. package/dist/cjs/src/paymium.js +20 -21
  91. package/dist/cjs/src/phemex.js +35 -35
  92. package/dist/cjs/src/poloniex.js +27 -27
  93. package/dist/cjs/src/pro/alpaca.js +5 -5
  94. package/dist/cjs/src/pro/apex.js +13 -11
  95. package/dist/cjs/src/pro/arkham.js +5 -5
  96. package/dist/cjs/src/pro/ascendex.js +5 -5
  97. package/dist/cjs/src/pro/backpack.js +16 -16
  98. package/dist/cjs/src/pro/binance.js +45 -41
  99. package/dist/cjs/src/pro/bingx.js +14 -12
  100. package/dist/cjs/src/pro/bitfinex.js +8 -8
  101. package/dist/cjs/src/pro/bitget.js +12 -12
  102. package/dist/cjs/src/pro/bithumb.js +3 -3
  103. package/dist/cjs/src/pro/bitmart.js +393 -34
  104. package/dist/cjs/src/pro/bitmex.js +9 -9
  105. package/dist/cjs/src/pro/bitopro.js +5 -5
  106. package/dist/cjs/src/pro/bitrue.js +2 -2
  107. package/dist/cjs/src/pro/bitstamp.js +3 -3
  108. package/dist/cjs/src/pro/bittrade.js +3 -3
  109. package/dist/cjs/src/pro/bitvavo.js +19 -19
  110. package/dist/cjs/src/pro/blockchaincom.js +5 -5
  111. package/dist/cjs/src/pro/blofin.js +10 -10
  112. package/dist/cjs/src/pro/bullish.js +6 -6
  113. package/dist/cjs/src/pro/bybit.js +24 -22
  114. package/dist/cjs/src/pro/bydfi.js +1077 -0
  115. package/dist/cjs/src/pro/cex.js +13 -13
  116. package/dist/cjs/src/pro/coinbase.js +13 -13
  117. package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
  118. package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
  119. package/dist/cjs/src/pro/coincatch.js +10 -10
  120. package/dist/cjs/src/pro/coincheck.js +2 -2
  121. package/dist/cjs/src/pro/coinex.js +10 -10
  122. package/dist/cjs/src/pro/coinone.js +3 -3
  123. package/dist/cjs/src/pro/cryptocom.js +25 -23
  124. package/dist/cjs/src/pro/deepcoin.js +8 -8
  125. package/dist/cjs/src/pro/defx.js +15 -15
  126. package/dist/cjs/src/pro/deribit.js +10 -10
  127. package/dist/cjs/src/pro/derive.js +6 -6
  128. package/dist/cjs/src/pro/dydx.js +3 -3
  129. package/dist/cjs/src/pro/exmo.js +7 -7
  130. package/dist/cjs/src/pro/gate.js +26 -62
  131. package/dist/cjs/src/pro/gemini.js +6 -6
  132. package/dist/cjs/src/pro/hashkey.js +11 -9
  133. package/dist/cjs/src/pro/hitbtc.js +8 -8
  134. package/dist/cjs/src/pro/hollaex.js +5 -5
  135. package/dist/cjs/src/pro/htx.js +9 -9
  136. package/dist/cjs/src/pro/hyperliquid.js +103 -14
  137. package/dist/cjs/src/pro/independentreserve.js +2 -2
  138. package/dist/cjs/src/pro/kraken.js +15 -15
  139. package/dist/cjs/src/pro/krakenfutures.js +10 -10
  140. package/dist/cjs/src/pro/kucoin.js +15 -15
  141. package/dist/cjs/src/pro/kucoinfutures.js +18 -16
  142. package/dist/cjs/src/pro/lbank.js +5 -5
  143. package/dist/cjs/src/pro/luno.js +2 -2
  144. package/dist/cjs/src/pro/mexc.js +13 -13
  145. package/dist/cjs/src/pro/modetrade.js +13 -11
  146. package/dist/cjs/src/pro/ndax.js +3 -3
  147. package/dist/cjs/src/pro/okx.js +25 -25
  148. package/dist/cjs/src/pro/onetrading.js +6 -6
  149. package/dist/cjs/src/pro/oxfun.js +13 -13
  150. package/dist/cjs/src/pro/p2b.js +5 -5
  151. package/dist/cjs/src/pro/paradex.js +8 -8
  152. package/dist/cjs/src/pro/phemex.js +7 -7
  153. package/dist/cjs/src/pro/poloniex.js +8 -8
  154. package/dist/cjs/src/pro/probit.js +6 -6
  155. package/dist/cjs/src/pro/toobit.js +20 -16
  156. package/dist/cjs/src/pro/upbit.js +9 -9
  157. package/dist/cjs/src/pro/whitebit.js +7 -7
  158. package/dist/cjs/src/pro/woo.js +18 -16
  159. package/dist/cjs/src/pro/woofipro.js +25 -23
  160. package/dist/cjs/src/pro/xt.js +7 -5
  161. package/dist/cjs/src/probit.js +18 -18
  162. package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
  163. package/dist/cjs/src/timex.js +16 -16
  164. package/dist/cjs/src/tokocrypto.js +17 -17
  165. package/dist/cjs/src/toobit.js +33 -30
  166. package/dist/cjs/src/upbit.js +23 -23
  167. package/dist/cjs/src/wavesexchange.js +86 -85
  168. package/dist/cjs/src/whitebit.js +44 -44
  169. package/dist/cjs/src/woo.js +51 -49
  170. package/dist/cjs/src/woofipro.js +104 -82
  171. package/dist/cjs/src/xt.js +17 -12
  172. package/dist/cjs/src/yobit.js +15 -15
  173. package/dist/cjs/src/zaif.js +38 -9
  174. package/dist/cjs/src/zebpay.js +35 -20
  175. package/dist/cjs/src/zonda.js +14 -14
  176. package/js/ccxt.d.ts +8 -2
  177. package/js/ccxt.js +6 -2
  178. package/js/src/abstract/bydfi.d.ts +52 -0
  179. package/js/src/abstract/bydfi.js +11 -0
  180. package/js/src/alpaca.d.ts +21 -21
  181. package/js/src/alpaca.js +21 -21
  182. package/js/src/apex.d.ts +20 -20
  183. package/js/src/apex.js +20 -20
  184. package/js/src/arkham.d.ts +22 -22
  185. package/js/src/arkham.js +22 -22
  186. package/js/src/ascendex.d.ts +28 -28
  187. package/js/src/ascendex.js +28 -28
  188. package/js/src/backpack.d.ts +21 -21
  189. package/js/src/backpack.js +22 -22
  190. package/js/src/base/Exchange.d.ts +6 -3
  191. package/js/src/base/Exchange.js +48 -38
  192. package/js/src/base/functions/throttle.d.ts +22 -0
  193. package/js/src/base/functions/throttle.js +54 -5
  194. package/js/src/bigone.d.ts +19 -19
  195. package/js/src/bigone.js +19 -19
  196. package/js/src/binance.d.ts +82 -82
  197. package/js/src/binance.js +83 -82
  198. package/js/src/bingx.d.ts +46 -46
  199. package/js/src/bingx.js +47 -47
  200. package/js/src/bit2c.d.ts +11 -11
  201. package/js/src/bit2c.js +11 -11
  202. package/js/src/bitbank.d.ts +12 -12
  203. package/js/src/bitbank.js +49 -48
  204. package/js/src/bitbns.d.ts +13 -13
  205. package/js/src/bitbns.js +13 -13
  206. package/js/src/bitfinex.d.ts +33 -33
  207. package/js/src/bitfinex.js +33 -33
  208. package/js/src/bitflyer.d.ts +17 -17
  209. package/js/src/bitflyer.js +17 -17
  210. package/js/src/bitget.d.ts +57 -57
  211. package/js/src/bitget.js +58 -57
  212. package/js/src/bithumb.d.ts +10 -10
  213. package/js/src/bithumb.js +10 -10
  214. package/js/src/bitmart.d.ts +42 -42
  215. package/js/src/bitmart.js +44 -44
  216. package/js/src/bitmex.d.ts +24 -24
  217. package/js/src/bitmex.js +24 -24
  218. package/js/src/bitopro.d.ts +20 -20
  219. package/js/src/bitopro.js +20 -20
  220. package/js/src/bitrue.d.ts +18 -18
  221. package/js/src/bitrue.js +18 -18
  222. package/js/src/bitso.d.ts +20 -20
  223. package/js/src/bitso.js +20 -20
  224. package/js/src/bitstamp.d.ts +21 -21
  225. package/js/src/bitstamp.js +21 -21
  226. package/js/src/bittrade.d.ts +20 -20
  227. package/js/src/bittrade.js +20 -20
  228. package/js/src/bitvavo.d.ts +19 -19
  229. package/js/src/bitvavo.js +19 -19
  230. package/js/src/blockchaincom.d.ts +20 -20
  231. package/js/src/blockchaincom.js +20 -20
  232. package/js/src/blofin.d.ts +26 -26
  233. package/js/src/blofin.js +26 -26
  234. package/js/src/btcalpha.d.ts +14 -14
  235. package/js/src/btcalpha.js +35 -34
  236. package/js/src/btcbox.d.ts +10 -10
  237. package/js/src/btcbox.js +10 -10
  238. package/js/src/btcmarkets.d.ts +16 -16
  239. package/js/src/btcmarkets.js +16 -16
  240. package/js/src/btcturk.d.ts +10 -10
  241. package/js/src/btcturk.js +10 -10
  242. package/js/src/bullish.d.ts +26 -26
  243. package/js/src/bullish.js +27 -27
  244. package/js/src/bybit.d.ts +66 -66
  245. package/js/src/bybit.js +69 -67
  246. package/js/src/bydfi.d.ts +472 -0
  247. package/js/src/bydfi.js +2905 -0
  248. package/js/src/cex.d.ts +18 -18
  249. package/js/src/cex.js +18 -18
  250. package/js/src/coinbase.d.ts +51 -40
  251. package/js/src/coinbase.js +74 -41
  252. package/js/src/coinbaseexchange.d.ts +22 -22
  253. package/js/src/coinbaseexchange.js +22 -22
  254. package/js/src/coinbaseinternational.d.ts +22 -22
  255. package/js/src/coinbaseinternational.js +22 -22
  256. package/js/src/coincatch.d.ts +39 -39
  257. package/js/src/coincatch.js +39 -39
  258. package/js/src/coincheck.d.ts +11 -11
  259. package/js/src/coincheck.js +11 -11
  260. package/js/src/coinex.d.ts +48 -48
  261. package/js/src/coinex.js +48 -48
  262. package/js/src/coinmate.d.ts +14 -14
  263. package/js/src/coinmate.js +14 -14
  264. package/js/src/coinmetro.d.ts +14 -14
  265. package/js/src/coinmetro.js +14 -14
  266. package/js/src/coinone.d.ts +11 -11
  267. package/js/src/coinone.js +11 -11
  268. package/js/src/coinsph.d.ts +20 -20
  269. package/js/src/coinsph.js +20 -20
  270. package/js/src/coinspot.d.ts +8 -8
  271. package/js/src/coinspot.js +8 -8
  272. package/js/src/cryptocom.d.ts +32 -32
  273. package/js/src/cryptocom.js +32 -32
  274. package/js/src/cryptomus.d.ts +9 -9
  275. package/js/src/cryptomus.js +9 -9
  276. package/js/src/deepcoin.d.ts +33 -33
  277. package/js/src/deepcoin.js +33 -33
  278. package/js/src/defx.d.ts +23 -23
  279. package/js/src/defx.js +23 -23
  280. package/js/src/delta.d.ts +29 -29
  281. package/js/src/delta.js +29 -29
  282. package/js/src/deribit.d.ts +36 -36
  283. package/js/src/deribit.js +36 -36
  284. package/js/src/derive.d.ts +19 -19
  285. package/js/src/derive.js +19 -19
  286. package/js/src/digifinex.d.ts +36 -36
  287. package/js/src/digifinex.js +36 -36
  288. package/js/src/dydx.d.ts +22 -22
  289. package/js/src/dydx.js +25 -25
  290. package/js/src/exmo.d.ts +29 -29
  291. package/js/src/exmo.js +29 -29
  292. package/js/src/foxbit.d.ts +23 -23
  293. package/js/src/foxbit.js +23 -23
  294. package/js/src/gate.d.ts +57 -57
  295. package/js/src/gate.js +60 -59
  296. package/js/src/gemini.d.ts +16 -16
  297. package/js/src/gemini.js +16 -16
  298. package/js/src/hashkey.d.ts +35 -35
  299. package/js/src/hashkey.js +35 -35
  300. package/js/src/hibachi.d.ts +24 -24
  301. package/js/src/hibachi.js +24 -24
  302. package/js/src/hitbtc.d.ts +38 -38
  303. package/js/src/hitbtc.js +38 -38
  304. package/js/src/hollaex.d.ts +22 -22
  305. package/js/src/hollaex.js +22 -22
  306. package/js/src/htx.d.ts +50 -50
  307. package/js/src/htx.js +50 -50
  308. package/js/src/hyperliquid.d.ts +46 -36
  309. package/js/src/hyperliquid.js +86 -45
  310. package/js/src/independentreserve.d.ts +13 -13
  311. package/js/src/independentreserve.js +13 -13
  312. package/js/src/indodax.d.ts +14 -14
  313. package/js/src/indodax.js +14 -14
  314. package/js/src/kraken.d.ts +30 -30
  315. package/js/src/kraken.js +30 -30
  316. package/js/src/krakenfutures.d.ts +21 -21
  317. package/js/src/krakenfutures.js +21 -21
  318. package/js/src/kucoin.d.ts +58 -44
  319. package/js/src/kucoin.js +156 -48
  320. package/js/src/kucoinfutures.d.ts +35 -35
  321. package/js/src/kucoinfutures.js +42 -40
  322. package/js/src/latoken.d.ts +16 -16
  323. package/js/src/latoken.js +16 -16
  324. package/js/src/lbank.d.ts +23 -23
  325. package/js/src/lbank.js +23 -23
  326. package/js/src/luno.d.ts +17 -17
  327. package/js/src/luno.js +17 -17
  328. package/js/src/mercado.d.ts +11 -11
  329. package/js/src/mercado.js +11 -11
  330. package/js/src/mexc.d.ts +47 -47
  331. package/js/src/mexc.js +47 -47
  332. package/js/src/modetrade.d.ts +31 -31
  333. package/js/src/modetrade.js +37 -35
  334. package/js/src/ndax.d.ts +19 -19
  335. package/js/src/ndax.js +19 -19
  336. package/js/src/novadax.d.ts +19 -19
  337. package/js/src/novadax.js +19 -19
  338. package/js/src/oceanex.d.ts +16 -16
  339. package/js/src/oceanex.js +16 -16
  340. package/js/src/okx.d.ts +74 -74
  341. package/js/src/okx.js +83 -83
  342. package/js/src/onetrading.d.ts +34 -33
  343. package/js/src/onetrading.js +34 -33
  344. package/js/src/oxfun.d.ts +25 -25
  345. package/js/src/oxfun.js +25 -25
  346. package/js/src/p2b.d.ts +11 -11
  347. package/js/src/p2b.js +11 -11
  348. package/js/src/paradex.d.ts +54 -54
  349. package/js/src/paradex.js +54 -54
  350. package/js/src/paymium.d.ts +20 -21
  351. package/js/src/paymium.js +20 -21
  352. package/js/src/phemex.d.ts +30 -30
  353. package/js/src/phemex.js +35 -35
  354. package/js/src/poloniex.d.ts +26 -26
  355. package/js/src/poloniex.js +27 -27
  356. package/js/src/pro/alpaca.d.ts +5 -5
  357. package/js/src/pro/alpaca.js +5 -5
  358. package/js/src/pro/apex.d.ts +8 -8
  359. package/js/src/pro/apex.js +13 -11
  360. package/js/src/pro/arkham.d.ts +5 -5
  361. package/js/src/pro/arkham.js +5 -5
  362. package/js/src/pro/ascendex.d.ts +5 -5
  363. package/js/src/pro/ascendex.js +5 -5
  364. package/js/src/pro/backpack.d.ts +16 -16
  365. package/js/src/pro/backpack.js +16 -16
  366. package/js/src/pro/binance.d.ts +35 -35
  367. package/js/src/pro/binance.js +45 -41
  368. package/js/src/pro/bingx.d.ts +9 -9
  369. package/js/src/pro/bingx.js +14 -12
  370. package/js/src/pro/bitfinex.d.ts +8 -8
  371. package/js/src/pro/bitfinex.js +8 -8
  372. package/js/src/pro/bitget.d.ts +12 -12
  373. package/js/src/pro/bitget.js +12 -12
  374. package/js/src/pro/bithumb.d.ts +3 -3
  375. package/js/src/pro/bithumb.js +3 -3
  376. package/js/src/pro/bitmart.d.ts +120 -9
  377. package/js/src/pro/bitmart.js +393 -34
  378. package/js/src/pro/bitmex.d.ts +9 -9
  379. package/js/src/pro/bitmex.js +9 -9
  380. package/js/src/pro/bitopro.d.ts +5 -5
  381. package/js/src/pro/bitopro.js +5 -5
  382. package/js/src/pro/bitrue.d.ts +2 -2
  383. package/js/src/pro/bitrue.js +2 -2
  384. package/js/src/pro/bitstamp.d.ts +3 -3
  385. package/js/src/pro/bitstamp.js +3 -3
  386. package/js/src/pro/bittrade.d.ts +3 -3
  387. package/js/src/pro/bittrade.js +3 -3
  388. package/js/src/pro/bitvavo.d.ts +19 -19
  389. package/js/src/pro/bitvavo.js +19 -19
  390. package/js/src/pro/blockchaincom.d.ts +5 -5
  391. package/js/src/pro/blockchaincom.js +5 -5
  392. package/js/src/pro/blofin.d.ts +10 -10
  393. package/js/src/pro/blofin.js +10 -10
  394. package/js/src/pro/bullish.d.ts +6 -6
  395. package/js/src/pro/bullish.js +6 -6
  396. package/js/src/pro/bybit.d.ts +19 -19
  397. package/js/src/pro/bybit.js +24 -22
  398. package/js/src/pro/bydfi.d.ts +206 -0
  399. package/js/src/pro/bydfi.js +1076 -0
  400. package/js/src/pro/cex.d.ts +13 -13
  401. package/js/src/pro/cex.js +13 -13
  402. package/js/src/pro/coinbase.d.ts +13 -13
  403. package/js/src/pro/coinbase.js +13 -13
  404. package/js/src/pro/coinbaseexchange.d.ts +10 -10
  405. package/js/src/pro/coinbaseexchange.js +10 -10
  406. package/js/src/pro/coinbaseinternational.d.ts +8 -8
  407. package/js/src/pro/coinbaseinternational.js +8 -8
  408. package/js/src/pro/coincatch.d.ts +10 -10
  409. package/js/src/pro/coincatch.js +10 -10
  410. package/js/src/pro/coincheck.d.ts +2 -2
  411. package/js/src/pro/coincheck.js +2 -2
  412. package/js/src/pro/coinex.d.ts +10 -10
  413. package/js/src/pro/coinex.js +10 -10
  414. package/js/src/pro/coinone.d.ts +3 -3
  415. package/js/src/pro/coinone.js +3 -3
  416. package/js/src/pro/cryptocom.d.ts +20 -20
  417. package/js/src/pro/cryptocom.js +25 -23
  418. package/js/src/pro/deepcoin.d.ts +8 -8
  419. package/js/src/pro/deepcoin.js +8 -8
  420. package/js/src/pro/defx.d.ts +15 -15
  421. package/js/src/pro/defx.js +15 -15
  422. package/js/src/pro/deribit.d.ts +10 -10
  423. package/js/src/pro/deribit.js +10 -10
  424. package/js/src/pro/derive.d.ts +6 -6
  425. package/js/src/pro/derive.js +6 -6
  426. package/js/src/pro/dydx.d.ts +3 -3
  427. package/js/src/pro/dydx.js +3 -3
  428. package/js/src/pro/exmo.d.ts +7 -7
  429. package/js/src/pro/exmo.js +7 -7
  430. package/js/src/pro/gate.d.ts +22 -23
  431. package/js/src/pro/gate.js +26 -62
  432. package/js/src/pro/gemini.d.ts +6 -6
  433. package/js/src/pro/gemini.js +6 -6
  434. package/js/src/pro/hashkey.d.ts +6 -6
  435. package/js/src/pro/hashkey.js +11 -9
  436. package/js/src/pro/hitbtc.d.ts +8 -8
  437. package/js/src/pro/hitbtc.js +8 -8
  438. package/js/src/pro/hollaex.d.ts +5 -5
  439. package/js/src/pro/hollaex.js +5 -5
  440. package/js/src/pro/htx.d.ts +9 -9
  441. package/js/src/pro/htx.js +9 -9
  442. package/js/src/pro/hyperliquid.d.ts +38 -14
  443. package/js/src/pro/hyperliquid.js +103 -14
  444. package/js/src/pro/independentreserve.d.ts +2 -2
  445. package/js/src/pro/independentreserve.js +2 -2
  446. package/js/src/pro/kraken.d.ts +15 -15
  447. package/js/src/pro/kraken.js +15 -15
  448. package/js/src/pro/krakenfutures.d.ts +10 -10
  449. package/js/src/pro/krakenfutures.js +10 -10
  450. package/js/src/pro/kucoin.d.ts +15 -15
  451. package/js/src/pro/kucoin.js +15 -15
  452. package/js/src/pro/kucoinfutures.d.ts +13 -13
  453. package/js/src/pro/kucoinfutures.js +18 -16
  454. package/js/src/pro/lbank.d.ts +5 -5
  455. package/js/src/pro/lbank.js +5 -5
  456. package/js/src/pro/luno.d.ts +2 -2
  457. package/js/src/pro/luno.js +2 -2
  458. package/js/src/pro/mexc.d.ts +13 -13
  459. package/js/src/pro/mexc.js +13 -13
  460. package/js/src/pro/modetrade.d.ts +8 -8
  461. package/js/src/pro/modetrade.js +13 -11
  462. package/js/src/pro/ndax.d.ts +3 -3
  463. package/js/src/pro/ndax.js +3 -3
  464. package/js/src/pro/okx.d.ts +25 -25
  465. package/js/src/pro/okx.js +25 -25
  466. package/js/src/pro/onetrading.d.ts +6 -6
  467. package/js/src/pro/onetrading.js +6 -6
  468. package/js/src/pro/oxfun.d.ts +13 -13
  469. package/js/src/pro/oxfun.js +13 -13
  470. package/js/src/pro/p2b.d.ts +5 -5
  471. package/js/src/pro/p2b.js +5 -5
  472. package/js/src/pro/paradex.d.ts +8 -8
  473. package/js/src/pro/paradex.js +8 -8
  474. package/js/src/pro/phemex.d.ts +7 -7
  475. package/js/src/pro/phemex.js +7 -7
  476. package/js/src/pro/poloniex.d.ts +8 -8
  477. package/js/src/pro/poloniex.js +8 -8
  478. package/js/src/pro/probit.d.ts +6 -6
  479. package/js/src/pro/probit.js +6 -6
  480. package/js/src/pro/toobit.d.ts +9 -9
  481. package/js/src/pro/toobit.js +20 -16
  482. package/js/src/pro/upbit.d.ts +9 -9
  483. package/js/src/pro/upbit.js +9 -9
  484. package/js/src/pro/whitebit.d.ts +7 -7
  485. package/js/src/pro/whitebit.js +7 -7
  486. package/js/src/pro/woo.d.ts +13 -13
  487. package/js/src/pro/woo.js +18 -16
  488. package/js/src/pro/woofipro.d.ts +20 -20
  489. package/js/src/pro/woofipro.js +25 -23
  490. package/js/src/pro/xt.d.ts +2 -2
  491. package/js/src/pro/xt.js +7 -5
  492. package/js/src/probit.d.ts +18 -18
  493. package/js/src/probit.js +18 -18
  494. package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
  495. package/js/src/static_dependencies/ethers/utils/index.js +8 -1
  496. package/js/src/timex.d.ts +16 -16
  497. package/js/src/timex.js +16 -16
  498. package/js/src/tokocrypto.d.ts +17 -17
  499. package/js/src/tokocrypto.js +17 -17
  500. package/js/src/toobit.d.ts +27 -27
  501. package/js/src/toobit.js +33 -30
  502. package/js/src/upbit.d.ts +23 -23
  503. package/js/src/upbit.js +23 -23
  504. package/js/src/wavesexchange.d.ts +15 -15
  505. package/js/src/wavesexchange.js +86 -85
  506. package/js/src/whitebit.d.ts +44 -44
  507. package/js/src/whitebit.js +44 -44
  508. package/js/src/woo.d.ts +45 -45
  509. package/js/src/woo.js +51 -49
  510. package/js/src/woofipro.d.ts +77 -77
  511. package/js/src/woofipro.js +104 -82
  512. package/js/src/xt.d.ts +12 -12
  513. package/js/src/xt.js +17 -12
  514. package/js/src/yobit.d.ts +15 -15
  515. package/js/src/yobit.js +15 -15
  516. package/js/src/zaif.d.ts +9 -9
  517. package/js/src/zaif.js +38 -9
  518. package/js/src/zebpay.d.ts +20 -20
  519. package/js/src/zebpay.js +35 -20
  520. package/js/src/zonda.d.ts +14 -14
  521. package/js/src/zonda.js +14 -14
  522. package/package.json +1 -1
package/js/src/pro/okx.js CHANGED
@@ -177,7 +177,7 @@ export default class okx extends okxRest {
177
177
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
178
178
  * @param {int} [limit] the maximum amount of trades to fetch
179
179
  * @param {object} [params] extra parameters specific to the exchange API endpoint
180
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
180
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
181
181
  */
182
182
  async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
183
183
  return await this.watchTradesForSymbols([symbol], since, limit, params);
@@ -193,7 +193,7 @@ export default class okx extends okxRest {
193
193
  * @param {int} [limit] the maximum amount of trades to fetch
194
194
  * @param {object} [params] extra parameters specific to the exchange API endpoint
195
195
  * @param {string} [params.channel] the channel to subscribe to, trades by default. Can be 'trades' and 'trades-all'
196
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
196
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
197
197
  */
198
198
  async watchTradesForSymbols(symbols, since = undefined, limit = undefined, params = {}) {
199
199
  const symbolsLength = symbols.length;
@@ -241,7 +241,7 @@ export default class okx extends okxRest {
241
241
  * @param {string[]} symbols
242
242
  * @param {object} [params] extra parameters specific to the exchange API endpoint
243
243
  * @param {string} [params.channel] the channel to subscribe to, trades by default. Can be trades, trades-all
244
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
244
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
245
245
  */
246
246
  async unWatchTradesForSymbols(symbols, params = {}) {
247
247
  await this.loadMarkets();
@@ -278,7 +278,7 @@ export default class okx extends okxRest {
278
278
  * @description unWatches from the stream channel
279
279
  * @param {string} symbol unified symbol of the market to fetch trades for
280
280
  * @param {object} [params] extra parameters specific to the exchange API endpoint
281
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
281
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
282
282
  */
283
283
  async unWatchTrades(symbol, params = {}) {
284
284
  return await this.unWatchTradesForSymbols([symbol], params);
@@ -341,7 +341,7 @@ export default class okx extends okxRest {
341
341
  * @see https://www.okx.com/docs-v5/en/#public-data-websocket-funding-rate-channel
342
342
  * @param {string} symbol unified market symbol
343
343
  * @param {object} [params] extra parameters specific to the exchange API endpoint
344
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
344
+ * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
345
345
  */
346
346
  async watchFundingRate(symbol, params = {}) {
347
347
  symbol = this.symbol(symbol);
@@ -355,7 +355,7 @@ export default class okx extends okxRest {
355
355
  * @see https://www.okx.com/docs-v5/en/#public-data-websocket-funding-rate-channel
356
356
  * @param {string[]} symbols list of unified market symbols
357
357
  * @param {object} [params] extra parameters specific to the exchange API endpoint
358
- * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
358
+ * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/?id=funding-rates-structure}, indexe by market symbols
359
359
  */
360
360
  async watchFundingRates(symbols, params = {}) {
361
361
  await this.loadMarkets();
@@ -424,7 +424,7 @@ export default class okx extends okxRest {
424
424
  * @param {string} symbol unified symbol of the market to fetch the ticker for
425
425
  * @param {object} [params] extra parameters specific to the exchange API endpoint
426
426
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
427
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
427
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
428
428
  */
429
429
  async watchTicker(symbol, params = {}) {
430
430
  let channel = undefined;
@@ -443,7 +443,7 @@ export default class okx extends okxRest {
443
443
  * @param {string} symbol unified symbol of the market to fetch the ticker for
444
444
  * @param {object} [params] extra parameters specific to the exchange API endpoint
445
445
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
446
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
446
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
447
447
  */
448
448
  async unWatchTicker(symbol, params = {}) {
449
449
  return await this.unWatchTickers([symbol], params);
@@ -456,7 +456,7 @@ export default class okx extends okxRest {
456
456
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
457
457
  * @param {object} [params] extra parameters specific to the exchange API endpoint
458
458
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
459
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
459
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
460
460
  */
461
461
  async watchTickers(symbols = undefined, params = {}) {
462
462
  await this.loadMarkets();
@@ -477,7 +477,7 @@ export default class okx extends okxRest {
477
477
  * @param {string} symbol unified symbol of the market to fetch the ticker for
478
478
  * @param {object} [params] extra parameters specific to the exchange API endpoint
479
479
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
480
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
480
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
481
481
  */
482
482
  async watchMarkPrice(symbol, params = {}) {
483
483
  let channel = undefined;
@@ -496,7 +496,7 @@ export default class okx extends okxRest {
496
496
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
497
497
  * @param {object} [params] extra parameters specific to the exchange API endpoint
498
498
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
499
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
499
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
500
500
  */
501
501
  async watchMarkPrices(symbols = undefined, params = {}) {
502
502
  await this.loadMarkets();
@@ -517,7 +517,7 @@ export default class okx extends okxRest {
517
517
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
518
518
  * @param {object} [params] extra parameters specific to the exchange API endpoint
519
519
  * @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
520
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
520
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
521
521
  */
522
522
  async unWatchTickers(symbols = undefined, params = {}) {
523
523
  await this.loadMarkets();
@@ -592,7 +592,7 @@ export default class okx extends okxRest {
592
592
  * @description watches best bid & ask for symbols
593
593
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
594
594
  * @param {object} [params] extra parameters specific to the exchange API endpoint
595
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
595
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
596
596
  */
597
597
  async watchBidsAsks(symbols = undefined, params = {}) {
598
598
  await this.loadMarkets();
@@ -1123,7 +1123,7 @@ export default class okx extends okxRest {
1123
1123
  * @param {int} [limit] the maximum amount of order book entries to return
1124
1124
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1125
1125
  * @param {string} [params.depth] okx order book depth, can be books, books5, books-l2-tbt, books50-l2-tbt, bbo-tbt
1126
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1126
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
1127
1127
  */
1128
1128
  async watchOrderBook(symbol, limit = undefined, params = {}) {
1129
1129
  //
@@ -1160,7 +1160,7 @@ export default class okx extends okxRest {
1160
1160
  * @param {int} [limit] 1,5, 400, 50 (l2-tbt, vip4+) or 40000 (vip5+) the maximum amount of order book entries to return
1161
1161
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1162
1162
  * @param {string} [params.depth] okx order book depth, can be books, books5, books-l2-tbt, books50-l2-tbt, bbo-tbt
1163
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1163
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
1164
1164
  */
1165
1165
  async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
1166
1166
  await this.loadMarkets();
@@ -1216,7 +1216,7 @@ export default class okx extends okxRest {
1216
1216
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1217
1217
  * @param {int} [params.limit] the maximum amount of order book entries to return
1218
1218
  * @param {string} [params.depth] okx order book depth, can be books, books5, books-l2-tbt, books50-l2-tbt, bbo-tbt
1219
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1219
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
1220
1220
  */
1221
1221
  async unWatchOrderBookForSymbols(symbols, params = {}) {
1222
1222
  await this.loadMarkets();
@@ -1268,7 +1268,7 @@ export default class okx extends okxRest {
1268
1268
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1269
1269
  * @param {int} [params.limit] the maximum amount of order book entries to return
1270
1270
  * @param {string} [params.depth] okx order book depth, can be books, books5, books-l2-tbt, books50-l2-tbt, bbo-tbt
1271
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1271
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
1272
1272
  */
1273
1273
  async unWatchOrderBook(symbol, params = {}) {
1274
1274
  return await this.unWatchOrderBookForSymbols([symbol], params);
@@ -1538,7 +1538,7 @@ export default class okx extends okxRest {
1538
1538
  * @name okx#watchBalance
1539
1539
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1540
1540
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1541
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1541
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
1542
1542
  */
1543
1543
  async watchBalance(params = {}) {
1544
1544
  await this.loadMarkets();
@@ -1637,7 +1637,7 @@ export default class okx extends okxRest {
1637
1637
  * @param {bool} [params.trigger] true if fetching trigger or conditional trades
1638
1638
  * @param {string} [params.type] 'spot', 'swap', 'future', 'option', 'ANY', 'SPOT', 'MARGIN', 'SWAP', 'FUTURES' or 'OPTION'
1639
1639
  * @param {string} [params.marginMode] 'cross' or 'isolated', for automatically setting the type to spot margin
1640
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1640
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
1641
1641
  */
1642
1642
  async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1643
1643
  // By default, receive order updates from any instrument type
@@ -1826,7 +1826,7 @@ export default class okx extends okxRest {
1826
1826
  * @param {bool} [params.trigger] true if fetching trigger or conditional orders
1827
1827
  * @param {string} [params.type] 'spot', 'swap', 'future', 'option', 'ANY', 'SPOT', 'MARGIN', 'SWAP', 'FUTURES' or 'OPTION'
1828
1828
  * @param {string} [params.marginMode] 'cross' or 'isolated', for automatically setting the type to spot margin
1829
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1829
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1830
1830
  */
1831
1831
  async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1832
1832
  let type = undefined;
@@ -2057,7 +2057,7 @@ export default class okx extends okxRest {
2057
2057
  * @param {float|undefined} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2058
2058
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2059
2059
  * @param {boolean} params.test test order, default false
2060
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2060
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
2061
2061
  */
2062
2062
  async createOrderWs(symbol, type, side, amount, price = undefined, params = {}) {
2063
2063
  await this.loadMarkets();
@@ -2127,7 +2127,7 @@ export default class okx extends okxRest {
2127
2127
  * @param {float} amount how much of the currency you want to trade in units of the base currency
2128
2128
  * @param {float|undefined} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2129
2129
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2130
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2130
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
2131
2131
  */
2132
2132
  async editOrderWs(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
2133
2133
  await this.loadMarkets();
@@ -2153,7 +2153,7 @@ export default class okx extends okxRest {
2153
2153
  * @param {string} symbol unified market symbol, default is undefined
2154
2154
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2155
2155
  * @param {string} [params.clOrdId] client order id
2156
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2156
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
2157
2157
  */
2158
2158
  async cancelOrderWs(id, symbol = undefined, params = {}) {
2159
2159
  if (symbol === undefined) {
@@ -2189,7 +2189,7 @@ export default class okx extends okxRest {
2189
2189
  * @param {string[]} ids order ids
2190
2190
  * @param {string} symbol unified market symbol, default is undefined
2191
2191
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2192
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2192
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
2193
2193
  */
2194
2194
  async cancelOrdersWs(ids, symbol = undefined, params = {}) {
2195
2195
  const idsLength = ids.length;
@@ -2225,7 +2225,7 @@ export default class okx extends okxRest {
2225
2225
  * @description cancel all open orders of a type. Only applicable to Option in Portfolio Margin mode, and MMP privilege is required.
2226
2226
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
2227
2227
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2228
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2228
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
2229
2229
  */
2230
2230
  async cancelAllOrdersWs(symbol = undefined, params = {}) {
2231
2231
  if (symbol === undefined) {
@@ -9,7 +9,7 @@ export default class onetrading extends onetradingRest {
9
9
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
10
10
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
11
11
  * @param {object} [params] extra parameters specific to the exchange API endpoint
12
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
12
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
13
13
  */
14
14
  watchBalance(params?: {}): Promise<Balances>;
15
15
  handleBalanceSnapshot(client: any, message: any): void;
@@ -20,7 +20,7 @@ export default class onetrading extends onetradingRest {
20
20
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
21
21
  * @param {string} symbol unified symbol of the market to fetch the ticker for
22
22
  * @param {object} [params] extra parameters specific to the exchange API endpoint
23
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
23
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
24
24
  */
25
25
  watchTicker(symbol: string, params?: {}): Promise<Ticker>;
26
26
  /**
@@ -30,7 +30,7 @@ export default class onetrading extends onetradingRest {
30
30
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
31
31
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
32
32
  * @param {object} [params] extra parameters specific to the exchange API endpoint
33
- * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
33
+ * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
34
34
  */
35
35
  watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
36
36
  handleTicker(client: Client, message: any): void;
@@ -44,7 +44,7 @@ export default class onetrading extends onetradingRest {
44
44
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
45
45
  * @param {int} [limit] the maximum amount of trades to fetch
46
46
  * @param {object} [params] extra parameters specific to the exchange API endpoint
47
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
47
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
48
48
  */
49
49
  watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
50
50
  /**
@@ -55,7 +55,7 @@ export default class onetrading extends onetradingRest {
55
55
  * @param {string} symbol unified symbol of the market to fetch the order book for
56
56
  * @param {int} [limit] the maximum amount of order book entries to return
57
57
  * @param {object} [params] extra parameters specific to the exchange API endpoint
58
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
58
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
59
59
  */
60
60
  watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
61
61
  handleOrderBook(client: Client, message: any): void;
@@ -71,7 +71,7 @@ export default class onetrading extends onetradingRest {
71
71
  * @param {int} [limit] the maximum number of order structures to retrieve
72
72
  * @param {object} [params] extra parameters specific to the exchange API endpoint
73
73
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
74
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
74
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
75
75
  */
76
76
  watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
77
77
  handleTrading(client: Client, message: any): void;
@@ -81,7 +81,7 @@ export default class onetrading extends onetradingRest {
81
81
  * @see https://developers.bitpanda.com/exchange/#account-history-channel
82
82
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
83
83
  * @param {object} [params] extra parameters specific to the exchange API endpoint
84
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
84
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
85
85
  */
86
86
  async watchBalance(params = {}) {
87
87
  await this.authenticate(params);
@@ -141,7 +141,7 @@ export default class onetrading extends onetradingRest {
141
141
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
142
142
  * @param {string} symbol unified symbol of the market to fetch the ticker for
143
143
  * @param {object} [params] extra parameters specific to the exchange API endpoint
144
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
144
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
145
145
  */
146
146
  async watchTicker(symbol, params = {}) {
147
147
  await this.loadMarkets();
@@ -167,7 +167,7 @@ export default class onetrading extends onetradingRest {
167
167
  * @description watches price tickers, a statistical calculation with the information for all markets or those specified.
168
168
  * @param {string} symbols unified symbols of the markets to fetch the ticker for
169
169
  * @param {object} [params] extra parameters specific to the exchange API endpoint
170
- * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
170
+ * @returns {object} an array of [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
171
171
  */
172
172
  async watchTickers(symbols = undefined, params = {}) {
173
173
  await this.loadMarkets();
@@ -265,7 +265,7 @@ export default class onetrading extends onetradingRest {
265
265
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
266
266
  * @param {int} [limit] the maximum amount of trades to fetch
267
267
  * @param {object} [params] extra parameters specific to the exchange API endpoint
268
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
268
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
269
269
  */
270
270
  async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
271
271
  await this.loadMarkets();
@@ -308,7 +308,7 @@ export default class onetrading extends onetradingRest {
308
308
  * @param {string} symbol unified symbol of the market to fetch the order book for
309
309
  * @param {int} [limit] the maximum amount of order book entries to return
310
310
  * @param {object} [params] extra parameters specific to the exchange API endpoint
311
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
311
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
312
312
  */
313
313
  async watchOrderBook(symbol, limit = undefined, params = {}) {
314
314
  await this.loadMarkets();
@@ -427,7 +427,7 @@ export default class onetrading extends onetradingRest {
427
427
  * @param {int} [limit] the maximum number of order structures to retrieve
428
428
  * @param {object} [params] extra parameters specific to the exchange API endpoint
429
429
  * @param {string} [params.channel] can listen to orders using ACCOUNT_HISTORY or TRADING
430
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
430
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
431
431
  */
432
432
  async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
433
433
  await this.loadMarkets();
@@ -14,7 +14,7 @@ export default class oxfun extends oxfunRest {
14
14
  * @param {int} [limit] the maximum number of trade structures to retrieve
15
15
  * @param {object} [params] extra parameters specific to the exchange API endpoint
16
16
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
17
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
17
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
18
18
  */
19
19
  watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
20
20
  /**
@@ -27,7 +27,7 @@ export default class oxfun extends oxfunRest {
27
27
  * @param {int} [limit] the maximum amount of trades to fetch
28
28
  * @param {object} [params] extra parameters specific to the exchange API endpoint
29
29
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
30
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
30
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
31
31
  */
32
32
  watchTradesForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
33
33
  handleTrades(client: Client, message: any): void;
@@ -70,7 +70,7 @@ export default class oxfun extends oxfunRest {
70
70
  * @param {string} symbol unified symbol of the market to fetch the order book for
71
71
  * @param {int} [limit] the maximum amount of order book entries to return
72
72
  * @param {object} [params] extra parameters specific to the exchange API endpoint
73
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
73
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
74
74
  */
75
75
  watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
76
76
  /**
@@ -83,7 +83,7 @@ export default class oxfun extends oxfunRest {
83
83
  * @param {int} [limit] the maximum amount of order book entries to return
84
84
  * @param {object} [params] extra parameters specific to the exchange API endpoint
85
85
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
86
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
86
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
87
87
  */
88
88
  watchOrderBookForSymbols(symbols: string[], limit?: Int, params?: {}): Promise<OrderBook>;
89
89
  handleOrderBook(client: Client, message: any): void;
@@ -95,7 +95,7 @@ export default class oxfun extends oxfunRest {
95
95
  * @param {string} symbol unified symbol of the market to fetch the ticker for
96
96
  * @param {object} [params] extra parameters specific to the exchange API endpoint
97
97
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
98
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
98
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
99
99
  */
100
100
  watchTicker(symbol: string, params?: {}): Promise<Ticker>;
101
101
  /**
@@ -106,7 +106,7 @@ export default class oxfun extends oxfunRest {
106
106
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
107
107
  * @param {object} [params] extra parameters specific to the exchange API endpoint
108
108
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
109
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
109
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
110
110
  */
111
111
  watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
112
112
  handleTicker(client: Client, message: any): void;
@@ -117,7 +117,7 @@ export default class oxfun extends oxfunRest {
117
117
  * @description watches best bid & ask for symbols
118
118
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
119
119
  * @param {object} [params] extra parameters specific to the exchange API endpoint
120
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
120
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
121
121
  */
122
122
  watchBidsAsks(symbols?: Strings, params?: {}): Promise<Tickers>;
123
123
  handleBidAsk(client: Client, message: any): void;
@@ -129,7 +129,7 @@ export default class oxfun extends oxfunRest {
129
129
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
130
130
  * @param {object} [params] extra parameters specific to the exchange API endpoint
131
131
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
132
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
132
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
133
133
  */
134
134
  watchBalance(params?: {}): Promise<Balances>;
135
135
  handleBalance(client: any, message: any): void;
@@ -158,7 +158,7 @@ export default class oxfun extends oxfunRest {
158
158
  * @param {int} [limit] the maximum number of order structures to retrieve
159
159
  * @param {object} [params] extra parameters specific to the exchange API endpoint
160
160
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
161
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
161
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
162
162
  */
163
163
  watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
164
164
  handleOrders(client: Client, message: any): void;
@@ -183,7 +183,7 @@ export default class oxfun extends oxfunRest {
183
183
  * @param {string} [params.timeInForce] GTC (default), IOC, FOK, PO, MAKER_ONLY or MAKER_ONLY_REPRICE (reprices order to the best maker only price if the specified price were to lead to a taker trade)
184
184
  * @param {string} [params.selfTradePreventionMode] NONE, EXPIRE_MAKER, EXPIRE_TAKER or EXPIRE_BOTH for more info check here {@link https://docs.ox.fun/?json#self-trade-prevention-modes}
185
185
  * @param {string} [params.displayQuantity] for an iceberg order, pass both quantity and displayQuantity fields in the order request
186
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
186
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
187
187
  */
188
188
  createOrderWs(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
189
189
  /**
@@ -200,7 +200,7 @@ export default class oxfun extends oxfunRest {
200
200
  * @param {object} [params] extra parameters specific to the exchange API endpoint
201
201
  * @param {int} [params.timestamp] in milliseconds. If an order reaches the matching engine and the current timestamp exceeds timestamp + recvWindow, then the order will be rejected.
202
202
  * @param {int} [params.recvWindow] in milliseconds. If an order reaches the matching engine and the current timestamp exceeds timestamp + recvWindow, then the order will be rejected. If timestamp is provided without recvWindow, then a default recvWindow of 1000ms is used.
203
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
203
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
204
204
  */
205
205
  editOrderWs(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
206
206
  handlePlaceOrders(client: Client, message: any): void;
@@ -212,7 +212,7 @@ export default class oxfun extends oxfunRest {
212
212
  * @param {string} id order id
213
213
  * @param {string} symbol unified market symbol, default is undefined
214
214
  * @param {object} [params] extra parameters specific to the exchange API endpoint
215
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
215
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
216
216
  */
217
217
  cancelOrderWs(id: string, symbol?: Str, params?: {}): Promise<Order>;
218
218
  /**
@@ -223,7 +223,7 @@ export default class oxfun extends oxfunRest {
223
223
  * @param {string[]} ids order ids
224
224
  * @param {string} symbol unified market symbol, default is undefined
225
225
  * @param {object} [params] extra parameters specific to the exchange API endpoint
226
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
226
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
227
227
  */
228
228
  cancelOrdersWs(ids: string[], symbol?: Str, params?: {}): Promise<Order[]>;
229
229
  authenticate(params?: {}): Promise<any>;
@@ -80,7 +80,7 @@ export default class oxfun extends oxfunRest {
80
80
  * @param {int} [limit] the maximum number of trade structures to retrieve
81
81
  * @param {object} [params] extra parameters specific to the exchange API endpoint
82
82
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
83
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
83
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
84
84
  */
85
85
  async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
86
86
  return await this.watchTradesForSymbols([symbol], since, limit, params);
@@ -95,7 +95,7 @@ export default class oxfun extends oxfunRest {
95
95
  * @param {int} [limit] the maximum amount of trades to fetch
96
96
  * @param {object} [params] extra parameters specific to the exchange API endpoint
97
97
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
98
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
98
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
99
99
  */
100
100
  async watchTradesForSymbols(symbols, since = undefined, limit = undefined, params = {}) {
101
101
  await this.loadMarkets();
@@ -329,7 +329,7 @@ export default class oxfun extends oxfunRest {
329
329
  * @param {string} symbol unified symbol of the market to fetch the order book for
330
330
  * @param {int} [limit] the maximum amount of order book entries to return
331
331
  * @param {object} [params] extra parameters specific to the exchange API endpoint
332
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
332
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
333
333
  */
334
334
  async watchOrderBook(symbol, limit = undefined, params = {}) {
335
335
  return await this.watchOrderBookForSymbols([symbol], limit, params);
@@ -344,7 +344,7 @@ export default class oxfun extends oxfunRest {
344
344
  * @param {int} [limit] the maximum amount of order book entries to return
345
345
  * @param {object} [params] extra parameters specific to the exchange API endpoint
346
346
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
347
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
347
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
348
348
  */
349
349
  async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
350
350
  await this.loadMarkets();
@@ -423,7 +423,7 @@ export default class oxfun extends oxfunRest {
423
423
  * @param {string} symbol unified symbol of the market to fetch the ticker for
424
424
  * @param {object} [params] extra parameters specific to the exchange API endpoint
425
425
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
426
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
426
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
427
427
  */
428
428
  async watchTicker(symbol, params = {}) {
429
429
  const ticker = await this.watchTickers([symbol], params);
@@ -437,7 +437,7 @@ export default class oxfun extends oxfunRest {
437
437
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
438
438
  * @param {object} [params] extra parameters specific to the exchange API endpoint
439
439
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
440
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
440
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
441
441
  */
442
442
  async watchTickers(symbols = undefined, params = {}) {
443
443
  await this.loadMarkets();
@@ -507,7 +507,7 @@ export default class oxfun extends oxfunRest {
507
507
  * @description watches best bid & ask for symbols
508
508
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
509
509
  * @param {object} [params] extra parameters specific to the exchange API endpoint
510
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
510
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
511
511
  */
512
512
  async watchBidsAsks(symbols = undefined, params = {}) {
513
513
  await this.loadMarkets();
@@ -578,7 +578,7 @@ export default class oxfun extends oxfunRest {
578
578
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
579
579
  * @param {object} [params] extra parameters specific to the exchange API endpoint
580
580
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
581
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
581
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
582
582
  */
583
583
  async watchBalance(params = {}) {
584
584
  await this.loadMarkets();
@@ -763,7 +763,7 @@ export default class oxfun extends oxfunRest {
763
763
  * @param {int} [limit] the maximum number of order structures to retrieve
764
764
  * @param {object} [params] extra parameters specific to the exchange API endpoint
765
765
  * @param {int|string} [params.tag] If given it will be echoed in the reply and the max size of tag is 32
766
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
766
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
767
767
  */
768
768
  async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
769
769
  await this.loadMarkets();
@@ -854,7 +854,7 @@ export default class oxfun extends oxfunRest {
854
854
  * @param {string} [params.timeInForce] GTC (default), IOC, FOK, PO, MAKER_ONLY or MAKER_ONLY_REPRICE (reprices order to the best maker only price if the specified price were to lead to a taker trade)
855
855
  * @param {string} [params.selfTradePreventionMode] NONE, EXPIRE_MAKER, EXPIRE_TAKER or EXPIRE_BOTH for more info check here {@link https://docs.ox.fun/?json#self-trade-prevention-modes}
856
856
  * @param {string} [params.displayQuantity] for an iceberg order, pass both quantity and displayQuantity fields in the order request
857
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
857
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
858
858
  */
859
859
  async createOrderWs(symbol, type, side, amount, price = undefined, params = {}) {
860
860
  await this.loadMarkets();
@@ -888,7 +888,7 @@ export default class oxfun extends oxfunRest {
888
888
  * @param {object} [params] extra parameters specific to the exchange API endpoint
889
889
  * @param {int} [params.timestamp] in milliseconds. If an order reaches the matching engine and the current timestamp exceeds timestamp + recvWindow, then the order will be rejected.
890
890
  * @param {int} [params.recvWindow] in milliseconds. If an order reaches the matching engine and the current timestamp exceeds timestamp + recvWindow, then the order will be rejected. If timestamp is provided without recvWindow, then a default recvWindow of 1000ms is used.
891
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
891
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
892
892
  */
893
893
  async editOrderWs(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
894
894
  await this.loadMarkets();
@@ -960,7 +960,7 @@ export default class oxfun extends oxfunRest {
960
960
  * @param {string} id order id
961
961
  * @param {string} symbol unified market symbol, default is undefined
962
962
  * @param {object} [params] extra parameters specific to the exchange API endpoint
963
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
963
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
964
964
  */
965
965
  async cancelOrderWs(id, symbol = undefined, params = {}) {
966
966
  if (symbol === undefined) {
@@ -989,7 +989,7 @@ export default class oxfun extends oxfunRest {
989
989
  * @param {string[]} ids order ids
990
990
  * @param {string} symbol unified market symbol, default is undefined
991
991
  * @param {object} [params] extra parameters specific to the exchange API endpoint
992
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
992
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
993
993
  */
994
994
  async cancelOrdersWs(ids, symbol = undefined, params = {}) {
995
995
  const idsLength = ids.length;
@@ -36,7 +36,7 @@ export default class p2b extends p2bRest {
36
36
  * @param {string} symbol unified symbol of the market to fetch the ticker for
37
37
  * @param {object} [params] extra parameters specific to the exchange API endpoint
38
38
  * @param {object} [params.method] 'state' (default) or 'price'
39
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
39
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
40
40
  */
41
41
  watchTicker(symbol: string, params?: {}): Promise<Ticker>;
42
42
  /**
@@ -48,7 +48,7 @@ export default class p2b extends p2bRest {
48
48
  * @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
49
49
  * @param {object} [params] extra parameters specific to the exchange API endpoint
50
50
  * @param {object} [params.method] 'state' (default) or 'price'
51
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
51
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
52
52
  */
53
53
  watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
54
54
  /**
@@ -60,7 +60,7 @@ export default class p2b extends p2bRest {
60
60
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
61
61
  * @param {int} [limit] the maximum amount of trades to fetch
62
62
  * @param {object} [params] extra parameters specific to the exchange API endpoint
63
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
63
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
64
64
  */
65
65
  watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
66
66
  /**
@@ -72,7 +72,7 @@ export default class p2b extends p2bRest {
72
72
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
73
73
  * @param {int} [limit] the maximum amount of trades to fetch
74
74
  * @param {object} [params] extra parameters specific to the exchange API endpoint
75
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
75
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
76
76
  */
77
77
  watchTradesForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
78
78
  /**
@@ -84,7 +84,7 @@ export default class p2b extends p2bRest {
84
84
  * @param {int} [limit] 1-100, default=100
85
85
  * @param {object} [params] extra parameters specific to the exchange API endpoint
86
86
  * @param {float} [params.interval] 0, 0.00000001, 0.0000001, 0.000001, 0.00001, 0.0001, 0.001, 0.01, 0.1, interval of precision for order, default=0.001
87
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
87
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
88
88
  */
89
89
  watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
90
90
  handleOHLCV(client: Client, message: any): any;