stock-analysis-team

Provides team-based, multi-dimensional equity analysis and research capabilities to be used for stock analysis, investment decision support, risk assessment, market post‑mortems, or backtest validation.

Last repository push
GitHub Stars
189
Forks
43
Issues / PRs
3

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "stock-analysis-team" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b7a6533c0df80177597053a4232e0d6079e235e2b99f578434987db0aacb5eef. Verify the upstream source and version against https://github.com/wudengyao/stock-analysis-team before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Provides team-based, multi-dimensional equity analysis and research capabilities to be used for stock analysis, investment decision support, risk assessment, market post‑mortems, or backtest validation.

0 Downloads

Introduction source: third_party · wudengyao · 0.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: stock-analysis-team
description: 提供股票多维度分析团队协同研究能力;当用户需要股票分析、投资决策支持、风险评估、市场复盘或回测验证时使用
dependency:
  python:
    - yfinance>=0.2.28
    - pandas>=2.0.0
    - numpy>=1.24.0
    - ta>=0.11.0
    - matplotlib>=3.7.0
    - requests>=2.31.0
    - beautifulsoup4>=4.12.0
    - jinja2>=3.1.0
    - plotly>=5.18.0

股票分析团队

任务目标

  • 本 Skill 用于:通过多角色团队协同完成股票的深度分析和投资决策支持
  • 能力包含:基本面分析、技术分析、情绪分析、新闻分析、风险评估、市场策略制定、回测验证
  • 触发条件:用户提供股票代码、上传股票截图、请求市场复盘、需要投资建议或风险评估时

前置准备

  • 依赖说明:脚本所需的依赖包及版本
    yfinance>=0.2.28
    pandas>=2.0.0
    numpy>=1.24.0
    ta>=0.11.0
  • 非标准文件/文件夹准备:无

操作步骤

  • 标准流程:

    1. 股票代码识别
      • 如果用户提供图片:智能体使用图像识别能力提取股票代码
      • 如果用户提供文本:智能体识别股票代码(支持A股如 600519.SH,美股如 AAPL)
    2. 调用数据获取脚本
      • 执行 python scripts/market_data_fetcher.py --symbol <股票代码> --market <cn|us> 获取实时行情、技术指标和历史数据
    3. 分析师团队协同工作
      • 基本面分析师:根据 analysis-framework.md 中的基本面分析框架,评估财务健康状况
      • 情绪分析师:分析市场情绪和舆情,给出情绪评分
      • 新闻分析师:分析相关新闻和宏观经济影响
      • 技术分析师:根据技术指标(MA、MACD、RSI)判断趋势和买卖点
    4. 研究员团队辩论
      • 看多研究员:基于分析师报告列举上涨理由
      • 看空研究员:基于分析师报告列举下跌风险
      • 通过结构化辩论,平衡收益与风险
    5. 交易员团队决策
      • 综合分析师和研究员报告,制定交易计划
      • 确定买入/卖出/观望建议
      • 给出具体的价格点位和仓位建议
    6. 风控与执行团队评估
      • 根据 risk-scoring-criteria.md 评估投资风险等级(1-10分)
      • 1-3分:低风险;4-6分:中等风险;7-10分:高风险
      • 投资组合经理批准或拒绝交易提议
    7. 市场策略制定
      • 如果是A股:根据 market-strategy.md 中的三段式复盘策略,输出进攻/均衡/防守计划
      • 如果是美股:根据 Regime Strategy,输出 risk-on/neutral/risk-off 计划
    8. 生成HTML格式研究报告
      • 调用图表生成脚本:python scripts/chart_generator.py --symbol <股票代码> --market <cn|us> --chart-type all --output-dir ./charts
      • 智能体组织报告数据,生成JSON格式数据文件
      • 调用HTML报告生成脚本:python scripts/html_report_generator.py --data report_data.json --charts-dir ./charts --output report.html
      • 生成的HTML报告包含以下内容:
        • 报告封面:渐变背景 + 公司名称 + 股票代码 + 分析日期 + 风险等级徽章
        • 核心结论:渐变卡片 + 投资建议 + 预期收益 + 最大风险
        • 公司概览:信息卡片 + 财务指标表格 + 业务亮点
        • 技术分析图表:响应式网格布局 + 4种技术图表(股价走势、K线、MACD、RSI)
        • 基本面分析:财务健康度评分表 + 财务数据对比表
        • 情绪与新闻分析:情绪指标表 + 情绪趋势
        • 风险评估:风险评分进度条 + 各维度评分卡片
        • 投资建议:买卖点位表格(带颜色标识)
        • 免责声明:黄色警告框
    9. AI回测验证(可选)
      • 如果用户要求验证历史准确率:根据 backtesting-guidelines.md 的方法,评估方向胜率和止盈止损命中率
  • 可选分支:

    • 当用户请求市场复盘:执行步骤1-7,跳过个股分析,提供大盘概览和板块分析
    • 当用户上传股票截图:执行步骤1识别代码,然后进入标准流程
    • 当用户选择 cn/us/both:根据选择分析对应市场的股票

资源索引

注意事项

  • 所有投资建议仅供研究参考,不构成投资建议,必须在报告中明确标注免责声明
  • 风险评分必须基于多维度综合判断,避免单一指标主导
  • 市场策略制定需要考虑市场周期和宏观经济环境
  • 回测验证需要足够的历史数据支持,避免过拟合

使用示例

示例1:单只股票深度分析

# 用户输入:分析贵州茅台 600519.SH
# 智能体执行:
# 1. 识别股票代码 600519.SH
# 2. 调用脚本获取数据
python scripts/market_data_fetcher.py --symbol 600519.SH --market cn
# 3. 组织各团队协同分析
# 4. 生成包含风险评分的研究报告

示例2:图片识别+分析

# 用户上传股票截图
# 智能体执行:
# 1. 使用图像识别提取股票代码(如 AAPL)
# 2. 调用脚本获取数据
python scripts/market_data_fetcher.py --symbol AAPL --market us
# 3. 执行完整分析流程
# 4. 输出研究报告

示例3:A股市场复盘

# 用户输入:今天A股市场如何?给个复盘
# 智能体执行:
# 1. 调用脚本获取大盘数据
python scripts/market_data_fetcher.py --symbol 000001.SH --market cn
# 2. 分析市场整体表现和板块涨跌
# 3. 根据三段式复盘策略输出:进攻/均衡/防守计划
# 4. 提供市场操作建议

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供股票多维度分析团队协同研究能力,涵盖基本面、技术、情绪、新闻、风控等完整闭环
  • 解决用户真实投资决策痛点,显著提升研究效率
  • 支持多种输入方式和市场类型,适用场景广泛
Trigger Precision95/100

Highlights

  • 触发词覆盖完整,支持股票分析、投资决策、风险评估、市场复盘等多种场景
  • 边界清晰,区分个股分析与市场复盘,支持A股/美股多市场
  • 支持股票代码、截图识别、文本请求等多种输入方式
Structure and Standards95/100

Areas to improve

  • 缺少 When to Use 独立章节 Reported severity: Minor

    文档结构完整但缺少独立的 When to Use 章节

    Recommendation: 建议在 frontmatter 后增加独立的 When to Use 章节,更清晰地说明使用场景

Highlights

  • Phase/步骤清晰,9个标准流程逻辑连贯,团队角色分工明确
  • 端到端示例完整,涵盖单只股票分析、图片识别、市场复盘三种典型场景
  • frontmatter 完整,依赖包版本明确指定
Execution Reliability90/100

Areas to improve

  • 脚本错误处理未详细说明 Reported severity: Minor

    脚本执行流程中缺少对网络错误、数据缺失等异常情况的处理说明

    Recommendation: 建议在操作步骤中增加异常处理说明,如网络超时重试、数据缺失降级方案等

Highlights

  • 工具来源明确,所有脚本路径清晰,参数定义准确
  • 包含风控审批机制和免责声明,投资建议有确认机制
  • 依赖管理完善,Python包版本明确指定
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.