Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.01 KB

File metadata and controls

42 lines (34 loc) · 1.01 KB

Edgar Tool

Description

Obtains all SEC filings as PDF files for the requested ticker symbols and form.

Installation

To install the dependencies for this project, you need to have Poetry installed. Once Poetry is installed, run the following command in the project directory:

poetry install

Usage

Command Line Arguments

  • --tickers: List of ticker symbols to retrieve filings for. Default values are:
    • AAPL
    • AMZN
    • GOOGL
    • GSCE
    • META
    • MSFT
    • NFLX
    • TSLA
  • --form: Type of form to retrieve. Default value is 10-K.
  • --last_filings: Number of forms to retrieve since the most recent one. Default value is 5.

To download all 10-Q forms for AAPL, MSFT, and GOOGL, run the following command:

poetry run python edgar/main.py --tickers AAPL MSFT GOOGL --form 10-Q

Development

Run tests

poetry run pytest

Run lint + format

poetry run ruff format && poetry run ruff check --fix