diff --git a/MarketData/MarketData/Services/MainService.cs b/MarketData/MarketData/Services/MainService.cs index 6aadef7..3ae678c 100755 --- a/MarketData/MarketData/Services/MainService.cs +++ b/MarketData/MarketData/Services/MainService.cs @@ -557,11 +557,11 @@ namespace MarketData.Services // Here is the start of the real workers ThreadPool.QueueUserWorkItem(delegate { - UpdatePricesYahooSweep(startDate); // The sweep variation of the method is intended to be used after the BigCharts update because the sweep will take pricing_source into consideration when fetching prices. - UpdatePricesRobinhood(startDate); // - UpdatePricesBarChartSweep(startDate); // barchart. This sweep will pull any prices we failed to retrieve from BigCharts + UpdatePricesYahooSweep(startDate); // This was a sweep but now it is the main price feed since the BigCharts feed issue. Robinhood runs to fill the gaps anbd then BarChart + UpdatePricesRobinhood(startDate); // This the new Robinhood price feed. It will only pull current day prices for items that have not been pulled from above feed. + UpdatePricesBarChartSweep(startDate); // barchart. This sweep will pull any prices we failed to retrieve from Yahoo and Robinhood. resetEvents[STAGE_1].Set(); - SMSClient.SendSMSEmail("UPDATEDAILY2 STAGE_1 UPDATEPRICESBIGCHARTS/YAHOO done.", smsUserName, smsRecipients, smsSMTPAddress, smsUserName, smsPassword); + SMSClient.SendSMSEmail("UPDATEDAILY2 STAGE_1 UPDATEPRICES YAHOO/ROBINHOOD/BARCHART done.", smsUserName, smsRecipients, smsSMTPAddress, smsUserName, smsPassword); MDTrace.WriteLine(LogLevel.DEBUG,$"STAGE_1 complete."); }); resetEvents[STAGE_1].WaitOne(); // wait for pricing to finish diff --git a/MarketData/MarketDataLib/Helper/MarketDataHelper.cs b/MarketData/MarketDataLib/Helper/MarketDataHelper.cs index bf2f13c..e5dd270 100755 --- a/MarketData/MarketDataLib/Helper/MarketDataHelper.cs +++ b/MarketData/MarketDataLib/Helper/MarketDataHelper.cs @@ -5107,7 +5107,7 @@ namespace MarketData.Helper if (null == price) return null; if (!price.Date.Date.Equals(startDate.Date)) { - MDTrace.WriteLine(LogLevel.DEBUG, $"Error, the price retrieved from Robinhood for : {symbol} is dated {price.Date.Date.ToShortDateString()} , expected {startDate.Date.ToShortDateString()}."); + MDTrace.WriteLine(LogLevel.DEBUG, $"Error, the price retrieved from Robinhood for : {symbol} is dated {price.Date.Date.ToShortDateString()}, expected {startDate.Date.ToShortDateString()}."); return null; } return price;