-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support TWAP at the Airnode feed side #48
Comments
or do you have a different representation in mind? |
That implies that the OIS knows about
Say we reconfigure an API provider's TWAP window from 5 minutes to 10 minutes. This won't be signaled to the end user in any way (beacuse the Beacon ID remains the same) but this is both a bug and a feature. The point of the TWAP is to come up with a number that better represents |
Not really. The configuration snippet is from templates section. It could be stripped out with pre-processing, similarly how we do it as of now. That said, I don't really like this hack and this just adds one more level to it. |
Right, that's quite awful |
Reminder that #207 is a thing |
Users frequently request us to provide a kind of data that we only have access to in raw form, with TWAP applied. If we could specify in the pusher config that the signed data for a Beacon requires 15 minutes TWAP to be applied for example, we would be able to serve a wider variety of data. Two problems:
int256
.@bdrhn9 for visibility because we discussed implementing this at the Nodary API-side yesterday (but if we implement this here we can generalize it to other API providers as well)
The text was updated successfully, but these errors were encountered: