Hi,

I am trying to debug my algo on my local machine, and have initialize my algo as the following:

 

    def Initialize(self):
        ticker = "SPY"
        resolution = Resolution.Minute
        
        self.SetStartDate(2021, 8, 16)
        self.SetEndDate(2021, 8, 19)
        self.SetCash(100000)
        self.AddEquity(ticker, resolution)

 

I set a breakpoint on one of the line in OnData step:

    def OnData(self, data):
        if data["SPY"] is None:
            return

        self.lastPrice = data["SPY"].Close #Breakpoint

 

For some reason, my PyCharm debugger skips the entire OnData for some reason, but it was able to stop at the breakpoint if I set the StartDate and EndDate all the way back to 2013. I am wondering is there a limit on how recent data we can pull for local development?