missing early filings
Why when I use get_fillings, I can only get filing start from 2019 for MSFT?
I've also had this issue. However, I managed to work around it by instead doing annual_reports = company.get_filings(form='10-K', filing_date='1990-01-01:') to force it to work correctly.
I cannot reproduce but maybe there is a caching issue. What does the following show?
filings = c.get_filings(form="10-K")
print("Date Range for 10-K filings for MSFT", filings.date_range)
print(filings)
filings = c.get_filings()
print("Date Range for all filings for MSFT", filings.date_range)
print(filings)
Here they are:
You shouldn't be getting 1000 filings. This means that it is not fetching the next page of filings. What is your version of edgartools? pip show edgartools
the version is 4.6.2 Thanks!
The company filings endpoint returns 1000 filings at a time. If you are only seeing 1000 filings it means it is not paging for the remaining filings.
Try with trigger_full_load. This is the default and should happen for you
c.get_filings(trigger_full_load=True)
Also try with other tickers you have not tried before. You should see more than 1000 fillings. If it is just happening with MSFT then maybe it is a caching issue
c.get_filings(trigger_full_load=True) get the same result like before. I tried anouther ticker. It always gave me the the 10-K in the first 1000 files
Not sure if related, but having an issue with some companies, such as BTBT. Where fetching the data returns missing years
filings = company.get_filings(form="10-K").head(5)
# financials = MultiFinancials.extract(filings)
xbrls = XBRLS.from_filings(filings)
stitched_statements = xbrls.statements
income_trend = stitched_statements.income_statement().to_dataframe()
print("Three-Year Revenue Trend:")
revenue_row = income_trend.loc[income_trend['concept'] == 'us-gaap_Revenues']
print(revenue_row)
//
label concept 2024-12-31
0 Revenue us-gaap_Revenues 108050720.0
BTBT has been public since 2018, so there should be more years of data.
I'm also not seeing filings for earlier years for some tickers, e.g. SON I only can get 10k/10q for 2021 onwards
Unable to Reproduce - Please Confirm on Latest Version
I've tested this issue on the current version (v4.31.0) and cannot reproduce the pagination problem:
Test Results (v4.31.0)
MSFT (Microsoft):
- ✅ Total filings: 4,354 (not stuck at 1,000)
- ✅ Date range: 1994-02-14 to 2025-11-21
- ✅ 10-K filings: 32 going back to 1994-09-27
- ✅ No difference with
filing_date='1990-01-01:'workaround
For Affected Users
The original report mentioned using v4.6.2 (from August 2024). Many pagination improvements have been made since then.
Please help us confirm:
-
What version are you using?
from edgar.__about__ import __version__ print(__version__) -
Can you upgrade to the latest version?
pip install --upgrade edgartools -
Does the issue still occur after upgrading? Please test with:
from edgar import Company company = Company('MSFT') # or your affected ticker filings = company.get_filings(form='10-K') print(f'Total 10-K: {len(filings)}') print(f'Date range: {filings.date_range}') print(f'Earliest: {filings[-1].filing_date}')
Expected Results (v4.31.0)
For mature companies like MSFT, you should see:
- Thousands of total filings (not capped at 1,000)
- Historical data going back to the 1990s
- No need for
filing_dateworkaround
@lsy617004926 @Danfraga33 @dx-li - Can you confirm if this is still an issue after upgrading to v4.31.0?
If the issue persists on the latest version, please provide:
- Your exact edgartools version
- The ticker causing issues
- Output from the test code above
If upgrading fixes it, I'll close this issue as resolved. Thank you!
This issue was confirmed fixed in 5.21.0