In google sheets, if I want today's share price of e.g. AAPL, I can use:
=GOOGLEFINANCE("AAPL")
If I want the historical price for a particular date, I can the following formula, with A1 containing the date:
=index(GOOGLEFINANCE("NASDAQ:AAPL","price",A1,3),2,2)
The latter works fine for all dates except for today's date. Is there a way to call GOOGLEFINANCE (or potentially another function or formula) in such a way that it works both for historical dates as well as the current date?