yahooquery
yahooquery copied to clipboard
Issue with the "earningsTrend" module
When trying to use the module it may change from a dictionary to a string (even for the same ticker) of digits:
For example when running for the ticker: "ACON" I get: "10110.000000".
I am seeing the same symptom. It seems to be related to a high query rate, it would work for a while for around 150 requests (3s interval) and then fail. What is unusual is that other requests are responding well while earnings_trend is failing. I resolved the issue by increasing the interval between requests to 20 seconds, but that makes the whole process a bit too slow. Maybe batching more than one symbol per Ticker as the API allows is better, I will try that next.