Logo van China 3 Statement Model

China 3 Statement Model

Community
jwangkun
china-3-statement-model

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.

Overzicht

Uitgeverjwangkun
Repositoryclaude-for-financial-services-cn
Skillnaamchina-3-statement-model
Sterren
834
Forks
132
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door jwangkun op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill China 3 Statement Model in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-3-statement-model
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jwangkun/claude-for-financial-services-cn.git /tmp/claude-for-financial-services-cn
mkdir -p .claude/skills
cp -r /tmp/claude-for-financial-services-cn/agent-plugins/china-earnings-reviewer/skills/china-3-statement-model .claude/skills/china-3-statement-model
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel China 3 Statement Model in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt China 3 Statement Model automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is China 3 Statement Model niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

china-3-statement-model

Purpose

Build institutional-quality three-statement models (Income Statement / Balance Sheet / Cash Flow) for A-share equities, adapted for Chinese Accounting Standards (CAS) and the Chinese market context.

Key Differences from US 3-Statement Models

ParameterUS ModelChina Model
Accounting standardUS GAAP / IFRSCAS (企业会计准则)
Tax rate21% federal25% standard (高新技术企业 15%)
CurrencyUSDCNY (人民币)
Fiscal yearVariedMostly Dec 31 year-end
Revenue recognitionASC 606CAS 14 (similar principles)
GoodwillIndefinite life (no amortization)CAS 8 — goodwill amortized or tested
R&D capitalizationTypically expensedCan be capitalized under CAS
VAT treatmentSales tax separate增值税 often embedded in revenue/sales
Unit reportingUSDOften 千元 (thousands CNY) — verify

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, "income", "annual")   → 利润表
get_financials(ticker, "balance", "annual")  → 资产负债表
get_financials(ticker, "cashflow", "annual") → 现金流量表
get_quote(ticker)                            → 实时行情
get_historical_data(ticker)                  → 历史价格
get_stock_info(ticker)                       → 公司基本信息

Secondary Sources (when AkShare insufficient)

  • 巨潮资讯 (cninfo.com.cn) — mandatory disclosure filings
  • 上交所 / 深交所 — listed company announcements
  • 上证e互动 / 深交所互动易 — IR Q&A
  • 公司官网投资者关系页面

Workflow

Step 1: Data Retrieval

Pull 3-5 years of historical financials from AkShare.

Verify units carefully:

  • Some statements report in 元 (CNY)
  • Others in 千元 (thousands CNY)
  • Normalize to consistent unit before modeling
python
# Pull all three statements
get_financials(ticker, "income", "annual")
get_financials(ticker, "balance", "annual")
get_financials(ticker, "cashflow", "annual")

Step 2: Historical Analysis

Document key trends:

  • Revenue growth: YoY %, CAGR over 3-5 years
  • Gross margin: 毛利率 — track expansion/contraction
  • Operating margin: 营业利润率
  • Net margin: 净利率
  • Tax rate: 所得税率 — flag if below 25% (likely 高新技术企业)
  • Effective tax rate: vs statutory rate
  • D&A: 折旧与摊销 as % of PPE
  • CapEx: 资本支出 from cash flow statement
  • Working capital: 应收账款、存货、应付账款 trends
  • Debt structure: 有息负债 composition

Step 3: Build the Model

Follow standard 3-statement modeling methodology, adapted for CAS:

Income Statement (利润表)

Key line items (Chinese naming):

  • 营业收入 (Revenue)
  • 营业成本 (COGS)
  • 税金及附加 (Taxes and surcharges — includes 消费税、城建税等)
  • 销售费用 (Selling expenses)
  • 管理费用 (G&A)
  • 研发费用 (R&D expenses — must be separated per CAS)
  • 财务费用 (Financial costs — net of interest income)
  • 营业利润 (Operating profit)
  • 营业外收入/支出 (Non-operating income/expenses)
  • 利润总额 (Profit before tax)
  • 所得税费用 (Income tax expense)
  • 净利润 (Net income)
  • 归属于母公司股东的净利润 (Net income attributable to parent)
Balance Sheet (资产负债表)

Key line items:

  • 货币资金 (Cash & equivalents)
  • 交易性金融资产 (Trading financial assets)
  • 应收账款 (Accounts receivable)
  • 预付款项 (Prepayments)
  • 存货 (Inventory)
  • 其他流动资产 (Other current assets)
  • 流动资产合计 (Total current assets)
  • 固定资产 (Fixed assets / PPE)
  • 在建工程 (Construction in progress)
  • 无形资产 (Intangible assets)
  • 商誉 (Goodwill — flag if >30% of equity)
  • 非流动资产合计 (Total non-current assets)
  • 资产总计 (Total assets)
  • 短期借款 (Short-term borrowings)
  • 应付账款 (Accounts payable)
  • 预收款项/合同负债 (Advance receipts / contract liabilities)
  • 一年内到期非流动负债 (Current portion of LT debt)
  • 流动负债合计 (Total current liabilities)
  • 长期借款 (Long-term borrowings)
  • 应付债券 (Bonds payable)
  • 非流动负债合计 (Total non-current liabilities)
  • 负债合计 (Total liabilities)
  • 股本 (Share capital)
  • 资本公积 (Capital reserve)
  • 盈余公积 (Surplus reserve)
  • 未分配利润 (Retained earnings)
  • 归属于母公司股东权益合计 (Parent equity)
  • 少数股东权益 (Minority interest)
  • 所有者权益合计 (Total equity)
  • 负债和股东权益总计 (Total liabilities + equity)
Cash Flow Statement (现金流量表)

Chinese indirect method:

  • 经营活动现金流量 (Operating CF):
    • Start from 净利润
    • Adjust: D&A, 财务费用, 投资收益, 营运资本 changes
    • 经营活动产生的现金流量净额
  • 投资活动现金流量 (Investing CF):
    • 购建固定资产/无形资产 (CapEx)
    • 处置收回 (Asset sales)
    • 投资支付/收回 (Investment purchases/sales)
  • 筹资活动现金流量 (Financing CF):
    • 吸收投资 (Equity issuance)
    • 取得借款 (Borrowings)
    • 偿还债务 (Debt repayment)
    • 分配股利 (Dividends)
  • 现金净增加额 (Net change in cash)
  • 期末现金余额 (Ending cash balance)

Step 4: Balance Checks

CRITICAL — Chinese-specific checks:

  1. Cash reconciliation: 货币资金 (BS) = 期末现金余额 (CF) ± restricted cash
  2. BS balancing: 资产总计 = 负债和股东权益总计
  3. RE roll-forward: 期初未分配利润 + 本期净利润 - 提取盈余公积 - 现金分红 = 期末未分配利润
  4. CF-IS linkage: 净利润 (IS) → starting point for 经营CF
  5. CapEx check: 购建固定资产 (CF) ≈ 固定资产增加 (BS) + 累计折旧增加 (BS)
  6. Debt check: 借款变动 (CF) = 短期借款变动 + 长期借款变动 (BS)
  7. Tax check: 所得税费用 (IS) vs 实际缴纳 (CF indirect method add-back)

Step 5: Scenario & Sensitivity

  • Base / Bear / Bull scenarios
  • Sensitivity on revenue growth, gross margin, tax rate
  • Key drivers: 毛利率, 期间费用率, 营运资本效率

China-Specific Modeling Conventions

增值税 (VAT)

  • Listed companies report 营业收入 net of VAT
  • 税金及附加 includes 消费税 but not VAT
  • VAT is off-balance-sheet in most models

商誉 (Goodwill)

  • Common from M&A, especially 2015-2016 boom
  • Flag if 商誉 > 30% of 归母权益
  • Note annual impairment testing requirements

研发费用 (R&D)

  • CAS requires R&D to be expensed (not capitalized like IFRS allows)
  • Some companies disclose R&D capitalization in notes — check if >5% of revenue

折旧 (Depreciation)

  • Chinese companies often use straight-line over longer lives
  • Typical ranges:
    • Buildings: 20-40 years
    • Equipment: 5-10 years
    • Vehicles: 4-6 years

存货 (Inventory)

  • LIFO not permitted under CAS (FIFO or weighted average only)
  • 存货计价 affects margin comparability across years

应收款项 (Receivables)

  • 应收账款 often high for industrial companies — check DSO
  • 应收票据 (notes receivable) vs 应收账款 (trade AR) — treat separately
  • 坏账准备 (allowance for doubtful accounts) varies by company

借款 (Debt)

  • 短期借款 often high for leveraged companies
  • 长期借款 may include 一年内到期非流动负债
  • 应付债券 for corporate bond issuers
  • Interest expense in 财务费用 (net of interest income)

Excel Formatting (OpenPyXL / Office JS)

Follow the same professional conventions as the base xlsx-author skill, with China-specific adaptations:

  • Section headers: Dark blue #1F4E79 with white bold text
  • Column headers: Light blue #D9E1F2 with black bold text
  • Input cells: Blue font (RGB: 0,0,255) — all hardcoded inputs
  • Formula cells: Black font (RGB: 0,0,0)
  • Sheet links: Green font (RGB: 0,128,0)
  • Currency: CNY (¥) with thousands separator
  • Percentages: 0.0% format
  • Cell comments: "Source: AkShare, [date], [field], [ticker]"

Number Format Conventions

ItemFormatExample
Revenue¥#,##0¥12,345
Percentages0.0%15.3%
Ratios0.00x2.50x
DatesYYYY2024
Stock price¥#,##0.00¥158.50

Quality Checks

Before delivering:

  • All three statements balance correctly
  • Cash from CF = Cash on BS
  • Retained earnings roll-forward ties
  • CapEx/Depreciation logic consistent
  • Debt changes tie between BS and CF
  • Tax rate reasonable (20-28% unless 高新技术企业)
  • All hardcoded inputs have cell comments
  • All formulas reference cells, no hardcodes in formulas
  • Scenario blocks structured correctly (Bear/Base/Bull)
  • Sensitivity analysis included

Common Pitfalls

  1. Unit mismatch: Mixing 元 and 千元 — always normalize
  2. VAT confusion: Double-counting VAT in revenue or COGS
  3. Goodwill spike: Forgetting large goodwill from acquisitions
  4. Tax rate variance: Assuming 25% when company is 高新技术企业 (15%)
  5. R&D understatement: CAS expenses all R&D, but some companies capitalize in notes
  6. Receivables inflation: 应收账款 much higher than revenue growth — flag
  7. Short-term debt: 短期借款 often high; don't miss current portion of LT debt
  8. Minority interest: 少数股东权益 can be significant for conglomerates

Data Source Priority

  1. AkShare MCP (primary) — real-time and historical A-share data
  2. 巨潮资讯 (cninfo.com.cn) — mandatory disclosures
  3. 交易所公告 — SH/SZ exchange filings
  4. 公司官网/IR — supplementary data
  5. Web search — only if above insufficient, mark [UNSOURCED]

Output Checklist

  • Three-statement model fully linked (IS → BS → CF)
  • All balance checks pass
  • Historical + projected years included
  • Scenario analysis (Bear/Base/Bull)
  • Sensitivity tables
  • All hardcoded inputs sourced and commented
  • CAS conventions documented
  • Currency consistent (CNY)
  • File named: [Ticker]_3StatementModel_[Date].xlsx

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

Veelgestelde vragen

Wat doet de AI-skill China 3 Statement Model?

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.

Waarom China 3 Statement Model gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. China 3 Statement Model bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik China 3 Statement Model in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-3-statement-model. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen China 3 Statement Model gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met China 3 Statement Model gebruiken?

Zoveel als je wilt. Je kunt China 3 Statement Model gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill China 3 Statement Model gratis?

Ja. Deze skill is door jwangkun op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇