Skip to main content

stock-cyq-analyzer

筹码分布分析工具(CYQ - Chip Distribution)。 基于量价数据计算获利盘比例、主力成本区、筹码集中度等专业指标。 使用三角分布模型,支持A股所有股票。 Use when: 用户提到"筹码分布"、"筹码分析"、"CYQ"、"获利盘"、"主力成本"、"筹码集中度"、"90%成本"。 NOT for: 推荐买卖时机、预测股价走势、给出投资建议。

Source facts

Repository
hsliuping/TradingAgents-CN
Last source activity
September 22, 2026 at 12:10
Detected SKILL.md language
Chinese
Stars
32,091
Forks
6,719

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
5 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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 格式,包含筹码分析指标和图表路径。
View on GitHub