8-K reports available with a lag
@dgunning Hello!
Right now companies are publishing quarterly earnings. For some, edgartools gets 8-k immediately after publishing. For others reports are on SEC website for hours but edgartools returns empty lists and only later shows filings.
What could be the reason?
Code that I used:
today_date = "2025-10-27:" company = Company("CLS") filings = company.get_filings(form="8-K").filter(filing_date=today_date)
If I try .head(2), I get filings from July, so it's not an issue with date.
The same with tickers: WM, CR.
Company filings are retrieved from the submissions json file for a company which is a static file that needs to be updated when a new filing is released. It is very likely that this is queued and so there is likely a delay while filings for other companies are processed.
Use the current filings api then filter by the ticker like so
>>> filings = get_all_current_filings()
>>> filings.filter(ticker="CLS", form="8-K")
The issue is a bit different: both metods work after I restart kernel. Then edgartools retreives all the latest 8-k reports. But if I run for the second time in the same kernel - sometimes it retrieves new reports, sometimes copies the last result without asking SEC website.
Got it. I'll look into the caching behaviour and get back to you
There is a 10 minute cache on company submissions. There is not a cache on the get_all_current_filings() so this way should be workaround until the next release in a couple of days when I plan to review the cache logic
Thank you for reporting this! You've uncovered an important caching behavior in EdgarTools.
Root Cause
There are three caching layers affecting Company.get_filings():
- SEC Submissions API cache (external, variable during peak times)
- HttpxThrottleCache (EdgarTools, 10 minutes for
/submissionsendpoint) -edgar/httpclient.py:27 - Python @lru_cache (EdgarTools, session-level) -
edgar/entity/submissions.py:68
The 10-minute cache in HttpxThrottleCache is an optimization layer (not rate limiting), but it creates a minimum delay for fresh filings accessed via Company.get_filings().
Immediate Workaround ✅
You can use get_current_filings() to bypass the cache and get fresh 8-K filings immediately:
from edgar import get_current_filings
# Get fresh 8-K filings with no cache delay
current = get_current_filings(form="8-K")
print(f"Found {len(current)} fresh 8-K filings")
# Iterate through pages if needed
while current:
for filing in current:
print(f"{filing.company}: {filing.accepted}")
current = current.next()
Why this works: get_current_filings() uses the SEC's RSS/Atom feed endpoint (/cgi-bin/browse-edgar), which returns cache-control: no-cache headers. HttpxThrottleCache respects this directive, so you get immediate access to fresh filings.
Long-term Fix
For v4.23.0, we'll add a max_cache_age parameter to Company.get_filings() to give users control over cache freshness:
# Future API (v4.23.0)
company.get_filings(form="8-K", max_cache_age=60) # 1-minute cache max
This will allow users to choose between:
- Fast access with 10-minute cache (default, existing behavior)
- Fresh data with cache bypass (max_cache_age=0)
- Custom cache duration (any value in seconds)
Timeline: Scheduled for v4.23.0 (estimated 0.5-1 day implementation)
Let me know if the workaround solves your immediate need!
Fixed in v4.23.0
Thank you for reporting this caching issue! This has been resolved in v4.23.0 (released 2025-10-30).
What Changed
We reduced the submissions cache TTL from 10 minutes to 30 seconds and removed session-level caching that was preventing fresh filing access:
Before (v4.22.0 and earlier):
- Company.get_filings() had a 10-minute cache delay
- Required kernel restart to see fresh filings
- Had to use get_current_filings() as workaround
After (v4.23.0):
- Company.get_filings() now shows fresh filings within 30 seconds
- No kernel restart needed
- HttpxThrottleCache still provides 30-second optimization layer
Impact
You can now access fresh 8-K earnings filings almost immediately during earnings season without workarounds or kernel restarts.
Files Changed
edgar/httpclient.py- Reduced cache TTLedgar/entity/submissions.py- Removed @lru_cache decorators
Next Steps
Please upgrade to v4.23.0:
pip install --upgrade edgartools
The behavior you requested is now the default - no configuration needed!
Let us know if you encounter any issues with the new caching behavior.