← Back to Skills Marketplace
zhangyuqi98

A股技术分析报告

by zhangyuqi98 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
326
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install a-stock-technical-analysis
Description
A股个股技术分析报告生成工具。当用户请求生成股票技术分析报告、查询A股个股行情、分析个股走势时触发。支持输入股票代码和股票名称,自动抓取东方财富实时数据并生成结构化技术分析报告。
README (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 中的结构填充数据,生成完整报告。

注意事项

  1. 网络不稳定时:eastmoney API 可能连接失败(code 52),此时以浏览器快照数据为准
  2. 技术指标数据有限:东方财富页面不直接展示完整 MACD/KDJ/RSI,需要时用 stock_zh_a_hist 获取历史数据后自行计算,或标注"暂无数据"
  3. 不以任何形式编造数据:数据不足时必须写"暂无数据"或"无法判断"
  4. 报告末尾必须附言:"以上内容仅为技术面分析,不构成投资建议。"
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install a-stock-technical-analysis
  3. After installation, invoke the skill by name or use /a-stock-technical-analysis
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本:基于东方财富数据生成A股/港股/美股技术分析报告
Metadata
Slug a-stock-technical-analysis
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is A股技术分析报告?

A股个股技术分析报告生成工具。当用户请求生成股票技术分析报告、查询A股个股行情、分析个股走势时触发。支持输入股票代码和股票名称,自动抓取东方财富实时数据并生成结构化技术分析报告。 It is an AI Agent Skill for Claude Code / OpenClaw, with 326 downloads so far.

How do I install A股技术分析报告?

Run "/install a-stock-technical-analysis" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is A股技术分析报告 free?

Yes, A股技术分析报告 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does A股技术分析报告 support?

A股技术分析报告 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created A股技术分析报告?

It is built and maintained by zhangyuqi98 (@zhangyuqi98); the current version is v1.0.0.

💬 Comments