Install
openclaw skills install us-stock-financialsFetch comprehensive financial data from SEC EDGAR XBRL for US-listed companies (especially Chinese ADRs). Includes balance sheet, income statement, cash flow...
openclaw skills install us-stock-financials从 SEC EDGAR 获取全面的财务数据并生成 PDF 报表。
# 搜索公司并获取财务数据
python3 scripts/sec_finance.py --search JD.com
# 获取季度数据
python3 scripts/sec_finance.py --search Alibaba --period quarterly
# 生成 PDF 报表
python3 scripts/sec_finance.py --search JD.com --pdf /tmp/jd_report.pdf
# JSON 输出
python3 scripts/sec_finance.py --search PDD --output json
| 参数 | 说明 |
|---|---|
--search | 公司名称、股票代码或别名 |
--cik | SEC CIK 编号 (10位) |
--period | annual / quarterly / all |
--output | table / json |
--pdf | 生成 PDF 报表路径 |
京东(JD)、阿里巴巴(BABA)、百度(BIDU)、拼多多(PDD)、哔哩哔哩(BILI)、微博(WB)、贝壳(BEKE) 等中概股。
pip3 install reportlab --break-system-packages