Cleanup
This commit is contained in:
@@ -90,8 +90,14 @@ namespace MarketData.Helper
|
||||
// Single threaded method, use for debugging a single symbol fetch without going through the queue
|
||||
public static void LoadAnalystPriceTargetEx(String symbol,DateTime modified)
|
||||
{
|
||||
if (!AnalystPriceTargetDA.CheckAnalystPriceTargetModifiedOn(symbol, modified)) LoadAnalystPriceTargetEx(symbol);
|
||||
else MDTrace.WriteLine(LogLevel.DEBUG,"Already have analyst price target for '"+symbol+"' on "+Utility.DateTimeToStringMMHDDHYYYY(modified));
|
||||
if (!AnalystPriceTargetDA.CheckAnalystPriceTargetModifiedOn(symbol, modified))
|
||||
{
|
||||
LoadAnalystPriceTargetEx(symbol);
|
||||
}
|
||||
else
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,"Already have analyst price target for '"+symbol+"' on "+Utility.DateTimeToStringMMHDDHYYYY(modified));
|
||||
}
|
||||
}
|
||||
public static void LoadAnalystPriceTargetEx(String symbol)
|
||||
{
|
||||
@@ -102,8 +108,10 @@ namespace MarketData.Helper
|
||||
if (null != analystPriceTarget)
|
||||
{
|
||||
AnalystPriceTargetDA.InsertAnalystPriceTarget(analystPriceTarget);
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,"");
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,AnalystPriceTarget.Header);
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,analystPriceTarget.ToString());
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,"");
|
||||
}
|
||||
}
|
||||
catch (Exception exception)
|
||||
|
||||
Reference in New Issue
Block a user