Catch possible ValueError in loading price data

Catch possible ValueError exception and prevent the program
from crashing if the market price data could not be obtained
from the external data source.