A股结构变点检测/趋势拐点识别。当用户说"结构变点"、"structural break"、"拐点"、"趋势改变"、"什么时候变了"、"Chow检验"时触发。量化检测价格序列的结构性变化。支持formal和brief风格。
Scanned 9/7/2026
Install to Claude Code
npx -y skills add aifinlab/FinClaw --skill a-share-structural-break --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of A Share Structural Break?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/aifinlab-a-share-structural-break)More formats (shields.io, HTML) on the badges page.
---
name: a-share-structural-break
description: A股结构变点检测/趋势拐点识别。当用户说"结构变点"、"structural break"、"拐点"、"趋势改变"、"什么时候变了"、"Chow检验"时触发。量化检测价格序列的结构性变化。支持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]
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
```
## Workflow
### Step 1: 获取K线时间序列
### Step 2: 变点检测方法
- CUSUM检验(累积和)
- Chow检验(已知候选断点)
- Bai-Perron多断点检验
### Step 3: 断点前后对比
比较断点前后的均值/波动率/趋势斜率变化
### Step 4: 归因分析
关联断点时间与重大事件(政策/业绩/市场)
### Step 5: 输出
| 维度 | formal | brief |
|------|--------|-------|
| 断点检测 | 多方法+统计检验 | 最近断点 |
| 前后对比 | 均值/波动率变化 | 趋势变了吗 |
| 归因 | 事件关联分析 | 可能原因 |
默认风格:brief。
## 关键规则
1. 结构断点通常对应重大事件(政策/业绩/市场危机)
2. 多种检验方法一致的断点更可靠
3. 断点检测有事后偏差——实时判断更难
4. 波动率断点往往先于均值断点
5. 断点后的新均衡状态可能持续较长时间
## 使用示例
### 示例 1: 基本使用
```python
# 调用 skill
result = run_skill({
"param1": "value1",
"param2": "value2"
})
```
### 示例 2: 命令行使用
```bash
python scripts/run_skill.py --input data.json
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"