Skip to content
Back to skills

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
toolspythonbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 6 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add winlem2024/workbuddy-skills --skill 554-stock-cyq-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 554 Stock Cyq Analyzer?

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

Security grade badge for 554 Stock Cyq Analyzer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/winlem2024-554-stock-cyq-analyzer/badge)](https://www.skillsdirectory.com/skills/winlem2024-554-stock-cyq-analyzer)

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: 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.md1.5 KB
  • _skillhub_meta.json691 B
  • requirements.txt63 B
  • scripts/__init__.py963 B
  • scripts/cyq_analyzer.py11.9 KB
  • scripts/stock_cache_v3.py12.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.