Install
$ agentstack add skill-atorber-qmt-trading-skill-qmt-bridge-rebalance ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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](../qmt-bridge-execution-review/SKILL.md) 核对
安全
- 批量下单影响大;必须双重确认
- 先 [portfolio-risk](../qmt-bridge-portfolio-risk/SKILL.md) 可选
参考
- [qmt-bridge-trading](../qmt-bridge-trading/SKILL.md) ·
docs/rest-api.md
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: atorber
- Source: atorber/qmt-trading-skill
- License: MIT
- Homepage: https://atorber.github.io/qmt-trading-skill/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.