Skip to main content

A program that parses 13F reports filed with the SEC.

Project description

PyPI badge PyPI versions badge Black formatter badge License badge PyPI downloads badge

Background

From investor.gov (educational website from the SEC):

An institutional investment manager that uses the U.S. mail (or other means or instrumentality of interstate commerce) in the course of its business, and exercises investment discretion over $100 million or more in Section 13(f) securities (explained below) must report its holdings quarterly on Form 13F with the Securities and Exchange Commission (SEC).

holdingsparser fetches 13F filings from EDGAR and outputs the holding entries in a DSV file.

Quick start

Install the package:

pip install --user holdingsparser

Upgrade the package:

pip install --user --pre -U holdingsparser

Search for a filing with the CIK and output a file delimited with tabs named holdings.tsv:

holdingsparser 0001166559 -d "\t" -o ./holdings.tsv

Leaving out the -o option, a file will be written in the current working directory named CIK_holdings.FILE_EXTENSION.

Alternatively, invoke the program as a module:

python -m holdingsparser 0001166559

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

holdingsparser-3.0.3.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

holdingsparser-3.0.3-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page