After the market close, when you run backtest including the current day, I don't see the OHLC values of the current day.

When is the current day OHLC ready to use?

For example, when I run it for today:
I only get this latest value of SPY which belongs to the day before. 
2022-03-16 16:00:00 Time: 2022-03-16 16:00:00 -> Bar close 435.62 high 435.67

Since today is over, I expected to get current day's OHLC after market close. Am I missing something here?

Thanks,

mustafa

class DeterminedTanPigeon(QCAlgorithm):
   def Initialize(self):
       self.SetStartDate(2022, 3, 15) # Set Start Date
       self.SetEndDate(2022, 3, 18)
       self.SetCash(100000) # Set Strategy Cash
       self.symbol = self.AddEquity("SPY", Resolution.Minute).Symbol
       self.consolidator = TradeBarConsolidator(timedelta(1))
       self.SubscriptionManager.AddConsolidator(self.symbol, self.consolidator)
   
   def OnData(self, data):
       if not data.Bars.ContainsKey("SPY"):
           return
   
       if data.Time.hour == 16 and data.Time.minute == 0:
           bar = self.consolidator.WorkingBar
           self.Log("Time: {} -> Bar close {} high {}".format(self.Time, bar.Close,bar.High))