Enable UpdateMissingAnalystRatings
This commit is contained in:
@@ -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");
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user