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

Issue with the "earningsTrend" module #302

Open
ed5555 opened this issue Nov 23, 2024 · 1 comment
Open

Issue with the "earningsTrend" module #302

ed5555 opened this issue Nov 23, 2024 · 1 comment

Comments

@ed5555
Copy link

ed5555 commented Nov 23, 2024

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

@tjean00
Copy link

tjean00 commented Nov 24, 2024

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.

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