Overall Statistics
class QQQTest(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2015,1,1)  # Set Start Date
        self.SetCash(100000)  # Set Strategy Cash
        self.AddEquity("QQQ", Resolution.Minute)


    def OnData(self, data):
        '''OnData event is the primary entry point for your algorithm. Each new data point will be pumped in here.
            Arguments:
                data: Slice object keyed by symbol containing the stock data
        '''

        if not self.Portfolio.Invested:
            self.SetHoldings("QQQ", 1)