yfinance
yfinance copied to clipboard
Fix growth_estimates for new key `LTG`
Summary
- LTG (long-term growth ?) is new to the API but its meaning is not shown on yahoo yet.
- Support for 5 year numbers seem to have been removed. so commenting it out.
- Fixes: https://github.com/ranaroussi/yfinance/issues/2126
Examples: LTG row and 5 year numbers are not shown in the links below.
- https://finance.yahoo.com/quote/MSFT/analysis/
- https://finance.yahoo.com/quote/AAPL/analysis/
- https://finance.yahoo.com/quote/TSLA/analysis/
Sample: import yfinance as yahooFinance
msft = yahooFinance.Ticker("MSFT")
print(msft.growth_estimates) # now works