Overall Statistics
class VentralOptimizedCompensator(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2020, 9, 16)  # Set Start Date
        self.SetEndDate(2020, 9, 17)
        self.SetCash(100000)  # Set Strategy Cash
        self.symbol = self.AddForex('USDJPY', Resolution.Second).Symbol
        
        renko = RenkoConsolidator(.1)
        renko.DataConsolidated += self.HandleRenko
        self.SubscriptionManager.AddConsolidator(self.symbol, renko)
        
    def HandleRenko(self, sender, data):
        self.Plot('FX', 'Close', data.Value)
        self.Plot('FX2', 'Spread', self.CurrentSlice[self.symbol].Ask.Close - self.CurrentSlice[self.symbol].Bid.Close)