CN Stock Analyst 股票智能分析师

v1.0.0

股票智能分析助手,支持A股、港股、美股的行情抓取、技术指标解读和研报生成。触发场景:用户提到"股票分析"、"看一下XX股"、"XX的技术面"、"买不买XX"、"研报"、"财报解读"、"帮我分析XX"、"XX值不值得买"、"XX的走势"、"技术分析"、"MACD"、"RSI"、"K线"、"均线"、"PE"、"PB"...

0· 713·3 current·3 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for ryanlee-gemini/cn-stock-analyst.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "CN Stock Analyst 股票智能分析师" (ryanlee-gemini/cn-stock-analyst) from ClawHub.
Skill page: https://clawhub.ai/ryanlee-gemini/cn-stock-analyst
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install cn-stock-analyst

ClawHub CLI

Package manager switcher

npx clawhub@latest install cn-stock-analyst
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (stock data, technical/basic analysis, report generation) align with the instructions: fetch market pages, extract price/K-line/financial fields, compute indicators, and render the provided template. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md confines runtime behavior to using a web_fetch tool against public finance pages/APIs and to produce reports per the included template. It does not instruct reading local secrets, other files, or sending data to unknown endpoints. It does note fallback behavior when sources are blocked, which is reasonable for a scraper.
Install Mechanism
This is an instruction-only skill with no install spec or bundled code — nothing is written to disk or downloaded during install.
Credentials
The skill declares no environment variables or credentials and does not require unrelated secrets. The data sources cited (Eastmoney, Xueqiu, Sina, Tencent, Yahoo Finance) are appropriate for the stated markets.
Persistence & Privilege
always is false and there is no request for persistent privileges or modifications to other skills/config. Autonomous invocation is allowed (platform default) but not exceptional here.
Assessment
This skill appears internally consistent: it scrapes public finance pages, computes indicators, and formats a report. Before installing, consider: (1) web_fetch will make network requests to third‑party sites — if you send any private text to the skill it may be included in those requests; avoid supplying sensitive data. (2) Scraped data can be delayed, blocked by anti‑bot measures, or contain parsing errors — validate outputs before acting on them. (3) This is informational only and not financial advice; confirm important decisions with authoritative data/APIs. If you need server‑side credentials or a commercial data feed for higher reliability, this skill currently does not request them and would need modification.

Like a lobster shell, security has layers — review code before you run it.

chinesevk979ew4yzwr6k395s76a2rxx8s83kz2vfinancevk979ew4yzwr6k395s76a2rxx8s83kz2vlatestvk979ew4yzwr6k395s76a2rxx8s83kz2vstocksvk979ew4yzwr6k395s76a2rxx8s83kz2v
713downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

股票智能分析师

核心功能

  1. 实时行情抓取:通过 web_fetch 从多个数据源获取最新价格、涨跌幅、成交量
  2. 技术指标解读:MACD、RSI、KDJ、布林带、均线系统(MA5/MA10/MA20/MA60/MA120/MA250)
  3. 基本面分析:PE/PB/ROE、市值、营收、净利润、毛利率等关键财务指标
  4. 自动生成研报:多空分析、目标价估算、风险提示
  5. 支持品种:A股个股/指数/ETF、港股、美股

股票代码格式规范

市场格式示例
A股沪市SH+6位代码SH600519(茅台)
A股深市SZ+6位代码SZ000001(平安银行)
创业板SZ+6位代码SZ300750(宁德时代)
港股5位数字00700(腾讯)
美股英文字母AAPL、TSLA、NVDA
ETF同A股规则SH510300(沪深300ETF)

用户如果只说股票名称,先识别对应代码,再进行分析。

数据抓取流程

Step 1:确定股票信息

  • 若用户提供代码,直接使用;若提供名称,先转换为代码
  • 判断市场类型(A股/港股/美股),选择对应数据源

Step 2:抓取实时行情

按优先级尝试以下数据源(用 web_fetch 工具):

A股数据源(按优先级):

1. 东方财富(推荐):
   - 行情页:https://quote.eastmoney.com/SH600519.html
   - 将代码 SH/SZ 前缀转为全小写拼接
   
2. 雪球:
   - https://xueqiu.com/S/SH600519
   - 注意:雪球可能需要登录,如被拦截则换其他源
   
3. 新浪财经:
   - https://finance.sina.com.cn/realstock/company/sh600519/nc.shtml
   
4. 腾讯财经:
   - https://gu.qq.com/sh600519

美股数据源:

1. Yahoo Finance API(JSON格式,推荐):
   https://query1.finance.yahoo.com/v8/finance/chart/AAPL?interval=1d&range=3mo

2. Yahoo Finance 行情页:
   https://finance.yahoo.com/quote/AAPL

3. 雪球(美股):
   https://xueqiu.com/S/AAPL

港股数据源:

1. 雪球(港股,前加$):
   https://xueqiu.com/S/$00700
   
2. 东方财富港股:
   https://quote.eastmoney.com/hk/00700.html

Step 3:提取关键数据

从抓取的页面提取:

  • 当前价格、涨跌额、涨跌幅
  • 开盘价、昨收、最高价、最低价
  • 成交量、成交额、换手率
  • 市值、PE(TTM)、PB、股息率

Step 4:获取技术指标数据

对于技术分析,尝试抓取K线数据:

东方财富K线接口(示例):
https://push2his.eastmoney.com/api/qt/stock/kline/get?secid=1.600519&fields1=f1,f2,f3,f4,f5,f6&fields2=f51,f52,f53,f54,f55,f56,f57,f58&klt=101&fqt=1&beg=0&end=20500101&lmt=120

其中 secid:沪市前缀 1. 深市前缀 0. 例:1.600519 或 0.000001

如果 API 无法访问,基于有限行情数据进行定性分析。

Step 5:生成研报

按 references/report-template.md 的格式输出分析报告。

技术指标解读规则

MACD 信号

  • 金叉(DIFF上穿DEA):短期上涨信号,可考虑买入
  • 死叉(DIFF下穿DEA):短期下跌信号,注意风险
  • MACD柱由负转正:动能由跌转涨
  • 背离:价格创新高但MACD未创新高 → 顶背离(看空);价格创新低但MACD未创新低 → 底背离(看多)

RSI 信号

RSI值信号
> 80超买区,注意回调风险
70-80偏强,但需谨慎追高
30-70正常波动区间
20-30偏弱,可能接近底部
< 20超卖区,关注反弹机会

KDJ 信号

  • K上穿D(金叉):买入信号,尤其在20以下
  • K下穿D(死叉):卖出信号,尤其在80以上
  • J > 100:超买,短期回调概率大
  • J < 0:超卖,可能出现反弹

布林带信号

  • 价格突破上轨:强势突破或超买
  • 价格触碰下轨:支撑位或超卖反弹
  • 带宽收窄:即将出现大波动
  • 带宽扩张:趋势确立

均线系统

  • 价格在所有均线之上:多头排列,趋势强势
  • 价格在所有均线之下:空头排列,趋势弱势
  • MA5上穿MA20(黄金交叉):中期买入信号
  • MA5下穿MA20(死亡交叉):中期卖出信号
  • MA250(年线):重要长期支撑/压力位

基本面分析框架

估值指标

指标偏低合理偏高
PE(成长股)< 15倍15-35倍> 50倍
PE(价值股)< 8倍8-15倍> 20倍
PB< 1倍1-3倍> 5倍
ROE< 8%8-15%> 20%

注意:不同行业PE基准差异极大,需与行业均值对比。

财务健康度检查

  • 营收增速:同比是否持续增长?
  • 净利润率:是否维持稳定或提升?
  • 负债率:资产负债率是否合理(非金融企业一般 < 60%)?
  • 现金流:经营性现金流是否为正?
  • 毛利率趋势:是否存在毛利率下降风险?

综合评级标准

评级条件
⭐⭐⭐ 买入技术面强势 + 基本面优质 + 估值合理
⭐⭐ 适度买入技术面偏多 或 基本面良好,但有一定风险
⭐ 持有/观望技术面中性,基本面一般,等待更好时机
⚠️ 谨慎技术面偏弱 或 估值偏高,控制仓位
🔴 回避技术面空头排列 + 基本面恶化,建议规避

注意事项

  1. 数据时效:web_fetch 抓取的是网页静态内容,非实时tick数据,存在一定延迟
  2. 访问限制:部分数据源可能有反爬限制,如遇访问失败应尝试其他数据源
  3. 免责声明:本分析仅供参考,不构成投资建议。股市有风险,投资需谨慎。
  4. 数据不全时:若数据抓取不完整,明确说明哪些数据缺失,基于可用数据进行分析

输出格式

按照 references/report-template.md 的结构生成分析报告,要求:

  • 语言简洁专业,避免模糊表述
  • 明确给出关键价位(支撑位、压力位)
  • 综合评级必须给出,不得回避
  • 风险提示必须包含
  • 如数据有限,明确标注并进行定性分析

Comments

Loading comments...