Use dictionary to get the stock price from date