Overall Statistics
class QuantumTachyonThrustAssembly(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2019, 11, 7)  # Set Start Date
        self.SetCash(100000)  # Set Strategy Cash
        self.AddEquity("SPY", Resolution.Daily)


    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("SPY", 1)
            spynum = self.CalculateOrderQuantity("SPY", 1)
            self.stopMarketTicket = self.StopMarketOrder("SPY", -spynum, 0.90 * self.Securities["SPY"].Close)