Is there a way to get opening price prior to receiving full bar data? For example, before waiting for the closing price? For day and minute resolutions?

I see OnData(..).  But on minute resolution, by that time, the open and close price for that bar already passed and I'm a minute late in the buy.

Thank you.