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/bitvavo.js CHANGED
@@ -657,7 +657,7 @@ export default class bitvavo extends Exchange {
657
657
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
658
658
  * @param {string} symbol unified symbol of the market to fetch the ticker for
659
659
  * @param {object} [params] extra parameters specific to the exchange API endpoint
660
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
660
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
661
661
  */
662
662
  async fetchTicker(symbol, params = {}) {
663
663
  await this.loadMarkets();
@@ -739,7 +739,7 @@ export default class bitvavo extends Exchange {
739
739
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
740
740
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
741
741
  * @param {object} [params] extra parameters specific to the exchange API endpoint
742
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
742
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
743
743
  */
744
744
  async fetchTickers(symbols = undefined, params = {}) {
745
745
  await this.loadMarkets();
@@ -775,7 +775,7 @@ export default class bitvavo extends Exchange {
775
775
  * @param {object} [params] extra parameters specific to the exchange API endpoint
776
776
  * @param {int} [params.until] the latest time in ms to fetch entries for
777
777
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
778
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
778
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
779
779
  */
780
780
  async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
781
781
  await this.loadMarkets();
@@ -916,7 +916,7 @@ export default class bitvavo extends Exchange {
916
916
  * @see https://docs.bitvavo.com/#tag/Account/paths/~1account/get
917
917
  * @description fetch the trading fees for multiple markets
918
918
  * @param {object} [params] extra parameters specific to the exchange API endpoint
919
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
919
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
920
920
  */
921
921
  async fetchTradingFees(params = {}) {
922
922
  await this.loadMarkets();
@@ -967,7 +967,7 @@ export default class bitvavo extends Exchange {
967
967
  * @param {string} symbol unified symbol of the market to fetch the order book for
968
968
  * @param {int} [limit] the maximum amount of order book entries to return
969
969
  * @param {object} [params] extra parameters specific to the exchange API endpoint
970
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
970
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
971
971
  */
972
972
  async fetchOrderBook(symbol, limit = undefined, params = {}) {
973
973
  await this.loadMarkets();
@@ -1102,7 +1102,7 @@ export default class bitvavo extends Exchange {
1102
1102
  * @see https://docs.bitvavo.com/#tag/Account/paths/~1balance/get
1103
1103
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1104
1104
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1105
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1105
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
1106
1106
  */
1107
1107
  async fetchBalance(params = {}) {
1108
1108
  await this.loadMarkets();
@@ -1124,7 +1124,7 @@ export default class bitvavo extends Exchange {
1124
1124
  * @description fetch the deposit address for a currency associated with this account
1125
1125
  * @param {string} code unified currency code
1126
1126
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1127
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1127
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
1128
1128
  */
1129
1129
  async fetchDepositAddress(code, params = {}) {
1130
1130
  await this.loadMarkets();
@@ -1256,7 +1256,7 @@ export default class bitvavo extends Exchange {
1256
1256
  * @param {string} [params.selfTradePrevention] one of EXPIRE_BOTH, cancelOldest, cancelNewest or decrementAndCancel
1257
1257
  * @param {bool} [params.disableMarketProtection] don't cancel if the next fill price is 10% worse than the best fill price
1258
1258
  * @param {bool} [params.responseRequired] Set this to 'false' when only an acknowledgement of success or failure is required, this is faster.
1259
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1259
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1260
1260
  */
1261
1261
  async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
1262
1262
  await this.loadMarkets();
@@ -1354,7 +1354,7 @@ export default class bitvavo extends Exchange {
1354
1354
  * @param {float} [amount] how much of currency you want to trade in units of base currency
1355
1355
  * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1356
1356
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1357
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1357
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1358
1358
  */
1359
1359
  async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
1360
1360
  await this.loadMarkets();
@@ -1394,7 +1394,7 @@ export default class bitvavo extends Exchange {
1394
1394
  * @param {string} id order id
1395
1395
  * @param {string} symbol unified symbol of the market the order was made in
1396
1396
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1397
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1397
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1398
1398
  */
1399
1399
  async cancelOrder(id, symbol = undefined, params = {}) {
1400
1400
  await this.loadMarkets();
@@ -1415,7 +1415,7 @@ export default class bitvavo extends Exchange {
1415
1415
  * @description cancel all open orders
1416
1416
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1417
1417
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1418
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1418
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1419
1419
  */
1420
1420
  async cancelAllOrders(symbol = undefined, params = {}) {
1421
1421
  await this.loadMarkets();
@@ -1451,7 +1451,7 @@ export default class bitvavo extends Exchange {
1451
1451
  * @param {string} id the order id
1452
1452
  * @param {string} symbol unified symbol of the market the order was made in
1453
1453
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1454
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1454
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1455
1455
  */
1456
1456
  async fetchOrder(id, symbol = undefined, params = {}) {
1457
1457
  if (symbol === undefined) {
@@ -1533,7 +1533,7 @@ export default class bitvavo extends Exchange {
1533
1533
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1534
1534
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1535
1535
  * @param {int} [params.until] the latest time in ms to fetch entries for
1536
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1536
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1537
1537
  */
1538
1538
  async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1539
1539
  if (symbol === undefined) {
@@ -1595,7 +1595,7 @@ export default class bitvavo extends Exchange {
1595
1595
  * @param {int} [since] the earliest time in ms to fetch open orders for
1596
1596
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1597
1597
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1598
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1598
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
1599
1599
  */
1600
1600
  async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1601
1601
  await this.loadMarkets();
@@ -1796,7 +1796,7 @@ export default class bitvavo extends Exchange {
1796
1796
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1797
1797
  * @param {int} [params.until] the latest time in ms to fetch entries for
1798
1798
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1799
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
1799
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
1800
1800
  */
1801
1801
  async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
1802
1802
  if (symbol === undefined) {
@@ -1853,7 +1853,7 @@ export default class bitvavo extends Exchange {
1853
1853
  * @param {string} address the address to withdraw to
1854
1854
  * @param {string} tag
1855
1855
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1856
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1856
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
1857
1857
  */
1858
1858
  async withdraw(code, amount, address, tag = undefined, params = {}) {
1859
1859
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -1900,7 +1900,7 @@ export default class bitvavo extends Exchange {
1900
1900
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1901
1901
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1902
1902
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1903
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1903
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
1904
1904
  */
1905
1905
  async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
1906
1906
  await this.loadMarkets();
@@ -1955,7 +1955,7 @@ export default class bitvavo extends Exchange {
1955
1955
  * @param {int} [since] the earliest time in ms to fetch deposits for
1956
1956
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1957
1957
  * @param {object} [params] extra parameters specific to the bitvavo api endpoint
1958
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1958
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
1959
1959
  */
1960
1960
  async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
1961
1961
  await this.loadMarkets();
@@ -2124,7 +2124,7 @@ export default class bitvavo extends Exchange {
2124
2124
  * @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
2125
2125
  * @param {string[]|undefined} codes list of unified currency codes
2126
2126
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2127
- * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2127
+ * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
2128
2128
  */
2129
2129
  async fetchDepositWithdrawFees(codes = undefined, params = {}) {
2130
2130
  await this.loadMarkets();
@@ -23,7 +23,7 @@ export default class blockchaincom extends Exchange {
23
23
  * @param {string} symbol unified symbol of the market to fetch the order book for
24
24
  * @param {int} [limit] the maximum amount of order book entries to return
25
25
  * @param {object} [params] extra parameters specific to the exchange API endpoint
26
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
26
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
27
27
  */
28
28
  fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
29
29
  /**
@@ -34,7 +34,7 @@ export default class blockchaincom extends Exchange {
34
34
  * @param {string} symbol unified market symbol
35
35
  * @param {int} [limit] max number of orders to return, default is undefined
36
36
  * @param {object} [params] extra parameters specific to the exchange API endpoint
37
- * @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
37
+ * @returns {object} an [order book structure]{@link https://docs.ccxt.com/?id=order-book-structure}
38
38
  */
39
39
  fetchL3OrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
40
40
  fetchL2OrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
@@ -46,7 +46,7 @@ export default class blockchaincom extends Exchange {
46
46
  * @see https://api.blockchain.com/v3/#gettickerbysymbol
47
47
  * @param {string} symbol unified symbol of the market to fetch the ticker for
48
48
  * @param {object} [params] extra parameters specific to the exchange API endpoint
49
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
49
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
50
50
  */
51
51
  fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
52
52
  /**
@@ -56,7 +56,7 @@ export default class blockchaincom extends Exchange {
56
56
  * @see https://api.blockchain.com/v3/#gettickers
57
57
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
58
58
  * @param {object} [params] extra parameters specific to the exchange API endpoint
59
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
59
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
60
60
  */
61
61
  fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
62
62
  parseOrderState(state: any): string;
@@ -72,7 +72,7 @@ export default class blockchaincom extends Exchange {
72
72
  * @param {float} amount how much of currency you want to trade in units of base currency
73
73
  * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
74
74
  * @param {object} [params] extra parameters specific to the exchange API endpoint
75
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
75
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
76
76
  */
77
77
  createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
78
78
  /**
@@ -83,7 +83,7 @@ export default class blockchaincom extends Exchange {
83
83
  * @param {string} id order id
84
84
  * @param {string} symbol unified symbol of the market the order was made in
85
85
  * @param {object} [params] extra parameters specific to the exchange API endpoint
86
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
86
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
87
87
  */
88
88
  cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
89
89
  /**
@@ -93,7 +93,7 @@ export default class blockchaincom extends Exchange {
93
93
  * @see https://api.blockchain.com/v3/#deleteallorders
94
94
  * @param {string} symbol unified market symbol of the market to cancel orders in, all markets are used if undefined, default is undefined
95
95
  * @param {object} [params] extra parameters specific to the exchange API endpoint
96
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
96
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
97
97
  */
98
98
  cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
99
99
  /**
@@ -102,7 +102,7 @@ export default class blockchaincom extends Exchange {
102
102
  * @description fetch the trading fees for multiple markets
103
103
  * @see https://api.blockchain.com/v3/#getfees
104
104
  * @param {object} [params] extra parameters specific to the exchange API endpoint
105
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
105
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
106
106
  */
107
107
  fetchTradingFees(params?: {}): Promise<TradingFees>;
108
108
  /**
@@ -114,7 +114,7 @@ export default class blockchaincom extends Exchange {
114
114
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
115
115
  * @param {int} [limit] max number of orders to return, default is undefined
116
116
  * @param {object} [params] extra parameters specific to the exchange API endpoint
117
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
117
+ * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
118
118
  */
119
119
  fetchCanceledOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
120
120
  /**
@@ -126,7 +126,7 @@ export default class blockchaincom extends Exchange {
126
126
  * @param {int} [since] the earliest time in ms to fetch orders for
127
127
  * @param {int} [limit] the maximum number of order structures to retrieve
128
128
  * @param {object} [params] extra parameters specific to the exchange API endpoint
129
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
129
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
130
130
  */
131
131
  fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
132
132
  /**
@@ -138,7 +138,7 @@ export default class blockchaincom extends Exchange {
138
138
  * @param {int} [since] the earliest time in ms to fetch open orders for
139
139
  * @param {int} [limit] the maximum number of open orders structures to retrieve
140
140
  * @param {object} [params] extra parameters specific to the exchange API endpoint
141
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
141
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
142
142
  */
143
143
  fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
144
144
  fetchOrdersByState(state: any, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
@@ -152,7 +152,7 @@ export default class blockchaincom extends Exchange {
152
152
  * @param {int} [since] the earliest time in ms to fetch trades for
153
153
  * @param {int} [limit] the maximum number of trades structures to retrieve
154
154
  * @param {object} [params] extra parameters specific to the exchange API endpoint
155
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
155
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
156
156
  */
157
157
  fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
158
158
  /**
@@ -162,7 +162,7 @@ export default class blockchaincom extends Exchange {
162
162
  * @see https://api.blockchain.com/v3/#getdepositaddress
163
163
  * @param {string} code unified currency code
164
164
  * @param {object} [params] extra parameters specific to the exchange API endpoint
165
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
165
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
166
166
  */
167
167
  fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
168
168
  parseTransactionState(state: any): string;
@@ -177,7 +177,7 @@ export default class blockchaincom extends Exchange {
177
177
  * @param {string} address the address to withdraw to
178
178
  * @param {string} tag
179
179
  * @param {object} [params] extra parameters specific to the exchange API endpoint
180
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
180
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
181
181
  */
182
182
  withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
183
183
  /**
@@ -189,7 +189,7 @@ export default class blockchaincom extends Exchange {
189
189
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
190
190
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
191
191
  * @param {object} [params] extra parameters specific to the exchange API endpoint
192
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
192
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
193
193
  */
194
194
  fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
195
195
  /**
@@ -200,7 +200,7 @@ export default class blockchaincom extends Exchange {
200
200
  * @param {string} id withdrawal id
201
201
  * @param {string} code not used by blockchaincom.fetchWithdrawal
202
202
  * @param {object} [params] extra parameters specific to the exchange API endpoint
203
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
203
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
204
204
  */
205
205
  fetchWithdrawal(id: string, code?: Str, params?: {}): Promise<Transaction>;
206
206
  /**
@@ -212,7 +212,7 @@ export default class blockchaincom extends Exchange {
212
212
  * @param {int} [since] the earliest time in ms to fetch deposits for
213
213
  * @param {int} [limit] the maximum number of deposits structures to retrieve
214
214
  * @param {object} [params] extra parameters specific to the exchange API endpoint
215
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
215
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
216
216
  */
217
217
  fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
218
218
  /**
@@ -223,7 +223,7 @@ export default class blockchaincom extends Exchange {
223
223
  * @param {string} id deposit id
224
224
  * @param {string} code not used by blockchaincom fetchDeposit ()
225
225
  * @param {object} [params] extra parameters specific to the exchange API endpoint
226
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
226
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
227
227
  */
228
228
  fetchDeposit(id: string, code?: Str, params?: {}): Promise<Transaction>;
229
229
  /**
@@ -232,7 +232,7 @@ export default class blockchaincom extends Exchange {
232
232
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
233
233
  * @see https://api.blockchain.com/v3/#getaccounts
234
234
  * @param {object} [params] extra parameters specific to the exchange API endpoint
235
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
235
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
236
236
  */
237
237
  fetchBalance(params?: {}): Promise<Balances>;
238
238
  /**
@@ -243,7 +243,7 @@ export default class blockchaincom extends Exchange {
243
243
  * @param {string} id the order id
244
244
  * @param {string} symbol not used by blockchaincom fetchOrder
245
245
  * @param {object} [params] extra parameters specific to the exchange API endpoint
246
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
246
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
247
247
  */
248
248
  fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
249
249
  sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
@@ -434,7 +434,7 @@ export default class blockchaincom extends Exchange {
434
434
  * @param {string} symbol unified symbol of the market to fetch the order book for
435
435
  * @param {int} [limit] the maximum amount of order book entries to return
436
436
  * @param {object} [params] extra parameters specific to the exchange API endpoint
437
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
437
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
438
438
  */
439
439
  async fetchOrderBook(symbol, limit = undefined, params = {}) {
440
440
  return await this.fetchL3OrderBook(symbol, limit, params);
@@ -447,7 +447,7 @@ export default class blockchaincom extends Exchange {
447
447
  * @param {string} symbol unified market symbol
448
448
  * @param {int} [limit] max number of orders to return, default is undefined
449
449
  * @param {object} [params] extra parameters specific to the exchange API endpoint
450
- * @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
450
+ * @returns {object} an [order book structure]{@link https://docs.ccxt.com/?id=order-book-structure}
451
451
  */
452
452
  async fetchL3OrderBook(symbol, limit = undefined, params = {}) {
453
453
  await this.loadMarkets();
@@ -517,7 +517,7 @@ export default class blockchaincom extends Exchange {
517
517
  * @see https://api.blockchain.com/v3/#gettickerbysymbol
518
518
  * @param {string} symbol unified symbol of the market to fetch the ticker for
519
519
  * @param {object} [params] extra parameters specific to the exchange API endpoint
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 fetchTicker(symbol, params = {}) {
523
523
  await this.loadMarkets();
@@ -535,7 +535,7 @@ export default class blockchaincom extends Exchange {
535
535
  * @see https://api.blockchain.com/v3/#gettickers
536
536
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
537
537
  * @param {object} [params] extra parameters specific to the exchange API endpoint
538
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
538
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
539
539
  */
540
540
  async fetchTickers(symbols = undefined, params = {}) {
541
541
  await this.loadMarkets();
@@ -620,7 +620,7 @@ export default class blockchaincom extends Exchange {
620
620
  * @param {float} amount how much of currency you want to trade in units of base currency
621
621
  * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
622
622
  * @param {object} [params] extra parameters specific to the exchange API endpoint
623
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
623
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
624
624
  */
625
625
  async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
626
626
  await this.loadMarkets();
@@ -680,7 +680,7 @@ export default class blockchaincom extends Exchange {
680
680
  * @param {string} id order id
681
681
  * @param {string} symbol unified symbol of the market the order was made in
682
682
  * @param {object} [params] extra parameters specific to the exchange API endpoint
683
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
683
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
684
684
  */
685
685
  async cancelOrder(id, symbol = undefined, params = {}) {
686
686
  const request = {
@@ -699,7 +699,7 @@ export default class blockchaincom extends Exchange {
699
699
  * @see https://api.blockchain.com/v3/#deleteallorders
700
700
  * @param {string} symbol unified market symbol of the market to cancel orders in, all markets are used if undefined, default is undefined
701
701
  * @param {object} [params] extra parameters specific to the exchange API endpoint
702
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
702
+ * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
703
703
  */
704
704
  async cancelAllOrders(symbol = undefined, params = {}) {
705
705
  // cancels all open orders if no symbol specified
@@ -728,7 +728,7 @@ export default class blockchaincom extends Exchange {
728
728
  * @description fetch the trading fees for multiple markets
729
729
  * @see https://api.blockchain.com/v3/#getfees
730
730
  * @param {object} [params] extra parameters specific to the exchange API endpoint
731
- * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
731
+ * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
732
732
  */
733
733
  async fetchTradingFees(params = {}) {
734
734
  await this.loadMarkets();
@@ -763,7 +763,7 @@ export default class blockchaincom extends Exchange {
763
763
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
764
764
  * @param {int} [limit] max number of orders to return, default is undefined
765
765
  * @param {object} [params] extra parameters specific to the exchange API endpoint
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 fetchCanceledOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
769
769
  const state = 'CANCELED';
@@ -778,7 +778,7 @@ export default class blockchaincom extends Exchange {
778
778
  * @param {int} [since] the earliest time in ms to fetch orders for
779
779
  * @param {int} [limit] the maximum number of order structures to retrieve
780
780
  * @param {object} [params] extra parameters specific to the exchange API endpoint
781
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
781
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
782
782
  */
783
783
  async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
784
784
  const state = 'FILLED';
@@ -793,7 +793,7 @@ export default class blockchaincom extends Exchange {
793
793
  * @param {int} [since] the earliest time in ms to fetch open orders for
794
794
  * @param {int} [limit] the maximum number of open orders structures to retrieve
795
795
  * @param {object} [params] extra parameters specific to the exchange API endpoint
796
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
796
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
797
797
  */
798
798
  async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
799
799
  const state = 'OPEN';
@@ -870,7 +870,7 @@ export default class blockchaincom extends Exchange {
870
870
  * @param {int} [since] the earliest time in ms to fetch trades for
871
871
  * @param {int} [limit] the maximum number of trades structures to retrieve
872
872
  * @param {object} [params] extra parameters specific to the exchange API endpoint
873
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
873
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
874
874
  */
875
875
  async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
876
876
  await this.loadMarkets();
@@ -893,7 +893,7 @@ export default class blockchaincom extends Exchange {
893
893
  * @see https://api.blockchain.com/v3/#getdepositaddress
894
894
  * @param {string} code unified currency code
895
895
  * @param {object} [params] extra parameters specific to the exchange API endpoint
896
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
896
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
897
897
  */
898
898
  async fetchDepositAddress(code, params = {}) {
899
899
  await this.loadMarkets();
@@ -1010,7 +1010,7 @@ export default class blockchaincom extends Exchange {
1010
1010
  * @param {string} address the address to withdraw to
1011
1011
  * @param {string} tag
1012
1012
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1013
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1013
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
1014
1014
  */
1015
1015
  async withdraw(code, amount, address, tag = undefined, params = {}) {
1016
1016
  await this.loadMarkets();
@@ -1044,7 +1044,7 @@ export default class blockchaincom extends Exchange {
1044
1044
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1045
1045
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
1046
1046
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1047
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1047
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
1048
1048
  */
1049
1049
  async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
1050
1050
  await this.loadMarkets();
@@ -1070,7 +1070,7 @@ export default class blockchaincom extends Exchange {
1070
1070
  * @param {string} id withdrawal id
1071
1071
  * @param {string} code not used by blockchaincom.fetchWithdrawal
1072
1072
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1073
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1073
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
1074
1074
  */
1075
1075
  async fetchWithdrawal(id, code = undefined, params = {}) {
1076
1076
  await this.loadMarkets();
@@ -1089,7 +1089,7 @@ export default class blockchaincom extends Exchange {
1089
1089
  * @param {int} [since] the earliest time in ms to fetch deposits for
1090
1090
  * @param {int} [limit] the maximum number of deposits structures to retrieve
1091
1091
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1092
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1092
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
1093
1093
  */
1094
1094
  async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
1095
1095
  await this.loadMarkets();
@@ -1115,7 +1115,7 @@ export default class blockchaincom extends Exchange {
1115
1115
  * @param {string} id deposit id
1116
1116
  * @param {string} code not used by blockchaincom fetchDeposit ()
1117
1117
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1118
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1118
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
1119
1119
  */
1120
1120
  async fetchDeposit(id, code = undefined, params = {}) {
1121
1121
  await this.loadMarkets();
@@ -1132,7 +1132,7 @@ export default class blockchaincom extends Exchange {
1132
1132
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1133
1133
  * @see https://api.blockchain.com/v3/#getaccounts
1134
1134
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1135
- * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1135
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
1136
1136
  */
1137
1137
  async fetchBalance(params = {}) {
1138
1138
  await this.loadMarkets();
@@ -1181,7 +1181,7 @@ export default class blockchaincom extends Exchange {
1181
1181
  * @param {string} id the order id
1182
1182
  * @param {string} symbol not used by blockchaincom fetchOrder
1183
1183
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1184
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1184
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
1185
1185
  */
1186
1186
  async fetchOrder(id, symbol = undefined, params = {}) {
1187
1187
  // note: only works with exchange-order-id