Logo China 3 Statement Model

China 3 Statement Model

Cộng đồng
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.

Tổng quan

Nhà phát hànhjwangkun
Kho mãclaude-for-financial-services-cn
Tên kỹ năngchina-3-statement-model
Sao
834
Bản fork
132
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được jwangkun công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI China 3 Statement Model trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-3-statement-model
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật China 3 Statement Model trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp China 3 Statement Model ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng China 3 Statement Model với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI China 3 Statement Model làm được gì?

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.

Vì sao nên dùng China 3 Statement Model trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. China 3 Statement Model là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài China 3 Statement Model trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jwangkun/claude-for-financial-services-cn/tree/main/agent-plugins/china-earnings-reviewer/skills/china-3-statement-model. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng China 3 Statement Model?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng China 3 Statement Model với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng China 3 Statement Model với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI China 3 Statement Model có miễn phí không?

Có. Kỹ năng này được jwangkun phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇