From ff3d3f2f786002f95e43b74bf6a964b382dab097 Mon Sep 17 00:00:00 2001 From: ValueRaider Date: Tue, 20 Dec 2022 11:32:19 +0000 Subject: [PATCH] Restore 'financials' attribute (map to 'income_stmt') --- yfinance/ticker.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/yfinance/ticker.py b/yfinance/ticker.py index 20371ca26..ec78b7f86 100644 --- a/yfinance/ticker.py +++ b/yfinance/ticker.py @@ -153,6 +153,14 @@ def earnings(self) -> _pd.DataFrame: def quarterly_earnings(self) -> _pd.DataFrame: return self.get_earnings(freq='quarterly') + @property + def financials(self) -> _pd.DataFrame: + return self.income_stmt + + @property + def quarterly_financials(self) -> _pd.DataFrame: + return self.quarterly_income_stmt + @property def income_stmt(self) -> _pd.DataFrame: return self.get_income_stmt(pretty=True)