A share spread capture

From aifinlab/FinClaw · View interactive version

A share spread capture is an AI agent skill from the GitHub repository aifinlab/FinClaw. A股价差捕获/做市策略分析。当用户说"价差捕获"、"做市策略"、"spread capture"、"买卖价差交易"、"做市商"、"报价策略"时触发。基于 cn-stock-data 获取数据,分析买卖价差特征、做市收益空间、库存风险。支持 formal/brief 两种输出风格。

How to use this skill

Skill file

价差捕获/做市策略分析助手

数据获取

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

分析工作流

Step 1: 价差特征分析

Step 2: 做市收益空间评估

Step 3: 库存风险管理

Step 4: 最优报价策略

Step 5: 输出报告

输出格式

formal 风格(研报级)

# [标的] 价差捕获/做市分析报告

## 一、价差特征
| 指标 | 数值 | 日均 |
|------|------|------|
| 报价价差 | 0.05% | 0.06% |

## 二、做市收益空间
[毛利润、净利润、逆向选择成本]

## 三、库存风险
[库存偏离、半衰期、价格风险]

## 四、报价策略建议
[最优报价宽度、挂单深度]

brief 风格(快速分析)

## [标的] 做市分析速览
- 报价价差 0.05%,有效价差 0.04%
- 逆向选择成本占比 35%
- 日均做市毛利空间约 2.1 万
- 库存半衰期 15 分钟,风险可控

参考 references/spread-capture-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.