Is there a simple way to import the last close for a given stock (or a list of stock) from 'yfinance' ?
The only way I could can find is to pull the data using:
data = yf.download(tickers="MSFT",
period="1d",
interval="1m"
data.head()
And then filtering for 'Adj Close'.
Is there a simpler way to do this ?
Many thanks