Skip to content
Agentmart
Submit a tool

qmt-bridge-financial-download

通过 QMT Bridge 将财报下载到服务端缓存(POST)。在用户提到下载财报、补财务数据、 刷新 Pershareindex、下载 ROE 数据、财报缓存时使用;筛选指标请用 fundamental-screen。

Skill by atorber

IndexedMIT★ 25
Write a review

Chalk Labs

Need help deploying qmt-bridge-financial-download?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/atorber-qmt-bridge-financial-download

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

通过 QMT Bridge 将财报下载到服务端缓存(POST)。在用户提到下载财报、补财务数据、 刷新 Pershareindex、下载 ROE 数据、财报缓存时使用;筛选指标请用 fundamental-screen。

Use cases: finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/qmt-bridge-financial-download

What's inside

Skill name
qmt-bridge-financial-download
Description
通过 QMT Bridge 将财报下载到服务端缓存(POST)。在用户提到下载财报、补财务数据、 刷新 Pershareindex、下载 ROE 数据、财报缓存时使用;筛选指标请用 fundamental-screen。
License
MIT
Instructions
88 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • README.md · scripts/
  • download_financial_data.py · scripts/

SKILL.md (first lines)

# QMT Trading Skill · 财报下载

> **实现状态**:✅ `download_financial_data.py`

## 目标

向 Bridge 服务端 **写入** 财务数据缓存,供后续 `GET /api/financial/data` 或 [fundamental-screen](../qmt-bridge-fundamental-screen/SKILL.md) 使用。

## 何时用本 Skill(而非筛选 Skill)

| 场景 | 使用 |
|------|------|
| 用户明确要「下载/补全/刷新」财报 | **本 Skill** |
| 批量标的、指定表、下载后验证 | **本 Skill** |
| 按 ROE/EPS 等指标筛选 | [fundamental-screen](../qmt-bridge-fundamental-screen/SKILL.md) |
| 筛选时偶发缺数 | 筛选脚本默认 `--if-missing`;大批量仍建议先本 Skill |

## 脚本

```bash
# 下载每股指标表(默认 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` 与上述参数相同。

## 推荐流程(Agent)

```
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` | 现金流量表 |

## API

| 操作 | 路径 |
|------|------|
| 下载 | `POST /api/download/financial_data` |
| 验证查询 | `GET /api/financial/data` |
| 名称 | `GET /api/utility/batch_stock_name` |

同步阻塞版:`POST /api/download/financial_data2`(本脚本未封装,需时用 REST 或客户端)。

## 安全

- **写操作**:会触发服务端向行情源拉取并缓存数据
- 勿对「沪深 A股」等超大列表无确认地下载
- 不提供投资建议

## 参考

- [fundamental-screen](../qmt-bridge-fundamental-screen/SKILL.md) · `[REST API](https://atorber.github.io/qmt-bridge/rest-api/)` · [`_shared/financial_util.py`](../_shared/financial_util.py)

From atorber/qmt-trading-skill, MIT.

More from atorber/qmt-trading-skill

Signals

Stars
25
Forks
7
Open issues
0
Last commit (this folder)
Aug 14, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from atorber

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get qmt-bridge-financial-download running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying qmt-bridge-financial-download?

CallGet help
Cite this page

qmt-bridge-financial-download skill. Agent Mart. https://agentmart.dev/skills/atorber-qmt-bridge-financial-download (last updated 2026-10-24)