-
Notifications
You must be signed in to change notification settings - Fork 24
Oracle index #143
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
Oracle index #143
Conversation
@@ -0,0 +1,62 @@ | |||
#!/usr/bin/env python3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the indexes are self contained equations, could you make unit tests in addition to these integration tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically all the functions require queries to either band or secretswap
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could those functions be moved into individual functions so you can spoof that data?
Co-authored-by: Guy S Garcia <34169809+FloppyDisck@users.noreply.github.com>
Initial testing looks good, I can test more thoroughly once we have BAND on pulsar-1. Currently uses a basic weighted average
I used this site to build test cases https://www.rapidtables.com/calc/math/weighted-average-calculator.html
This still needs testing with sswap pairs and such, but using band it is working well