why do I get different results for “buy and hold” 
if I change the equity resolution from Daily to hour? 
this strategy is only purchasing the equity once…. 


    def Initialize(self):
        self.SetStartDate(2022,1 , 1 )  # Set Start Date
        self.SetCash(100000)
        self.AddEquity("SPY", Resolution.Daily)


    def OnData(self, data: Slice):
        if not self.Portfolio.Invested:
            self.SetHoldings("SPY", 1)