This is fine for now, something to add as an issue:
We don't want this to block the quote generation, but we want to provide a signal that one or more of the dependencies may be inaccurate
We should be able to capture some kind of status on the API calls each time a dependency is down, adding a new field for each dependency so the consumer knows which data may be using defaults
Especially on Polygon, CoinGecko price requests return an empty object for some (liquid) tokens, crashing the quote API
In the initial TradeQuoter review Alex suggested we set the price as
0
when this happens as a way of failing gracefully. (#61).Would that work for set-ui, or is there a more convenient default value?
Example response with zero values: