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

Made fetching earnings_dates faster #1183

Merged
merged 2 commits into from
Nov 21, 2022

Conversation

fredrik-corneliusson
Copy link
Contributor

Avoid unnecessary request when fetching earnings_date. Added support to limit argument to only fetch as many as needed.

Avoid unnecessary request when fetching earnings_date.
Added support to limit argument to only fetch as many as needed.
yfinance/base.py Outdated Show resolved Hide resolved
yfinance/base.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@ValueRaider ValueRaider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 comments

earnings_history/get_earnings_history was redundant as it was an incomplete implementation of get_earnings_dates().
@ValueRaider ValueRaider merged commit 96e4532 into ranaroussi:dev Nov 21, 2022
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