qmt-bridge-financial-download

qmt-bridge-financial-download is a skill for Claude Code, Codex from atorber/qmt-trading-skill. It costs 62 tokens per session (966 once invoked), scanned A, original, MIT.

A QMT Bridge tool that downloads stock financial-report data into a server cache. The cache can then supply data for later financial-data queries or stock screening.

In plain words
What is it for?
Use it to download selected financial tables for specified stocks, refresh per-share or ROE-related data, download all tables for a stock, and verify that the cache contains the results.
Why use it?
It fills or refreshes missing financial records instead of requiring each later screening task to download them again.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to download selected financial tables for specified stocks, refresh per-share or ROE-related data, download all tables for a stock, and verify that the cache contains the results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atorber/qmt-trading-skill/qmt-bridge-financial-download
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add atorber/qmt-trading-skill --skill qmt-bridge-financial-download
Clone the repo
git clone --depth 1 https://github.com/atorber/qmt-trading-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qmt-bridge-financial-download

README.md
[![agentmods](https://agentmods.dev/badge/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download/github.svg)](https://agentmods.dev/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download)
Your own site
<a href="https://agentmods.dev/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download"><img src="https://agentmods.dev/badge/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qmt-bridge-financial-download

Your own site · 80×15
<a href="https://agentmods.dev/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download"><img src="https://agentmods.dev/badge/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00966
Opus 5 $0.00031 $0.00483
Sonnet 5 $0.00012 $0.00193
Haiku 4.5 $0.00006 $0.00097

Measured 13d ago against content hash bb5347995d4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

qmt-bridge-financial-download scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/download_financial_data.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/qmt-bridge-financial-download/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

QMT Trading Skill · 财报下载

实现状态:✅ download_financial_data.py

目标

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

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

场景 使用
用户明确要「下载/补全/刷新」财报 本 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 与上述参数相同。

推荐流程(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股」等超大列表无确认地下载
  • 不提供投资建议

参考

Read the full file on GitHub · 94 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 94 lines · 62 tokens per session scan A bb5347995d4b

Subscribe to this mod's changes

qmt-bridge-financial-download is a skill published in the GitHub repository atorber/qmt-trading-skill (22 stars, last pushed 29d ago), licensed MIT. It adds 62 tokens to every session and 966 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens