@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,271 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: china-investment-proposal
|
|
3
|
+
description: Draft investment proposals for Chinese wealth management clients. Creates structured proposals with investment rationale, product recommendations, and risk disclosures. Adapted from the original investment-proposal skill for A-share products and Chinese regulatory requirements. Triggers on "A股投资建议书", "投资方案", "investment proposal China", "proposal for [client]", "investment recommendation A-share", or "build investment proposal".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# china-investment-proposal
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Create professional **A股财富管理投资建议书** — structured proposals for Chinese wealth management clients.
|
|
11
|
+
|
|
12
|
+
## Data Sources
|
|
13
|
+
|
|
14
|
+
### Primary: iFind MCP (Tier-1 付费) / AkShare MCP (Tier-2 免费备选)
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
get_index_data("000001") → Market context
|
|
18
|
+
get_index_data("399006") → ChiNext context
|
|
19
|
+
get_quote(ticker) → Security analysis
|
|
20
|
+
get_fund_data(fund_code) → Fund analysis
|
|
21
|
+
get_industry_stocks(industry="...") → Sector analysis
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Secondary Sources
|
|
25
|
+
- Portfolio management system
|
|
26
|
+
- Research team — market outlook
|
|
27
|
+
- Product providers — fund/insurance data
|
|
28
|
+
|
|
29
|
+
## Workflow
|
|
30
|
+
|
|
31
|
+
### Step 1: Understand Client Needs
|
|
32
|
+
|
|
33
|
+
**Discovery questions:**
|
|
34
|
+
|
|
35
|
+
1. **Investment objective**: 保值增值 / 稳健增值 / 积极增值 / 收入型
|
|
36
|
+
2. **Time horizon**: 短期(<1年) / 中期(1-5年) / 长期(>5年)
|
|
37
|
+
3. **Risk tolerance**: 保守 / 稳健 / 积极 / 激进
|
|
38
|
+
4. **Liquidity needs**: 高 / 中 / 低
|
|
39
|
+
5. **Special considerations**: 税务, 遗产, 慈善, etc.
|
|
40
|
+
|
|
41
|
+
### Step 2: Market & Strategy Overview
|
|
42
|
+
|
|
43
|
+
**Current market assessment:**
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
市场展望 [Period]
|
|
47
|
+
|
|
48
|
+
一、宏观经济
|
|
49
|
+
[GDP, policy, rates outlook]
|
|
50
|
+
|
|
51
|
+
二、权益市场
|
|
52
|
+
- 估值水平: 沪深300 PE [Xx] (历史[X]%分位)
|
|
53
|
+
- 资金面: 北向资金, 两融余额
|
|
54
|
+
- 情绪指标: [Index]
|
|
55
|
+
|
|
56
|
+
三、行业配置观点
|
|
57
|
+
超配 (Overweight): [Sectors] — [Rationale]
|
|
58
|
+
标配 (Neutral): [Sectors]
|
|
59
|
+
低配 (Underweight): [Sectors] — [Rationale]
|
|
60
|
+
|
|
61
|
+
四、风险提示
|
|
62
|
+
[Key risks]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Step 3: Investment Strategy
|
|
66
|
+
|
|
67
|
+
**Strategy design:**
|
|
68
|
+
|
|
69
|
+
| Component | Allocation | Rationale |
|
|
70
|
+
|-----------|-----------|-----------|
|
|
71
|
+
| A股权益 | XX% | Growth engine |
|
|
72
|
+
| 基金 (主动) | XX% | Professional management |
|
|
73
|
+
| 基金 (指数) | XX% | Low-cost beta |
|
|
74
|
+
| 债券/固收+ | XX% | Stability, income |
|
|
75
|
+
| 现金/货币基金 | XX% | Liquidity |
|
|
76
|
+
| 另类 (REITs, 黄金) | XX% | Diversification |
|
|
77
|
+
|
|
78
|
+
**A-share equity allocation:**
|
|
79
|
+
|
|
80
|
+
| Sector | Weight | Thesis |
|
|
81
|
+
|--------|--------|--------|
|
|
82
|
+
| 消费 | XX% | [Rationale] |
|
|
83
|
+
| 科技 | XX% | [Rationale] |
|
|
84
|
+
| 医药 | XX% | [Rationale] |
|
|
85
|
+
| 金融 | XX% | [Rationale] |
|
|
86
|
+
| 新能源 | XX% | [Rationale] |
|
|
87
|
+
| 其他 | XX% | [Rationale] |
|
|
88
|
+
|
|
89
|
+
### Step 4: Product Recommendations
|
|
90
|
+
|
|
91
|
+
**Recommended securities:**
|
|
92
|
+
|
|
93
|
+
| # | Type | Security | Ticker | Allocation | Rationale | Risk Level |
|
|
94
|
+
|---|------|----------|--------|-----------|-----------|------------|
|
|
95
|
+
| 1 | A股个股 | | | | | |
|
|
96
|
+
| 2 | 主动基金 | | | | | |
|
|
97
|
+
| 3 | 指数基金 | | | | | |
|
|
98
|
+
| 4 | 债券/理财 | | | | | |
|
|
99
|
+
| 5 | 现金管理 | | | | | |
|
|
100
|
+
|
|
101
|
+
**For each recommendation:**
|
|
102
|
+
- Investment thesis (3-5 bullet points)
|
|
103
|
+
- Expected return range
|
|
104
|
+
- Risk assessment
|
|
105
|
+
- Suitable for client profile
|
|
106
|
+
- Minimum investment
|
|
107
|
+
- Liquidity terms
|
|
108
|
+
|
|
109
|
+
### Step 5: Risk Assessment & Disclosure
|
|
110
|
+
|
|
111
|
+
**Risk factors (standard Chinese disclosures):**
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
风险揭示
|
|
115
|
+
|
|
116
|
+
一、市场风险
|
|
117
|
+
投资有风险, 入市需谨慎。本投资方案涉及A股市场投资,
|
|
118
|
+
股票价格可能因市场因素大幅波动。
|
|
119
|
+
|
|
120
|
+
二、流动性风险
|
|
121
|
+
部分投资品可能存在流动性限制, 赎回/卖出可能受
|
|
122
|
+
市场流动性影响。
|
|
123
|
+
|
|
124
|
+
三、政策风险
|
|
125
|
+
国家政策、行业监管变化可能影响投资组合表现。
|
|
126
|
+
|
|
127
|
+
四、信用风险
|
|
128
|
+
固定收益类产品存在发行人信用风险。
|
|
129
|
+
|
|
130
|
+
五、汇率风险
|
|
131
|
+
[If applicable]
|
|
132
|
+
|
|
133
|
+
六、其他风险
|
|
134
|
+
[Product-specific risks]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Risk level match:**
|
|
138
|
+
- Conservative (保守型): 低风险产品为主, 权益<30%
|
|
139
|
+
- Balanced (稳健型): 中等风险, 权益30-60%
|
|
140
|
+
- Growth (积极型): 较高风险, 权益60-90%
|
|
141
|
+
- Aggressive (激进型): 高风险, 权益>90%
|
|
142
|
+
|
|
143
|
+
### Step 6: Expected Returns & Scenarios
|
|
144
|
+
|
|
145
|
+
**Return scenarios:**
|
|
146
|
+
|
|
147
|
+
| Scenario | Probability | Expected Return | Portfolio Value (3Y) |
|
|
148
|
+
|-----------|-------------|----------------|---------------------|
|
|
149
|
+
| 乐观 | 25% | +XX% | ¥XXX万 |
|
|
150
|
+
| 中性 | 50% | +X% | ¥XXX万 |
|
|
151
|
+
| 悲观 | 25% | -X% | ¥XXX万 |
|
|
152
|
+
|
|
153
|
+
### Step 7: Implementation Plan
|
|
154
|
+
|
|
155
|
+
**Implementation steps:**
|
|
156
|
+
|
|
157
|
+
| Step | Action | Timeline |
|
|
158
|
+
|------|--------|----------|
|
|
159
|
+
| 1 | 方案确认 | [Date] |
|
|
160
|
+
| 2 | 账户开立/激活 | [Date] |
|
|
161
|
+
| 3 | 建仓 (首批建仓) | [Date] |
|
|
162
|
+
| 4 | 分批建仓 (如需) | [Date range] |
|
|
163
|
+
| 5 | 首次复核 | [Date] |
|
|
164
|
+
|
|
165
|
+
**建仓策略:**
|
|
166
|
+
- 一次性建仓: 适合积极型, 市场低点
|
|
167
|
+
- 分批建仓: 适合稳健型, 降低择时风险
|
|
168
|
+
- 定投: 适合长期投资, 平滑成本
|
|
169
|
+
|
|
170
|
+
### Step 8: Monitoring & Review
|
|
171
|
+
|
|
172
|
+
**Review schedule:**
|
|
173
|
+
|
|
174
|
+
| Review Type | Frequency | Content |
|
|
175
|
+
|-------------|-----------|---------|
|
|
176
|
+
| 日常监控 | Daily | Market alerts, significant moves |
|
|
177
|
+
| 月度回顾 | Monthly | Performance, attribution |
|
|
178
|
+
| 季度复盘 | Quarterly | Full review, rebalancing |
|
|
179
|
+
| 年度规划 | Annual | Goal review, strategy update |
|
|
180
|
+
|
|
181
|
+
### Step 9: Proposal Document
|
|
182
|
+
|
|
183
|
+
**Standard proposal format:**
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
【投资建议书】
|
|
187
|
+
客户名称:[Name]
|
|
188
|
+
风险等级:[R1-R5]
|
|
189
|
+
投资期限:[X年]
|
|
190
|
+
建议日期:[Date]
|
|
191
|
+
|
|
192
|
+
一、客户需求分析
|
|
193
|
+
[Goals, constraints, preferences]
|
|
194
|
+
|
|
195
|
+
二、市场展望
|
|
196
|
+
[Current market assessment]
|
|
197
|
+
|
|
198
|
+
三、投资策略
|
|
199
|
+
[Allocation strategy with rationale]
|
|
200
|
+
|
|
201
|
+
四、产品推荐
|
|
202
|
+
[Detailed recommendations]
|
|
203
|
+
|
|
204
|
+
五、风险评估
|
|
205
|
+
[Risk factors, suitability assessment]
|
|
206
|
+
|
|
207
|
+
六、预期表现
|
|
208
|
+
[Return scenarios]
|
|
209
|
+
|
|
210
|
+
七、实施方案
|
|
211
|
+
[Implementation plan]
|
|
212
|
+
|
|
213
|
+
八、后续服务
|
|
214
|
+
[Review schedule, monitoring]
|
|
215
|
+
|
|
216
|
+
九、声明
|
|
217
|
+
[Standard regulatory disclaimers]
|
|
218
|
+
|
|
219
|
+
客户签字:_________ 日期:_________
|
|
220
|
+
理财师签字:_________ 日期:_________
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
## China-Specific Considerations
|
|
224
|
+
|
|
225
|
+
### Suitability (适当性管理)
|
|
226
|
+
|
|
227
|
+
**China regulatory requirements:**
|
|
228
|
+
- 风险等级匹配: Product risk ≤ Client risk tolerance
|
|
229
|
+
- 投资者分类: 普通投资者 / 专业投资者
|
|
230
|
+
- 信息披露: Full and fair disclosure
|
|
231
|
+
- 冷静期: Cooling-off period for certain products
|
|
232
|
+
- 录音录像: Recording for in-person sales
|
|
233
|
+
|
|
234
|
+
### Common Investment Products (China)
|
|
235
|
+
|
|
236
|
+
| Product | Risk | Return | Liquidity |
|
|
237
|
+
|---------|------|--------|-----------|
|
|
238
|
+
| 银行理财 | Low | 2-4% | Medium |
|
|
239
|
+
| 货币基金 | Low | 1.5-2.5% | High |
|
|
240
|
+
| 国债 | Very low | 2-3% | Medium |
|
|
241
|
+
| 企业债 | Low-Medium | 3-5% | Medium |
|
|
242
|
+
| A股个股 | High | Variable | Medium |
|
|
243
|
+
| 主动基金 | Medium-High | Variable | Medium |
|
|
244
|
+
| 指数基金/ETF | Medium | Variable | High |
|
|
245
|
+
| 私募基金 | High | Variable | Low |
|
|
246
|
+
| 信托 | Medium-High | 5-8% | Low |
|
|
247
|
+
| 保险产品 | Low-Medium | Guaranteed + bonus | Low |
|
|
248
|
+
|
|
249
|
+
### Client Segmentation
|
|
250
|
+
|
|
251
|
+
| Type | Profile | Strategy |
|
|
252
|
+
|------|---------|----------|
|
|
253
|
+
| 保守型 | Risk-averse, capital preservation focus | Bonds, money market, blue chips |
|
|
254
|
+
| 稳健型 | Balanced, moderate growth | Balanced allocation, dividend stocks |
|
|
255
|
+
| 积极型 | Growth-oriented, can tolerate volatility | Growth stocks, sector funds |
|
|
256
|
+
| 激进型 | High risk tolerance, return-seeking | Small-caps, thematic, alternatives |
|
|
257
|
+
|
|
258
|
+
## Quality Checks
|
|
259
|
+
|
|
260
|
+
Before delivering:
|
|
261
|
+
- [ ] Client profile understood
|
|
262
|
+
- [ ] Allocation aligned with risk tolerance
|
|
263
|
+
- [ ] Products suitable and available
|
|
264
|
+
- [ ] Risk disclosures complete
|
|
265
|
+
- [ ] Expected returns realistic
|
|
266
|
+
- [ ] Implementation plan clear
|
|
267
|
+
- [ ] Regulatory disclosures included
|
|
268
|
+
> **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
|
|
269
|
+
> - `ifind-only` (strict): Use iFind only, error if unavailable
|
|
270
|
+
> - `ifind-fallback` (default): iFind preferred, fallback to AkShare
|
|
271
|
+
> - `akshare-only, wind-only (Wind only), wind-fallback (Wind first, fallback to iFind → AkShare)`: Skip iFind, use AkShare only
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: china-portfolio-rebalance
|
|
3
|
+
description: Portfolio rebalancing analysis for A-share wealth management portfolios. Analyzes allocation drift, generates rebalancing trades, and optimizes for tax efficiency. Adapted from the original portfolio-rebalance skill for Chinese portfolios. Triggers on "A股组合再平衡", "调仓", "rebalance China", "portfolio rebalance A-share", "rebalance portfolio", or "adjust allocation [client]".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# china-portfolio-rebalance
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Perform **A股投资组合再平衡** — analyze allocation drift, generate rebalancing recommendations, and optimize trade execution.
|
|
11
|
+
|
|
12
|
+
## Data Sources
|
|
13
|
+
|
|
14
|
+
### Primary: iFind MCP (Tier-1 付费) / AkShare MCP (Tier-2 免费备选)
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
get_quote(ticker) → Current prices for holdings
|
|
18
|
+
get_historical_data(ticker) → Tax lot / cost basis context
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Secondary Sources
|
|
22
|
+
- Portfolio management system
|
|
23
|
+
- Wind / Choice — market data
|
|
24
|
+
- Tax rules — A-share tax treatment
|
|
25
|
+
|
|
26
|
+
## Workflow
|
|
27
|
+
|
|
28
|
+
### Step 1: Current Allocation
|
|
29
|
+
|
|
30
|
+
**Portfolio snapshot:**
|
|
31
|
+
|
|
32
|
+
| Asset Class | Target % | Current % | Drift | Market Value | Action |
|
|
33
|
+
|-------------|----------|-----------|-------|--------------|--------|
|
|
34
|
+
| | | | | | |
|
|
35
|
+
|
|
36
|
+
**Within A-share equity:**
|
|
37
|
+
|
|
38
|
+
| Sector | Target | Current | Drift | Action |
|
|
39
|
+
|--------|--------|---------|-------|--------|
|
|
40
|
+
| 消费 | XX% | XX% | ±X% | Buy/Sell/Hold |
|
|
41
|
+
| 科技 | XX% | XX% | ±X% | Buy/Sell/Hold |
|
|
42
|
+
| 医药 | XX% | XX% | ±X% | Buy/Sell/Hold |
|
|
43
|
+
| 金融 | XX% | XX% | ±X% | Buy/Sell/Hold |
|
|
44
|
+
| 新能源 | XX% | XX% | ±X% | Buy/Sell/Hold |
|
|
45
|
+
| 其他 | XX% | XX% | ±X% | Buy/Sell/Hold |
|
|
46
|
+
|
|
47
|
+
### Step 2: Identify Drift
|
|
48
|
+
|
|
49
|
+
**Drift thresholds:**
|
|
50
|
+
|
|
51
|
+
| Drift Level | Action |
|
|
52
|
+
|-------------|--------|
|
|
53
|
+
| ±2% | Monitor, no action |
|
|
54
|
+
| ±3-5% | Consider rebalancing |
|
|
55
|
+
| ±5%+ | Rebalance recommended |
|
|
56
|
+
|
|
57
|
+
**Drift causes:**
|
|
58
|
+
- Market price movements
|
|
59
|
+
- Dividend reinvestment
|
|
60
|
+
- Previous trades
|
|
61
|
+
- Cash flows (contributions/withdrawals)
|
|
62
|
+
|
|
63
|
+
### Step 3: Generate Rebalancing Trades
|
|
64
|
+
|
|
65
|
+
**Rebalancing logic:**
|
|
66
|
+
|
|
67
|
+
| Situation | Action |
|
|
68
|
+
|-----------|--------|
|
|
69
|
+
| Sector overweight + price up | Trim position |
|
|
70
|
+
| Sector underweight + price down | Add to position |
|
|
71
|
+
| Overweight + price down | Monitor (may converge) |
|
|
72
|
+
| Underweight + price up | Monitor (may converge) |
|
|
73
|
+
|
|
74
|
+
**Trade list:**
|
|
75
|
+
|
|
76
|
+
| Action | Ticker | Security | Current % | Target % | Trade Amount | Est. Shares |
|
|
77
|
+
|--------|--------|----------|-----------|----------|-------------|------------|
|
|
78
|
+
| Buy | | | | | | |
|
|
79
|
+
| Sell | | | | | | |
|
|
80
|
+
| Hold | | | | | | |
|
|
81
|
+
|
|
82
|
+
### Step 4: Tax Considerations
|
|
83
|
+
|
|
84
|
+
**A-share tax treatment:**
|
|
85
|
+
|
|
86
|
+
| Item | Tax Rate | Notes |
|
|
87
|
+
|------|----------|-------|
|
|
88
|
+
| 股票买卖价差 | 暂免 (temporarily exempt) | Capital gains on stocks |
|
|
89
|
+
| 股息红利 | 20% (持股>1年减半/免征) | Dividend tax |
|
|
90
|
+
| 基金分红 | 暂免 (some funds) | Fund distributions |
|
|
91
|
+
| 买卖印花税 | 0.05% (seller only) | Stamp duty |
|
|
92
|
+
|
|
93
|
+
**Tax-loss harvesting opportunities:**
|
|
94
|
+
|
|
95
|
+
| Position | Cost Basis | Current Value | Unrealized Loss | Tax Benefit |
|
|
96
|
+
|----------|-----------|--------------|-----------------|-------------|
|
|
97
|
+
| | | | | |
|
|
98
|
+
|
|
99
|
+
**Tax-efficient selling:**
|
|
100
|
+
- Prioritize selling positions with losses
|
|
101
|
+
- Consider holding period for dividend tax
|
|
102
|
+
- Batch sales to minimize stamp duty impact
|
|
103
|
+
|
|
104
|
+
### Step 5: Execution Plan
|
|
105
|
+
|
|
106
|
+
**Trade sequencing:**
|
|
107
|
+
|
|
108
|
+
| Priority | Trade | Rationale |
|
|
109
|
+
|----------|-------|-----------|
|
|
110
|
+
| 1 | | Tax loss harvesting |
|
|
111
|
+
| 2 | | Largest drift correction |
|
|
112
|
+
| 3 | | Smaller adjustments |
|
|
113
|
+
|
|
114
|
+
**Execution considerations:**
|
|
115
|
+
- Market impact (liquidity)
|
|
116
|
+
- Trading costs (commissions, stamp duty)
|
|
117
|
+
- Market timing (volatility)
|
|
118
|
+
- Block trading for large positions
|
|
119
|
+
|
|
120
|
+
### Step 6: Rebalancing Report
|
|
121
|
+
|
|
122
|
+
**Standard rebalancing report:**
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
【组合再平衡报告】[Client] [Date]
|
|
126
|
+
|
|
127
|
+
一、当前配置 vs 目标配置
|
|
128
|
+
[Allocation table with drift]
|
|
129
|
+
|
|
130
|
+
二、再平衡建议
|
|
131
|
+
[Trade list]
|
|
132
|
+
|
|
133
|
+
三、税务影响
|
|
134
|
+
[Tax implications]
|
|
135
|
+
|
|
136
|
+
四、执行计划
|
|
137
|
+
[Sequencing and timing]
|
|
138
|
+
|
|
139
|
+
五、预期效果
|
|
140
|
+
[Projected post-rebalance allocation]
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## China-Specific Rebalancing Considerations
|
|
144
|
+
|
|
145
|
+
### A-share Market Characteristics
|
|
146
|
+
|
|
147
|
+
| Factor | Rebalancing Implication |
|
|
148
|
+
|--------|------------------------|
|
|
149
|
+
| 涨跌停限制 | May prevent immediate rebalancing |
|
|
150
|
+
| T+1 settlement | Trade settlement timeline |
|
|
151
|
+
| 印花税 | 0.05% on sell side |
|
|
152
|
+
| 佣金 | Varies by broker (typically 0.02-0.03%) |
|
|
153
|
+
| 最低手续费 | Minimum commission threshold |
|
|
154
|
+
|
|
155
|
+
### Tax-Loss Harvesting (A-share)
|
|
156
|
+
|
|
157
|
+
**China-specific TLH:**
|
|
158
|
+
- Capital gains on stocks: currently tax-exempt (暂免)
|
|
159
|
+
- Losses: can offset gains within the same asset class
|
|
160
|
+
- 股息红利 tax: 20%, reduced to 10% for >1 year holding, 0% for >1 year (recent changes)
|
|
161
|
+
- Fund distributions: tax treatment varies by fund type
|
|
162
|
+
|
|
163
|
+
### Common Rebalancing Triggers
|
|
164
|
+
|
|
165
|
+
| Trigger | Frequency | Action |
|
|
166
|
+
|---------|-----------|--------|
|
|
167
|
+
| Calendar rebalancing | Quarterly/Semi-annual | Systematic rebalance |
|
|
168
|
+
| Drift threshold | When ±5% | Opportunistic rebalance |
|
|
169
|
+
| Cash inflow | As received | Deploy to underweights |
|
|
170
|
+
| Client request | Ad-hoc | Targeted rebalance |
|
|
171
|
+
| Tax planning | Year-end | Harvest losses, reset cost basis |
|
|
172
|
+
|
|
173
|
+
## Quality Checks
|
|
174
|
+
|
|
175
|
+
Before executing:
|
|
176
|
+
- [ ] Allocations calculated correctly
|
|
177
|
+
- [ ] Trades aligned with policy
|
|
178
|
+
- [ ] Tax implications assessed
|
|
179
|
+
- [ ] Trading costs estimated
|
|
180
|
+
- [ ] Client approval obtained
|
|
181
|
+
- [ ] Execution plan sequenced
|
|
182
|
+
|
|
183
|
+
After rebalancing:
|
|
184
|
+
- [ ] Trades confirmed
|
|
185
|
+
- [ ] Allocation updated
|
|
186
|
+
- [ ] Tax lots recorded
|
|
187
|
+
- [ ] Client notified
|
|
188
|
+
> **Data Source Mode Switch**: Set env var `IFIND_DATA_SOURCE_MODE` to control data source preference.
|
|
189
|
+
> - `ifind-only` (strict): Use iFind only, error if unavailable
|
|
190
|
+
> - `ifind-fallback` (default): iFind preferred, fallback to AkShare
|
|
191
|
+
> - `akshare-only`: Skip iFind, use AkShare only
|