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

Screener pagination #228

Open
fabioDMFerreira opened this issue Oct 30, 2023 · 1 comment
Open

Screener pagination #228

fabioDMFerreira opened this issue Oct 30, 2023 · 1 comment

Comments

@fabioDMFerreira
Copy link

Is your feature request related to a problem? Please describe.
I want to get all securities from a screener, but there is a limitation in the number of securities we can get in each request.

Describe the solution you'd like
Adding a parameter offset to method Screener().get_screeners.

s.get_screeners(screen, count, offset)

I have the code. If you agree I will open a PR with this change.

@RudyNL
Copy link

RudyNL commented Nov 6, 2023

@fabioDMFerreira A very useful extension. It would be better if count>250 can be applied instead of working with an offset and pagination. In case count>250 you can merge the results of the subsequent pages so the original call will work for any value of count.

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