valuation · SkillNav

PE/PB Historical Valuation Skill

A focused BaoStock tool that calculates ten-year PE and PB valuation percentiles for A-shares.

85VF score
Maintainer
caoyachao
Market coverage
A-share
GitHub stars
Repository popularity
Updated
2026-03
Best for

Value investors who need a narrow, explainable historical-valuation signal.

Implementation statusGuide reviewed · 2026-03
Implementation status

valuation

Expected result

Excellent long-tail SEO intent

Known failure mode

Percentiles do not prove undervaluation

Compatibility

A-share

Why it stands out

  • Excellent long-tail SEO intent
  • Narrow and understandable output
  • Uses historical context rather than a single multiple

Risks and limitations

  • Percentiles do not prove undervaluation
  • Loss-making and cyclical companies need special handling

Examples and expected outcomes

Example 1

Calculate a ten-year PE/PB percentile

  • Sourced evidence
  • Repeatable steps
  • Explicit uncertainty
Example 2

Explain why percentile is not intrinsic value

  • Sourced evidence
  • Repeatable steps
  • Explicit uncertainty
Example 3

Compare valuation across market cycles

  • Sourced evidence
  • Repeatable steps
  • Explicit uncertainty

Access requirements

Keys and runtime

No API key; BaoStock and Python required

License and data rights

Review BaoStock data-use terms before redistribution

Rate limits

Cache ten-year histories and update incrementally

Connect to your Agent

Claude config
claude skill add --url github.com/openclaw/skills/tree/main/skills/caoyachao/stock-pe-pb-analyzer-skill

# Project-scoped Agent Skill layout
.claude/skills/pe-pb-analyzer-review/SKILL.md
.claude/skills/pe-pb-analyzer-review/references/

# Restart Claude Code and confirm discovery.
Prompt example

“Use PE/PB Historical Valuation Skill to research 600519. List sources and timestamps first, then separate facts, calculations, risks and missing data. Do not give personalized trading advice.”

When not to use it

  • Percentiles do not prove undervaluation
  • Loss-making and cyclical companies need special handling
Installation

PE/PB Historical Valuation Skill

Terminal
claude skill add --url github.com/openclaw/skills/tree/main/skills/caoyachao/stock-pe-pb-analyzer-skill

Before you install

Review the current license and source code, pin a version, keep credentials out of prompts, and start with read-only permissions.

Project-specific questions

What can PE/PB Historical Valuation Skill do in a real workflow?

Excellent long-tail SEO intent Narrow and understandable output Uses historical context rather than a single multiple

What access and compatibility does PE/PB Historical Valuation Skill require?

· A-share

What is the main implementation risk with PE/PB Historical Valuation Skill?

Percentiles do not prove undervaluation Loss-making and cyclical companies need special handling