Additional changes for MGSH
This commit is contained in:
@@ -536,8 +536,8 @@ namespace MarketData.Generator.MGSHMomentum
|
||||
AnalysisDate=analysisDate;
|
||||
|
||||
if(startDate != TradeDate)
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,$"Unexpectd StartDate. Start Date:{startDate.ToShortDateString()} Trade Date:{TradeDate.ToShortDateString()}");
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,ConsoleColor.Red,$"Unexpectd StartDate. Start Date:{startDate.ToShortDateString()} Trade Date:{TradeDate.ToShortDateString()}");
|
||||
return new MGSHBacktestResult(false, CashBalance);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user