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

[BUG] OHLC Snapshot Values Reset #251

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

[BUG] OHLC Snapshot Values Reset #251

mrtpain opened this issue Sep 15, 2022 · 0 comments

Comments

@mrtpain
Copy link
Member

mrtpain commented Sep 15, 2022

During the first day of a new token or liquidity pool, if a rewind is triggered manually or from a fork/orphan block, the OHLC values are lost and only the closing value is set.

For example if a new token price has on the first day its live:
open: 1
high: 10
low: 1
close: 8

And a rewind occurs on that first day all OHLC values would be reset to:
open: 8
high: 8
low: 8
close: 8

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