edgartools icon indicating copy to clipboard operation
edgartools copied to clipboard

Add a report_date filter to Company.get_filings()

Open joshhheo opened this issue 2 weeks ago • 0 comments

Feature Category

  • [x] New API functionality
  • [ ] Performance improvement
  • [ ] Developer experience improvement
  • [ ] Documentation enhancement
  • [ ] Tool/utility addition

Problem Statement

Is your feature request related to a problem? Please describe.

I use EdgarTools to find a company’s 10-K for a specific fiscal period. Company.get_filings() can filter by filing date, but a report can cover a period ending in December and be filed the following February. Today I fetch the company’s 10-Ks and check each one’s report period in Python.

Who would benefit from this feature?

  • [ ] Beginner Python users working with SEC filings
  • [x] Financial analysts and researchers
  • [x] Advanced developers building financial applications
  • [x] Data scientists working with financial datasets

Proposed Solution

Describe the solution you'd like

Add an optional report_date keyword to Company.get_filings() so callers can find filings by their reported period-end date. It would use the report_date field EdgarTools already exposes on company filings and work alongside filters such as form and amendments.

Describe alternatives you've considered

I can fetch the company’s 10-Ks and filter them in Python. A broad filing-date window can narrow the list, but I still have to check each candidate’s report period.

Use Case Example

How would you use this feature?

from edgar import Company

filings = Company("AAPL").get_filings(
    form="10-K",
    report_date="2023-09-30",
    amendments=False,
)

This would find Apple’s FY2023 10-K by its September 30, 2023 period end. SEC filing

Implementation Considerations

Complexity Level:

  • [x] Simple (minor API addition)
  • [ ] Moderate (new functionality with existing patterns)
  • [ ] Complex (significant architectural changes)

Backwards Compatibility:

  • [x] This feature maintains backwards compatibility
  • [ ] This feature might break existing code (please explain below)
  • [ ] Unsure about compatibility impact

The new keyword would be optional. Existing calls and the behavior of filing_date would stay the same.

Additional Context

Related Issues/Features:


Feature requests are evaluated based on EdgarTools' core principles: Simple yet powerful, accurate financials, beginner-friendly, and joyful UX.

joshhheo avatar Nov 19 '26 08:11 joshhheo