executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
stock-cyq-analyzer筹码分布分析工具(CYQ - Chip Distribution)。 基于量价数据计算获利盘比例、主力成本区、筹码集中度等专业指标。 使用三角分布模型,支持A股所有股票。 Use when: 用户提到"筹码分布"、"筹码分析"、"CYQ"、"获利盘"、"主力成本"、"筹码集中度"、"90%成本"。 NOT for: 推荐买卖时机、预测股价走势、给出投资建议。
Independent GitHub snapshot · Automated classification · Original documentation governs
本工具计算股票的筹码分布(CYQ),基于量价数据采用三角分布模型,输出专业的筹码分析指标和可视化图表。
(Open + High + Low + Close) / 4(1 - turnover)| 指标 | 说明 |
|---|---|
| 获利盘比例 | 当前价以下筹码占比 |
| 平均成本 | 持仓者的平均成本价 |
| 筹码峰值 | 筹码最密集的价格 |
| 90%筹码集中度 | 90%筹码所在价格区间宽度 |
| 主力成本区 | 筹码最密集的20%区间 |
首次使用前,安装 Python 依赖(版本已在 requirements.txt 中限定):
pip3 install -r requirements.txt
cd scripts
python3 cyq_analyzer.py <股票代码>
示例:
python3 cyq_analyzer.py 000547
输出为标准 JSON 格式,包含筹码分析指标和图表路径。