For example, I have AddEquity("SPY", Resolution.Minute") to get SPY on-minute data. However, for the first day, how do I get SPY's price change for that day?

SPY price change today = SPY current price - SPY yesterday's close price.

I need to know the Close price of yesterday to calculate it. I know I can call history() and request for just one bar of daily history to get the Close price of yesterday, but I am wondering if there is actually some easier way to do it without calling history()?