← Back to Skills Marketplace
gechengling

Security Equity Research

by lingfeng-19 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ Security Clean
81
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install security-equity-research
Description
AI tool generating China A-share equity research reports automating data collection, earnings review, valuation modeling (DCF/DDM/PE), ESG, and short-seller...
README (SKILL.md)

\r \r

Securities Equity Research Report Generator / 证券投研报告生成器\r

\r

English: AI-powered equity research report generator for China A-share market — automates industry research, company coverage initiation, earnings analysis, valuation modeling, and investment thesis synthesis. Solves pain points: time-consuming data collection, repetitive report templates, and fast-response capability for short-seller reports. Built for equity research analysts and buy-side researchers.\r \r 中文: 证券投研报告生成器——覆盖行业研究、公司首次覆盖、业绩点评、估值建模(DCF/DDM/PE区间)、投资逻辑提炼的全流程AI助手。解决痛点:数据收集耗时、报告模板重复、快速响应做空报告需求。适用:中国A股研究员、买方分析师、投资银行研究人员。\r \r ---\r \r

Industry Pain Points / 行业痛点\r

\r | Pain Point / 痛点 | Impact / 影响 | Solution / 本Skill解决方案 |\r |------------------|-------------|------------------------|\r | 数据收集耗时 | 分析师60%时间花在数据整理 | 自动抓取财报/宏观/行业数据库,一键生成数据底稿 |\r | 报告模板重复 | 每次撰写覆盖报告都要重新排版 | 内置研报标准模板,30秒生成初稿框架 |\r | 估值建模复杂 | DCF/DDM参数调整耗时长 | 参数化估值模型,输入假设自动计算 |\r | 做空报告应急 | 做空机构突袭需24小时内回应 | 紧急响应模板,快速组织反驳论据 |\r | 研报合规风险 | 监管对研报质量要求越来越高 | 内置合规检查清单,自动识别风险表述 |\r \r ---\r \r

Trigger Keywords / 触发关键词\r

\r English Triggers: equity research, A-share research, investment report, coverage initiation, earnings review, valuation model, DCF, DDM, PE band, short-seller response, ESG integration, China stock analysis, industry research report, buy-side research\r \r 中文触发词(优先): 投研报告 / 行业研究 / 个股分析 / 首次覆盖 / 业绩点评 / 估值建模 / DCF / DDM / PE区间 / 做空报告回应 / ESG整合 / 投研框架 / 研究报告 / 买方研报 / 券商研报 / 宏观策略 / 行业比较 / 公司对比 / 盈利预测 / 目标价 / 评级调整 / 研究报告审查 / 研报合规检查 / 研报降重 / 研报改写\r \r ---\r \r

Core Capabilities / 核心能力\r

\r

1. Research Report Templates / 研报模板库\r

\r 标准研报结构(证监会/中证协规范格式):\r \r

# [公司简称]([股票代码])深度报告\r
**报告日期**: YYYY-MM-DD\r
**研究员**: [姓名]\r
**联系方式**: [邮箱/电话]\r
\r
## 核心观点\r
[3-5句话概括投资亮点和核心风险]\r
\r
## 投资逻辑\r
### 逻辑1:[一句话]\r
### 逻辑2:[一句话]\r
### 逻辑3:[一句话]\r
\r
## 关键假设\r
| 假设项 | 数值 | 依据 |\r
|-------|------|------|\r
| 收入增速 | XX% | [市场/公司历史数据] |\r
| 毛利率 | XX% | [行业趋势/竞争格局] |\r
| 费用率 | XX% | [历史均值/管理变革] |\r
\r
## 盈利预测\r
| 指标 | 2024A | 2025E | 2026E | 2027E |\r
|------|-------|-------|-------|-------|\r
| 营业收入(亿元) | | | | |\r
| 归母净利润(亿元) | | | | |\r
| EPS(元) | | | | |\r
| YoY增速 | | | | |\r
\r
## 估值分析\r
### DCF估值\r
- WACC: XX%\r
- 永续增长率: XX%\r
- 绝对估值区间: [XX-XX]元\r
\r
### 相对估值\r
| 可比公司 | P/E | P/B | P/S |\r
|---------|-----|-----|-----|\r
| [公司A] | | | |\r
| [公司B] | | | |\r
| 行业中位数 | | | |\r
\r
## 风险提示\r
1. [风险1]\r
2. [风险2]\r
3. [风险3]\r
```\r
\r
### 2. Valuation Models / 估值模型\r
\r
#### 2.1 DCF Model / 现金流折现模型\r
\r
```python\r
import numpy as np\r
import pandas as pd\r
from scipy.optimize import brentq\r
\r
def dcf_valuation(fcf_forecast: list, wacc: float, terminal_growth: float, \r
                   terminal_share: float = 1.0) -> dict:\r
    """\r
    DCF估值模型\r
    Args:\r
        fcf_forecast: 未来5年自由现金流预测(亿元)\r
        wacc: 加权平均资本成本(%)\r
        terminal_growth: 永续增长率(%)\r
        terminal_share: 终值折现系数\r
    Returns:\r
        估值结果字典\r
    """\r
    # 预测期现值\r
    discount_factors = [(1 + wacc/100) ** t for t in range(1, len(fcf_forecast) + 1)]\r
    pv_forecast = sum([fcf / df for fcf, df in zip(fcf_forecast, discount_factors)])\r
    \r
    # 终值计算\r
    terminal_fcf = fcf_forecast[-1] * (1 + terminal_growth / 100)\r
    terminal_value = terminal_fcf / (wacc / 100 - terminal_growth / 100)\r
    pv_terminal = terminal_value / discount_factors[-1] * terminal_share\r
    \r
    # 企业价值 & 股权价值\r
    enterprise_value = pv_forecast + pv_terminal\r
    equity_value = enterprise_value  # 简化:无净负债调整\r
    \r
    # 敏感性分析\r
    sensitivity = {}\r
    for wacc_adj in [-0.5, 0, 0.5]:\r
        for tg_adj in [-0.5, 0, 0.5]:\r
            adj_wacc = wacc + wacc_adj\r
            adj_tg = terminal_growth + tg_adj\r
            if adj_wacc > adj_tg:\r
                adj_tv = terminal_fcf * (1 + adj_tg/100) / (adj_wacc/100 - adj_tg/100)\r
                adj_pv_tv = adj_tv / discount_factors[-1] * terminal_share\r
                adj_pv_f = sum([fcf / ((1 + adj_wacc/100) ** t) \r
                               for t, fcf in enumerate(fcf_forecast, 1)])\r
                sensitivity[f"WACC={adj_wacc}%, g={adj_tg}%"] = adj_pv_f + adj_pv_tv\r
    \r
    return {\r
        "enterprise_value": round(enterprise_value, 2),\r
        "equity_value": round(equity_value, 2),\r
        "pv_forecast": round(pv_forecast, 2),\r
        "pv_terminal": round(pv_terminal, 2),\r
        "terminal_value": round(terminal_value, 2),\r
        "sensitivity_table": sensitivity\r
    }\r
\r
# 使用示例\r
result = dcf_valuation(\r
    fcf_forecast=[5.2, 6.1, 7.3, 8.5, 9.8],  # 未来5年FCF(亿元)\r
    wacc=9.5,  # WACC 9.5%\r
    terminal_growth=2.5,  # 永续增长率 2.5%\r
    terminal_share=0.8  # 终值折现系数\r
)\r
print(f"企业价值: {result['enterprise_value']} 亿元")\r
print(f"股权价值: {result['equity_value']} 亿元")\r
```\r
\r
#### 2.2 DDM Model / 股利贴现模型\r
\r
```python\r
def ddm_valuation(current_dps: float, dividend_growth: list, \r
                  required_return: float, terminal_growth: float) -> dict:\r
    """\r
    DDM估值模型(两阶段)\r
    Args:\r
        current_dps: 当前每股股利(元)\r
        dividend_growth: 高增长阶段各年增长率(%)\r
        required_return: 必要收益率(%)\r
        terminal_growth: 永续增长率(%)\r
    """\r
    pv_dividends = []\r
    cumulative_dps = current_dps\r
    \r
    for i, g in enumerate(dividend_growth, 1):\r
        cumulative_dps *= (1 + g / 100)\r
        pv = cumulative_dps / ((1 + required_return / 100) ** i)\r
        pv_dividends.append(pv)\r
    \r
    # 永续价值\r
    terminal_dps = cumulative_dps * (1 + terminal_growth / 100)\r
    terminal_value = terminal_dps / (required_return / 100 - terminal_growth / 100)\r
    pv_terminal = terminal_value / ((1 + required_return / 100) ** len(dividend_growth))\r
    \r
    intrinsic_value = sum(pv_dividends) + pv_terminal\r
    \r
    return {\r
        "intrinsic_value": round(intrinsic_value, 2),\r
        "pv_dividends": [round(p, 4) for p in pv_dividends],\r
        "terminal_value": round(terminal_value, 2),\r
        "pv_terminal": round(pv_terminal, 2)\r
    }\r
```\r
\r
#### 2.3 PE Band Analysis / PE估值区间分析\r
\r
```python\r
def pe_band_analysis(eps_history: list, price_history: list, \r
                     forecast_eps: float) -> dict:\r
    """\r
    PE估值区间分析\r
    基于历史估值分布给出当前估值水位\r
    """\r
    # 计算历史PE\r
    pe_history = [p / e for p, e in zip(price_history, eps_history) if e > 0]\r
    \r
    # 统计分布\r
    pe_stats = {\r
        "min": np.min(pe_history),\r
        "q25": np.percentile(pe_history, 25),\r
        "median": np.median(pe_history),\r
        "q75": np.percentile(pe_history, 75),\r
        "max": np.max(pe_history),\r
        "mean": np.mean(pe_history)\r
    }\r
    \r
    # 估值区间\r
    valuation_band = {\r
        "极度低估 (PE \x3C Q25)": forecast_eps * pe_stats["q25"],\r
        "偏低估 (Q25 \x3C PE \x3C Median)": forecast_eps * pe_stats["median"],\r
        "合理区间 (Median \x3C PE \x3C Q75)": forecast_eps * pe_stats["q75"],\r
        "偏高估 (PE > Q75)": forecast_eps * pe_stats["max"]\r
    }\r
    \r
    return {\r
        "pe_statistics": pe_stats,\r
        "valuation_band": {k: round(v, 2) for k, v in valuation_band.items()}\r
    }\r
```\r
\r
### 3. Industry Research Framework / 行业研究框架\r
\r
```markdown\r
## 行业研究标准框架\r
\r
### 一、行业概述\r
- 行业定义与边界\r
- 产业链结构图\r
- 行业发展阶段(导入期/成长期/成熟期/衰退期)\r
\r
### 二、竞争格局\r
- 市场集中度(CR3/CR5/CR10)\r
- 波特五力分析\r
- 竞争格局演变趋势\r
\r
### 三、驱动因素\r
- 需求侧:市场规模、增速、渗透率\r
- 供给侧:产能扩张、技术迭代\r
- 政策面:监管政策、扶持政策\r
- 宏观面:经济周期、人口结构\r
\r
### 四、核心标的\r
- 龙头公司竞争优势\r
- 二线公司差异化\r
- 潜在黑马\r
\r
### 五、风险因素\r
- 周期性风险\r
- 政策风险\r
- 技术替代风险\r
- 竞争加剧风险\r
```\r
\r
### 4. Short-Seller Response Template / 做空报告回应模板\r
\r
```markdown\r
# 关于[做空机构名称]做空报告的声明\r
\r
**公司声明日期**: YYYY-MM-DD\r
**股票代码**: [代码]\r
**声明人**: [公司名称]投资者关系部\r
\r
## 一、核心回应\r
\r
[机构]于[日期]发布的做空报告,存在严重的事实错误和误导性陈述。\r
本公司特此声明如下:\r
\r
### 1. 关于[指控1]的回应\r
**事实**: [澄清事实]\r
**证据**: [提供证据]\r
**结论**: [明确结论]\r
\r
### 2. 关于[指控2]的回应\r
[同上格式]\r
\r
## 二、补充信息\r
\r
### 财务数据核实\r
| 指标 | 公司公告数据 | 做空报告数据 | 差异说明 |\r
|-----|-------------|-------------|---------|\r
| | | | |\r
\r
## 三、风险提示\r
\r
本声明不构成投资建议。投资者应仔细阅读公司过往公告,\r
审慎判断投资风险。\r
\r
---\r
联系方式:[IR邮箱]\r
```\r
\r
---\r
\r
## Compliance Checklist / 合规检查清单\r
\r
| 检查项 | 依据 | 通过标准 |\r
|-------|------|---------|\r
| 盈利预测合理性 | 《证券研究报告执业规范》 | 预测区间不超过合理范围 |\r
| 风险提示完整性 | 《证券法》第79条 | 必须包含3项以上风险提示 |\r
| 利益冲突披露 | 证监会相关规定 | 持有股票需披露 |\r
| 评级定义一致性 | 《证券研究报告执业规范》 | 评级定义需与公司标准一致 |\r
| 数据来源合规 | 交易所规则 | 引用数据需标注来源 |\r
\r
---\r
\r
## Usage Examples / 使用示例\r
\r
**启动研报撰写:**\r
```\r
分析[行业名称]的竞争格局和投资机会,生成行业研究报告模板\r
```\r
\r
**估值建模:**\r
```\r
帮我用DCF模型对[公司名称]估值:\r
- 未来5年FCF预测:[X]亿/[X]亿/[X]亿/[X]亿/[X]亿\r
- WACC:[X]%\r
- 永续增长率:[X]%\r
```\r
\r
**做空报告应急:**\r
```\r
[机构]刚发布做空报告指控[公司],需24小时内回应,\r
帮我生成回应初稿框架,重点反驳以下3点:\r
1. [指控点1]\r
2. [指控点2]\r
3. [指控点3]\r
```\r
\r
---\r
\r
## Disclaimer\r
\r
This skill provides research report templates and valuation models for educational and reference purposes. Investment decisions should be based on independent research and professional advice. All outputs should be reviewed by qualified analysts before publication or use in investment decisions.\r
Usage Guidance
Before installing, confirm that any data collection uses sources you are allowed to access, review any Python valuation calculations before running them, and have qualified analysts or compliance staff validate generated research reports before publication or investment use.
Capability Analysis
Type: OpenClaw Skill Name: security-equity-research Version: 2.0.0 The skill is a specialized tool for generating financial equity research reports for the China A-share market. The provided Python code in SKILL.md consists of standard mathematical models for financial valuation (DCF, DDM, and PE Band analysis) using legitimate libraries like numpy and pandas, with no evidence of network access, data exfiltration, or malicious execution. The instructions are well-aligned with the stated purpose of assisting research analysts and do not contain any prompt-injection attacks or unauthorized system commands.
Capability Assessment
Purpose & Capability
The skill coherently focuses on China A-share equity research report generation, valuation templates, and analyst workflows. Because outputs may influence investment or compliance decisions, users should treat generated reports as drafts requiring expert review.
Instruction Scope
The visible instructions mention automated data collection and short-seller response workflows, which fit the stated purpose, but they do not define specific approved databases, source limits, or verification procedures.
Install Mechanism
There is no install spec and no code files; the supplied artifact is an instruction-only SKILL.md.
Credentials
The artifact includes executable-looking Python valuation examples using common data science packages. This is proportionate for valuation modeling, and no automatic execution or package installation is shown.
Persistence & Privilege
No credentials, persistent storage, background workers, account privileges, or local profile/session access are requested in the provided artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install security-equity-research
  3. After installation, invoke the skill by name or use /security-equity-research
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
- Added new keywords to skill description for enhanced search and discoverability, including 投研报告, 行研, 财报分析, 盈利预测, 目标价, 评级, 深度报告, 事件点评, 新股分析. - No changes to functionality or features; the update enhances metadata only.
v1.0.0
Securities Equity Research Report Generator 1.0.0 - Initial release of an AI-powered equity research report tool for China A-share market. - Automates industry research, company coverage initiation, earnings analysis, valuation modeling (DCF/DDM/PE-band), and investment thesis generation. - Includes built-in report templates (in Chinese and English), regulatory-compliant structures, and frameworks for responding to short-seller reports. - Integrates the latest ESG requirements and cross-sector comparison tools. - Features parameterized valuation models with example code and sensitivity analysis. - Designed for China-focused equity analysts, buy-side, and investment bank research teams.
Metadata
Slug security-equity-research
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Security Equity Research?

AI tool generating China A-share equity research reports automating data collection, earnings review, valuation modeling (DCF/DDM/PE), ESG, and short-seller... It is an AI Agent Skill for Claude Code / OpenClaw, with 81 downloads so far.

How do I install Security Equity Research?

Run "/install security-equity-research" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Security Equity Research free?

Yes, Security Equity Research is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Security Equity Research support?

Security Equity Research is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Security Equity Research?

It is built and maintained by lingfeng-19 (@gechengling); the current version is v2.0.0.

💬 Comments