Closed wwchicago closed 2 weeks ago
Can you clarify your requirements. What form types do you need. All forms or 497K and 497J. For what time period. Depending on what you need it might be easier to start with the company list and filter forms, or start with forms and filter companies.
Tips to speed up company resolution.
from edgar import *
download_edgar_data()
use_local_storage()
include_old_filings=False
in Company(cik)
If you are approaching it from the list of filings and filtering by CIK then the next release - maybe by tomorrow will have filtering by CIK.
Regardless of what you do 65000 is a large number and will take a while. There are 86400 seconds in a day
Hi Dwight,
I understand what you mean. I will try your method later to speed up the process.
By the way, when I use company CIK to search a file, I can see the corresponding series CIK and contract CIK in the homepage. Is it possible to extract the information of series CIK and contract CIK using edgartools? Thank you very much!
I am sorry for being a bit verbose. Regarding edgartools, is there any documentation that summarizes all the functions and their usage? For example, I haven't seen these two functions: download_edgar_data() and use_local_storage(). I also don't know what parameters they require or how to specify which folder to download the files to.
I will create a couple tickets to
Note that the API surface edgartools is really very large and the documentation needs to catch up.
Even so there are several features that are deliberately undocumented at least for a while. Local storage didn't fit in the original vision of edgartools but was later added to fill a gap, and some thinking needs to be done before making it generally available. The other reason for less documentation is that with one active developer, some features are held back from general availability since they would require support.
Added documentation on Downloading to wiki. Closing
I want to download all the main documents (without downloading attachments) for 65,000 company CIKs. Currently, I can only read them into Python as text and then save them as individual txt files. I tried downloading 100 files using this method, but it is very slow. I want to know if there is a function in edgartools that allows me to download all the main documents I want at once without using a for loop.
Additionally, I want to search for all the company CIKs I want at once (just like in the form section, by entering a list), but I failed. Is there any way to search for many company CIKs at once?