Skip to content
Back to skills

A Share Twap Strategy

ASecurity

A股TWAP时间加权/匀速执行策略。当用户说"TWAP"、"时间加权"、"匀速下单"、"TWAP算法"、"均匀执行"、"时间切片"时触发。基于 cn-stock-data 获取数据,设计TWAP执行方案、分析执行偏差、优化时间切片。支持 formal/brief 两种输出风格。

  • 232 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
documentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add aifinlab/FinClaw --skill a-share-twap-strategy --agent claude-code

Installs 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 with every re-scan.

Security grade badge for A Share Twap Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aifinlab-a-share-twap-strategy/badge)](https://www.skillsdirectory.com/skills/aifinlab-a-share-twap-strategy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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股实证研究。

Files in this skill

  • SKILL.md2.2 KB
  • references/twap-strategy-guide.md547 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…