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

Add raw price feed query #63

Merged
merged 4 commits into from
Nov 11, 2024
Merged

Add raw price feed query #63

merged 4 commits into from
Nov 11, 2024

Conversation

harisang
Copy link
Contributor

@harisang harisang commented Nov 7, 2024

This PR adds a view of the mainnet price feed that we currently upload, that is set up in such a way so that it can be used right away with the existing slippage calculations. This means that for every price feed, and each token, we compute an average price for each hour (as this is what we have also been doing with the Dune price feed).

@@ -0,0 +1,41 @@
with imported_prices as (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not have any documentation yet

Copy link
Contributor

@fhenneke fhenneke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for documentation.

@harisang
Copy link
Contributor Author

Looks good except for documentation.

Just added

@harisang harisang merged commit 9621aff into main Nov 11, 2024
1 check passed
@harisang harisang deleted the add_raw_price_feed_query branch November 11, 2024 22:22
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

Successfully merging this pull request may close these issues.

2 participants