add error handling mechanism when we grab historical price data