edgartools icon indicating copy to clipboard operation
edgartools copied to clipboard

Is there a way to get filling of specific period for a specific company

Open mithunthakkar8 opened this issue 1 year ago • 5 comments

Hi,

I saw that you have a get_fillings() method but that method gets you fillings for all companies. can we have a parameter to that method called ticker or CIK or maybe Company Name? This will make things a lot easier.

mithunthakkar8 avatar Feb 24 '25 12:02 mithunthakkar8

You can get the company first

c = Company("TSLA") # or Company(1318605)
c.get_filings() 

Or filter the filings by cik or ticker

filings = get_filings().filter(cik= 1318605)

dgunning avatar Feb 25 '25 02:02 dgunning

Thank you dgunning. Excellent work there. Keep it up sir.

mithunthakkar8 avatar Feb 26 '25 12:02 mithunthakkar8

@dgunning

How can I obtain all 10-Q filings from the company for the fourth quarter of 2021?

// It does not work.
company = Company('TSLA')
filings = company.get_filings(2021, 4, form='10-Q')
// This works.
filings = get_filings(2021, 4, form='10-Q').filter(ticker='TSLA')

rpayanm avatar May 27 '25 12:05 rpayanm

@rpayanm Try

company.get_filings(form="10-Q").filter(date="2021-10-01:2021-12-31")

dgunning avatar May 27 '25 16:05 dgunning

@dgunning Thanks, that works! It would be great to have both get_filings functions working the same way: company.get_filings() and get_filings().

rpayanm avatar May 27 '25 21:05 rpayanm