← Marketplace
Skill

fetch-financial-reports

技能
by kwp-lab

分類

Data & Analytics

安裝

0

Published

2026年4月9日

Updated

2026年5月13日

描述

Use this skill when users request SEC financial reports (10-K annual or 10-Q quarterly) for US-listed companies. Fetches and parses XBRL data with automatic fallback for foreign issuers.

fetch-financial-reports

Fetch SEC XBRL financial data and save to local files for analysis.

Usage

bash
python fetch_xbrl.py AAPL                # Apple 10-K → output/AAPL/
python fetch_xbrl.py MSFT --form 10-Q    # Microsoft 10-Q
python fetch_xbrl.py NVDA -f 10-Q -o ./data  # Custom output

Dependencies

bash
pip install edgartools

Output

Files saved to output/<TICKER>/:

  • Full markdown report with all financial statements
  • Individual statement files (income, balance sheet, cash flow)
  • Metadata JSON with filing info