karlwancl/YahooFinanceApi

How to detect when yahoo data returns $0 price error

dotnetshadow opened this issue · 1 comments

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?

@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.