Hi there, 

I have tried "Fading The Gap" in Boot camp and met this exception : "Boot Camp: We couldn't reconcile your trades with what we expected..."  .

The code is copied and pasted from the solution.py of "Accessing a Rolling WIndow" section.  The Log (https://www.quantconnect.com/backtest/32193/5483863/cd7e346f8b8cbf5405740e5a12d8a5c7-log.txt) said "2018-06-29 16:00:00 Algorithm Id:(cd7e346f8b8cbf5405740e5a12d8a5c7) completed in 1.69 seconds at 77k data points per second. Processing total of 130,287 data points." 

I have tried with the different symbols, StartDates and EndDates, but the results are the same: "Boot Camp: We couldn't reconcile your trades with what we expected..." 

How can I solve it? 

class FadingTheGap(QCAlgorithm): def Initialize(self): self.SetStartDate(2017, 11, 1) self.SetEndDate(2018, 7, 1) self.SetCash(100000) self.AddEquity("TSLA", Resolution.Minute) self.Schedule.On(self.DateRules.EveryDay(), self.TimeRules.BeforeMarketClose("TSLA", 0), self.ClosingBar) self.Schedule.On(self.DateRules.EveryDay(), self.TimeRules.AfterMarketOpen("TSLA", 1), self.OpeningBar) self.Schedule.On(self.DateRules.EveryDay(), self.TimeRules.AfterMarketOpen("TSLA", 45), self.ClosePositions) self.window = RollingWindow[TradeBar](2) def ClosingBar(self): self.window.Add(self.CurrentSlice["TSLA"]) def OpeningBar(self): if "TSLA" in self.CurrentSlice.Bars: self.window.Add(self.CurrentSlice["TSLA"]) #1. If our window is not full use return to wait for tomorrow if not self.window.IsReady: return #2. Calculate the change in overnight price delta = self.window[0].Open - self.window[1].Close #3. If delta is less than -$10, SetHoldings() to 100% TSLA if delta < -10: self.SetHoldings("TSLA", 1) def ClosePositions(self): self.Liquidate()