Agent skill

Qmt Strategy

by lzwme in lzwme/finance-quant-skills

QMT 客户端(迅投极速策略交易系统)内置 Python 策略引擎开发指南,涵盖策略编写、回测、实盘交易、内置 API 参考与代码示例(基于 ContextInfo/passorder/gettradedetaildata 等,非 xtquant 库)。当用户需要在 QMT 客户端中编写/回测/运行策略、查询 QMT 内置 API、从聚宽迁移至 QMT,或提及 QMT 策略、迅投策略、QMT…

No licenceAuto-check passedBusiness, Finance & HR

Install Qmt Strategy

skills CLI
$ npx skills add lzwme/finance-quant-skills --skill qmt-strategy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lzwme/finance-quant-skills qmt-strategy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lzwme/finance-quant-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/qmt-strategy .claude/skills/qmt-strategy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qmt-strategy
GitHub stars
441
Token cost
~1.1k tokens
SKILL.md length
116 words
Files
37 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

QMT 客户端(迅投极速策略交易系统)内置 Python 策略引擎开发指南,涵盖策略编写、回测、实盘交易、内置 API 参考与代码示例(基于 ContextInfo/passorder/gettradedetaildata 等,非 xtquant 库)。当用户需要在 QMT 客户端中编写/回测/运行策略、查询 QMT 内置 API、从聚宽迁移至 QMT,或提及 QMT 策略、迅投策略、QMT…

  • Works in 7 steps: 编码声明:文件首行必须是 #coding:gbk,不可省略 → 位置参数:get_market_data_ex 的前两个参数 fields 和… → subscribe 参数:回测必须 False,实盘使用 True → …
  • Business, Finance & HR work in your project
  • SKILL.md covers 📖 文档结构, 🚀 使用引导, 🔧 关键速查 and ⚠️ 使用注意事项
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Qmt Strategy is an agent skill from lzwme/finance-quant-skills. QMT 客户端(迅投极速策略交易系统)内置 Python 策略引擎开发指南,涵盖策略编写、回测、实盘交易、内置 API 参考与代码示例(基于 ContextInfo/passorder/gettradedetaildata 等,非 xtquant 库)。当用户需要在 QMT 客户端中编写/回测/运行策略、查询 QMT 内置 API、从聚宽迁移至 QMT,或提及 QMT 策略、迅投策略、QMT 回测时使用。若需用外部 Python 程序通过 xtquant 库连接 QMT 获取行情或下单,请改用 miniqmt 技能。

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 39 other files, including reference files (for example `references/backtesting-guide.md`, `references/best-practices.md` and `references/dict/bond.md`).

It sits in Business, Finance & HR. It works with Python. The repository describes itself as: 一个面向金融量化交易领域的 Agent Skills 技能维护仓库,主要聚焦A股量化交易。

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “/qmt-strategy”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 编码声明:文件首行必须是 #coding:gbk,不可省略
  2. 位置参数:get_market_data_ex 的前两个参数 fields 和 stocks 必须用位置参数,不能用 fields= 或 stocks=
  3. subscribe 参数:回测必须 False,实盘使用 True
  4. 账号类型:get_trade_detail_data 的第二个参数:股票用 'stock',两融用 'credit'
  5. 金额单位:m_dAvailable 等金额字段单位是分,需 /100 转换为元
  6. 数量单位:股票交易必须是 100 的整数倍
  7. 实盘限制:subscribe 和 run_time 仅支持实盘,不支持回测

What it can do on your machine

Read from SKILL.md and the folder at commit d973f35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Qmt Strategy loads about 1.1k tokens when it runs, and up to ~218k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 116 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~218k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 116 words (~1,140 tokens).

“为 QMT(迅投极速策略交易系统)提供完整的 Python 开发参考,分为教程指南和 API 参考两层。”

— opening of SKILL.md by lzwme
name
qmt-strategy
tags
QMT, 迅投, 策略开发, Python, 回测, 实盘交易, 量化交易

Read the full SKILL.md on GitHub

Files

SKILL.md and 36 other files (references) in skills/qmt-strategy of lzwme/finance-quant-skills.

  • SKILL.md
  • references/backtesting-guide.md
  • references/best-practices.md
  • references/dict/bond.md
  • references/dict/floorfunds.md
  • references/dict/future.md
  • references/dict/indexes.md
  • references/dict/industry.md
  • references/dict/option.md
  • references/dict/question_answer.md
  • references/dict/scenario_based_example.md
  • references/dict/stock.md
  • references/dict/xuntou_factor.md
  • references/examples/backtest.md
  • references/examples/live-trading.md
  • references/examples/run-time.md
  • references/examples/subscribe.md
  • references/execution-mechanisms.md
  • … and 19 more

Open the folder on GitHubat commit d973f35

Compare with similar skills

Qmt Strategy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qmt Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qmt Strategy this skilllzwme/finance-quant-skills441—~1.1kAutomated safety check: PassNone
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT
Tushare Datazillionare/zillionare3212 repos~2.3kAutomated safety check: PassNone
Global Stock Datasimonlin1212/global-stock-data1.7k—~19kAutomated safety check: PassApache-2.0
Korean Government Grant Searchdjfksjd/ir-search391—~3.5kAutomated safety check: NotesMIT
Kalshi Traderyanfrigo/kalshi-ai-trading-bot613—~3.4kAutomated safety check: PassMIT

Similar skills

  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 6 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Global Stock Data

    simonlin1212/global-stock-data

    美股港股全栈数据工具包(官方源优先)— 十三层架构·30+端点·11数据源·全部零鉴权。在原有行情/K线/技术指标(MA/MACD/RSI/KDJ/布林带)/基本面/资金面/期权/SEC Filing/工具八层之上,新增:CBOE官方期权链(完整希腊字母+IV+0DTE流+异动识别)、FINRA全市场每日空头成交量、SEC…

    1.7k GitHub stars~19k tokensUpdated 3 days ago
    Business, Finance & HRAuto-check passed
  • Surveys open Korean government startup and R&D support programs and sorts them by fit with your project, checking eligibility against the original notices.

    391 GitHub stars~3.5k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Kalshi Trade

    ryanfrigo/kalshi-ai-trading-bot

    The disciplined process for autonomously and profitably trading the live Kalshi account on each /loop tick, with Claude as the decision-maker.

    613 GitHub stars~3.4k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Stock Analysis Team

    wudengyao/stock-analysis-team

    提供股票多维度分析团队协同研究能力;当用户需要股票分析、投资决策支持、风险评估、市场复盘或回测验证时使用. An agent skill from wudengyao/stock-analysis-team.

    168 GitHub stars~1.1k tokensUpdated 17 days ago
    Business, Finance & HRAuto-check passed

More from lzwme/finance-quant-skills

All 13 skills in this repo
  • Akshare

    lzwme/finance-quant-skills

    AKShare 开源金融数据接口库,提供股票、期货、期权、基金、外汇、债券、指数、加密货币等全品类金融数据;当用户需要获取各类金融市场数据时使用

    441 GitHub stars~1.1k tokensUpdated 17 days ago
    Auto-check passed
  • Baostock

    lzwme/finance-quant-skills

    BaoStock 免费开源 A 股数据平台,无需注册、无需 API Key,支持股票行情、K线、财务数据、行业分类、指数成分股查询。当用户提及 baostock、需要获取A股历史行情、财务报表、交易日历,或需要免费、免注册的A股数据时使用。与 tushare(数据更全但需注册)和 jqdatasdk(聚宽数据)不同,baostock 完全免费无限制,适合快速入门和低成本数据需求。

    441 GitHub stars~1k tokensUpdated 17 days ago
    Auto-check passed
  • Equity Researcher

    lzwme/finance-quant-skills

    机构级投研报告生成技能。覆盖中国A股、港股、美股上市公司。输出模式:1)投资速览:3-5页,含公司概览、核心财务指标、估值倍数、投资逻辑与风险因素;2)深度研报:≥25页,含行业分析、产业链图谱、三表模型、DCF估值、情景分析与敏感性测试。触发条件:1)直接请求:分析/看看/研究/调研/介绍一下 + 公司名或股票;2)投资询问:你怎么看/能不能买/值得投吗/帮我看看/扒一扒 +…

    441 GitHub stars~4.9k tokensUpdated 17 days ago
    Auto-check passed
  • Jqdatasdk

    lzwme/finance-quant-skills

    聚宽(JoinQuant)本地数据 SDK,提供 A 股行情、历史K线、财务数据、指标数据等,与聚宽官网数据同源。当用户提及 jqdatasdk、聚宽数据、需要获取A股数据,或已注册聚宽账号时使用。与 baostock(免费)和 tushare(数据最全)不同,jqdatasdk 需注册聚宽账号获取 Token,适合已在使用聚宽平台的用户。本地数据获取请用本技能,聚宽官网策略开发请用…

    441 GitHub stars~927 tokensUpdated 17 days ago
    Auto-check passed
  • Miniqmt

    lzwme/finance-quant-skills

    MiniQMT 迅投量化交易接口,基于 XtQuant Python 库(xtdata 行情 / xttrader 交易),供外部 Python 程序连接 MiniQMT 客户端,支持 A 股/期货/期权的行情获取(K线、分笔、财务数据等)和交易下单(报单、撤单、查询资产/委托/持仓)。当用户提及 miniqmt、xtquant、获取实时行情、量化交易下单、回测数据获取,或需要用外部…

    441 GitHub stars~1.7k tokensUpdated 17 days ago
    Auto-check passed
  • Tdxquant

    lzwme/finance-quant-skills

    通达信量化数据获取技能。当用户提及 tdxquant、通达信、TdxQuant、tqcenter,并且需要获取A股数据(行情快照、K线、财务、板块、可转债、新股、交易数据等)、查询交易日历、执行通达信公式、订阅行情、交易下单时使用

    441 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed

Works with

Questions about Qmt Strategy

What does Qmt Strategy do?

QMT 客户端(迅投极速策略交易系统)内置 Python 策略引擎开发指南,涵盖策略编写、回测、实盘交易、内置 API 参考与代码示例(基于 ContextInfo/passorder/gettradedetaildata 等,非 xtquant 库)。当用户需要在 QMT 客户端中编写/回测/运行策略、查询 QMT 内置 API、从聚宽迁移至 QMT,或提及 QMT 策略、迅投策略、QMT…. Qmt Strategy is an agent skill from lzwme/finance-quant-skills.

When should I use Qmt Strategy?

Qmt Strategy fits situations like: business, Finance & HR work in your project.

How do I install Qmt Strategy in Claude Code?

Run `npx skills add lzwme/finance-quant-skills --skill qmt-strategy -a claude-code`. Or copy the skill folder (skills/qmt-strategy in lzwme/finance-quant-skills) into .claude/skills/qmt-strategy in your project. Claude Code loads it when a task matches its description.

How do I install Qmt Strategy in Codex?

Run `npx skills add lzwme/finance-quant-skills --skill qmt-strategy -a codex`. Or copy the skill folder (skills/qmt-strategy in lzwme/finance-quant-skills) into .agents/skills/qmt-strategy in your project. Codex loads it when a task matches its description.

Can I use Qmt Strategy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lzwme/finance-quant-skills --skill qmt-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qmt-strategy, .gemini/skills/qmt-strategy, .github/skills/qmt-strategy and .opencode/skills/qmt-strategy in your project.

What does Qmt Strategy need to run?

SKILL.md names no scripts, command-line tools or credentials: Qmt Strategy is instructions for the agent only. Our summary lists: Python 3.

Does Qmt Strategy access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Qmt Strategy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Qmt Strategy use?

No licence was found for Qmt Strategy or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Qmt Strategy use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 217k tokens, read only when the agent opens those files.

What are the alternatives to Qmt Strategy?

Skills that share tags, products or a category with Qmt Strategy: Itr Wala (karanb192/itr-wala, 871 stars), Tushare Data (zillionare/zillionare, 321 stars), Global Stock Data (simonlin1212/global-stock-data, 1.7k stars) and Korean Government Grant Search (djfksjd/ir-search, 391 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qmt Strategy?

lzwme (a GitHub organization) maintains it in lzwme/finance-quant-skills, which has 441 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 23, 2026.

Source: lzwme/finance-quant-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.