跳到正文
cccskills
免费在 GitHub 公开

stock-cyq-analyzer

Estimate the distribution of stockholders' purchase costs for Chinese A-share stocks using price and volume data. A triangular model produces cost concentration metrics, the estimated share below the current price, and visualization charts.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

筹码分布分析工具(CYQ - Chip Distribution)。基于量价数据计算获利盘比例、主力成本区、筹码集中度等专业指标。使用三角分布模型,支持A股所有股票。

Use when: 用户提到"筹码分布"、"筹码分析"、"CYQ"、"获利盘"、"主力成本"、"筹码集中度"、"90%成本"。NOT for: 推荐买卖时机、预测股价走势、给出投资建议。

查看安装方法

适用场景

  • Examining estimated purchase cost distributions for Chinese A-share stocks
  • Checking the estimated share of holdings below the current price
  • Identifying price ranges with concentrated holdings
  • Retrieving cost metrics and chart paths as JSON

包含的文件(5)

  • SKILL.md1.5 KB
  • requirements.txt60 B
  • scripts/__init__.py963 B
  • scripts/cyq_analyzer.py13.6 KB
  • scripts/stock_cache_v3.py12.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

CYQ 筹码分布分析工具

技能概述

本工具计算股票的筹码分布(CYQ),基于量价数据采用三角分布模型,输出专业的筹码分析指标和可视化图表。

核心算法

  • 典型价格:(Open + High + Low + Close) / 4
  • 分布假设:三角分布(低点、高点、典型价格)
  • 历史衰减:按换手率线性衰减 (1 - turnover)
  • 价格步长:0.1 元

输出指标

指标说明
获利盘比例当前价以下筹码占比
平均成本持仓者的平均成本价
筹码峰值筹码最密集的价格
90%筹码集中度90%筹码所在价格区间宽度
主力成本区筹码最密集的20%区间

前置条件

安装依赖

首次使用前,安装 Python 依赖(版本已在 requirements.txt 中限定):

pip3 install -r requirements.txt

使用方法

cd scripts
python3 cyq_analyzer.py <股票代码>

示例:

python3 cyq_analyzer.py 000547

输出为标准 JSON 格式,包含筹码分析指标和图表路径。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Retrieve locally stored Chinese A-share prices, financial statements, and valuation context through the project's shared interfaces. Look up technical indicators, inspect available data fields, and check data dates when results disagree.

中文简介正在准备中。当前显示英语简介。

  • Checking a stock's prices and valuation context
  • Retrieving financial data across reporting periods
  • Looking up technical indicators and their data dates
hsliuping/TradingAgents-CN3.2万2026年9月22日 更新

Retrieve financial data through natural language queries, including Chinese A-share stocks, funds, futures, company financials, and economic indicators. The skill calls a Python script and presents key results as concise summaries and tables.

中文简介正在准备中。当前显示英语简介。

  • Checking stock prices and daily market data
  • Retrieving recently disclosed revenue and profit
  • Comparing prices across stocks
hsliuping/TradingAgents-CN3.2万2026年9月22日 更新

Search financial news, industry developments, and company sentiment using natural-language questions. Retrieve related headlines, summaries, sources, and article links through a Python script, with optional date ranges to focus the search on a specific period.

中文简介正在准备中。当前显示英语简介。

  • Finding financial news related to a question
  • Researching market and industry developments
  • Checking news and public sentiment about a company
hsliuping/TradingAgents-CN3.2万2026年9月22日 更新

Design and generate agents in Nanobot by finding reusable tools, skills, prompts, and existing agent configurations. Guide requirements and confirmation, create focused agent assets, and follow recorded real-data testing and evaluation before publication.

中文简介正在准备中。当前显示英语简介。

  • Designing an agent around existing project resources
  • Adapting existing agent configurations and prompts
  • Identifying missing tools and calculation capabilities
hsliuping/TradingAgents-CN3.2万2026年9月22日 更新

Investigate and fix agent behavior in TradingAgentsCN by checking active database prompt templates, prompt assembly code, and output processing. Apply targeted changes and verify them with focused tests, template checks, and workflow logs.

中文简介正在准备中。当前显示英语简介。

  • Investigating prompt changes that do not affect runtime behavior
  • Synchronizing database templates with prompt assembly code
  • Tracing incorrect dates or price references in position analysis
hsliuping/TradingAgents-CN3.2万2026年9月22日 更新

查看 hsliuping 的全部技能

报告此技能的问题