if (! this.sessionDefined
|| Bars.IsFirstBarOfSession)
{
this.sessionIterator.GetNextSession(Time[0], true);
this.beginTradingTime = this.sessionIterator.ActualSessionBegin;
this.endTradingTime = this.sessionIterator.ActualSessionEnd;
this.sessionDefined = true;
}
Is there a way to keep the strategy running, iterating through each defined session until Friday, or at least until each EOD?

Comment