Code cleanup

This commit is contained in:
2025-03-27 23:30:35 -04:00
parent 3449a91eb5
commit 860de51b77
2 changed files with 4 additions and 3 deletions

View File

@@ -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()

View File

@@ -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;