Skip to content

Commit

Permalink
Restore 'financials' attribute (map to 'income_stmt')
Browse files Browse the repository at this point in the history
  • Loading branch information
ValueRaider committed Dec 20, 2022
1 parent 85783da commit ff3d3f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions yfinance/ticker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ff3d3f2

Please sign in to comment.