Price fetching non-whitelisted coins breaks app
Closed this issue · 1 comments
mrosendin commented
Description
Currently coins have to be added via Django admin in order for their prices to be retrieved every day. We need to design a solution to enable the fetching of prices for all coins supported by the Bitbutter API and determine a solution when a price for a token cannot be found.
Currently if there is an unfound price when sending a GET request to /api/portfolio/assets
, a 500 internal server error is returned resulting in a bad UX.
mrosendin commented
This issue has been addressed. If a coin is not supported, the price will be $0 for now.