← 返回 Skills 市场
A股技术分析报告
作者
zhangyuqi98
· GitHub ↗
· v1.0.0
· MIT-0
326
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install a-stock-technical-analysis
功能描述
A股个股技术分析报告生成工具。当用户请求生成股票技术分析报告、查询A股个股行情、分析个股走势时触发。支持输入股票代码和股票名称,自动抓取东方财富实时数据并生成结构化技术分析报告。
使用说明 (SKILL.md)
A股技术分析报告 Skill
输入股票代码(如 002281)和股票名称(如 光迅科技),自动生成一份结构完整、逻辑清晰、语言专业克制的技术分析报告。
工作流程
第一步:获取实时行情数据
用浏览器访问东方财富个股页面:
openclaw browser navigate https://quote.eastmoney.com/sz{代码}.html
等待页面加载完成后执行:
openclaw browser snapshot
同时尝试 eastmoney 实时行情 API(成功率不稳定,多试几次):
http://push2.eastmoney.com/api/qt/stock/get?secid=0.{代码}&fields=f43,f44,f45,f46,f47,f48,f57,f58,f60,f170,f171
注意:secid 规则 — 深圳用 0.,上海用 1.。如光迅科技 002281 → secid=0.002281
第二步:获取指数数据(大盘环境)
从个股页面快照中已包含上证/深证指数数据。若需单独确认:
http://push2.eastmoney.com/api/qt/stock/get?secid=1.000001&fields=f43,f57,f58,f60
http://push2.eastmoney.com/api/qt/stock/get?secid=0.399001&fields=f43,f57,f58,f60
第三步:解析关键数据
从页面快照中提取以下字段:
个股行情:
- 现价、涨幅、涨跌额
- 今开、昨日收盘(昨收)
- 最高、最低
- 成交量、成交额
- 换手率、量比
- 市盈率(动)、市净率
- 总市值、流通市值
基本面(页面已有):
- 净利润、营收、ROE、毛利率、净利率
- 负债率
- 股东户数变化
重要事件(从个股大事列表中提取):
- 限售解禁日
- 年报/季报预约披露日
- 近期龙虎榜记录
- 近期研报标题
- 大宗交易记录
板块/题材:
- 所属板块涨幅
资金面(若有):
- 主力净流入、超大单净流入
- 大宗交易信息
第四步:生成报告
按 references/report-template.md 中的结构填充数据,生成完整报告。
注意事项
- 网络不稳定时:eastmoney API 可能连接失败(code 52),此时以浏览器快照数据为准
- 技术指标数据有限:东方财富页面不直接展示完整 MACD/KDJ/RSI,需要时用
stock_zh_a_hist获取历史数据后自行计算,或标注"暂无数据" - 不以任何形式编造数据:数据不足时必须写"暂无数据"或"无法判断"
- 报告末尾必须附言:"以上内容仅为技术面分析,不构成投资建议。"
安全使用建议
This skill appears coherent and does not request secrets or install code, but note these practical considerations before installing:
- The skill performs web scraping and browser snapshots of Eastmoney pages and will make outbound HTTP requests to push2.eastmoney.com — ensure you are comfortable with the agent having network access. Browser snapshots could capture cookies or any content visible in the browser session, so avoid running the skill in an environment where your browser is logged into sensitive accounts.
- Confirm that scraping Eastmoney is acceptable under your organization’s policies and Eastmoney’s terms of service (rate limits and ToS/legal compliance matters).
- The skill may need historical K‑line data to compute MACD/KDJ/RSI; it documents falling back to "暂无数据" when data is absent — expect occasional missing indicators if the historical fetch fails.
- If you want stronger containment, disable network access for this skill or restrict it to read-only, unauthenticated requests. If you need assurance about privacy/compliance, request a code-backed implementation or an allowlist of exact endpoints and rate limits.
Overall: coherent for its purpose, but treat it like any web‑scraping skill — review network access and data‑handling policy before enabling.
功能分析
Type: OpenClaw Skill
Name: a-stock-technical-analysis
Version: 1.0.0
The skill bundle is a legitimate tool designed to generate technical analysis reports for A-share stocks. It uses the OpenClaw browser tool to navigate to Eastmoney (quote.eastmoney.com) and fetches data via public APIs (push2.eastmoney.com), which is consistent with its stated purpose. There are no signs of data exfiltration, malicious execution, or harmful prompt injection in SKILL.md or the associated templates.
能力评估
Purpose & Capability
Name/description say: fetch A‑share data from 东方财富 and generate a technical analysis report. The SKILL.md uses browser navigation and eastmoney API endpoints to collect the listed fields. No unrelated credentials, binaries, or config paths are requested — capability matches purpose.
Instruction Scope
Runtime instructions are limited to: navigate to Eastmoney quote pages, snapshot the page, call eastmoney push2 API endpoints, parse visible fields, optionally fetch historical K‑line for indicators, and populate the provided report template. The instructions do not ask to read local files, access unrelated environment variables, or transmit data to endpoints outside Eastmoney.
Install Mechanism
No install spec and no code files — instruction-only skill. Nothing will be downloaded or written to disk by an installer step, which is the lowest-risk install model.
Credentials
The skill declares no required environment variables, credentials, or config paths. All external access is to Eastmoney endpoints, which is appropriate for the stated scraping/aggregation purpose.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modifications to other skills. Autonomous invocation is allowed by default but not combined with any elevated privileges or broad credential access.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install a-stock-technical-analysis - 安装完成后,直接呼叫该 Skill 的名称或使用
/a-stock-technical-analysis触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本:基于东方财富数据生成A股/港股/美股技术分析报告
元数据
常见问题
A股技术分析报告 是什么?
A股个股技术分析报告生成工具。当用户请求生成股票技术分析报告、查询A股个股行情、分析个股走势时触发。支持输入股票代码和股票名称,自动抓取东方财富实时数据并生成结构化技术分析报告。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 326 次。
如何安装 A股技术分析报告?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install a-stock-technical-analysis」即可一键安装,无需额外配置。
A股技术分析报告 是免费的吗?
是的,A股技术分析报告 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
A股技术分析报告 支持哪些平台?
A股技术分析报告 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 A股技术分析报告?
由 zhangyuqi98(@zhangyuqi98)开发并维护,当前版本 v1.0.0。
推荐 Skills