atorber/qmt-trading-skill/qmt-bridge-kline-backfill
Claude Code and agent skill by atorber/qmt-trading-skill
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
校验近N个交易日两市成交额(上证+深证)是否可用于复盘。默认仅用 get_full_tick 写当日 与本地日缓存,不拉历史 K 线。用户提到补齐K线、近3日量能缺失、复盘前校验时使用。
Install
npx vskill@latest install atorber/qmt-trading-skill/qmt-bridge-kline-backfillSKILL.md
The same SKILL.md was published earlier as atorber/qmt-trading-skill/qmt-bridge-kline-backfill.
QMT Trading Skill · 近3日量能校验
实现状态:✅index_turnover_recent.py·backfill_recent_index_kline.py共享逻辑:_shared/market_turnover_util.py
目标
在执行复盘前,校验近 N 日(默认 3)两市成交额是否齐全:
- 上证指数:
000001.SH - 深市指数:
399106.SZ(tick 缺 amount 时回退399001.SZ)
官方推荐 vs 本项目策略
迅投知识库(指数数据):
| 场景 | 官方 API | 本项目复盘热路径 | |
|---|---|---|---|
| 当日成交额 | get_full_tick → amount | ✅ GET /api/market/full_tick | |
| 历史指数日 K | download_history_data + get_market_data_ex | ❌ 禁用(易 BSON 崩溃) | |
| 历史缺口 | 需本地已下载数据 | ✅ reports/market_turnover_daily.json 每日 tick 累积 |
复盘/校验默认不调用 download_batch、get_local_data、get_market_data_ex、get_market_data。
可选 --try-history:先 download_batch 指数日线,再 get_market_data 子进程补历史并写入缓存(QMT 异常时慎用)。
推荐补齐近 3 日缺口(历史缺失时):
脚本
参数
| 参数 | 说明 | |
|---|---|---|
--days | 需要覆盖的最近交易日数量(默认 3) | |
--try-history | 可选尝试 get_market_data 补历史(默认关闭) | |
--json | 输出机器可读结果 |
输出说明
ok=true:近 N 个交易日缓存/tick 均有沪+深成交额ok=false:列出缺失交易日;连续多日收盘复盘会自动写入缓存method:默认full_tick+cache
排障
- 当日 tick 失败 → 检查 QMT 登录与行情
- 历史不足 → 正常(需多日累积);勿反复跑
--try-history - BSON / 服务无响应 → 重启 QMT 客户端,再重启 Bridge
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/qmt-bridge-kline-backfill/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/atorber/qmt-trading-skill/qmt-bridge-kline-backfill)