external-adapters-js
external-adapters-js copied to clipboard
New IV Feeds for BTC and ETH, adding a circuit breaker
Today, we have an existing gvol adapter that provides IV Feeds for BTC and ETH. It is currently providing data for 1, 2, 7, 14, 21, 28 intervals.
This task is that we want to create a new set of Feeds (14 in total) that add a new data provider as the primary (dxfeed) and roll gvol to the circuit breaker position. The circuit breaker should be based on unresponsiveness, meaning only use gvol here if dxfeed is down/unresponsive.
I suggest you look into the gvol IV EA to learn how our IV currently works. Then look at a circuit breaker EA to see how we should pattern failure circuit breakers.
Create a new adapter using these 2 sources.
Ensure that the days available meet the requirement: 1, 2, 7, 14, 21, 28, 30, 60, 90 on both ETH and BTC
Primary sources:
- dxfeed
- backup: gvol
https://docs.chain.link/docs/ethereum-addresses/#Rinkeby Testnet