From wealth-management
Analyzes A-share portfolio allocation drift, generates rebalancing trades, and optimizes for tax efficiency using AkShare market data.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wealth-management:china-portfolio-rebalanceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Perform **A股投资组合再平衡** — analyze allocation drift, generate rebalancing recommendations, and optimize trade execution.
Perform A股投资组合再平衡 — analyze allocation drift, generate rebalancing recommendations, and optimize trade execution.
get_quote(ticker) → Current prices for holdings
get_historical_data(ticker) → Tax lot / cost basis context
Portfolio snapshot:
| Asset Class | Target % | Current % | Drift | Market Value | Action |
|---|---|---|---|---|---|
Within A-share equity:
| Sector | Target | Current | Drift | Action |
|---|---|---|---|---|
| 消费 | XX% | XX% | ±X% | Buy/Sell/Hold |
| 科技 | XX% | XX% | ±X% | Buy/Sell/Hold |
| 医药 | XX% | XX% | ±X% | Buy/Sell/Hold |
| 金融 | XX% | XX% | ±X% | Buy/Sell/Hold |
| 新能源 | XX% | XX% | ±X% | Buy/Sell/Hold |
| 其他 | XX% | XX% | ±X% | Buy/Sell/Hold |
Drift thresholds:
| Drift Level | Action |
|---|---|
| ±2% | Monitor, no action |
| ±3-5% | Consider rebalancing |
| ±5%+ | Rebalance recommended |
Drift causes:
Rebalancing logic:
| Situation | Action |
|---|---|
| Sector overweight + price up | Trim position |
| Sector underweight + price down | Add to position |
| Overweight + price down | Monitor (may converge) |
| Underweight + price up | Monitor (may converge) |
Trade list:
| Action | Ticker | Security | Current % | Target % | Trade Amount | Est. Shares |
|---|---|---|---|---|---|---|
| Buy | ||||||
| Sell | ||||||
| Hold |
A-share tax treatment:
| Item | Tax Rate | Notes |
|---|---|---|
| 股票买卖价差 | 暂免 (temporarily exempt) | Capital gains on stocks |
| 股息红利 | 20% (持股>1年减半/免征) | Dividend tax |
| 基金分红 | 暂免 (some funds) | Fund distributions |
| 买卖印花税 | 0.05% (seller only) | Stamp duty |
Tax-loss harvesting opportunities:
| Position | Cost Basis | Current Value | Unrealized Loss | Tax Benefit |
|---|---|---|---|---|
Tax-efficient selling:
Trade sequencing:
| Priority | Trade | Rationale |
|---|---|---|
| 1 | Tax loss harvesting | |
| 2 | Largest drift correction | |
| 3 | Smaller adjustments |
Execution considerations:
Standard rebalancing report:
【组合再平衡报告】[Client] [Date]
一、当前配置 vs 目标配置
[Allocation table with drift]
二、再平衡建议
[Trade list]
三、税务影响
[Tax implications]
四、执行计划
[Sequencing and timing]
五、预期效果
[Projected post-rebalance allocation]
| Factor | Rebalancing Implication |
|---|---|
| 涨跌停限制 | May prevent immediate rebalancing |
| T+1 settlement | Trade settlement timeline |
| 印花税 | 0.05% on sell side |
| 佣金 | Varies by broker (typically 0.02-0.03%) |
| 最低手续费 | Minimum commission threshold |
China-specific TLH:
| Trigger | Frequency | Action |
|---|---|---|
| Calendar rebalancing | Quarterly/Semi-annual | Systematic rebalance |
| Drift threshold | When ±5% | Opportunistic rebalance |
| Cash inflow | As received | Deploy to underweights |
| Client request | Ad-hoc | Targeted rebalance |
| Tax planning | Year-end | Harvest losses, reset cost basis |
Before executing:
After rebalancing:
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub jwangkun/claude-for-financial-services-cn --plugin wealth-management