Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public dynamic[] Quotes()
 {
     DataRetriever dr = new DataRetriever();
     return dr.ReturnData();
 }