SEC Finance
Use this skill for structured SEC data, not IR document downloading.
Scope
- - Resolve company name / alias / ticker to CIK
- Fetch SEC XBRL companyfacts
- Extract key metrics such as revenue, net income, EPS
- Normalize annual vs quarterly periods
Do not use this skill for
- - Downloading annual report PDFs from IR sites
- Cloudflare/IR-site document fetching
- Generic PDF discovery workflows
Use ir-pdf-downloader for those.
Core commands
CODEBLOCK0
Workflow
- 1. If the user needs revenue / profit / EPS / structured filings, use this skill.
- Resolve CIK via shared issuer data first; fall back to SEC lookup when needed.
- Pull
companyfacts from data.sec.gov. - Return structured results in table or JSON form.
- If the user instead needs the original PDF document, stop and switch to
ir-pdf-downloader.
Notes
- - Issuer aliases and validated CIK hints live in
references/issuers.json. - Prefer secure HTTPS by default; only fall back on relaxed SSL handling for endpoint compatibility.
- Keep this skill focused on SEC data retrieval and normalization.
SEC Finance
使用此技能处理结构化SEC数据,而非IR文档下载。
适用范围
- - 将公司名称/别名/股票代码解析为CIK
- 获取SEC XBRL公司事实数据
- 提取关键指标,如营收、净利润、每股收益
- 标准化年度与季度周期
请勿使用此技能处理
- - 从IR网站下载年度报告PDF
- Cloudflare/IR站点文档抓取
- 通用PDF发现工作流
上述需求请使用ir-pdf-downloader。
核心命令
bash
解析公司并获取近期财务数据
python3 scripts/sec_finance.py --search 京东
通过已知CIK查询
python3 scripts/sec_finance.py --cik 0001549802 --period quarterly
JSON格式输出供下游处理
python3 scripts/sec_finance.py --search 阿里巴巴 --period annual --output json
工作流程
- 1. 若用户需要营收/利润/每股收益/结构化申报文件,请使用此技能。
- 首先通过共享发行人数据解析CIK;必要时回退至SEC查询。
- 从data.sec.gov拉取companyfacts数据。
- 以表格或JSON形式返回结构化结果。
- 若用户需要原始PDF文档,请停止并切换至ir-pdf-downloader。
注意事项
- - 发行人别名及已验证的CIK提示信息存储于references/issuers.json。
- 默认优先使用安全HTTPS;仅在端点兼容性需要时回退至宽松SSL处理。
- 保持此技能专注于SEC数据检索与标准化。