Skip to content

jessegrabowski/edgar_connect

Repository files navigation

EDGAR Connect

A Python Tool for Batch Downloading SEC EDGAR Filings. Based on the EDGAR download scripts written by Bill McDonald and Tim Loughran, available at https://sraf.nd.edu/textual-analysis/code/.

Installation

To install, use pip:

pip install edgar_connect

About

EDGAR Connect tries improve on EDGAR download scripts in several ways. All functionality is wrapped into a single easy-to-use class. The request library's Retry class was used to implement automatic back-off when being rate-limited by the SEC servers. Headers are also used in accordance with SEC request. Users can pass their own User-Agent information (as requested by the SEC here: https://www.sec.gov/os/accessing-edgar-data). Alternatively, User-Agent information can be generated using the fake-useragent package. Finally, EDGARConnect can automatically remove attached files from the SEC filings, significantly cutting down on storage requirements when doing bulk downloads.

Usage

Please see the included demo notebook in this Repo for the basics of using EDGARConnect.

About

A Python Tool for Batch Downloading SEC EDGAR Filings

Resources

License

Stars

Watchers

Forks

Packages

No packages published