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

How to detect when yahoo data returns $0 price error #32

Open
dotnetshadow opened this issue May 29, 2018 · 1 comment
Open

How to detect when yahoo data returns $0 price error #32

dotnetshadow opened this issue May 29, 2018 · 1 comment

Comments

@dotnetshadow
Copy link

dotnetshadow commented May 29, 2018

Hi there,

This is a question more than a bug, I'm wondering how I would detect when yahoo data is pretty much returning the wrong data, $0 price for multiple stocks.

I.e. I recently noticed that when I requested 100 stocks, the stock price was 0 on yahoo's end, is there something in the API that tells me if the data being requested isn't right? or do I just have to loop through each stock and check if the value is 0?

@karlwancl
Copy link
Owner

@dotnetshadow sorry for the late reply. We just reflect what Yahoo gives us, we don't try to modify the source data. It's better to handle the check logic by yourself.

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

No branches or pull requests

2 participants