Fundamental Analysis for A-Shares for Openclaw

An automated financial analysis tool that retrieves East Money and Hexun data to generate structured fundamental reports for A-share listed companies.

zhaocaixia888
v1.0.0
Jun 2, 2026
0
752
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install fundamental-analysis

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install fundamental-analysis using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Fundamental Analysis for A-Shares?

The Fundamental Analysis skill provides a systematic and automated workflow to analyze the financial health, valuation, and market positioning of A-share listed companies. By pulling raw financial statements and trading metrics directly from authoritative Chinese financial portals like East Money (东方财富) and Hexun (同花顺), this tool enables investors and developers to execute complex quantitative queries seamlessly.

As part of the Openclaw Skills library, this tool computes essential valuation ratios, profitability indicators, and debt metrics on the fly. It translates raw API payloads into beautifully structured Markdown reports, highlighting five-year trends, competitor comparisons, and multiple valuation models like PE/PB bands and DCF projections, ensuring reliable due diligence in stock picking.

Fundamental Analysis for A-Shares Use Cases

  • Stock Due Diligence: Automate the process of digging into financial reports when examining an A-share stock code.
  • Earnings Season Audits: Conduct rapid reviews of quarterly or annual reports immediately after their release to verify growth vectors.
  • Valuation Strategy Checks: Determine if a stock is overvalued or undervalued prior to entry or exit using historical PE/PB percentile bands.
  • Competitor & Peer Benchmarking: Assess how a specific company stacks up against the top 3-5 players in its industry group.

How Fundamental Analysis for A-Shares Works

  1. Trigger Request: The user queries a stock ticker (e.g., '600519') for fundamental analysis.
  2. Raw Data Sourcing: The skill executes curl requests or web fetch tasks to extract F10 metrics, profit/loss tables, and balance sheets from East Money or Hexun APIs.
  3. Metric Computation: The tool computes vital indicators including TTM PE, PB, ROE, operating margins, asset-to-debt ratios, and growth trajectory indices.
  4. Industry & Competitor Mapping: It requests industry segment benchmarks to place the target company within its peer group.
  5. Valuation Estimation: Performs percentile rankings over a five-year horizon or computes a DCF projection.
  6. Report Generation: Outputs a comprehensive, structured Markdown document containing clean markdown tables and risk assessments.

Fundamental Analysis for A-Shares Setup

System Requirements

Ensure that you have curl installed on your system path. This skill uses standard HTTP retrieval mechanisms to query financial endpoints.

Configuration

You can optionally customize the HTTP referer header used when querying East Money to prevent rate-limiting or blocks. Set the following environment variable:

export EASTMONEY_REFERER="https://data.eastmoney.com"

To initialize this skill within your AI environment, add it to your configuration path as outlined in the Openclaw Skills directory structure.

Fundamental Analysis for A-Shares Data Schema & Taxonomy

Data Mapping & Core Indicators

The fundamental analysis skill consumes raw API JSON structures from data portals and formats them into standardized financial metrics. The taxonomy includes:

Indicator Type Metrics Tracked Target Threshold / Healthy Range
Valuation PE (TTM), PB, PS, PCF Compared to 5-year historical percentiles and peer averages
Profitability ROE, ROA, Gross Margin, Net Margin ROE > 15% preferred; Gross Margin compared against industry benchmarks
Growth Revenue YoY, Net Profit YoY, Cash Flow YoY Growth > 10% indicates healthy scaling
Financial Health Debt-to-Asset, Current/Quick Ratios, FCF Debt-to-Asset < 50% generally safe (excluding financial institutions)

Output Artifacts

All successfully processed analysis runs generate a formatted Markdown document comprising standard sections:

  • Basic Stock Profile: Name, ticker, industry, current capitalization.
  • Core Metrics Table: Comparative values versus industry averages.
  • Five-Year Trend: Matrix showcasing annual progress.
  • Peer Analysis: Benchmark table comparing top 3-5 competitors.
  • Risk Disclosures: Industry, financial, and valuation risks.

Fundamental Analysis for A-Shares Advanced Features

  • PE/PB Band Percentile Calculator: Automatically maps the current stock price to its 5-year historical distribution to pinpoint valuation percentiles.
  • DCF Sensitivity Modelling: Computes intrinsic values based on estimated cash flows and adjustable discount rates (WACC 8%-12%).
  • Industry Peer Extraction: Leverages East Money list interfaces to fetch peer sets dynamically using Shenwan (申万) industry classifications.
  • Cyclical and Financial Stock Adaptors: Dynamically emphasizes PB and Net Interest Margin (NIM) metrics for banking or cyclical entities, overriding standard PE workflows.
  • Seamless Openclaw Skills Integration: Easily couples with terminal automation or multi-agent stock tracking pipelines.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*