Created
October 10, 2023 11:02
-
-
Save dgunning/08b52973b173e4742767047d5ac4b926 to your computer and use it in GitHub Desktop.
Get SEC filings using edgartools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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