Code cleanup
This commit is contained in:
@@ -47,7 +47,7 @@ namespace MarketData.Helper
|
||||
}
|
||||
finally
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[LoadHistorical]End, total took {0}(ms)",profiler.End()));
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[LoadHeadlines]End, total took {0}(ms)",profiler.End()));
|
||||
}
|
||||
}
|
||||
public bool LoadHeadlines(List<String> requestSymbols)
|
||||
@@ -79,7 +79,7 @@ namespace MarketData.Helper
|
||||
}
|
||||
finally
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[LoadHistorical]End, total took {0}(ms)",profiler.End()));
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,String.Format("[LoadHeadlines]End, total took {0}(ms)",profiler.End()));
|
||||
}
|
||||
}
|
||||
private List<String> GetQueueSymbols()
|
||||
|
||||
@@ -3816,11 +3816,12 @@ namespace MarketData.Helper
|
||||
for(int index=0;index<strDateItems.Count;index++)
|
||||
{
|
||||
String strDateItem=strDateItems[index];
|
||||
if(String.IsNullOrEmpty(strDateItem))continue;
|
||||
if("TTM".Equals(strDateItem,StringComparison.CurrentCultureIgnoreCase))continue;
|
||||
IncomeStatement incomeStatement=new IncomeStatement();
|
||||
incomeStatement.Symbol=symbol;
|
||||
incomeStatement.Period=periodType;
|
||||
incomeStatement.AsOf=Utility.ParseDate(strDateItems[index]);
|
||||
incomeStatement.AsOf=Utility.ParseDate(strDateItem);
|
||||
incomeStatement.Modified=DateTime.Now;
|
||||
double multiplier=1.00;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user