Overall Statistics
class TestingHTGM(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2020, 10, 1)
        # self.SetEndDate(2017, 6, 15)

        #1,2. Select IWM minute resolution data and set it to Raw normalization mode
        self.iwm = self.AddEquity("HTGM", Resolution.Daily)
        self.iwm.SetDataNormalizationMode(DataNormalizationMode.Raw)

    def OnData(self, data):

        #3. Place an order for 100 shares of IWM and print the average fill price
        #4. Debug the AveragePrice of IWM
        if not self.Portfolio.Invested:
            self.SetHoldings("HTGM", 1)
            self.Debug(str(self.Portfolio["HTGM"].AveragePrice))