Skip to main content

Downloads sec xbrl filings

Project description

https://img.shields.io/pypi/v/sec_edgar_download.svg https://img.shields.io/travis/robren/sec_edgar_download.svg Documentation Status Updates

A small python library which downloads companies 10-K and 10-Q filings from the SEC’s Edgar website. The Edgar site maintains monthly RSS feeds describing each of the filings. A cli tool called sec_edgar_download supports downloading and indexing, in a local sqlite3 database, the RSS files; as well as downloading specific 10-K and 10-Q filings.

sec_edgar_download package

Submodules

sec_edgar_download.cli module:

"""sec_edgar_dowload

Usage:
sec_edgar_download getrss <from-year> <to-year> [--fm <from-month>]
                                        [--tm <to-month] [--wd <dir>]
sec_edgar_download getxbrl <from-year> <to-year> (-c  <cik> | -t <ticker>)
                                        [--ft <form-type>]  [--wd <dir>]

sec_edgar_download.py (-h | --help)
sec_edgar_download.py --version

Options:
-h --help             Show this screen.
-c --cik <cik>        Central Index Key (CIK)
-t --ticker <ticker>  Ticker symbol
--version             Show version.
--fm <from-month>     From month: digits 1 to 12
--tm <to-month>       To  monthd: digits 1 to 12
--ft <form-type>      10-K or 10-Q
--wd <dir>            Working-directory  [default : ./edgar]

"""

Features

  • Downloads monthly RSS feeds from the SEC Edgar website.

  • Stores the location of the relevant filing along with a companies CIK in an sqlite database.

  • Downloads 10-Q and 10-K filings for a company over a specified date range.

Credits

This package was created with Cookiecutter and the robren/cookiecutter-pypackage a fork of the audreyr/cookiecutter-pypackage project template.

History

0.0.2 (2017-01-30)

  • First release to PyPi test

0.1.0 (2017-01-30)

  • First release to PyPi

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

sec_edgar_download-0.1.0.tar.gz (661.6 kB view details)

Uploaded Source

File details

Details for the file sec_edgar_download-0.1.0.tar.gz.

File metadata

File hashes

Hashes for sec_edgar_download-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b644fe5108a3f8dd14d2a9278ace58a656a4d614d7a2037819f5801855718367
MD5 4010e8fcd5d24fed7760e79a744c6b3c
BLAKE2b-256 b59545a83b1d49f8e2842245190f91f6652e32001436c84521d15221b351c2bf

See more details on using hashes here.

Provenance

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