protected void Application_Start(object sender, EventArgs e) { //kick off the DataRetriever DataRetriever dr = new DataRetriever(); string symbolsList = ConfigurationManager.AppSettings["SymbolsList"]; string[] symbolsArray = symbolsList.Split(','); dr.Symbols = symbolsArray; dr.RetrievalHourInterval = int.Parse(ConfigurationManager.AppSettings["RetrievalHourInterval"]); dr.Start(); }
public dynamic[] Quotes() { DataRetriever dr = new DataRetriever(); return dr.ReturnData(); }