Downloads financial reports to server cache via QMT Bridge POST API. Use when user mentions downloading financials, refreshing Pershareindex, or downloading ROE data.
Ships in qmt-trading-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
实现状态:✅
download_financial_data.py
向 Bridge 服务端 写入 财务数据缓存,供后续 GET /api/financial/data 或 fundamental-screen 使用。
| 场景 | 使用 |
|---|---|
| 用户明确要「下载/补全/刷新」财报 | 本 Skill |
| 批量标的、指定表、下载后验证 | 本 Skill |
| 按 ROE/EPS 等指标筛选 | fundamental-screen |
| 筛选时偶发缺数 | 筛选脚本默认 --if-missing;大批量仍建议先本 Skill |
# 下载每股指标表(默认 Pershareindex)
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py \\
--host HOST --port PORT \\
--codes 600584.SH,603986.SH --table Pershareindex
# 下载后验证缓存是否有数据
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py \\
--codes 600584.SH --verify --wait 8
# 下载全部财务表(较慢,勿对全市场使用)
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py \\
--codes 600519.SH --all-tables --verify
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py 与上述参数相同。
1. 确认用户给出的股票列表(勿擅自扩大为全市场)
2. 说明:下载会写服务端缓存,可能耗时数秒~数十秒
3. 运行 download_financial_data.py,建议加 --verify
4. 若有仍无数据的代码:加大 --wait、检查 QMT 是否登录、或换表名
5. 需要筛选时,再运行 fundamental-screen 的 screen_financial.py
| 参数 | 说明 |
|---|---|
--codes | 必填,逗号分隔 |
--table | 默认 Pershareindex |
--all-tables | 下载全部表(慢) |
--start-time / --end-time | 可选 YYYYMMDD |
--wait | 下载后等待秒数(默认 5) |
--verify | 等待后查询缓存;仍缺数时自动再等一轮(最多 --wait 秒) |
--json | JSON 输出 |
| 表名 | 含义 |
|---|---|
Pershareindex | 每股指标(ROE、EPS 等) |
Income | 利润表 |
Balance | 资产负债表 |
CashFlow | 现金流量表 |
| 操作 | 路径 |
|---|---|
| 下载 | POST /api/download/financial_data |
| 验证查询 | GET /api/financial/data |
| 名称 | GET /api/utility/batch_stock_name |
同步阻塞版:POST /api/download/financial_data2(本脚本未封装,需时用 REST 或客户端)。
[REST API](https://atorber.github.io/qmt-bridge/rest-api/) · _shared/financial_util.pyWhat SKILL.md sets; muted values are Claude Code's defaults
23 skills in this plugin
/qmt-bridge-etf通过 QMT Bridge 查询 ETF 列表、申赎清单与相关行情,辅助 ETF 投资与套利观察。 在用户提到 ETF、申赎、指数基金、ETF 套利时使用。只读。/atorber-qmt-trading-skill:qmt-bridge-financial-downloadfrom qmt-trading-skill
Generated from the plugin's indexed repository (atorber/qmt-trading-skill) — no native marketplace selected
npx claudepluginhub p/atorber-qmt-trading-skillOther plugins' skills for the same job