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.
npx skills add litaolemo/xtquant_big_convert --skill qmt-tradergit clone --depth 1 https://github.com/litaolemo/xtquant_big_convertWrote 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.
[](https://agentmods.dev/skills/litaolemo/xtquant_big_convert/qmt-trader)<a href="https://agentmods.dev/skills/litaolemo/xtquant_big_convert/qmt-trader"><img src="https://agentmods.dev/badge/skills/litaolemo/xtquant_big_convert/qmt-trader/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.
<a href="https://agentmods.dev/skills/litaolemo/xtquant_big_convert/qmt-trader"><img src="https://agentmods.dev/badge/skills/litaolemo/xtquant_big_convert/qmt-trader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00190 | $0.05035 |
| Opus 5.5 | $0.00076 | $0.02014 |
| Sonnet 5.5 | $0.00038 | $0.01007 |
| Haiku 4.5 | $0.00019 | $0.00504 |
Grade A, and why
qmt-trader 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 1mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QMT Trader — 大模型驱动的 QMT 交易/行情工具
来源
- 仓库:https://github.com/litaolemo/xtquant_big_convert
- 技能目录:https://github.com/litaolemo/xtquant_big_convert/tree/main/qmt-trader
概述
本 skill 提供一个确定性 CLI 脚本 scripts/qmt.py,让大模型通过命令行调用大 QMT 的全部
交易与行情能力,避免每次现场写 Python 代码。所有命令默认输出 JSON(便于解析),加 --table
切换人类可读表格。
前置条件:本 skill 依赖 xtquant_big_convert 桥接服务已部署运行。若 ping 失败或用户尚未部署,
先按下文「首次部署」引导完成:装包 → 同步 QMT 端文件 → 写配置 → QMT 里运行入口 → 验证。
首次部署(只需一次,AI 逐步引导用户完成)
部署分两端:客户端(跑本 skill/策略的开发机)和服务端(大 QMT 客户端内置 Python)。
第 1 步:客户端安装包
pip install "xtquant-big-convert[redis]" # redis 传输(默认,推荐)
# 或 zmq 同机低延迟:pip install xtquant-big-convert(基础版已含 pyzmq)
没发布到 PyPI 的私有 fork 用源码安装:
git clone <repo> && cd xtquant_big_convert && pip install -e .[redis]
第 2 步:把服务端文件同步到 QMT 的 python 目录
需要拷 4 项到大 QMT 的 python 目录(如 D:\QMT交易端\python\):
bigqmt_signal_trader/ (整个包,pip 装的在 site-packages 里)
bigqmt_signal_trader_strategy.py
bigqmt_signal_trader_redis_rpc_runtime.py
BIGQMT_REDIS_DRYRUN.py (★ QMT 编辑器入口,GBK 编码)
pip 安装后的文件位置可以用这条命令定位(输出目录里就有全部 4 项):
python -c "import bigqmt_signal_trader_strategy as m, os; print(os.path.dirname(m.__file__))"
QMT 沙箱若拒绝
import redis(部分券商白名单拦截),改用仓库里的bigqmt_no_redis/无 redis 版本(自包含 ZMQ 传输)。
第 3 步:创建 QMT 端私有配置
在 QMT 的 python 目录创建 bigqmt_signal_trader_local_config.py(含账号密码,不要提交 git):
# coding: utf-8
BIGQMT_ACCOUNT_ID = "资金账号"
BIGQMT_REDIS_CONFIG = {
"host": "Redis地址", "port": 6379, "db": 5, "password": "Redis密码",
"rpc_allow_order_methods": False, # 下单开关,默认关闭;确认风控后改 True
"rpc_process_in_listener": True,
"rpc_listener_methods": ("*",),
"rpc_background_threads": True, # redis 用后台收包线程最快;zmq/pipe 要改 False
"schedule_adjust": True,
"schedule_adjust_interval": "100nMilliSecond",
}
这个开关按传输选,选反了差几十倍(实测见 docs/USER_GUIDE.md 的传输对比表): redis 用
True(3.4ms),zmq 用False走 adjust drain(zmq 15.8ms)。 zmq 配True是 592.9ms —— 慢 37 倍。原因是 zmq / pipe 的后台线程每次都要付 跨线程 GIL 交接(约一个 adjust tick),redis 的brpop唤醒没有这一步。切 zmq:配置里加
"transport": "zmq"并把rpc_background_threads改False(QMT 端需装 pyzmq 19.0.2,Python 3.6 最后支持的版本)。
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.
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.
- 1mo ago Changed fd0594f34ef3
- 1mo ago Changed · +5 lines 94477130f83d
- 1mo ago Changed · +8 lines d1a370e5684f
- 2mo ago Changed · +4 lines de04931a1f6f
- 2mo ago First seen · 347 lines · 190 tokens per session scan A 4a68077cae10
qmt-trader is a skill published in the GitHub repository litaolemo/xtquant_big_convert (808 stars, last pushed 9d ago), licensed MIT. It adds 190 tokens to every session and 5,035 once invoked, about $0.0008 per session on Opus 5.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.
qmt-trader compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qmt-traderlitaolemo/xtquant_big_convert | Skill | 808 | 9d ago | MIT | A | 190 | Claude Code, Codex |
| sector-rotationHKUDS/Vibe-Trading | Skill | 38k | yesterday | MIT | A | 39 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.5k | 2d ago | MIT | A | 110 | Claude Code |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 3.7k | 2d ago | MIT | A | 28 | Claude Code, Codex |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | today | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | 2d ago | GPL-2.0 | A | 292 | Codex |