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

Unable to Retrieve All Screener Results When Count Exceeds 250 #288

Open
ichsanulamal opened this issue Aug 27, 2024 · 0 comments
Open

Unable to Retrieve All Screener Results When Count Exceeds 250 #288

ichsanulamal opened this issue Aug 27, 2024 · 0 comments

Comments

@ichsanulamal
Copy link

Describe the Bug

I am unable to retrieve all screener results using the YahooQuery library. Specifically, when attempting to increase the count parameter beyond 250, I receive an error stating "size is too large." However, the screener indicates that there are 10,000 results available.

To Reproduce

Steps to reproduce the behavior:

Here's the code I used:

from yahooquery import Screener

s = Screener()
data = s.get_screeners('all_cryptocurrencies_us', count=250)

Expected Behavior

I expected to retrieve all available results (up to 10,000) by adjusting the count parameter.

Screenshots

  1. Web Results
    image

  2. Error when count > 250
    image

Additional Context

Is there a workaround or another method to retrieve all 10,000 results, or is this a limitation? Any guidance would be appreciated.

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

1 participant