Home / Backtesting & trading frameworks

edgartools

Backtesting & trading frameworks★ 2,781 GitHub starsPython⏱ Last commit 3 days ago

Python library for structured SEC EDGAR filings

What it is

An open-source Python library that turns SEC EDGAR filings into structured data, covering income statements, balance sheets, cash flow, insider trades, 13F holdings, 8-K events, and more than twenty other form types as typed objects and pandas DataFrames. XBRL-standardized financials support cross-company comparison, and built-in rate-limit handling, caching, an MCP server, and LLM-ready text make it usable in data pipelines and AI workflows. Quant developers and analysts who want programmatic access to US filings without manual parsing will find it a good fit. The library covers only SEC EDGAR filings, so it does not provide market price data or non-US sources, and users must supply an email address for SEC identification with each request.

At a glance

Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.

Best forDevelopers
Used forData source, Data analysis
MarketsUS equities
StackPython
Learning curveEasy to start
Practical valueMedium practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceLast commit 3 days ago

GitHub stars, last 30 days

Daily snapshots since 2026-09-12 (up to 30 days): +79 over the period, now 2,781. Gaps mean no snapshot was taken that day.

In the author's words

AI-native SEC EDGAR library with XBRL financials, clean text extraction, 17+ typed forms, and pandas DataFrames.

Open on GitHub ↗This week's trending tools中文页面

Similar tools