Overall Statistics
class ModulatedResistanceChamber(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2019, 10, 21)  # Set Start Date
        self.SetEndDate(2019, 10, 23)    # Set End Date
        self.SetCash(100000)             # Set Strategy Cash
        self.AddEquity("MSFT", Resolution.Second) # Subscribe to data feed


    def OnData(self, data):
        # Ensure this data slice has a candle
        if not data.ContainsKey("MSFT"):
            return
        
        # Continue processing...
        if not self.Portfolio.Invested:
            self.SetHoldings("MSFT", 1)