Storing filings to local storage #343
ammarlam10
started this conversation in
General
Replies: 1 comment
-
|
Do you already have the filings downloaded or are you going to download them? I would do 2 jobs. One that downloads filings for those tickers in the background with code like this from edgar import *
from edgar.reference.tickers import get_company_tickers
tickers = get_company_tickers().head(5000).ticker.tolist()
forms = ['10-K', '10-Q', '8-K']
filings = (get_filings(year=2024, quarter=1,
form=forms,
amendments=True)
.filter(ticker=tickers))
use_local_storage('/Volumes/T9/.edgar')
filings.download()Then the second job is your Filing analysis script. Here is updated Local Storage documentation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to pull specific ticker's latest filings (10k, 10Q, 8k) and store them to local storage and then load it using edgartools so I can parse different sections. How to do this? also instead of local storage can I store it and load from AWS? Also what format are they stored in?
Currently, I'm pulling them like this but I want to do this for 5000 tickers and load from my storage instead
df['ticker'].iloc[0]
company = Company(df['ticker'].iloc[0])
tenk = company.get_filings(form=['10-K']).latest()
tenq = company.get_filings(form=['10-Q']).latest()
eightk = company.get_filings(form=['8-K']).latest()
Beta Was this translation helpful? Give feedback.
All reactions