Nebula-DEX / frontend-monorepo

Toolkit for building apps that interact with Vega
https://vega.xyz
MIT License
0 stars 1 forks source link

Switch to new candle service #41

Open descartes1596 opened 2 weeks ago

descartes1596 commented 2 weeks ago

The Chore

Vega datanode candle API is not fit for purpose. A new API service has been built to serve candles for Nebula.

Tasks

Additional details / background info

https://candles.neb.exchange/data/6d8da2600e94db28a0ff024049d8c1fe1e6d26ba46fd3e43517f26c133caad93/60/1

/candles/:marketId/:interval/:fromTimestamp/:toTimestamp

/candles/:marketId/:interval/:fromTimestamp

The interval should be provided in seconds, e.g. 5 minutes = 900 12:00

The timestamp Is milliseconds

Extra info

https://github.com/Nebula-DEX/candles-api/blob/b785c077a4b1fd4e6945f1891159035abd84598e/main.go#L13

descartes1596 commented 1 week ago

Issues: