Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix growth_estimates for new key LTG #2127

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

ericpien
Copy link
Contributor

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: ticker.growth_estimates error #2126

Examples: LTG row and 5 year numbers are not shown in the links below.

Sample:
import yfinance as yahooFinance

msft = yahooFinance.Ticker("MSFT")
print(msft.growth_estimates) # now works

@ericpien ericpien marked this pull request as ready for review November 14, 2024 23:09
- 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.
- Amend unit test
@ericpien ericpien force-pushed the fix_growth_estimate branch from 964d625 to 0a3f9c7 Compare November 15, 2024 18:22
@ValueRaider ValueRaider merged commit 9f517a7 into ranaroussi:dev Nov 16, 2024
2 checks passed
@ValueRaider ValueRaider mentioned this pull request Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants