Skip to content
Back to skills

A Share Breakout Strategy

ASecurity

A股突破策略/形态突破量化分析。当用户说"突破策略"、"breakout"、"形态突破"、"箱体突破"、"平台突破"、"新高突破"、"假突破"、"真突破"时触发。基于 cn-stock-data 获取K线数据,量化识别价格突破信号,评估突破有效性。支持研报风格(formal)和快速分析风格(brief)。

  • 232 stars
  • 0 votes
  • 0 copies
  • 28 views
  • Added September 7, 2026
toolspythonbash

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-breakout-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of A Share Breakout Strategy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for A Share Breakout Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aifinlab-a-share-breakout-strategy/badge)](https://www.skillsdirectory.com/skills/aifinlab-a-share-breakout-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-breakout-strategy
description: A股突破策略/形态突破量化分析。当用户说"突破策略"、"breakout"、"形态突破"、"箱体突破"、"平台突破"、"新高突破"、"假突破"、"真突破"时触发。基于 cn-stock-data 获取K线数据,量化识别价格突破信号,评估突破有效性。支持研报风格(formal)和快速分析风格(brief)。
---

# A股突破策略量化分析

## 数据源
```bash
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [日期]
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
```

## Workflow

### Step 1: 获取K线数据
获取至少 120 个交易日的 OHLCV 数据用于识别整理形态。

### Step 2: 识别整理形态
- **箱体整理**:价格在上下轨之间震荡(N日最高/最低价的通道)
- **三角形收敛**:高点递降 + 低点递升
- **旗形整理**:趋势后的平行通道回调
- **平台整理**:窄幅横盘(振幅 < 5%持续 N 日)

### Step 3: 检测突破信号
- 价格突破上轨/下轨
- 突破当日成交量 vs 整理期间平均成交量(VR > 1.5 为有效放量突破)
- 突破幅度:(收盘价 - 上轨) / 上轨 × 100%

### Step 4: 评估突破有效性
- **真突破信号**:放量 + 收盘站稳突破位 + 次日未回落
- **假突破信号**:缩量或冲高回落 + 次日跌回整理区间
- 历史回测:过去 N 次突破的成功率

### Step 5: 输出

| 维度 | formal | brief |
|------|--------|-------|
| 形态识别 | 详细形态参数+图示描述 | 当前形态类型 |
| 突破信号 | 量价配合度评分 | 有/无突破 |
| 历史回测 | 突破后 5/10/20 日收益率 | 突破成功率 |

默认风格:brief。

## 关键规则
1. A 股涨跌停制度下,涨停突破需看封板量和开板情况
2. 缺口突破(跳空)比实体突破更强
3. 整理时间越长,突破后空间越大
4. 假突破是常见陷阱——必须配合成交量确认
5. 突破回踩不破支撑位是二次入场机会

## 使用示例

### 示例 1: 基本使用

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

### 示例 2: 命令行使用

```bash
python scripts/run_skill.py --input data.json
```

Files in this skill

  • SKILL.md2.3 KB
  • references/breakout-guide.md2.4 KB

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.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.