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

Overrides for confidence thresholds on different query IDs #144

Open
0xSpuddy opened this issue Jul 17, 2023 · 0 comments
Open

Overrides for confidence thresholds on different query IDs #144

0xSpuddy opened this issue Jul 17, 2023 · 0 comments

Comments

@0xSpuddy
Copy link
Collaborator

0xSpuddy commented Jul 17, 2023

Recently the DVM has been pushing alterts on gas price submissions. The issue here is that gas price is simply much more volatile than any spot price query ID. We should be able to set a confidence threshold override for more volatile query IDs.

For example, a confidence threshold of 10% (-c 0.10) for alerts on all query IDs unless it's ID 0x48e9e2c732ba278de6ac88a3a57a5c5ba13d3d8370e709b3b98333a57876ca95 (gas price) then use 25% confidence threshold (-c 0.25) simply because gas price is so volatile. Gas price can increase 2x in less than a minute when the network is busy.

Does this sound like a good idea? bad idea?

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