Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Market Snapshots During Rewind #250

Open
mrtpain opened this issue Sep 15, 2022 · 0 comments
Open

[Improvement] Market Snapshots During Rewind #250

mrtpain opened this issue Sep 15, 2022 · 0 comments

Comments

@mrtpain
Copy link
Member

mrtpain commented Sep 15, 2022

Rewinds, either manually triggered or due to forks/orphan blocks are currently created using daily liquidity pool OHLC values.

This works as intended but can be improved by using hourly liquidity pool OHLC snapshots. By using daily, the market data loses some OHLC integrity being based off daily pool snapshots.

By switching to using hourly liquidity pool snapshots, the market snapshots can more accurately rewind OHLC values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant