Enable UpdateMissingAnalystRatings

This commit is contained in:
2025-11-06 07:53:49 -05:00
parent 3133030329
commit feb126b5e1
2 changed files with 2 additions and 2 deletions

View File

@@ -585,7 +585,7 @@ namespace MarketData.Services
ThreadPool.QueueUserWorkItem(delegate ThreadPool.QueueUserWorkItem(delegate
{ {
UpdateLatestAnalystRatings(true); // WWW.BRIEFING.COM UpdateLatestAnalystRatings(true); // WWW.BRIEFING.COM
// UpdateMissingAnalystRatings(); // MARKET BEAT UpdateMissingAnalystRatings(); // MARKET BEAT
resetEvents[STAGE_4].Set(); resetEvents[STAGE_4].Set();
MDTrace.WriteLine(LogLevel.DEBUG,$"STAGE_4 complete"); MDTrace.WriteLine(LogLevel.DEBUG,$"STAGE_4 complete");
}); });

View File

@@ -41,7 +41,7 @@ namespace MarketData.Helper
List<String> symbols = PricingDA.GetSymbols(); List<String> symbols = PricingDA.GetSymbols();
DateTime maxRatingsDate = AnalystRatingsDA.GetMaxDateNoZacks(); DateTime maxRatingsDate = AnalystRatingsDA.GetMaxDateNoZacks();
Queue = symbols; Queue = symbols;
// ShuffleQueue(); // shuffle up the symbols // ShuffleQueue(); // shuffle up the symbols
Index = -1; Index = -1;
ManualResetEvent[] resetEvents = new ManualResetEvent[MaxThreads]; ManualResetEvent[] resetEvents = new ManualResetEvent[MaxThreads];
for (int eventIndex = 0; eventIndex < resetEvents.Length; eventIndex++) resetEvents[eventIndex] = new ManualResetEvent(true); for (int eventIndex = 0; eventIndex < resetEvents.Length; eventIndex++) resetEvents[eventIndex] = new ManualResetEvent(true);