
Qmt inner backtest
根据策略描述、研报 PDF 或截图,解读因子/选股逻辑,基于 scripts/daily-factors-backtest.py 框架生成 QMT 内置日频因子回测脚本。用户提到 QMT 内置回测、因子选股回测、截面因子、 研报复现、handlebar 回测、after_init
From dfkai/xtquantai
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 171
- Last commit
- 5 months ago
- License
- MIT
- Listing updated
- today
When your agent uses it
根据策略描述、研报 PDF 或截图,解读因子/选股逻辑,基于 scripts/daily-factors-backtest.py 框架生成 QMT 内置日频因子回测脚本。用户提到 QMT 内置回测、因子选股回测、截面因子、 研报复现、handlebar 回测、after_init 预计算信号时使用。
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (48 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Install
This skill ships in the qmt-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add dfkai/xtquantai
/plugin install qmt-skills@xtquantaiOr copy only this skill to ~/.claude/skills/qmt-inner-backtest:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dfkai/xtquantai.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/qmt-inner-backtest &&
cp -R "$tmp/skills/qmt-inner-backtest" ~/.claude/skills/qmt-inner-backtest &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/qmt-inner-backtest inside it instead.
Copy the skill folder to ~/.agents/skills/qmt-inner-backtest to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dfkai/xtquantai.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/qmt-inner-backtest &&
cp -R "$tmp/skills/qmt-inner-backtest" ~/.agents/skills/qmt-inner-backtest &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/qmt-inner-backtest inside it instead.
Copy the skill folder to ~/.cursor/skills/qmt-inner-backtest to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dfkai/xtquantai.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/qmt-inner-backtest &&
cp -R "$tmp/skills/qmt-inner-backtest" ~/.cursor/skills/qmt-inner-backtest &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/qmt-inner-backtest inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/dfkai/xtquantai.git --path skills/qmt-inner-backtestOr copy the folder to ~/.gemini/skills/qmt-inner-backtest yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/qmt-inner-backtest:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dfkai/xtquantai.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/qmt-inner-backtest &&
cp -R "$tmp/skills/qmt-inner-backtest" ~/.copilot/skills/qmt-inner-backtest &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/qmt-inner-backtest inside it instead.
Get the folder:
git clone --depth 1 https://github.com/dfkai/xtquantai.gitThen copy xtquantai/skills/qmt-inner-backtest into your agent's skills folder as qmt-inner-backtest. Agents that support SKILL.md read one folder per skill.
Qmt inner backtest FAQ
How do I install Qmt inner backtest in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/qmt-inner-backtest to use it in all your projects, or to .claude/skills/qmt-inner-backtest in one project. Or install the qmt-skills plugin, which includes it: /plugin marketplace add dfkai/xtquantai, then /plugin install qmt-skills@xtquantai.
Does Qmt inner backtest run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Qmt inner backtest?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.