-
Notifications
You must be signed in to change notification settings - Fork 116
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]: create an initial basic version of the PriceOracle
RFQ service
#777
Comments
PriceOracle
RFQ service
The unknowns I'd like to solve are:
Do we need meta data in the asset to the effect of "price this asset as this fiat currency"? Any ideas @Roasbeef @jharveyb @dstadulis ? |
From the code's PoV, it's an abstract interface it can use to obtain price data. It isn't aware of where it's getting that data from, just that it can map a The actual implementation can source data from pretty much anywhere. We'll fashion a standardized JSON/gRPC interface similar to the
I don't think this is a concern. See above. The code can be written in an abstracted style, trusting that if a daemon has an asset, then it'll be able to obtain a relevant price for it. If not, then there'll be an error scenario where a user may need to manually update a config, or run a slim proxy to be able to obtain a quote. More concretely, I think this would take the form of a
What would that look like in practice? I think, no? The logic of an oracle implementation itself can be very dynamic, and isn't really restricted by much. You can think of it just like fee estimation in a sense. |
PriceOracle
RFQ servicePriceOracle
RFQ service
Parent issue: #683
The
PriceOracle
is a new RFQ subsystem service for retrieving the exchange rate between BTC and a counter currency. The service is queried by the RFQNegotiator
service.The text was updated successfully, but these errors were encountered: