Back to skills
SKILL.md
554 Stock Cyq Analyzer
ASecurity筹码分布分析工具(CYQ - Chip Distribution)。 基于量价数据计算获利盘比例、主力成本区、筹码集中度等专业指标。 使用三角分布模型,支持A股所有股票。 Use when: 用户提到"筹码分布"、"筹码分析"、"CYQ"、"获利盘"、"主力成本"、"筹码集中度"、"90%成本"。 NOT for: 推荐买卖时机、预测股价走势、给出投资建议。
- 4 stars
- 0 votes
- 0 copies
- 0 views
- Added November 29, 2026
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 6 files and shows the line behind each finding
npx -y skills add winlem2024/workbuddy-skills --skill 554-stock-cyq-analyzer --agent claude-codeAre you the author of 554 Stock Cyq Analyzer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/winlem2024-554-stock-cyq-analyzer)---
name: stock-cyq-analyzer
description: >
筹码分布分析工具(CYQ - Chip Distribution)。
基于量价数据计算获利盘比例、主力成本区、筹码集中度等专业指标。
使用三角分布模型,支持A股所有股票。
Use when: 用户提到"筹码分布"、"筹码分析"、"CYQ"、"获利盘"、"主力成本"、"筹码集中度"、"90%成本"。
NOT for: 推荐买卖时机、预测股价走势、给出投资建议。
---
# CYQ 筹码分布分析工具
## 技能概述
本工具计算股票的筹码分布(CYQ),基于量价数据采用三角分布模型,输出专业的筹码分析指标和可视化图表。
### 核心算法
- 典型价格:`(Open + High + Low + Close) / 4`
- 分布假设:三角分布(低点、高点、典型价格)
- 历史衰减:按换手率线性衰减 `(1 - turnover)`
- 价格步长:0.1 元
### 输出指标
| 指标 | 说明 |
|------|------|
| 获利盘比例 | 当前价以下筹码占比 |
| 平均成本 | 持仓者的平均成本价 |
| 筹码峰值 | 筹码最密集的价格 |
| 90%筹码集中度 | 90%筹码所在价格区间宽度 |
| 主力成本区 | 筹码最密集的20%区间 |
## 前置条件
### 安装依赖
首次使用前,安装 Python 依赖(版本已在 requirements.txt 中限定):
```bash
pip3 install -r requirements.txt
```
### 使用方法
```bash
cd scripts
python3 cyq_analyzer.py <股票代码>
```
示例:
```bash
python3 cyq_analyzer.py 000547
```
输出为标准 JSON 格式,包含筹码分析指标和图表路径。
Files in this skill
- SKILL.md
- _skillhub_meta.json
- requirements.txt
- scripts/__init__.py
- scripts/cyq_analyzer.py
- scripts/stock_cache_v3.py
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.