Fix Cycle calculation in MGSHBacktest

This commit is contained in:
2025-05-01 07:24:59 -04:00
parent 919e4655a4
commit f9bf29ed53
2 changed files with 2 additions and 0 deletions

View File

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