-
Notifications
You must be signed in to change notification settings - Fork 303
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
[Feature] Crypto volatility index adapter (by COTI) #138
[Feature] Crypto volatility index adapter (by COTI) #138
Conversation
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.
Thanks for making this PR! Please see the comments that I left. I also see that the adapter is written in JS, but follows some of the structure we use for TS adapters.
We are working on moving more and more over to TS. Would you be able to rewrite this to TS, following the structure in the example adapter? It shouldn't be that big of a difference, just adding some types and replacing callbacks with async/await.
updated the adapter to TS as requested |
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.
There seems to be a few linter checks that are failing. We'll need that sorted before merging as well.
f8f3baf
to
9515a4c
Compare
18abda3
to
b78b1f7
Compare
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.
Was able to run this adapter successfully on a Kovan feed! Just a couple comments below.
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.
Just a few things that came to my attention when running it again.
heartbeat remove axios
7d34cbc
to
50f89a5
Compare
Description
An external adapter for calculating the Crypto volatility index (CVX)