Overall Statistics
class OptimizedCalibratedAntennaArray(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2019, 10, 22)  # Set Start Date
        self.SetEndDate(2019, 10, 22)
        self.SetCash(100000)  # Set Strategy Cash
        self.AddEquity("SPY", Resolution.Tick)


    def OnData(self, data):
        
        if not data.Ticks.ContainsKey("SPY"):
            return
        
        ticks = data.Ticks["SPY"]
        
        if len(ticks) > 1:
            currentTick = ticks[0]
            previousTick = ticks[1]
        
            self.Debug(f"curr:{currentTick} -- prev:{previousTick}")