# China Comps

Comparable company analysis for A-share stocks.

- Repository: https://github.com/jwangkun/claude-for-financial-services-cn (881 stars)
- Category: AI and agents
- License: Apache-2.0
- Last updated: 2026-09-14
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add jwangkun/claude-for-financial-services-cn --skill china-comps -g -a claude-code -y`
Codex: `npx skills add jwangkun/claude-for-financial-services-cn --skill china-comps -g -a codex -y`
Cursor: `npx skills add jwangkun/claude-for-financial-services-cn --skill china-comps -g -a cursor -y`
Gemini CLI: `npx skills add jwangkun/claude-for-financial-services-cn --skill china-comps -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add jwangkun/claude-for-financial-services-cn`

## Description

Comparable company analysis for A-share stocks. Uses AkShare MCP to build peer groups, pull financial data, compute valuation multiples (PE, PB, PS), and assess relative value within a Chinese industry sector.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# china-comps

## Data Sources (Multi-Tier)

### Tier 0, 万得 Wind（最全面付费数据）
- 覆盖：A股/港美股/基金/指数/债券/宏观/研报/分析（44个工具）
- MCP 服务：`wind-mcp`（需 `WIND_API_KEY` 密钥，以 `ak_` 开头）
- 优势：全市场覆盖面最广、数据最全面、包含研报和量化分析
- 密钥申请：https://aifinmarket.wind.com.cn/#/home

### Tier 1, 同花顺 iFind（付费精确数据）
Use ifind MCP when a valid `IFIND_AUTH_TOKEN` is configured.

```python
ifind_get_stock_info(ticker)             → Company profile, multiples
ifind_get_stock_financials(ticker, ...)  → Revenue, net income, margins
ifind_search_stocks(query)               → Industry-wide stock screening
```

### Tier 2, AkShare（免费开源数据）
Fallback when iFind is unavailable.

```python
get_quote(ticker)              → Price, PE, PB, market cap
get_financials(ticker, "income", "annual")  → Revenue, net income
get_financials(ticker, "balance", "annual") → Book value
get_stock_info(ticker)         → Business description
```

> **数据源模式开关**: 当环境变量 `IFIND_DATA_SOURCE_MODE=ifind-only` 时，仅使用 iFind 数据源，禁用 AkShare 降级。

---
name: china-comps
description: Comparable company analysis for A-share stocks. Uses the AkShare MCP to build peer groups, pull financial data, compute valuation multiples (PE, PB, PS), and assess relative value within a Chinese industry sector. Use instead of the original comps-analysis skill when dealing with Chinese-listed equities.
---

# china-comps

## Workflow

### 1. Define the peer group

Start with the target stock, then use `get_industry_stocks(industry="<行业名称>")` to get the full peer set for that industry. Common industry names used in the 东方财富 classification:

The rest: https://github.com/jwangkun/claude-for-financial-services-cn/blob/HEAD/agent-plugins/china-earnings-reviewer/skills/china-comps/SKILL.md
