The candles of the next day don't start where the candle of the previous day closed even though the portfolio should be flat overnight.
 

I'm new here, so I might be doing this incorrectly, but my understanding of this code is that I have scheduled the algo to buy some SPY 10 min after the market opens and sell it all 15 min before the market closes.  When I check the trade log after the backtest, this seems to be the case, but still the daily candles don't pick up where they left off.