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

Inaccurate Earnings Dates #386

Closed
glintik opened this issue Jan 27, 2022 · 2 comments
Closed

Inaccurate Earnings Dates #386

glintik opened this issue Jan 27, 2022 · 2 comments
Labels
bug Something isn't working released

Comments

@glintik
Copy link

glintik commented Jan 27, 2022

Bug Report

Unfortunately, Earnings Dates from YF are full of inacurate and misleading data.

Describe the bug

Example of approximate earnings dates(a.k.a. unconfirmed) from quote call for Intel($INTC)

  earningsTimestamp: 2021-10-21T20:00:00.000Z,
  earningsTimestampStart: 2022-04-20T20:00:00.000Z,
  earningsTimestampEnd: 2022-04-25T20:00:00.000Z,

As I can see, YF just generates some date range based on previous date. You can see that earningsTimestampStart != earningsTimestampEnd.
The problem is that real earnings event was hold yesterday, Jan 26.

Example of confirmed earnings date from quote call for PayPal($PYPL)

  earningsTimestamp: 2022-02-02T00:00:00.000Z,
  earningsTimestampStart: 2022-02-02T00:00:00.000Z,
  earningsTimestampEnd: 2022-02-02T00:00:00.000Z,

As shown on official website, PayPal’s Q4 2021 Earnings Call is expected on FEBRUARY 1, 2022 02:00 PM PT.
So even for "confirmed" date YF provides wrong date. As you can see, time is full of nulls and I found that if time contain some value, then date is correct when earningsTimestampStart == earningsTimestampEnd. Time in date is for information purposes only and usually wrong, but I found that for many cases if time is <= opening bell time, then earnings will be unveiled BEFORE market open.

I think, docs should warn about that Earnings Dates are full of inacurate and misleading data and better to use another source.

@glintik glintik added the bug Something isn't working label Jan 27, 2022
@glintik glintik changed the title Inaccurate Earning Date Inaccurate Earnings Dates Jan 27, 2022
@gadicc gadicc closed this as completed in 54553d2 Feb 16, 2022
@gadicc
Copy link
Owner

gadicc commented Feb 16, 2022

Thanks @glintik, this is very helpful to know. I agree and have added a note about this in the docs, with a link back to this issue. Thanks for reporting!

@gadicc
Copy link
Owner

gadicc commented Feb 16, 2022

🎉 This issue has been resolved in version 2.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants