Implemented historical data for stocks