A share bid ask spread

From aifinlab/FinClaw · View interactive version

A share bid ask spread is an AI agent skill from the GitHub repository aifinlab/FinClaw. A股买卖价差/流动性度量分析。当用户说"买卖价差"、"bid-ask spread"、"流动性度量"、"报价价差"、"有效价差"、"价差分析"时触发。基于 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 风格(研报级)

# [标的] 买卖价差分析报告

## 一、价差概览
| 指标 | 数值 | 分位数 |
|------|------|--------|

## 二、价差分解
[逆向选择/存货/订单处理]

## 三、影响因素
[波动率、成交量关系]

## 四、流动性评分

brief 风格(快速分析)

## [标的] 价差速览
- 相对价差 0.06% (P30),流动性良好
- 逆向选择占比 40%
- 日内价差U型,盘中最窄
- 流动性评分:A级

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