A share execution benchmark

From aifinlab/FinClaw · View interactive version

A share execution benchmark is an AI agent skill from the GitHub repository aifinlab/FinClaw. A股执行基准/Implementation Shortfall分析。当用户说"执行基准"、"IS分析"、"implementation shortfall"、"执行质量"、"到达价"、"arrival price"、"执行评估"时触发。基于 cn-stock-data 获取数据,评估交易执行质量。支持 formal/brief 两种输出风格。

How to use this skill

Skill file

执行基准/IS分析助手

数据获取

通过 cn-stock-data skill 获取数据:

分析工作流

Step 1: 基准选择

Step 2: IS计算

Step 3: IS归因分解

Step 4: 执行质量评估

Step 5: 输出报告

输出格式

formal 风格(研报级)

# 执行质量评估报告

## 一、IS汇总
| 基准 | IS(bps) | 评级 |
|------|---------|------|

## 二、IS归因
[延迟/冲击/时机/机会成本]

## 三、维度分析
[按标的/时段/算法的IS]

## 四、改进建议

brief 风格(快速分析)

## 执行质量速览
- Arrival Price IS = 5.2bps
- VWAP IS = -1.3bps (优于VWAP)
- 主要成本:市场冲击3.8bps
- 评级:良好(优于行业中位数)

参考 references/execution-benchmark-guide.md 获取详细方法论与 A股实证研究。

使用示例

示例 1: 基本使用

# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})

示例 2: 命令行使用

python scripts/run_skill.py --input data.json
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.