Hi Team, I deployed a code live today which is supposed to make a log at 10:05 NY time (as it does in backtesting), however I didn't get any log at 10:05 in the live section. Do you know why?
You can see the code below as example:

 

        self.ticker = self.AddEquity(self.asset, Resolution.Minute).Symbol

        self.rollingWindow = RollingWindow[TradeBar](2)

        self.Consolidate(self.ticker, timedelta(minutes=30), self.CustomBarHandler)

        self.Schedule.On(self.DateRules.EveryDay(self.ticker), self.TimeRules.At(10, 5), self.BuyOnOpen


def BuyOnOpen(self):

        if not self.rollingWindow.IsReady:

            return

        self.first_half_hour_return = self.CalculateReturn(self.rollingWindow)

        # Debugging statements

        time = self.rollingWindow[0].Time

        timePrev = self.rollingWindow[1].EndTime

        self.Debug(f"First Half-Hour Return: {self.first_half_hour_return}")
 

 

def CalculateReturn(self, bar):

        if bar[0].Close is not None and bar[1].Close is not None:

            return (bar[0].Close / bar[1].Close) - 1

        else:

            return 0  # Return 0 if there are no close prices