Getting historical quarterly finances for a stock using Yahoo finance Python API or another source

Viewed 127

I'm trying to get the historical quarterly finances for MSFT and AAPL. While I can get those for the current year by using the following code:

import yfinance as yf

msft = yf.Ticker("MSFT")
msft.quarterly_financials

But I'm not able to get the same for a given period.

Is there a way to get this data from yfinance? If not, is there any other source of data that can help me instead?

0 Answers
Related