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
@@ -1,5 +1,5 @@
1
1
  import gateRest from '../gate.js';
2
- import type { Int, Str, Strings, OrderBook, Order, Trade, Ticker, Tickers, OHLCV, Position, Balances, Dict, Liquidation, OrderType, OrderSide, Num, Market, MarketType, OrderRequest, Bool } from '../base/types.js';
2
+ import type { Int, Str, Strings, OrderBook, Order, Trade, Ticker, Tickers, OHLCV, Position, Balances, Liquidation, OrderType, OrderSide, Num, Market, MarketType, OrderRequest, Bool } from '../base/types.js';
3
3
  import Client from '../base/ws/Client.js';
4
4
  export default class gate extends gateRest {
5
5
  describe(): any;
@@ -30,7 +30,7 @@ export default class gate extends gateRest {
30
30
  * @param {bool} [params.auto_size] *contract only* Set side to close dual-mode position, close_long closes the long side, while close_short the short one, size also needs to be set to 0
31
31
  * @param {int} [params.price_type] *contract only* 0 latest deal price, 1 mark price, 2 index price
32
32
  * @param {float} [params.cost] *spot market buy only* the quote quantity that can be used as an alternative for the amount
33
- * @returns {object|undefined} [An order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
33
+ * @returns {object|undefined} [An order structure]{@link https://docs.ccxt.com/?id=order-structure}
34
34
  */
35
35
  createOrderWs(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
36
36
  /**
@@ -40,7 +40,7 @@ export default class gate extends gateRest {
40
40
  * @see https://www.gate.io/docs/developers/futures/ws/en/#order-batch-place
41
41
  * @param {Array} orders list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
42
42
  * @param {object} [params] extra parameters specific to the exchange API endpoint
43
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
43
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
44
44
  */
45
45
  createOrdersWs(orders: OrderRequest[], params?: {}): Promise<Order[]>;
46
46
  /**
@@ -52,7 +52,7 @@ export default class gate extends gateRest {
52
52
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
53
53
  * @param {object} [params] extra parameters specific to the exchange API endpoint
54
54
  * @param {string} [params.channel] the channel to use, defaults to spot.order_cancel_cp or futures.order_cancel_cp
55
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
55
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
56
56
  */
57
57
  cancelAllOrdersWs(symbol?: Str, params?: {}): Promise<Order[]>;
58
58
  /**
@@ -65,7 +65,7 @@ export default class gate extends gateRest {
65
65
  * @param {string} symbol Unified market symbol
66
66
  * @param {object} [params] Parameters specified by the exchange api
67
67
  * @param {bool} [params.trigger] True if the order to be cancelled is a trigger order
68
- * @returns An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
68
+ * @returns An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
69
69
  */
70
70
  cancelOrderWs(id: string, symbol?: Str, params?: {}): Promise<Order>;
71
71
  /**
@@ -81,7 +81,7 @@ export default class gate extends gateRest {
81
81
  * @param {float} amount how much of the currency you want to trade in units of the base currency
82
82
  * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
83
83
  * @param {object} [params] extra parameters specific to the exchange API endpoint
84
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
84
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
85
85
  */
86
86
  editOrderWs(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
87
87
  /**
@@ -97,7 +97,7 @@ export default class gate extends gateRest {
97
97
  * @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for margin trading if not provided this.options['defaultMarginMode'] is used
98
98
  * @param {string} [params.type] 'spot', 'swap', or 'future', if not provided this.options['defaultMarginMode'] is used
99
99
  * @param {string} [params.settle] 'btc' or 'usdt' - settle currency for perpetual swap and future - market settle currency is used if symbol !== undefined, default="usdt" for swap and "btc" for future
100
- * @returns An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
100
+ * @returns An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
101
101
  */
102
102
  fetchOrderWs(id: string, symbol?: Str, params?: {}): Promise<Order>;
103
103
  /**
@@ -109,7 +109,7 @@ export default class gate extends gateRest {
109
109
  * @param {int} [since] the earliest time in ms to fetch open orders for
110
110
  * @param {int} [limit] the maximum number of open orders structures to retrieve
111
111
  * @param {object} [params] extra parameters specific to the exchange API endpoint
112
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
112
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
113
113
  */
114
114
  fetchOpenOrdersWs(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
115
115
  /**
@@ -121,7 +121,7 @@ export default class gate extends gateRest {
121
121
  * @param {int} [since] the earliest time in ms to fetch orders for
122
122
  * @param {int} [limit] the maximum number of order structures to retrieve
123
123
  * @param {object} [params] extra parameters specific to the exchange API endpoint
124
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
124
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
125
125
  */
126
126
  fetchClosedOrdersWs(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
127
127
  /**
@@ -136,7 +136,7 @@ export default class gate extends gateRest {
136
136
  * @param {object} [params] extra parameters specific to the exchange API endpoint
137
137
  * @param {int} [params.orderId] order id to begin at
138
138
  * @param {int} [params.limit] the maximum number of order structures to retrieve
139
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
139
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
140
140
  */
141
141
  fetchOrdersByStatusWs(status: string, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
142
142
  /**
@@ -151,7 +151,7 @@ export default class gate extends gateRest {
151
151
  * @param {string} symbol unified symbol of the market to fetch the order book for
152
152
  * @param {int} [limit] the maximum amount of order book entries to return
153
153
  * @param {object} [params] extra parameters specific to the exchange API endpoint
154
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
154
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
155
155
  */
156
156
  watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
157
157
  /**
@@ -160,7 +160,7 @@ export default class gate extends gateRest {
160
160
  * @description unWatches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
161
161
  * @param {string} symbol unified symbol of the market to fetch the order book for
162
162
  * @param {object} [params] extra parameters specific to the exchange API endpoint
163
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
163
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
164
164
  */
165
165
  unWatchOrderBook(symbol: string, params?: {}): Promise<any>;
166
166
  handleOrderBookSubscription(client: Client, message: any, subscription: any): void;
@@ -175,7 +175,7 @@ export default class gate extends gateRest {
175
175
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
176
176
  * @param {string} symbol unified symbol of the market to fetch the ticker for
177
177
  * @param {object} [params] extra parameters specific to the exchange API endpoint
178
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
178
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
179
179
  */
180
180
  watchTicker(symbol: string, params?: {}): Promise<Ticker>;
181
181
  /**
@@ -185,7 +185,7 @@ export default class gate extends gateRest {
185
185
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
186
186
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
187
187
  * @param {object} [params] extra parameters specific to the exchange API endpoint
188
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
188
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
189
189
  */
190
190
  watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
191
191
  handleTicker(client: Client, message: any): void;
@@ -197,7 +197,7 @@ export default class gate extends gateRest {
197
197
  * @description watches best bid & ask for symbols
198
198
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
199
199
  * @param {object} [params] extra parameters specific to the exchange API endpoint
200
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
200
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
201
201
  */
202
202
  watchBidsAsks(symbols?: Strings, params?: {}): Promise<Tickers>;
203
203
  handleBidAsk(client: Client, message: any): void;
@@ -211,7 +211,7 @@ export default class gate extends gateRest {
211
211
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
212
212
  * @param {int} [limit] the maximum amount of trades to fetch
213
213
  * @param {object} [params] extra parameters specific to the exchange API endpoint
214
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
214
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
215
215
  */
216
216
  watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
217
217
  /**
@@ -222,7 +222,7 @@ export default class gate extends gateRest {
222
222
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
223
223
  * @param {int} [limit] the maximum amount of trades to fetch
224
224
  * @param {object} [params] extra parameters specific to the exchange API endpoint
225
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
225
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
226
226
  */
227
227
  watchTradesForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
228
228
  /**
@@ -231,7 +231,7 @@ export default class gate extends gateRest {
231
231
  * @description get the list of most recent trades for a particular symbol
232
232
  * @param {string[]} symbols unified symbol of the market to fetch trades for
233
233
  * @param {object} [params] extra parameters specific to the exchange API endpoint
234
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
234
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
235
235
  */
236
236
  unWatchTradesForSymbols(symbols: string[], params?: {}): Promise<any>;
237
237
  /**
@@ -240,7 +240,7 @@ export default class gate extends gateRest {
240
240
  * @description get the list of most recent trades for a particular symbol
241
241
  * @param {string} symbol unified symbol of the market to fetch trades for
242
242
  * @param {object} [params] extra parameters specific to the exchange API endpoint
243
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
243
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
244
244
  */
245
245
  unWatchTrades(symbol: string, params?: {}): Promise<any>;
246
246
  handleTrades(client: Client, message: any): void;
@@ -265,7 +265,7 @@ export default class gate extends gateRest {
265
265
  * @param {int} [since] the earliest time in ms to fetch trades for
266
266
  * @param {int} [limit] the maximum number of trade structures to retrieve
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=trade-structure}
268
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
269
269
  */
270
270
  watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
271
271
  handleMyTrades(client: Client, message: any): void;
@@ -274,7 +274,7 @@ export default class gate extends gateRest {
274
274
  * @name gate#watchBalance
275
275
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
276
276
  * @param {object} [params] extra parameters specific to the exchange API endpoint
277
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
277
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
278
278
  */
279
279
  watchBalance(params?: {}): Promise<Balances>;
280
280
  handleBalance(client: Client, message: any): void;
@@ -305,7 +305,7 @@ export default class gate extends gateRest {
305
305
  * @param {object} [params] extra parameters specific to the exchange API endpoint
306
306
  * @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
307
307
  * @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
308
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
308
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
309
309
  */
310
310
  watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
311
311
  handleOrder(client: Client, message: any): void;
@@ -343,7 +343,6 @@ export default class gate extends gateRest {
343
343
  handleBalanceSubscription(client: Client, message: any, subscription?: any): void;
344
344
  handleSubscriptionStatus(client: Client, message: any): void;
345
345
  handleUnSubscribe(client: Client, message: any): void;
346
- cleanCache(subscription: Dict): void;
347
346
  handleMessage(client: Client, message: any): void;
348
347
  getUrlByMarket(market: any): any;
349
348
  getTypeByMarket(market: Market): "spot" | "futures" | "options";
@@ -150,7 +150,7 @@ export default class gate extends gateRest {
150
150
  * @param {bool} [params.auto_size] *contract only* Set side to close dual-mode position, close_long closes the long side, while close_short the short one, size also needs to be set to 0
151
151
  * @param {int} [params.price_type] *contract only* 0 latest deal price, 1 mark price, 2 index price
152
152
  * @param {float} [params.cost] *spot market buy only* the quote quantity that can be used as an alternative for the amount
153
- * @returns {object|undefined} [An order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
153
+ * @returns {object|undefined} [An order structure]{@link https://docs.ccxt.com/?id=order-structure}
154
154
  */
155
155
  async createOrderWs(symbol, type, side, amount, price = undefined, params = {}) {
156
156
  await this.loadMarkets();
@@ -173,7 +173,7 @@ export default class gate extends gateRest {
173
173
  * @see https://www.gate.io/docs/developers/futures/ws/en/#order-batch-place
174
174
  * @param {Array} orders list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
175
175
  * @param {object} [params] extra parameters specific to the exchange API endpoint
176
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
176
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
177
177
  */
178
178
  async createOrdersWs(orders, params = {}) {
179
179
  await this.loadMarkets();
@@ -199,7 +199,7 @@ export default class gate extends gateRest {
199
199
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
200
200
  * @param {object} [params] extra parameters specific to the exchange API endpoint
201
201
  * @param {string} [params.channel] the channel to use, defaults to spot.order_cancel_cp or futures.order_cancel_cp
202
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
202
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
203
203
  */
204
204
  async cancelAllOrdersWs(symbol = undefined, params = {}) {
205
205
  await this.loadMarkets();
@@ -226,7 +226,7 @@ export default class gate extends gateRest {
226
226
  * @param {string} symbol Unified market symbol
227
227
  * @param {object} [params] Parameters specified by the exchange api
228
228
  * @param {bool} [params.trigger] True if the order to be cancelled is a trigger order
229
- * @returns An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
229
+ * @returns An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
230
230
  */
231
231
  async cancelOrderWs(id, symbol = undefined, params = {}) {
232
232
  await this.loadMarkets();
@@ -256,7 +256,7 @@ export default class gate extends gateRest {
256
256
  * @param {float} amount how much of the currency you want to trade in units of the base currency
257
257
  * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
258
258
  * @param {object} [params] extra parameters specific to the exchange API endpoint
259
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
259
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
260
260
  */
261
261
  async editOrderWs(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
262
262
  await this.loadMarkets();
@@ -282,7 +282,7 @@ export default class gate extends gateRest {
282
282
  * @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for margin trading if not provided this.options['defaultMarginMode'] is used
283
283
  * @param {string} [params.type] 'spot', 'swap', or 'future', if not provided this.options['defaultMarginMode'] is used
284
284
  * @param {string} [params.settle] 'btc' or 'usdt' - settle currency for perpetual swap and future - market settle currency is used if symbol !== undefined, default="usdt" for swap and "btc" for future
285
- * @returns An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
285
+ * @returns An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
286
286
  */
287
287
  async fetchOrderWs(id, symbol = undefined, params = {}) {
288
288
  await this.loadMarkets();
@@ -304,7 +304,7 @@ export default class gate extends gateRest {
304
304
  * @param {int} [since] the earliest time in ms to fetch open orders for
305
305
  * @param {int} [limit] the maximum number of open orders structures to retrieve
306
306
  * @param {object} [params] extra parameters specific to the exchange API endpoint
307
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
307
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
308
308
  */
309
309
  async fetchOpenOrdersWs(symbol = undefined, since = undefined, limit = undefined, params = {}) {
310
310
  return await this.fetchOrdersByStatusWs('open', symbol, since, limit, params);
@@ -318,7 +318,7 @@ export default class gate extends gateRest {
318
318
  * @param {int} [since] the earliest time in ms to fetch orders for
319
319
  * @param {int} [limit] the maximum number of order structures to retrieve
320
320
  * @param {object} [params] extra parameters specific to the exchange API endpoint
321
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
321
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
322
322
  */
323
323
  async fetchClosedOrdersWs(symbol = undefined, since = undefined, limit = undefined, params = {}) {
324
324
  return await this.fetchOrdersByStatusWs('finished', symbol, since, limit, params);
@@ -335,7 +335,7 @@ export default class gate extends gateRest {
335
335
  * @param {object} [params] extra parameters specific to the exchange API endpoint
336
336
  * @param {int} [params.orderId] order id to begin at
337
337
  * @param {int} [params.limit] the maximum number of order structures to retrieve
338
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
338
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
339
339
  */
340
340
  async fetchOrdersByStatusWs(status, symbol = undefined, since = undefined, limit = undefined, params = {}) {
341
341
  await this.loadMarkets();
@@ -369,7 +369,7 @@ export default class gate extends gateRest {
369
369
  * @param {string} symbol unified symbol of the market to fetch the order book for
370
370
  * @param {int} [limit] the maximum amount of order book entries to return
371
371
  * @param {object} [params] extra parameters specific to the exchange API endpoint
372
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
372
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
373
373
  */
374
374
  async watchOrderBook(symbol, limit = undefined, params = {}) {
375
375
  await this.loadMarkets();
@@ -402,7 +402,7 @@ export default class gate extends gateRest {
402
402
  * @description unWatches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
403
403
  * @param {string} symbol unified symbol of the market to fetch the order book for
404
404
  * @param {object} [params] extra parameters specific to the exchange API endpoint
405
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
405
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
406
406
  */
407
407
  async unWatchOrderBook(symbol, params = {}) {
408
408
  await this.loadMarkets();
@@ -578,7 +578,7 @@ export default class gate extends gateRest {
578
578
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
579
579
  * @param {string} symbol unified symbol of the market to fetch the ticker for
580
580
  * @param {object} [params] extra parameters specific to the exchange API endpoint
581
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
581
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
582
582
  */
583
583
  async watchTicker(symbol, params = {}) {
584
584
  await this.loadMarkets();
@@ -595,7 +595,7 @@ export default class gate extends gateRest {
595
595
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
596
596
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
597
597
  * @param {object} [params] extra parameters specific to the exchange API endpoint
598
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
598
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
599
599
  */
600
600
  async watchTickers(symbols = undefined, params = {}) {
601
601
  return await this.subscribeWatchTickersAndBidsAsks(symbols, 'watchTickers', this.extend({ 'method': 'tickers' }, params));
@@ -629,7 +629,7 @@ export default class gate extends gateRest {
629
629
  * @description watches best bid & ask for symbols
630
630
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
631
631
  * @param {object} [params] extra parameters specific to the exchange API endpoint
632
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
632
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
633
633
  */
634
634
  async watchBidsAsks(symbols = undefined, params = {}) {
635
635
  return await this.subscribeWatchTickersAndBidsAsks(symbols, 'watchBidsAsks', this.extend({ 'method': 'book_ticker' }, params));
@@ -720,7 +720,7 @@ export default class gate extends gateRest {
720
720
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
721
721
  * @param {int} [limit] the maximum amount of trades to fetch
722
722
  * @param {object} [params] extra parameters specific to the exchange API endpoint
723
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
723
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
724
724
  */
725
725
  async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
726
726
  return await this.watchTradesForSymbols([symbol], since, limit, params);
@@ -733,7 +733,7 @@ export default class gate extends gateRest {
733
733
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
734
734
  * @param {int} [limit] the maximum amount of trades to fetch
735
735
  * @param {object} [params] extra parameters specific to the exchange API endpoint
736
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
736
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
737
737
  */
738
738
  async watchTradesForSymbols(symbols, since = undefined, limit = undefined, params = {}) {
739
739
  await this.loadMarkets();
@@ -762,7 +762,7 @@ export default class gate extends gateRest {
762
762
  * @description get the list of most recent trades for a particular symbol
763
763
  * @param {string[]} symbols unified symbol of the market to fetch trades for
764
764
  * @param {object} [params] extra parameters specific to the exchange API endpoint
765
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
765
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
766
766
  */
767
767
  async unWatchTradesForSymbols(symbols, params = {}) {
768
768
  await this.loadMarkets();
@@ -787,7 +787,7 @@ export default class gate extends gateRest {
787
787
  * @description get the list of most recent trades for a particular symbol
788
788
  * @param {string} symbol unified symbol of the market to fetch trades for
789
789
  * @param {object} [params] extra parameters specific to the exchange API endpoint
790
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
790
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
791
791
  */
792
792
  async unWatchTrades(symbol, params = {}) {
793
793
  return await this.unWatchTradesForSymbols([symbol], params);
@@ -920,7 +920,7 @@ export default class gate extends gateRest {
920
920
  * @param {int} [since] the earliest time in ms to fetch trades for
921
921
  * @param {int} [limit] the maximum number of trade structures to retrieve
922
922
  * @param {object} [params] extra parameters specific to the exchange API endpoint
923
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
923
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
924
924
  */
925
925
  async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
926
926
  await this.loadMarkets();
@@ -1010,7 +1010,7 @@ export default class gate extends gateRest {
1010
1010
  * @name gate#watchBalance
1011
1011
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
1012
1012
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1013
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1013
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
1014
1014
  */
1015
1015
  async watchBalance(params = {}) {
1016
1016
  await this.loadMarkets();
@@ -1298,7 +1298,7 @@ export default class gate extends gateRest {
1298
1298
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1299
1299
  * @param {string} [params.type] spot, margin, swap, future, or option. Required if listening to all symbols.
1300
1300
  * @param {boolean} [params.isInverse] if future, listen to inverse or linear contracts
1301
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1301
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1302
1302
  */
1303
1303
  async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1304
1304
  await this.loadMarkets();
@@ -1742,44 +1742,6 @@ export default class gate extends gateRest {
1742
1742
  }
1743
1743
  }
1744
1744
  }
1745
- cleanCache(subscription) {
1746
- const topic = this.safeString(subscription, 'topic', '');
1747
- const symbols = this.safeList(subscription, 'symbols', []);
1748
- const symbolsLength = symbols.length;
1749
- if (topic === 'ohlcv') {
1750
- const symbolsAndTimeFrames = this.safeList(subscription, 'symbolsAndTimeframes', []);
1751
- for (let i = 0; i < symbolsAndTimeFrames.length; i++) {
1752
- const symbolAndTimeFrame = symbolsAndTimeFrames[i];
1753
- const symbol = this.safeString(symbolAndTimeFrame, 0);
1754
- const timeframe = this.safeString(symbolAndTimeFrame, 1);
1755
- delete this.ohlcvs[symbol][timeframe];
1756
- }
1757
- }
1758
- else if (symbolsLength > 0) {
1759
- for (let i = 0; i < symbols.length; i++) {
1760
- const symbol = symbols[i];
1761
- if (topic.endsWith('trades')) {
1762
- delete this.trades[symbol];
1763
- }
1764
- else if (topic === 'orderbook') {
1765
- delete this.orderbooks[symbol];
1766
- }
1767
- else if (topic === 'ticker') {
1768
- delete this.tickers[symbol];
1769
- }
1770
- }
1771
- }
1772
- else {
1773
- if (topic.endsWith('trades')) {
1774
- // don't reset this.myTrades directly here
1775
- // because in c# we need to use a different object
1776
- const keys = Object.keys(this.trades);
1777
- for (let i = 0; i < keys.length; i++) {
1778
- delete this.trades[keys[i]];
1779
- }
1780
- }
1781
- }
1782
- }
1783
1745
  handleMessage(client, message) {
1784
1746
  //
1785
1747
  // subscribe
@@ -12,7 +12,7 @@ export default class gemini extends geminiRest {
12
12
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
13
13
  * @param {int} [limit] the maximum amount of trades to fetch
14
14
  * @param {object} [params] extra parameters specific to the exchange API endpoint
15
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
15
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
16
16
  */
17
17
  watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
18
18
  /**
@@ -24,7 +24,7 @@ export default class gemini extends geminiRest {
24
24
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
25
25
  * @param {int} [limit] the maximum amount of trades to fetch
26
26
  * @param {object} [params] extra parameters specific to the exchange API endpoint
27
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
27
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
28
28
  */
29
29
  watchTradesForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
30
30
  parseWsTrade(trade: any, market?: any): Trade;
@@ -53,7 +53,7 @@ export default class gemini extends geminiRest {
53
53
  * @param {string} symbol unified symbol of the market to fetch the order book for
54
54
  * @param {int} [limit] the maximum amount of order book entries to return
55
55
  * @param {object} [params] extra parameters specific to the exchange API endpoint
56
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
56
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
57
57
  */
58
58
  watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
59
59
  handleOrderBook(client: Client, message: any): void;
@@ -65,7 +65,7 @@ export default class gemini extends geminiRest {
65
65
  * @param {string[]} symbols unified array of symbols
66
66
  * @param {int} [limit] the maximum amount of order book entries to return
67
67
  * @param {object} [params] extra parameters specific to the exchange API endpoint
68
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
68
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
69
69
  */
70
70
  watchOrderBookForSymbols(symbols: string[], limit?: Int, params?: {}): Promise<OrderBook>;
71
71
  /**
@@ -75,7 +75,7 @@ export default class gemini extends geminiRest {
75
75
  * @see https://docs.gemini.com/websocket-api/#multi-market-data
76
76
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
77
77
  * @param {object} [params] extra parameters specific to the exchange API endpoint
78
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
78
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
79
79
  */
80
80
  watchBidsAsks(symbols?: Strings, params?: {}): Promise<Tickers>;
81
81
  handleBidsAsksForMultidata(client: Client, rawBidAskChanges: any, timestamp: Int, nonce: Int): void;
@@ -91,7 +91,7 @@ export default class gemini extends geminiRest {
91
91
  * @param {int} [since] the earliest time in ms to fetch orders for
92
92
  * @param {int} [limit] the maximum number of order structures to retrieve
93
93
  * @param {object} [params] extra parameters specific to the exchange API endpoint
94
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
94
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
95
95
  */
96
96
  watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
97
97
  handleHeartbeat(client: Client, message: any): any;
@@ -48,7 +48,7 @@ export default class gemini extends geminiRest {
48
48
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
49
49
  * @param {int} [limit] the maximum amount of trades to fetch
50
50
  * @param {object} [params] extra parameters specific to the exchange API endpoint
51
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
51
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
52
52
  */
53
53
  async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
54
54
  await this.loadMarkets();
@@ -83,7 +83,7 @@ export default class gemini extends geminiRest {
83
83
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
84
84
  * @param {int} [limit] the maximum amount of trades to fetch
85
85
  * @param {object} [params] extra parameters specific to the exchange API endpoint
86
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
86
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
87
87
  */
88
88
  async watchTradesForSymbols(symbols, since = undefined, limit = undefined, params = {}) {
89
89
  const trades = await this.helperForWatchMultipleConstruct('trades', symbols, params);
@@ -359,7 +359,7 @@ export default class gemini extends geminiRest {
359
359
  * @param {string} symbol unified symbol of the market to fetch the order book for
360
360
  * @param {int} [limit] the maximum amount of order book entries to return
361
361
  * @param {object} [params] extra parameters specific to the exchange API endpoint
362
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
362
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
363
363
  */
364
364
  async watchOrderBook(symbol, limit = undefined, params = {}) {
365
365
  await this.loadMarkets();
@@ -414,7 +414,7 @@ export default class gemini extends geminiRest {
414
414
  * @param {string[]} symbols unified array of symbols
415
415
  * @param {int} [limit] the maximum amount of order book entries to return
416
416
  * @param {object} [params] extra parameters specific to the exchange API endpoint
417
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
417
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
418
418
  */
419
419
  async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
420
420
  const orderbook = await this.helperForWatchMultipleConstruct('orderbook', symbols, params);
@@ -427,7 +427,7 @@ export default class gemini extends geminiRest {
427
427
  * @see https://docs.gemini.com/websocket-api/#multi-market-data
428
428
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
429
429
  * @param {object} [params] extra parameters specific to the exchange API endpoint
430
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
430
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
431
431
  */
432
432
  async watchBidsAsks(symbols = undefined, params = {}) {
433
433
  return await this.helperForWatchMultipleConstruct('bidsasks', symbols, params);
@@ -626,7 +626,7 @@ export default class gemini extends geminiRest {
626
626
  * @param {int} [since] the earliest time in ms to fetch orders for
627
627
  * @param {int} [limit] the maximum number of order structures to retrieve
628
628
  * @param {object} [params] extra parameters specific to the exchange API endpoint
629
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
629
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
630
630
  */
631
631
  async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
632
632
  const url = this.urls['api']['ws'] + '/v1/order/events?eventTypeFilter=initial&eventTypeFilter=accepted&eventTypeFilter=rejected&eventTypeFilter=fill&eventTypeFilter=cancelled&eventTypeFilter=booked';
@@ -30,7 +30,7 @@ export default class hashkey extends hashkeyRest {
30
30
  * @param {string} symbol unified symbol of the market to fetch the ticker for
31
31
  * @param {object} [params] extra parameters specific to the exchange API endpoint
32
32
  * @param {bool} [params.binary] true or false - default false
33
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
33
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
34
34
  */
35
35
  watchTicker(symbol: string, params?: {}): Promise<Ticker>;
36
36
  handleTicker(client: Client, message: any): void;
@@ -44,7 +44,7 @@ export default class hashkey extends hashkeyRest {
44
44
  * @param {int} [limit] the maximum number of trade structures to retrieve
45
45
  * @param {object} [params] extra parameters specific to the exchange API endpoint
46
46
  * @param {bool} [params.binary] true or false - default false
47
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
47
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
48
48
  */
49
49
  watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
50
50
  handleTrades(client: Client, message: any): void;
@@ -56,7 +56,7 @@ export default class hashkey extends hashkeyRest {
56
56
  * @param {string} symbol unified symbol of the market to fetch the order book for
57
57
  * @param {int} [limit] the maximum amount of order book entries to return.
58
58
  * @param {object} [params] extra parameters specific to the exchange API endpoint
59
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
59
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
60
60
  */
61
61
  watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
62
62
  handleOrderBook(client: Client, message: any): void;
@@ -69,7 +69,7 @@ export default class hashkey extends hashkeyRest {
69
69
  * @param {int} [since] the earliest time in ms to fetch orders for
70
70
  * @param {int} [limit] the maximum number of order structures to retrieve
71
71
  * @param {object} [params] extra parameters specific to the exchange API endpoint
72
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
72
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
73
73
  */
74
74
  watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
75
75
  handleOrder(client: Client, message: any): void;
@@ -83,7 +83,7 @@ export default class hashkey extends hashkeyRest {
83
83
  * @param {int} [since] the earliest time in ms to fetch trades for
84
84
  * @param {int} [limit] the maximum number of trade structures to retrieve
85
85
  * @param {object} [params] extra parameters specific to the exchange API endpoint
86
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
86
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
87
87
  */
88
88
  watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
89
89
  handleMyTrade(client: Client, message: any, subscription?: {}): void;
@@ -109,7 +109,7 @@ export default class hashkey extends hashkeyRest {
109
109
  * @see https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
110
110
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111
111
  * @param {string} [params.type] 'spot' or 'swap' - the type of the market to watch balance for (default 'spot')
112
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
112
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
113
113
  */
114
114
  watchBalance(params?: {}): Promise<Balances>;
115
115
  setBalanceCache(client: Client, type: any, subscribeHash: any): void;