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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file holdingsparser-3.0.3.tar.gz.

File metadata

  • Download URL: holdingsparser-3.0.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.4 Darwin/20.4.0

File hashes

Hashes for holdingsparser-3.0.3.tar.gz
Algorithm Hash digest
SHA256 9f453e0a094cb463cbcc6dccca03f2175dc899aa0c48ea3c3771623594509f1a
MD5 ee9e1290e9b71ccae59130ff20bc9602
BLAKE2b-256 2631a106465869fa65e280251b334dfb89b54981c7427df00a056c46db138703

See more details on using hashes here.

File details

Details for the file holdingsparser-3.0.3-py3-none-any.whl.

File metadata

  • Download URL: holdingsparser-3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.4 Darwin/20.4.0

File hashes

Hashes for holdingsparser-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dad504df3b8bf302cd14787c2509981ab8ca2d85ccdebd36bee453caa3d5f132
MD5 97a5965a988f186c6e1ab599e83ba40e
BLAKE2b-256 64ac8e101f48f8b25842e6edda089f9073a43c25136a928516d7cd64f9686b4c

See more details on using hashes here.

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