for (IOHLCPoint ohlc : ohlcPointDao.find(hdr.id)) {
ohlcTimeSeries.addLast(ohlc);
}
IMutableTickTimeSeries tickTimeSeries = stockDatabase.getTickTimeSeries();
for (ITickPoint tick : tickPointDao.find(hdr.id)) {
tickTimeSeries.addLast(tick);
}
addToCache(stockDatabase, hdr.id);
}
return stockDatabase;
}