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

fmpsdk stockscreener not capturing all results #25

Closed
Oliver-Chalkley opened this issue Jan 19, 2022 · 1 comment
Closed

fmpsdk stockscreener not capturing all results #25

Oliver-Chalkley opened this issue Jan 19, 2022 · 1 comment

Comments

@Oliver-Chalkley
Copy link

Stock screener only seems to capture ten results when there should be a lot more:

fmpsdk.stock_screener(apikey=apikey, country='US')
Only returns ten results. Yet https://financialmodelingprep.com/api/v3/stock-screener?country=US&apikey=YOURKEY
returns many more than 10 results.

@daxm
Copy link
Owner

daxm commented Jan 19, 2022

There is a 'limit' value that, by default, is set to 10. Pass limit=99999 (or whatever).

for example:
fmpsdk.stock_screener(apiky=apikey, country='US', limit=1000)

@daxm daxm closed this as completed Jan 19, 2022
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