atorber/qmt-trading-skill/qmt-bridge-rebalance
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.
通过 QMT Bridge 根据目标权重生成组合再平衡买卖清单,预览后批量下单。 在用户提到调仓、再平衡、目标仓位、权重对齐时使用。提交须用户确认。
Install
npx vskill@latest install atorber/qmt-trading-skill/qmt-bridge-rebalanceSKILL.md
The same SKILL.md was published earlier as atorber/qmt-trading-skill/qmt-bridge-rebalance.
QMT Trading Skill · 组合再平衡
实现状态:✅rebalance_plan.py可用
目标
将目标权重表转为买卖差额清单,减少手工算股数错误。
规划脚本
| 脚本 | 作用 | |
|---|---|---|
scripts/rebalance_plan.py | --targets JSON/CSV;输出买卖预览 | |
| (提交) | 预览确认后调用 batch_order(--execute --confirm) |
主要 API
| 方法 | 路径 | 说明 | |
|---|---|---|---|
| GET | /api/trading/positions | 当前持仓 | |
| GET | /api/trading/asset | 总资产 | |
| GET | /api/market/full_tick | 现价估市值 | |
| POST | /api/trading/batch_order | 批量下单 |
规程(规划)
- 读入目标权重(总和应≈1,允许现金权重)
- 当前市值 vs 目标 → 差额股数(整手取整规则:A 股 100 股)
- 输出买卖列表 + 预估成交金额
- 用户确认后执行
batch_order - 执行后建议 execution-review 核对
安全
- 批量下单影响大;必须双重确认
- 先 portfolio-risk 可选
参考
- qmt-bridge-trading ·
[REST API](https://atorber.github.io/qmt-bridge/rest-api/)
Security
- Security scanPassed, 90 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-rebalance/SKILL.md
Popularity
- 7-day trend score
- 5
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-rebalance)