A Python package for scraping 13F filings from the SEC Edgar database.
Project description
Edgar13F Scraper
A Python package for scraping 13F filings from the SEC Edgar database.
Installation
To install this package, clone this repository, navigate to its directory, and then use pip:
git clone https://github.com/jackabrown21/Edgar13F.git
cd Edgar13F
pip install .
Duplicate the .env.example
file, rename it to .env
, and replace the dummy values with your actual values.
Usage
from Edgar13F import SecEdgarScraper
companies = {
"FiduciaryManagementInc": 764532, # "Company": CIK Number
"SoutheasternAssetManagement": 807985,
...
}
base_file_path = 'data/csvs' # Folder of CSVs with the specific companies with this specific information: Form Type, Form Description, Filing Date, Accession Number
data_path = 'data/raw/' # Folder where you would like the XMLs to be downloaded to
scraper = SecEdgarScraper(companies, base_file_path, data_path)
scraper.scrape()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Edgar13F-0.2.0.tar.gz
(3.8 kB
view hashes)