Fix Cycle calculation in MGSHBacktest
This commit is contained in:
@@ -412,6 +412,7 @@ namespace MarketData.Generator.MGSHMomentum
|
||||
if(TradeDate.Equals(AnalysisDate))
|
||||
{
|
||||
TradeDate = nextBusinessDay;
|
||||
Cycle++; // advance the cycle so that the next monthly run calculates the correct slot
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user