Added stockId to HistoryData class