yahooquery icon indicating copy to clipboard operation
yahooquery copied to clipboard

Inconsistent data

Open alexlopespereira opened this issue 4 years ago • 4 comments

Describe the bug The close price from yesterday (2020-12-28) of NFLX34 seems not to be correct. But in fact, it was 52.50 but the api is returning 54.79.

To Reproduce s = Ticker('NFLX34.SA') df2 = s.history(period='2d', interval="1d")

  • I'm using yahooquery version 2.2.11

And I downloaded the original data from bvmf.bmfbovespa.com.br/InstDados/SerHist/COTAHIST_D28122020.ZIP

Have I done anything wrong?

alexlopespereira avatar Dec 29 '20 14:12 alexlopespereira

Here's what I'm seeing on YF:

image

The 54.79 closing price seen on YF matches what I'm getting from the library.

dpguthrie avatar Dec 29 '20 15:12 dpguthrie

Thanks for your quick answer. The difference might be on YF database. Am I missing anything?

Take a look at a screenshot of my broker's dashboard today. There, the column name "Fech." means closing price.

image

Now, take a look at the closing price of investing.com, uol.com.br and infomoney.com.br. They are all 52.50.

image image image

Another observation: the data from 12/21 to 12/23 are equal on all the sources. And other stocks, such as AMZO34, don't have the same problem on 12/28.

alexlopespereira avatar Dec 29 '20 16:12 alexlopespereira

That's interesting. I'll have to do a little more digging, but the problem appears to be on YF's side, as I'm just pulling in the data they're showing. If you find something, please let me know also.

dpguthrie avatar Dec 31 '20 14:12 dpguthrie

This issue seems to be with Yahoo! Finance itself and less with the API / library. The inconsistency has since been updated and should now return the correct value (haven't tested it out). However Yahoo! Finance now displays the correct value.

Screenshot 2021-03-26 at 22 25 49

This issue should be resolved.

mbnlc avatar Mar 26 '21 21:03 mbnlc