@v587d/capital-generation 2.7.3 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +72 -0
- package/README.md +6 -6
- package/THIRD_PARTY_NOTICES.md +65 -18
- package/capital-config/client.js +4 -4
- package/capital-config/package.json +1 -1
- package/capital-watchlist/package.json +1 -1
- package/chart-ui/package.json +1 -1
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/sources.d.ts +1 -1
- package/lib/web-retriever/sources.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +2 -1
- package/selected-skills/README.md +6 -1
- package/selected-skills/catalog.js +176 -0
- package/selected-skills/claude-for-financial-services-cn/LICENSE +201 -0
- package/selected-skills/claude-for-financial-services-cn/UPSTREAM.md +173 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-3-statement-model/SKILL.md +287 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-accrual-schedule/SKILL.md +182 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-audit-xls/SKILL.md +231 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-break-trace/SKILL.md +217 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-catalyst-calendar/SKILL.md +258 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-clean-data-xls/SKILL.md +237 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps/SKILL.md +104 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-comps-analysis/SKILL.md +196 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf/SKILL.md +81 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-dcf-model/SKILL.md +68 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deal-screening/SKILL.md +212 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-deck-refresh/SKILL.md +221 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-analysis/SKILL.md +237 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-earnings-preview/SKILL.md +239 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-gl-recon/SKILL.md +232 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ib-check-deck/SKILL.md +252 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-idea-generation/SKILL.md +277 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-initiating-coverage/SKILL.md +271 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-lbo-model/SKILL.md +273 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-market-data/SKILL.md +229 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-model-update/SKILL.md +219 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-morning-note/SKILL.md +227 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-ppt-template-creator/SKILL.md +231 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-pptx-author/SKILL.md +240 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-roll-forward/SKILL.md +189 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-sector-overview/SKILL.md +257 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-skill-creator/SKILL.md +304 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-tax-loss-harvesting/SKILL.md +200 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-thesis-tracker/SKILL.md +237 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-variance-commentary/SKILL.md +262 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/china-finance/skills/china-xlsx-author/SKILL.md +256 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-accrual-schedule/SKILL.md +190 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-break-trace/SKILL.md +182 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-gl-recon/SKILL.md +200 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-nav-tieout/SKILL.md +233 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-roll-forward/SKILL.md +178 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/fund-admin/skills/china-variance-commentary/SKILL.md +190 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-buyer-list/SKILL.md +198 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-cim-builder/SKILL.md +223 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-competitive-analysis/SKILL.md +233 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-datapack-builder/SKILL.md +232 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-deal-tracker/SKILL.md +151 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-merger-model/SKILL.md +226 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-pitch-deck/SKILL.md +231 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-process-letter/SKILL.md +249 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-strip-profile/SKILL.md +196 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/investment-banking/skills/china-teaser/SKILL.md +235 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-doc-parse/SKILL.md +252 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/operations/skills/china-kyc-rules/SKILL.md +223 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ai-readiness/SKILL.md +184 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-checklist/SKILL.md +217 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-dd-meeting-prep/SKILL.md +290 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-deal-sourcing/SKILL.md +224 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-ic-memo/SKILL.md +230 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-portfolio-monitoring/SKILL.md +214 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-returns-analysis/SKILL.md +176 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-unit-economics/SKILL.md +192 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/private-equity/skills/china-value-creation-plan/SKILL.md +193 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-report/SKILL.md +205 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-client-review/SKILL.md +218 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-financial-plan/SKILL.md +259 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-investment-proposal/SKILL.md +271 -0
- package/selected-skills/claude-for-financial-services-cn/vertical-plugins/wealth-management/skills/china-portfolio-rebalance/SKILL.md +191 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: china-3-statement-model
|
|
3
|
+
description: 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.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# china-3-statement-model
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
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.
|
|
11
|
+
|
|
12
|
+
## Key Differences from US 3-Statement Models
|
|
13
|
+
|
|
14
|
+
| Parameter | US Model | China Model |
|
|
15
|
+
|-----------|----------|-------------|
|
|
16
|
+
| Accounting standard | US GAAP / IFRS | CAS (企业会计准则) |
|
|
17
|
+
| Tax rate | 21% federal | 25% standard (高新技术企业 15%) |
|
|
18
|
+
| Currency | USD | CNY (人民币) |
|
|
19
|
+
| Fiscal year | Varied | Mostly Dec 31 year-end |
|
|
20
|
+
| Revenue recognition | ASC 606 | CAS 14 (similar principles) |
|
|
21
|
+
| Goodwill | Indefinite life (no amortization) | CAS 8 — goodwill amortized or tested |
|
|
22
|
+
| R&D capitalization | Typically expensed | Can be capitalized under CAS |
|
|
23
|
+
| VAT treatment | Sales tax separate | 增值税 often embedded in revenue/sales |
|
|
24
|
+
| Unit reporting | USD | Often 千元 (thousands CNY) — verify |
|
|
25
|
+
|
|
26
|
+
## Data Sources
|
|
27
|
+
|
|
28
|
+
### Tier 0 — 万得 Wind(最全面付费数据)
|
|
29
|
+
- 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
|
|
30
|
+
- MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
|
|
31
|
+
- 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
|
|
32
|
+
- 密钥申请:https://aifinmarket.wind.com.cn/#/home
|
|
33
|
+
|
|
34
|
+
### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
get_financials(ticker, "income", "annual") → 利润表
|
|
38
|
+
get_financials(ticker, "balance", "annual") → 资产负债表
|
|
39
|
+
get_financials(ticker, "cashflow", "annual") → 现金流量表
|
|
40
|
+
get_quote(ticker) → 实时行情
|
|
41
|
+
get_historical_data(ticker) → 历史价格
|
|
42
|
+
get_stock_info(ticker) → 公司基本信息
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Secondary Sources (when AkShare insufficient)
|
|
46
|
+
- 巨潮资讯 (cninfo.com.cn) — mandatory disclosure filings
|
|
47
|
+
- 上交所 / 深交所 — listed company announcements
|
|
48
|
+
- 上证e互动 / 深交所互动易 — IR Q&A
|
|
49
|
+
- 公司官网投资者关系页面
|
|
50
|
+
|
|
51
|
+
## Workflow
|
|
52
|
+
|
|
53
|
+
### Step 1: Data Retrieval
|
|
54
|
+
|
|
55
|
+
Pull 3-5 years of historical financials from AkShare.
|
|
56
|
+
|
|
57
|
+
**Verify units carefully:**
|
|
58
|
+
- Some statements report in 元 (CNY)
|
|
59
|
+
- Others in 千元 (thousands CNY)
|
|
60
|
+
- Normalize to consistent unit before modeling
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
# Pull all three statements
|
|
64
|
+
get_financials(ticker, "income", "annual")
|
|
65
|
+
get_financials(ticker, "balance", "annual")
|
|
66
|
+
get_financials(ticker, "cashflow", "annual")
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Step 2: Historical Analysis
|
|
70
|
+
|
|
71
|
+
Document key trends:
|
|
72
|
+
|
|
73
|
+
- **Revenue growth**: YoY %, CAGR over 3-5 years
|
|
74
|
+
- **Gross margin**: 毛利率 — track expansion/contraction
|
|
75
|
+
- **Operating margin**: 营业利润率
|
|
76
|
+
- **Net margin**: 净利率
|
|
77
|
+
- **Tax rate**: 所得税率 — flag if below 25% (likely 高新技术企业)
|
|
78
|
+
- **Effective tax rate**: vs statutory rate
|
|
79
|
+
- **D&A**: 折旧与摊销 as % of PPE
|
|
80
|
+
- **CapEx**: 资本支出 from cash flow statement
|
|
81
|
+
- **Working capital**: 应收账款、存货、应付账款 trends
|
|
82
|
+
- **Debt structure**: 有息负债 composition
|
|
83
|
+
|
|
84
|
+
### Step 3: Build the Model
|
|
85
|
+
|
|
86
|
+
Follow standard 3-statement modeling methodology, adapted for CAS:
|
|
87
|
+
|
|
88
|
+
#### Income Statement (利润表)
|
|
89
|
+
|
|
90
|
+
Key line items (Chinese naming):
|
|
91
|
+
- 营业收入 (Revenue)
|
|
92
|
+
- 营业成本 (COGS)
|
|
93
|
+
- 税金及附加 (Taxes and surcharges — includes 消费税、城建税等)
|
|
94
|
+
- 销售费用 (Selling expenses)
|
|
95
|
+
- 管理费用 (G&A)
|
|
96
|
+
- 研发费用 (R&D expenses — must be separated per CAS)
|
|
97
|
+
- 财务费用 (Financial costs — net of interest income)
|
|
98
|
+
- 营业利润 (Operating profit)
|
|
99
|
+
- 营业外收入/支出 (Non-operating income/expenses)
|
|
100
|
+
- 利润总额 (Profit before tax)
|
|
101
|
+
- 所得税费用 (Income tax expense)
|
|
102
|
+
- 净利润 (Net income)
|
|
103
|
+
- 归属于母公司股东的净利润 (Net income attributable to parent)
|
|
104
|
+
|
|
105
|
+
#### Balance Sheet (资产负债表)
|
|
106
|
+
|
|
107
|
+
Key line items:
|
|
108
|
+
- 货币资金 (Cash & equivalents)
|
|
109
|
+
- 交易性金融资产 (Trading financial assets)
|
|
110
|
+
- 应收账款 (Accounts receivable)
|
|
111
|
+
- 预付款项 (Prepayments)
|
|
112
|
+
- 存货 (Inventory)
|
|
113
|
+
- 其他流动资产 (Other current assets)
|
|
114
|
+
- 流动资产合计 (Total current assets)
|
|
115
|
+
- 固定资产 (Fixed assets / PPE)
|
|
116
|
+
- 在建工程 (Construction in progress)
|
|
117
|
+
- 无形资产 (Intangible assets)
|
|
118
|
+
- 商誉 (Goodwill — flag if >30% of equity)
|
|
119
|
+
- 非流动资产合计 (Total non-current assets)
|
|
120
|
+
- 资产总计 (Total assets)
|
|
121
|
+
- 短期借款 (Short-term borrowings)
|
|
122
|
+
- 应付账款 (Accounts payable)
|
|
123
|
+
- 预收款项/合同负债 (Advance receipts / contract liabilities)
|
|
124
|
+
- 一年内到期非流动负债 (Current portion of LT debt)
|
|
125
|
+
- 流动负债合计 (Total current liabilities)
|
|
126
|
+
- 长期借款 (Long-term borrowings)
|
|
127
|
+
- 应付债券 (Bonds payable)
|
|
128
|
+
- 非流动负债合计 (Total non-current liabilities)
|
|
129
|
+
- 负债合计 (Total liabilities)
|
|
130
|
+
- 股本 (Share capital)
|
|
131
|
+
- 资本公积 (Capital reserve)
|
|
132
|
+
- 盈余公积 (Surplus reserve)
|
|
133
|
+
- 未分配利润 (Retained earnings)
|
|
134
|
+
- 归属于母公司股东权益合计 (Parent equity)
|
|
135
|
+
- 少数股东权益 (Minority interest)
|
|
136
|
+
- 所有者权益合计 (Total equity)
|
|
137
|
+
- 负债和股东权益总计 (Total liabilities + equity)
|
|
138
|
+
|
|
139
|
+
#### Cash Flow Statement (现金流量表)
|
|
140
|
+
|
|
141
|
+
Chinese indirect method:
|
|
142
|
+
- 经营活动现金流量 (Operating CF):
|
|
143
|
+
- Start from 净利润
|
|
144
|
+
- Adjust: D&A, 财务费用, 投资收益, 营运资本 changes
|
|
145
|
+
- 经营活动产生的现金流量净额
|
|
146
|
+
- 投资活动现金流量 (Investing CF):
|
|
147
|
+
- 购建固定资产/无形资产 (CapEx)
|
|
148
|
+
- 处置收回 (Asset sales)
|
|
149
|
+
- 投资支付/收回 (Investment purchases/sales)
|
|
150
|
+
- 筹资活动现金流量 (Financing CF):
|
|
151
|
+
- 吸收投资 (Equity issuance)
|
|
152
|
+
- 取得借款 (Borrowings)
|
|
153
|
+
- 偿还债务 (Debt repayment)
|
|
154
|
+
- 分配股利 (Dividends)
|
|
155
|
+
- 现金净增加额 (Net change in cash)
|
|
156
|
+
- 期末现金余额 (Ending cash balance)
|
|
157
|
+
|
|
158
|
+
### Step 4: Balance Checks
|
|
159
|
+
|
|
160
|
+
**CRITICAL — Chinese-specific checks:**
|
|
161
|
+
|
|
162
|
+
1. **Cash reconciliation**: 货币资金 (BS) = 期末现金余额 (CF) ± restricted cash
|
|
163
|
+
2. **BS balancing**: 资产总计 = 负债和股东权益总计
|
|
164
|
+
3. **RE roll-forward**: 期初未分配利润 + 本期净利润 - 提取盈余公积 - 现金分红 = 期末未分配利润
|
|
165
|
+
4. **CF-IS linkage**: 净利润 (IS) → starting point for 经营CF
|
|
166
|
+
5. **CapEx check**: 购建固定资产 (CF) ≈ 固定资产增加 (BS) + 累计折旧增加 (BS)
|
|
167
|
+
6. **Debt check**: 借款变动 (CF) = 短期借款变动 + 长期借款变动 (BS)
|
|
168
|
+
7. **Tax check**: 所得税费用 (IS) vs 实际缴纳 (CF indirect method add-back)
|
|
169
|
+
|
|
170
|
+
### Step 5: Scenario & Sensitivity
|
|
171
|
+
|
|
172
|
+
- Base / Bear / Bull scenarios
|
|
173
|
+
- Sensitivity on revenue growth, gross margin, tax rate
|
|
174
|
+
- Key drivers: 毛利率, 期间费用率, 营运资本效率
|
|
175
|
+
|
|
176
|
+
## China-Specific Modeling Conventions
|
|
177
|
+
|
|
178
|
+
### 增值税 (VAT)
|
|
179
|
+
- Listed companies report 营业收入 net of VAT
|
|
180
|
+
- 税金及附加 includes 消费税 but not VAT
|
|
181
|
+
- VAT is off-balance-sheet in most models
|
|
182
|
+
|
|
183
|
+
### 商誉 (Goodwill)
|
|
184
|
+
- Common from M&A, especially 2015-2016 boom
|
|
185
|
+
- Flag if 商誉 > 30% of 归母权益
|
|
186
|
+
- Note annual impairment testing requirements
|
|
187
|
+
|
|
188
|
+
### 研发费用 (R&D)
|
|
189
|
+
- CAS requires R&D to be expensed (not capitalized like IFRS allows)
|
|
190
|
+
- Some companies disclose R&D capitalization in notes — check if >5% of revenue
|
|
191
|
+
|
|
192
|
+
### 折旧 (Depreciation)
|
|
193
|
+
- Chinese companies often use straight-line over longer lives
|
|
194
|
+
- Typical ranges:
|
|
195
|
+
- Buildings: 20-40 years
|
|
196
|
+
- Equipment: 5-10 years
|
|
197
|
+
- Vehicles: 4-6 years
|
|
198
|
+
|
|
199
|
+
### 存货 (Inventory)
|
|
200
|
+
- LIFO not permitted under CAS (FIFO or weighted average only)
|
|
201
|
+
- 存货计价 affects margin comparability across years
|
|
202
|
+
|
|
203
|
+
### 应收款项 (Receivables)
|
|
204
|
+
- 应收账款 often high for industrial companies — check DSO
|
|
205
|
+
- 应收票据 (notes receivable) vs 应收账款 (trade AR) — treat separately
|
|
206
|
+
- 坏账准备 (allowance for doubtful accounts) varies by company
|
|
207
|
+
|
|
208
|
+
### 借款 (Debt)
|
|
209
|
+
- 短期借款 often high for leveraged companies
|
|
210
|
+
- 长期借款 may include 一年内到期非流动负债
|
|
211
|
+
- 应付债券 for corporate bond issuers
|
|
212
|
+
- Interest expense in 财务费用 (net of interest income)
|
|
213
|
+
|
|
214
|
+
## Excel Formatting (OpenPyXL / Office JS)
|
|
215
|
+
|
|
216
|
+
Follow the same professional conventions as the base `xlsx-author` skill, with China-specific adaptations:
|
|
217
|
+
|
|
218
|
+
- **Section headers**: Dark blue `#1F4E79` with white bold text
|
|
219
|
+
- **Column headers**: Light blue `#D9E1F2` with black bold text
|
|
220
|
+
- **Input cells**: Blue font (RGB: 0,0,255) — all hardcoded inputs
|
|
221
|
+
- **Formula cells**: Black font (RGB: 0,0,0)
|
|
222
|
+
- **Sheet links**: Green font (RGB: 0,128,0)
|
|
223
|
+
- **Currency**: CNY (¥) with thousands separator
|
|
224
|
+
- **Percentages**: 0.0% format
|
|
225
|
+
- **Cell comments**: "Source: AkShare, [date], [field], [ticker]"
|
|
226
|
+
|
|
227
|
+
### Number Format Conventions
|
|
228
|
+
|
|
229
|
+
| Item | Format | Example |
|
|
230
|
+
|------|--------|---------|
|
|
231
|
+
| Revenue | ¥#,##0 | ¥12,345 |
|
|
232
|
+
| Percentages | 0.0% | 15.3% |
|
|
233
|
+
| Ratios | 0.00x | 2.50x |
|
|
234
|
+
| Dates | YYYY | 2024 |
|
|
235
|
+
| Stock price | ¥#,##0.00 | ¥158.50 |
|
|
236
|
+
|
|
237
|
+
## Quality Checks
|
|
238
|
+
|
|
239
|
+
Before delivering:
|
|
240
|
+
|
|
241
|
+
- [ ] All three statements balance correctly
|
|
242
|
+
- [ ] Cash from CF = Cash on BS
|
|
243
|
+
- [ ] Retained earnings roll-forward ties
|
|
244
|
+
- [ ] CapEx/Depreciation logic consistent
|
|
245
|
+
- [ ] Debt changes tie between BS and CF
|
|
246
|
+
- [ ] Tax rate reasonable (20-28% unless 高新技术企业)
|
|
247
|
+
- [ ] All hardcoded inputs have cell comments
|
|
248
|
+
- [ ] All formulas reference cells, no hardcodes in formulas
|
|
249
|
+
- [ ] Scenario blocks structured correctly (Bear/Base/Bull)
|
|
250
|
+
- [ ] Sensitivity analysis included
|
|
251
|
+
|
|
252
|
+
## Common Pitfalls
|
|
253
|
+
|
|
254
|
+
1. **Unit mismatch**: Mixing 元 and 千元 — always normalize
|
|
255
|
+
2. **VAT confusion**: Double-counting VAT in revenue or COGS
|
|
256
|
+
3. **Goodwill spike**: Forgetting large goodwill from acquisitions
|
|
257
|
+
4. **Tax rate variance**: Assuming 25% when company is 高新技术企业 (15%)
|
|
258
|
+
5. **R&D understatement**: CAS expenses all R&D, but some companies capitalize in notes
|
|
259
|
+
6. **Receivables inflation**: 应收账款 much higher than revenue growth — flag
|
|
260
|
+
7. **Short-term debt**: 短期借款 often high; don't miss current portion of LT debt
|
|
261
|
+
8. **Minority interest**: 少数股东权益 can be significant for conglomerates
|
|
262
|
+
|
|
263
|
+
## Data Source Priority
|
|
264
|
+
|
|
265
|
+
1. **AkShare MCP** (primary) — real-time and historical A-share data
|
|
266
|
+
2. **巨潮资讯** (cninfo.com.cn) — mandatory disclosures
|
|
267
|
+
3. **交易所公告** — SH/SZ exchange filings
|
|
268
|
+
4. **公司官网/IR** — supplementary data
|
|
269
|
+
5. **Web search** — only if above insufficient, mark `[UNSOURCED]`
|
|
270
|
+
|
|
271
|
+
## Output Checklist
|
|
272
|
+
|
|
273
|
+
- [ ] Three-statement model fully linked (IS → BS → CF)
|
|
274
|
+
- [ ] All balance checks pass
|
|
275
|
+
- [ ] Historical + projected years included
|
|
276
|
+
- [ ] Scenario analysis (Bear/Base/Bull)
|
|
277
|
+
- [ ] Sensitivity tables
|
|
278
|
+
- [ ] All hardcoded inputs sourced and commented
|
|
279
|
+
- [ ] CAS conventions documented
|
|
280
|
+
- [ ] Currency consistent (CNY)
|
|
281
|
+
- [ ] File named: `[Ticker]_3StatementModel_[Date].xlsx`
|
|
282
|
+
> **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
|
|
283
|
+
> - `ifind-only` (strict): Use iFind only, error if unavailable
|
|
284
|
+
> - `ifind-fallback` (default): iFind preferred, fallback to AkShare
|
|
285
|
+
> - `akshare-only`: Skip iFind, use AkShare only
|
|
286
|
+
> - `wind-only`: Wind only, error if unavailable
|
|
287
|
+
> - `wind-fallback`: Wind first, fallback to iFind → AkShare
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: china-accrual-schedule
|
|
3
|
+
description: Build accrual schedules for A-share companies tracking revenue recognition, expense accruals, and working capital timing. Adapted from the original accrual-schedule skill for CAS accounting and Chinese business practices. Triggers on "A股应计项目", "应计计提", "accrual schedule China", "应计账款分析", or "working capital accruals [company]".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# china-accrual-schedule
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Build **A股应计项目时间表** — comprehensive accrual schedules for financial analysis and audit preparation.
|
|
11
|
+
|
|
12
|
+
## Data Sources
|
|
13
|
+
|
|
14
|
+
### Primary: iFind MCP (Tier-1 付费) / AkShare MCP (Tier-2 免费备选)
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
get_financials(ticker, "income") → Revenue, expenses
|
|
18
|
+
get_financials(ticker, "balance") → Working capital accounts
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Secondary Sources
|
|
22
|
+
- 巨潮 — annual/quarterly reports
|
|
23
|
+
- 审计报告 — accrual methodology
|
|
24
|
+
|
|
25
|
+
## Workflow
|
|
26
|
+
|
|
27
|
+
### Step 1: Identify Accrual Items
|
|
28
|
+
|
|
29
|
+
**Revenue accruals:**
|
|
30
|
+
|
|
31
|
+
| Item | Description | Typical Items |
|
|
32
|
+
|------|-------------|---------------|
|
|
33
|
+
| 预收账款 (Deferred revenue) | Advance from customers | Prepayments, deposits |
|
|
34
|
+
| 应收账款 (Accounts receivable) | Revenue recognized, not yet collected | Trade receivables |
|
|
35
|
+
| 合同负债 (Contract liabilities) | New CAS term for prepayments | Contract-based |
|
|
36
|
+
| 应收票据 (Notes receivable) | Commercial acceptance/bank bills | Bills from customers |
|
|
37
|
+
|
|
38
|
+
**Expense accruals:**
|
|
39
|
+
|
|
40
|
+
| Item | Description | Typical Items |
|
|
41
|
+
|------|-------------|---------------|
|
|
42
|
+
| 应付账款 (Accounts payable) | Expenses incurred, not yet paid | Trade payables |
|
|
43
|
+
| 应付职工薪酬 (Accrued salaries) | Year-end bonus, unpaid wages | Bonus accruals |
|
|
44
|
+
| 应付利息 (Accrued interest) | Interest on loans, bonds | Interest payable |
|
|
45
|
+
| 预计负债 (Provisions) | Estimated obligations | Warranty, litigation |
|
|
46
|
+
| 递延收益 (Deferred income) | Government grants | Subsidy income |
|
|
47
|
+
| 预提费用 (Accrued expenses) | General accruals | Utilities, rent |
|
|
48
|
+
|
|
49
|
+
**Other accruals:**
|
|
50
|
+
|
|
51
|
+
| Item | Description |
|
|
52
|
+
|------|-------------|
|
|
53
|
+
| 应交税费 (Taxes payable) | Income tax, VAT, surcharges |
|
|
54
|
+
| 应付股利 (Dividends payable) | Declared but unpaid |
|
|
55
|
+
| 其他应付款 (Other payables) | Miscellaneous |
|
|
56
|
+
|
|
57
|
+
### Step 2: Build Accrual Schedule
|
|
58
|
+
|
|
59
|
+
**Monthly/quarterly accrual tracking:**
|
|
60
|
+
|
|
61
|
+
| Accrual Item | Jan | Feb | ... | Q1 | Q2 | Q3 | Q4 | Full Year |
|
|
62
|
+
|--------------|-----|-----|-----|----|----|----|----|-----------|
|
|
63
|
+
| 应收账款增加 | | | | | | | | |
|
|
64
|
+
| 预收账款增加 | | | | | | | | |
|
|
65
|
+
| 应付账款增加 | | | | | | | | |
|
|
66
|
+
| 应付职工薪酬 | | | | | | | | |
|
|
67
|
+
| ... | | | | | | | | |
|
|
68
|
+
| **Net accruals** | | | | | | | | |
|
|
69
|
+
|
|
70
|
+
### Step 3: Analyze Accrual Quality
|
|
71
|
+
|
|
72
|
+
**Accrual ratios:**
|
|
73
|
+
|
|
74
|
+
| Ratio | Formula | Interpretation |
|
|
75
|
+
|-------|---------|---------------|
|
|
76
|
+
| 总应计率 | (ΔCA - ΔCash - ΔCL) / Average Assets | >0 = accrual-based earnings |
|
|
77
|
+
| 应收账款/收入 | AR / Revenue | Rising = potential issues |
|
|
78
|
+
| 应付账款/成本 | AP / COGS | Trend analysis |
|
|
79
|
+
| 预收账款/收入 | Deferred rev / Revenue | Customer prepayments |
|
|
80
|
+
| 经营现金流/净利润 | OCF / Net Income | <1 = accrual concern |
|
|
81
|
+
|
|
82
|
+
**Accrual quality flags:**
|
|
83
|
+
|
|
84
|
+
| Flag | Warning |
|
|
85
|
+
|------|---------|
|
|
86
|
+
| 应收账款增速 >> 收入增速 | Potential revenue inflation |
|
|
87
|
+
| 应付账款突然减少 | Potential window dressing |
|
|
88
|
+
| 预收账款大幅波动 | Revenue recognition timing |
|
|
89
|
+
| 其他应付款异常 | Related party tunneling |
|
|
90
|
+
|
|
91
|
+
### Step 4: CAS-Specific Accrual Items
|
|
92
|
+
|
|
93
|
+
**China-specific accruals:**
|
|
94
|
+
|
|
95
|
+
| Item | CAS Treatment | Notes |
|
|
96
|
+
|------|--------------|-------|
|
|
97
|
+
| 增值税 | Pass-through, not revenue | 不含税收入 |
|
|
98
|
+
| 政府补助 | 递延收益 or 其他收益 | Timing impact |
|
|
99
|
+
| 坏账准备 | 预期信用损失模型 | CAS 22 |
|
|
100
|
+
| 存货跌价准备 | Lower of cost or NRV | CAS 1 |
|
|
101
|
+
| 固定资产减值 | When indicators exist | CAS 8 |
|
|
102
|
+
| 商誉减值 | Annual test (no reversal) | CAS 8 |
|
|
103
|
+
| 辞退福利 | Employee termination | CAS 9 |
|
|
104
|
+
|
|
105
|
+
### Step 5: Working Capital Accruals
|
|
106
|
+
|
|
107
|
+
**Working capital accrual schedule:**
|
|
108
|
+
|
|
109
|
+
| Item | Beginning | Additions | Usage | Reversal | Ending |
|
|
110
|
+
|------|-----------|-----------|-------|----------|--------|
|
|
111
|
+
| 坏账准备 | | | | | |
|
|
112
|
+
| 存货跌价准备 | | | | | |
|
|
113
|
+
| 固定资产减值 | | | | | |
|
|
114
|
+
| 预计负债 (产品质量) | | | | | |
|
|
115
|
+
|
|
116
|
+
### Step 6: Revenue Recognition Accruals
|
|
117
|
+
|
|
118
|
+
**CAS 14 revenue recognition:**
|
|
119
|
+
|
|
120
|
+
| Scenario | Recognition | Accrual Impact |
|
|
121
|
+
|-----------|-------------|----------------|
|
|
122
|
+
| 商品销售 (Goods) | 控制权转移时 | 通常为交付时 |
|
|
123
|
+
| 提供服务 (Services) | 期间内逐步 | 劳务成本匹配 |
|
|
124
|
+
| 建造合同 (Construction) | 产出法/投入法 | 长期合同 |
|
|
125
|
+
| 特许经营 (Franchise) | 持续期间 | 品牌使用费 |
|
|
126
|
+
|
|
127
|
+
**Revenue accrual items:**
|
|
128
|
+
- 发出商品 (Goods in transit)
|
|
129
|
+
- 委托代销 (Consignment)
|
|
130
|
+
- 工程结算 (Construction settlement)
|
|
131
|
+
- 会员费/预付费 (Membership / prepaid)
|
|
132
|
+
|
|
133
|
+
### Step 7: Period-End Accrual Review
|
|
134
|
+
|
|
135
|
+
**Month-end / year-end accrual checklist:**
|
|
136
|
+
|
|
137
|
+
| Area | Items to Review |
|
|
138
|
+
|------|----------------|
|
|
139
|
+
| Revenue | Unbilled revenue, returns, allowances |
|
|
140
|
+
| Purchases | Uninvoiced goods/services |
|
|
141
|
+
| Payroll | Bonus, overtime, social insurance |
|
|
142
|
+
| Interest | Accrued but unpaid |
|
|
143
|
+
| Taxes | Tax provisions |
|
|
144
|
+
| Depreciation | Monthly depreciation |
|
|
145
|
+
| Provisions | Legal, warranty, restructuring |
|
|
146
|
+
|
|
147
|
+
## China-Specific Considerations
|
|
148
|
+
|
|
149
|
+
### Common Accrual Patterns
|
|
150
|
+
|
|
151
|
+
| Industry | Typical Accruals |
|
|
152
|
+
|----------|-----------------|
|
|
153
|
+
| 制造业 | Raw material AP, bonus accruals |
|
|
154
|
+
| 零售 | Lease accruals, loyalty programs |
|
|
155
|
+
| 房地产 | 预收账款 (presale), construction accruals |
|
|
156
|
+
| 建筑 | 工程结算 (progress billing) |
|
|
157
|
+
| 软件 | Deferred revenue, support accruals |
|
|
158
|
+
| 医药 | Rebates, returns provisions |
|
|
159
|
+
|
|
160
|
+
### Audit Considerations (China)
|
|
161
|
+
|
|
162
|
+
| Area | Focus |
|
|
163
|
+
|------|-------|
|
|
164
|
+
| 大额应计 | Materiality threshold |
|
|
165
|
+
| 关联方 | Related party payables |
|
|
166
|
+
| 期限 | Aging of receivables |
|
|
167
|
+
| 坏账 | Adequacy of allowance |
|
|
168
|
+
| 政府补助 | Compliance with grant conditions |
|
|
169
|
+
|
|
170
|
+
## Quality Checks
|
|
171
|
+
|
|
172
|
+
Before delivering:
|
|
173
|
+
- [ ] All significant accruals identified
|
|
174
|
+
- [ ] Schedule ties to financial statements
|
|
175
|
+
- [ ] Trends analyzed
|
|
176
|
+
- [ ] Quality flags addressed
|
|
177
|
+
- [ ] CAS compliance verified
|
|
178
|
+
- [ ] Audit implications noted
|
|
179
|
+
> **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
|
|
180
|
+
> - `ifind-only` (strict): Use iFind only, error if unavailable
|
|
181
|
+
> - `ifind-fallback` (default): iFind preferred, fallback to AkShare
|
|
182
|
+
> - `akshare-only`: Skip iFind, use AkShare only
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: china-audit-xls
|
|
3
|
+
description: 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]".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# china-audit-xls
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Audit **A股财务模型** — comprehensive quality checks for Chinese equity financial models.
|
|
11
|
+
|
|
12
|
+
## Data Sources
|
|
13
|
+
|
|
14
|
+
### Tier 0 — 万得 Wind(最全面付费数据)
|
|
15
|
+
- 覆盖:A股/港美股/基金/指数/债券/宏观/研报/分析(44个工具)
|
|
16
|
+
- MCP 服务:`wind-mcp`(需 `WIND_API_KEY` 密钥,以 `ak_` 开头)
|
|
17
|
+
- 优势:全市场覆盖面最广、数据最全面、包含研报和量化分析
|
|
18
|
+
- 密钥申请:https://aifinmarket.wind.com.cn/#/home
|
|
19
|
+
|
|
20
|
+
### Tier 1 — 同花顺 iFind(付费精确数据)/ AkShare MCP(Tier-2 免费备选)
|
|
21
|
+
|
|
22
|
+
```python
|
|
23
|
+
get_financials(ticker, "income") → Actuals for cross-check
|
|
24
|
+
get_financials(ticker, "balance") → BS for cross-check
|
|
25
|
+
get_financials(ticker, "cashflow") → CF for cross-check
|
|
26
|
+
get_quote(ticker) → Market data
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Secondary Sources
|
|
30
|
+
- 巨潮 — source financials
|
|
31
|
+
- 审计报告 — reference data
|
|
32
|
+
|
|
33
|
+
## Workflow
|
|
34
|
+
|
|
35
|
+
### Step 1: Structural Audit
|
|
36
|
+
|
|
37
|
+
**Model structure checklist:**
|
|
38
|
+
|
|
39
|
+
| Area | Check | Pass Criteria |
|
|
40
|
+
|------|-------|--------------|
|
|
41
|
+
| Cover page | Company, date, version | Present and accurate |
|
|
42
|
+
| Assumptions | All key inputs centralized | No hardcoded values in calc |
|
|
43
|
+
| Historicals | All periods populated | 3-5 years |
|
|
44
|
+
| Forecast | Explicit forecast period | 3-5 years |
|
|
45
|
+
| Valuation | DCF, comps, football field | All methods present |
|
|
46
|
+
| Checks | Sum, balance, cross-ref | All checks green |
|
|
47
|
+
| Documentation | Methodology notes | Clear and complete |
|
|
48
|
+
|
|
49
|
+
### Step 2: Formula Audit
|
|
50
|
+
|
|
51
|
+
**Formula checks:**
|
|
52
|
+
|
|
53
|
+
| Check | Description | Pass Criteria |
|
|
54
|
+
|-------|-------------|--------------|
|
|
55
|
+
| No hardcodes | All inputs in assumptions | ✓ |
|
|
56
|
+
| Consistent formulas | Same formula across periods | ✓ |
|
|
57
|
+
| No circularity (unless intended) | Circular refs flagged | ✓ |
|
|
58
|
+
| Error handling | IFERROR used where needed | ✓ |
|
|
59
|
+
| Named ranges | Key cells named | ✓ |
|
|
60
|
+
| Sheet references | Cross-sheet refs work | ✓ |
|
|
61
|
+
| Broken links | No external links or all work | ✓ |
|
|
62
|
+
|
|
63
|
+
**Common hardcodes to find:**
|
|
64
|
+
- Growth rates embedded in formulas
|
|
65
|
+
- Multiples typed into cells
|
|
66
|
+
- Shares outstanding hardcoded
|
|
67
|
+
- Tax rates not in assumptions
|
|
68
|
+
|
|
69
|
+
### Step 3: Historicals Cross-Check
|
|
70
|
+
|
|
71
|
+
**Cross-check against source data:**
|
|
72
|
+
|
|
73
|
+
| Line Item | Model | iFind / AkShare / 巨潮 | Difference | Explanation |
|
|
74
|
+
|-----------|-------|----------------|------------|-------------|
|
|
75
|
+
| 营业收入 | | | | |
|
|
76
|
+
| 营业成本 | | | | |
|
|
77
|
+
| 归母净利润 | | | | |
|
|
78
|
+
| 总资产 | | | | |
|
|
79
|
+
| 净资产 | | | | |
|
|
80
|
+
| 经营现金流 | | | | |
|
|
81
|
+
|
|
82
|
+
**Cross-check tolerance:**
|
|
83
|
+
- Revenue, profit: ±2%
|
|
84
|
+
- Balance sheet: ±1%
|
|
85
|
+
- Cash flow: ±3% (timing differences)
|
|
86
|
+
|
|
87
|
+
### Step 4: CAS Compliance Check
|
|
88
|
+
|
|
89
|
+
**CAS-specific checks:**
|
|
90
|
+
|
|
91
|
+
| Check | Description |
|
|
92
|
+
|-------|-------------|
|
|
93
|
+
| Revenue net of VAT | 营业收入 not gross |
|
|
94
|
+
| R&D expensed | Not capitalized (unless criteria met) |
|
|
95
|
+
| Tax calculation | 25% / 15% rate applied correctly |
|
|
96
|
+
| Minority interest | Separated from parent equity |
|
|
97
|
+
| Government grants | Correct classification |
|
|
98
|
+
| 合同负债 | Recognized appropriately |
|
|
99
|
+
| 信用减值损失 | CAS 22 model applied |
|
|
100
|
+
|
|
101
|
+
### Step 5: Balance Sheet Integrity
|
|
102
|
+
|
|
103
|
+
**BS checks:**
|
|
104
|
+
|
|
105
|
+
| Check | Formula | Pass |
|
|
106
|
+
|-------|---------|------|
|
|
107
|
+
| BS balances | Assets = L + E | ✓ |
|
|
108
|
+
| Cash flow ties | Ending cash = Beginning + Net CF | ✓ |
|
|
109
|
+
| Debt schedule | Short + Long = Total debt | ✓ |
|
|
110
|
+
| Share count | Shares × Price = Market cap | ✓ |
|
|
111
|
+
| Minority interest | Correct % applied | ✓ |
|
|
112
|
+
|
|
113
|
+
### Step 6: Forecast Logic Check
|
|
114
|
+
|
|
115
|
+
**Forecast quality:**
|
|
116
|
+
|
|
117
|
+
| Check | Description | Pass |
|
|
118
|
+
|-------|-------------|------|
|
|
119
|
+
| Growth reasonable | Within industry range | ✓ |
|
|
120
|
+
| Margins stable | No unexplained jumps | ✓ |
|
|
121
|
+
| Working capital | Trends with revenue | ✓ |
|
|
122
|
+
| CapEx | Consistent with depreciation | ✓ |
|
|
123
|
+
| Debt service | Can be serviced from FCF | ✓ |
|
|
124
|
+
| Dividend | Consistent with policy | ✓ |
|
|
125
|
+
|
|
126
|
+
**Growth rate benchmarks:**
|
|
127
|
+
|
|
128
|
+
| Metric | Conservative | Base | Optimistic |
|
|
129
|
+
|--------|-------------|------|-----------|
|
|
130
|
+
| Revenue growth | 5-10% | 10-20% | 20-30% |
|
|
131
|
+
| Margin expansion | 0 ppts | 0-2 ppts | 2-5 ppts |
|
|
132
|
+
| Tax rate | 25% | 25% | 15% (if 高新) |
|
|
133
|
+
|
|
134
|
+
### Step 7: Valuation Check
|
|
135
|
+
|
|
136
|
+
**Valuation audit:**
|
|
137
|
+
|
|
138
|
+
| Method | Check | Pass |
|
|
139
|
+
|--------|-------|------|
|
|
140
|
+
| DCF | WACC reasonable (6-10%) | ✓ |
|
|
141
|
+
| DCF | Terminal growth < GDP growth | ✓ |
|
|
142
|
+
| DCF | FCF positive in base case | ✓ |
|
|
143
|
+
| Comps | Peer group appropriate | ✓ |
|
|
144
|
+
| Comps | Multiples reasonable | ✓ |
|
|
145
|
+
| Football field | Min/median/max consistent | ✓ |
|
|
146
|
+
|
|
147
|
+
**WACC components (China):**
|
|
148
|
+
|
|
149
|
+
| Component | Typical Range |
|
|
150
|
+
|-----------|--------------|
|
|
151
|
+
| Risk-free rate (CGB 10Y) | 2.0-3.0% |
|
|
152
|
+
| Equity risk premium | 6-8% |
|
|
153
|
+
| Cost of debt | 3-6% |
|
|
154
|
+
| Tax rate | 25% (15% for 高新) |
|
|
155
|
+
|
|
156
|
+
### Step 8: Sensitivity & Scenario Check
|
|
157
|
+
|
|
158
|
+
**Sensitivity audit:**
|
|
159
|
+
|
|
160
|
+
| Check | Description |
|
|
161
|
+
|-------|-------------|
|
|
162
|
+
| Sensitivity tables | Key variables tested |
|
|
163
|
+
| Scenarios | Base / Bull / Bear |
|
|
164
|
+
| Tornado chart | Key drivers identified |
|
|
165
|
+
| Monte Carlo (if used) | Assumptions reasonable |
|
|
166
|
+
|
|
167
|
+
### Step 9: Common A-share Model Errors
|
|
168
|
+
|
|
169
|
+
**Error checklist:**
|
|
170
|
+
|
|
171
|
+
| Error | Detection | Fix |
|
|
172
|
+
|-------|-----------|-----|
|
|
173
|
+
| 收入用含税 | VAT not removed | Divide by 1.13 |
|
|
174
|
+
| 税率错误 | Wrong rate applied | Verify 高新 status |
|
|
175
|
+
| 单位错误 | 千元 vs 万元 | Standardize |
|
|
176
|
+
| 季度加总错误 | Q+Q ≠ Annual | Check sum |
|
|
177
|
+
| 增长率计算 | Wrong base period | Verify formula |
|
|
178
|
+
| 少数股东损益 | Missing | Add if applicable |
|
|
179
|
+
| 折旧年限 | Wrong | Check FA notes |
|
|
180
|
+
|
|
181
|
+
### Step 10: Audit Report
|
|
182
|
+
|
|
183
|
+
**Standard audit output:**
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
【模型审计报告】[Company] [Date]
|
|
187
|
+
|
|
188
|
+
一、结构检查
|
|
189
|
+
[Structure assessment]
|
|
190
|
+
|
|
191
|
+
二、公式检查
|
|
192
|
+
[Formula audit results]
|
|
193
|
+
|
|
194
|
+
三、历史数据核对
|
|
195
|
+
[Cross-check results]
|
|
196
|
+
|
|
197
|
+
四、CAS合规检查
|
|
198
|
+
[CAS compliance]
|
|
199
|
+
|
|
200
|
+
五、预测逻辑检查
|
|
201
|
+
[Forecast quality]
|
|
202
|
+
|
|
203
|
+
六、估值检查
|
|
204
|
+
[Valuation audit]
|
|
205
|
+
|
|
206
|
+
七、发现的问题
|
|
207
|
+
[List of issues with severity]
|
|
208
|
+
|
|
209
|
+
八、建议修复
|
|
210
|
+
[Recommended fixes]
|
|
211
|
+
|
|
212
|
+
总体评价: [Pass / Pass with conditions / Fail]
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Quality Checks
|
|
216
|
+
|
|
217
|
+
Before completing:
|
|
218
|
+
- [ ] All structural checks passed
|
|
219
|
+
- [ ] No hardcodes found
|
|
220
|
+
- [ ] Historicals cross-checked
|
|
221
|
+
- [ ] CAS compliant
|
|
222
|
+
- [ ] BS/CF integrity verified
|
|
223
|
+
- [ ] Forecast logic sound
|
|
224
|
+
- [ ] Valuation reasonable
|
|
225
|
+
- [ ] All issues documented
|
|
226
|
+
> **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
|
|
227
|
+
> - `ifind-only` (strict): Use iFind only, error if unavailable
|
|
228
|
+
> - `ifind-fallback` (default): iFind preferred, fallback to AkShare
|
|
229
|
+
> - `akshare-only`: Skip iFind, use AkShare only
|
|
230
|
+
> - `wind-only`: Wind only, error if unavailable
|
|
231
|
+
> - `wind-fallback`: Wind first, fallback to iFind → AkShare
|