A股TWAP时间加权/匀速执行策略。当用户说"TWAP"、"时间加权"、"匀速下单"、"TWAP算法"、"均匀执行"、"时间切片"时触发。基于 cn-stock-data 获取数据,设计TWAP执行方案、分析执行偏差、优化时间切片。支持 formal/brief 两种输出风格。
Scanned 9/7/2026
Install to Claude Code
npx -y skills add aifinlab/FinClaw --skill a-share-twap-strategy --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of A Share Twap Strategy?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/aifinlab-a-share-twap-strategy)More formats (shields.io, HTML) on the badges page.
---
name: a-share-twap-strategy
description: A股TWAP时间加权/匀速执行策略。当用户说"TWAP"、"时间加权"、"匀速下单"、"TWAP算法"、"均匀执行"、"时间切片"时触发。基于 cn-stock-data 获取数据,设计TWAP执行方案、分析执行偏差、优化时间切片。支持 formal/brief 两种输出风格。
---
# TWAP时间加权/匀速执行策略助手
## 数据获取
通过 cn-stock-data skill 获取数据:
- **分钟K线**: 1分钟线
- **实时行情**: 最新价格与成交量
- **历史成交量分布**: 用于流动性评估
## 分析工作流
### Step 1: TWAP方案设计
- 总量拆分:将目标数量均匀分配到各时间片
- 时间片长度选择:1分钟/5分钟/15分钟
- 执行窗口选择:避开开盘15分钟和收盘15分钟
- 随机化:在每个时间片内随机选择下单时点
### Step 2: 流动性约束检查
- 单笔下单量 vs 该时段平均成交量的比例
- 参与率上限:通常不超过该时段成交量的20%
- 流动性不足时段的处理:跳过或减量
- A股特征:午盘开盘流动性较差
### Step 3: 执行偏差分析
- TWAP偏差 = 实际均价 - 理论TWAP
- 偏差来源分解:市场冲击 + 时机选择 + 随机噪声
- 与VWAP执行的对比:哪种更优
- 不同市场环境下TWAP vs VWAP的选择
### Step 4: 增强型TWAP
- Volume-weighted TWAP:按历史成交量分布调整
- Adaptive TWAP:根据实时价格偏离动态调整速度
- 价格保护:设置价格上下限,超限暂停执行
- A股涨跌停处理:触及涨跌停时的执行策略
### Step 5: 输出报告
## 输出格式
### formal 风格(研报级)
```
# [标的] TWAP执行方案
## 一、方案设计
| 参数 | 设置 |
|------|------|
| 总量 | 10万股 |
| 时间片 | 5分钟 |
## 二、流动性评估
[各时段流动性、参与率]
## 三、执行偏差预估
[预期偏差、成本估算]
## 四、增强建议
[自适应调整方案]
```
### brief 风格(快速分析)
```
## [标的] TWAP方案速览
- 10万股拆分48个时间片(5分钟)
- 每片约2,083股,参与率约8%
- 预期执行偏差 ±0.05%
- 建议:使用Volume-weighted TWAP
```
参考 `references/twap-strategy-guide.md` 获取详细方法论与 A股实证研究。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Create Mermaid diagrams for flowcharts, sequences, ERDs, and
Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.
Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.
Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".