Skip to content

Instantly share code, notes, and snippets.

@dgunning
Created October 10, 2023 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgunning/08b52973b173e4742767047d5ac4b926 to your computer and use it in GitHub Desktop.
Save dgunning/08b52973b173e4742767047d5ac4b926 to your computer and use it in GitHub Desktop.
Get SEC filings using edgartools
from edgar import *
# Tell SEC Edgar who you are
set_identity("First Last First.last@domain.com")
# Get filings - by default it gets the current quarter
filings = get_filings()
# Get filings for 2022
filings = get_filings(year=2020)
# Get 10-K filings
filings = get_filings(form="10-K")
# Get 10-K and 10-Q filings
filings = get_filings(form=["10-K", "10-Q"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment