Skip to main content
ClaudeWave
Skill424 estrellas del repoactualizado 3d ago

china-gl-recon

China-gl-recon performs comprehensive general ledger reconciliation for Chinese A-share fund accounting, verifying securities holdings, cash balances, income items, and expenses across fund records, custodian statements, and market data sources. Use this skill when reconciling fund accounting books, investigating GL discrepancies, or validating fund administration records against custody and market data.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/jwangkun/claude-for-financial-services-cn /tmp/china-gl-recon && cp -r /tmp/china-gl-recon/agent-plugins/china-model-builder/skills/china-gl-recon ~/.claude/skills/china-gl-recon
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# china-gl-recon

## Purpose

Perform **基金总账核对** — comprehensive general ledger reconciliation for fund accounting.

## Data Sources

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

### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)

```python
get_financials(ticker, "balance")    → Portfolio company BS
get_fund_data(fund_code)              → Fund holdings and NAV
get_quote(ticker)                     → Security prices
```

### Secondary Sources
- 基金公司 — fund accounting system
- 托管行 — custody records
- Wind / Choice — market data

## Workflow

### Step 1: Identify GL Accounts

**Fund accounting COA:**

| Category | Accounts | Purpose |
|----------|----------|---------|
| 资产 (Assets) | Securities, cash, receivables | Investments |
| 负债 (Liabilities) | Payables, accruals | Amounts owed |
| 所有者权益 | NAV | Fund value |
| 收入 (Revenue) | Dividends, interest, gains | Investment income |
| 费用 (Expenses) | Management fee, custodian fee | Fund costs |
| 已实现损益 | Realized gains/losses | Trading P&L |
| 未实现损益 | Unrealized appreciation | Mark-to-market |

### Step 2: Securities Reconciliation

**Securities holdings recon:**

| Security | Ticker | Fund Records | Custodian | Difference | Status |
|----------|--------|-------------|-----------|------------|--------|
| | | | | | |
| | | | | | |
| **Total** | | | | | |

**Reconciliation items:**
- 在途交易 (Trades in transit)
- 配股/增发 (Rights issues)
- 分红到账 (Dividend settlements)
- 利息到账 (Interest settlements)

### Step 3: Cash Reconciliation

**Cash recon:**

| Account | GL Balance | Bank Statement | Custodian | Difference |
|---------|-----------|----------------|-----------|------------|
| 清算备付金 | | | | |
| 结算备付金 | | | | |
| 银行存款 | | | | |
| **Total** | | | | |

### Step 4: Income Reconciliation

**Income reconciliation:**

| Type | Fund Records | Custodian | Source Docs | Difference |
|------|-------------|-----------|-------------|------------|
| 现金股息 | | | | |
| 股票股息 | | | | |
| 债券利息 | | | | |
| 回购利息 | | | | |
| 基金分红 | | | | |
| 已实现利得 | | | | |
| **Total** | | | | |

### Step 5: Expense Reconciliation

**Expense reconciliation:**

| Expense | Fund Records | Custodian | Invoice/Contract | Difference |
|---------|-------------|-----------|-----------------|------------|
| 管理费 | | | | |
| 托管费 | | | | |
| 交易佣金 | | | | |
| 审计费 | | | | |
| 信息披露费 | | | | |
| 律师费 | | | | |
| **Total** | | | | |

### Step 6: Accrual Reconciliation

**Accrual reconciliation:**

| Accrual Type | Calculation | Custodian | Difference |
|-------------|-------------|-----------|------------|
| 应收股息 | | | |
| 应收利息 | | | |
| 应付管理费 | | | |
| 应付托管费 | | | |
| 应付交易费用 | | | |

### Step 7: NAV Reconciliation

**NAV reconciliation:**

| Component | Fund Books | Custodian | Difference |
|-----------|-----------|-----------|------------|
| Securities | | | |
| Cash | | | |
| Receivables | | | |
| Payables | | | |
| Accruals | | | |
| **NAV** | | | |

**NAV per unit check:**

| | Fund | Custodian | Difference |
|--|------|-----------|------------|
| NAV (¥) | | | |
| Shares outstanding | | | |

### Step 8: P&L Reconciliation

**P&L reconciliation:**

| P&L Item | Fund Books | Verified | Notes |
|----------|-----------|----------|-------|
| 收入合计 | | | |
| 费用合计 | | | |
| 已实现损益 | | | |
| 未实现损益 | | | |
| 利润合计 | | | |

### Step 9: Trade Reconciliation

**Trade recon:**

| Trade Date | Security | Type | Quantity | Price | Fund | Custodian | Match? |
|-----------|----------|------|----------|-------|------|-----------|--------|
| | | | | | | | |

### Step 10: Exception Report

**Exception log:**

| # | Exception | Type | Amount | Resolution | Status |
|---|-----------|------|--------|-------------|--------|
| | | | | | |

## China-Specific Considerations

### Fund Accounting Standards

| Standard | Applies |
|----------|---------|
| 基金会计核算 | All funds |
| 企业会计准则 | Private funds |
| 证券投资基金信息披露 | Disclosure requirements |

### Common Issues

| Issue | Cause | Resolution |
|-------|-------|-----------|
| 交易时滞 | T+1 settlement | Track trades in transit |
| 分红时滞 | Ex-date vs pay-date | Accrue correctly |
| 费用计提 | Timing differences | Standardize cut-off |
| 估值差异 | Different pricing sources | Agree on source |

## Quality Checks

Before completing:
- [ ] Securities reconciled
- [ ] Cash reconciled
- [ ] Income reconciled
- [ ] Expenses reconciled
- [ ] Accruals reconciled
- [ ] NAV tied out
- [ ] P&L reconciled
- [ ] Exceptions resolved
- [ ] Sign-offs obtained
> **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
> - `ifind-only` (strict): Use iFind only, error if unavailable
> - `ifind-fallback` (default): iFind preferred, fallback to AkShare
> - `akshare-only`: Skip iFind, use AkShare only
> - `wind-only`: Wind only, error if unavailable
> - `wind-fallback`: Wind first, fallback to iFind → AkShare
china-3-statement-modelSkill

Three-statement financial model for A-share stocks. Adapts the standard 3-statement-model methodology for Chinese accounting standards (CAS), Chinese GAAP differences, and AkShare-sourced financials. Use instead of the original 3-statement-model skill when building integrated IS/BS/CF models for Chinese listed companies.

china-accrual-scheduleSkill

Build accrual schedules for A-share fund administration. Tracks revenue recognition, expense accruals, and working capital timing for fund accounting. Adapted from the original accrual-schedule skill for fund accounting standards. Triggers on "基金应计项目", "应计计提基金", "accrual schedule fund", "NAV accruals", or "accruals [fund]".

china-audit-xlsSkill

Audit financial models and Excel workbooks for A-share analysis. Adapts the original audit-xls skill for Chinese financial modeling standards, CAS conventions, and A-share-specific checks. Triggers on "A股模型审计", "财务模型核查", "audit model China", "audit xlsx", "模型QC", or "check model [company]".

china-break-traceSkill

Forensic financial analysis for A-share fund holdings and portfolio companies. Adapts the original break-trace skill for fund administration context and Chinese market standards. Triggers on "基金持仓核查", "持仓异常", "forensic fund analysis China", "持仓质量分析", or "investigate [fund] holdings".

china-catalyst-calendarSkill

Track upcoming catalysts for A-share coverage universe — earnings dates, regulatory announcements, sector conferences, product launches, and policy events relevant to Chinese equities. Adapted from the original catalyst-calendar skill for A-share market conventions. Triggers on "A股催化剂日历", "事件日历", "财报日历", "earnings calendar A-share", "upcoming catalysts China", or "what's coming up for [company]".

china-clean-data-xlsSkill

Clean and normalize A-share financial data for modeling. Adapts the original clean-data-xls skill for Chinese financial statements, CAS conventions, and A-share data formats. Triggers on "A股数据清洗", "财务数据清洗", "clean financial data China", "数据清洗", or "normalize financial statements".

china-comps-analysisSkill

Comparable company analysis for A-share equities. Adapts the original comps-analysis skill for Chinese market data sources, A-share trading multiples, and domestic peer selection. Triggers on "A股可比公司", "可比分析", "comps China", "peer comparison A-share", "可比公司分析", or "trading comps [industry]".

china-compsSkill

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.