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

large #111

Open
monashjg opened this issue May 23, 2023 · 1 comment
Open

large #111

monashjg opened this issue May 23, 2023 · 1 comment

Comments

@monashjg
Copy link

Hello Jadchaar,

I want to make an inquiry about downloading from Edgar. I use the CIKs generated from your mapping coding and want to extract all CIKs' 10-k filings. However, python reports an error below: May I know how to possibly fix it? Thank you!

EdgarSearchApiError: Edgar Search API encountered an error: Result window is too large, from + size must be less than or equal to: [10000] but was [10100]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting.. Request payload:
{'dateRange': 'custom', 'startdt': '2000-01-01', 'enddt': '2023-05-23', 'entityName': 'CIK', 'forms': ['10-K'], 'from': 10000, 'q': ''}

@bcambel
Copy link

bcambel commented Jun 16, 2023

This error returns from Edgar saying that your query returns too many results (more than 10K) so refuses to send it back.
I would suggest to split the work by shorter dates (e.g per request 1y and do 23 queries) rather than 1

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