Python code that provides a comprehensive and efficient way to extract, process, and organize data from publicly available SEC filings into clean datasets . We use SEC N-PORT filings as an example.
Geared towards finance professionals, researchers, academics, or anyone looking to analyze aggregate or specific SEC data on financial institutions.
This code block identifies and extracts URLs from SEC filings and saves them into year-specific output files.
Automates downloading forms from extracted URLs and organizes them into year-specific folders.
Filters downloaded files based on specific SEC Series IDs, copying relevant files into a dedicated folder.
Extracts data from SEC filings, such as general data, fund details, and securities attributes, and organizes it into clean dataset for further analysis