Skip to content

Conversation

@Reisen
Copy link
Contributor

@Reisen Reisen commented Mar 3, 2022

This removes the old aggregation logic and simply stores the price and confidence directly in the aggregate. This follows up on the aggregation logic in v2 extracted from #139 and removes the grafting on input to the TWAP calculation.

@Reisen Reisen requested review from ali-behjati and jayantk March 3, 2022 14:52
@@ -1 +1 @@
{"exponent":-8,"price":0,"conf":0,"status":"unknown"}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are more significant changes than the test_oracle figures, as they're prices that are now considered trading instead of unknown, I'm not 100% sure how to gauge whether this is OK or not yet.

Copy link
Contributor

@jayantk jayantk left a comment

Choose a reason for hiding this comment

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

lgtm. I think the test changes are fine, but do double check per the comment below.

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.

3 participants