You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetching and chart price calculation on the frontend - get historical data from the indexer and compute price based on specific pool logic for single point in time
add XYK
add Stableswap
add Omnipool
add LBP
Add function to display interpolated data for specific time points to display charts properly
We will need to temporarily add the router event to the historical data to keep current charts for unpaired tokens
Add better route price handling aggregator
get most liquid route function (we will need to store most liquid routes for time period in the processor. This will need to change for example if the pool ceases to exist)
we will get most liquid routes for whatever is the amount of points on chart (i.e. 50)
get data points for all the pools in the route and compute price from the routed data at each point
The text was updated successfully, but these errors were encountered:
We already support optional route param for getSell, getBuy so if we know the most liquid route we can use it.
We also support most liquid route calc but only for spot price calc ATM.
We need this for historical blocks so we need to move similar logic to indexer to store this at the point in time. Polling the node for this would be too expensive
Add additional optional endpoint for indexer
Fetching and chart price calculation on the frontend - get historical data from the indexer and compute price based on specific pool logic for single point in time
Add function to display interpolated data for specific time points to display charts properly
We will need to temporarily add the router event to the historical data to keep current charts for unpaired tokens
Add better route price handling aggregator
The text was updated successfully, but these errors were encountered: