// *** GET SYMBOLS ***
var symbolList = db.ST_D_SYMBOL.Get().Where(sym => (sym.DATE_UPDATED > DateTime.Now.AddMonths(-1)) || sym.DATE_UPDATED == null).OrderBy(x => x.SYMBOL).ToList();
// *** GRAB DATA FROM YAHOO FOR TODAY ***
int total = symbolList.Count();
int rowPerPage = 100;
int pages = total / rowPerPage;
if((total % rowPerPage) > 0)
{
pages++;
}
for (int page = 1; page < pages; page++)
{
List
task.RetrieveDailyStockData(symbolNameList, fileName);
}