Qmt Bridge Financial Download logo

Qmt Bridge Financial Download

Community
atorber
qmt-bridge-financial-download

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

Overview

Publisheratorber
Repositoryqmt-trading-skill
Skill nameqmt-bridge-financial-download
Stars
27
Forks
7
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by atorber on GitHub. Read the source before you install it.

Installation

Install the Qmt Bridge Financial Download AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/atorber/qmt-trading-skill/tree/main/skills/qmt-bridge-financial-download
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/atorber/qmt-trading-skill.git /tmp/qmt-trading-skill
mkdir -p .claude/skills
cp -r /tmp/qmt-trading-skill/skills/qmt-bridge-financial-download .claude/skills/qmt-bridge-financial-download
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Qmt Bridge Financial Download in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Qmt Bridge Financial Download on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Qmt Bridge Financial Download is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

QMT Trading Skill · 财报下载

实现状态:✅ download_financial_data.py

目标

向 Bridge 服务端 写入 财务数据缓存,供后续 GET /api/financial/data 或 fundamental-screen 使用。

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

场景使用
用户明确要「下载/补全/刷新」财报本 Skill
批量标的、指定表、下载后验证本 Skill
按 ROE/EPS 等指标筛选fundamental-screen
筛选时偶发缺数筛选脚本默认 --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 秒)
--jsonJSON 输出

常用财务表

表名含义
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股」等超大列表无确认地下载
  • 不提供投资建议

参考

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Qmt Bridge Financial Download AI skill do?

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

Why use Qmt Bridge Financial Download on TypingMind?

Because you install it once and use it with any model. Qmt Bridge Financial Download is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Qmt Bridge Financial Download in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/atorber/qmt-trading-skill/tree/main/skills/qmt-bridge-financial-download. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Qmt Bridge Financial Download?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Qmt Bridge Financial Download?

As many as you like. As long as a model supports skills, you can use Qmt Bridge Financial Download with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Qmt Bridge Financial Download AI skill free?

Yes. It is published on GitHub by atorber under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇