I am trying to make SPARKLINE in Google Sheet with this formula:
=SPARKLINE(INDEX(GOOGLEFINANCE("AAPL", "close", WORKDAY(TODAY(), -100), TODAY()), , 2))
It shows a perfect line chart, but it fetches data till yesterday's date. I want today's live price append to this data. I can get today price with this formula:
=GOOGLEFINANCE("AAPL","price")
For Example,
But I don't know how to add today's price at the end of the old historical price so I can generate live SPARKLINE.
Please suggest a solution or you have any different approach to solve this problem.
Thanks