本文へ移動
cccskills
無料GitHub で公開

china-portfolio-rebalance

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]".

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

china-portfolio-rebalance

Purpose

Perform A股投资组合再平衡 — analyze allocation drift, generate rebalancing recommendations, and optimize trade execution.

Data Sources

Primary: iFind MCP (Tier-1 付费) / AkShare MCP (Tier-2 免费备选)

get_quote(ticker)                     → Current prices for holdings
get_historical_data(ticker)           → Tax lot / cost basis context

Secondary Sources

  • Portfolio management system
  • Wind / Choice — market data
  • Tax rules — A-share tax treatment

Workflow

Step 1: Current Allocation

Portfolio snapshot:

Asset ClassTarget %Current %DriftMarket ValueAction

Within A-share equity:

SectorTargetCurrentDriftAction
消费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

Step 2: Identify Drift

Drift thresholds:

Drift LevelAction
±2%Monitor, no action
±3-5%Consider rebalancing
±5%+Rebalance recommended

Drift causes:

  • Market price movements
  • Dividend reinvestment
  • Previous trades
  • Cash flows (contributions/withdrawals)

Step 3: Generate Rebalancing Trades

Rebalancing logic:

SituationAction
Sector overweight + price upTrim position
Sector underweight + price downAdd to position
Overweight + price downMonitor (may converge)
Underweight + price upMonitor (may converge)

Trade list:

ActionTickerSecurityCurrent %Target %Trade AmountEst. Shares
Buy
Sell
Hold

Step 4: Tax Considerations

A-share tax treatment:

ItemTax RateNotes
股票买卖价差暂免 (temporarily exempt)Capital gains on stocks
股息红利20% (持股>1年减半/免征)Dividend tax
基金分红暂免 (some funds)Fund distributions
买卖印花税0.05% (seller only)Stamp duty

Tax-loss harvesting opportunities:

PositionCost BasisCurrent ValueUnrealized LossTax Benefit

Tax-efficient selling:

  • Prioritize selling positions with losses
  • Consider holding period for dividend tax
  • Batch sales to minimize stamp duty impact

Step 5: Execution Plan

Trade sequencing:

PriorityTradeRationale
1Tax loss harvesting
2Largest drift correction
3Smaller adjustments

Execution considerations:

  • Market impact (liquidity)
  • Trading costs (commissions, stamp duty)
  • Market timing (volatility)
  • Block trading for large positions

Step 6: Rebalancing Report

Standard rebalancing report:

【组合再平衡报告】[Client] [Date]

一、当前配置 vs 目标配置
   [Allocation table with drift]

二、再平衡建议
   [Trade list]

三、税务影响
   [Tax implications]

四、执行计划
   [Sequencing and timing]

五、预期效果
   [Projected post-rebalance allocation]

China-Specific Rebalancing Considerations

A-share Market Characteristics

FactorRebalancing Implication
涨跌停限制May prevent immediate rebalancing
T+1 settlementTrade settlement timeline
印花税0.05% on sell side
佣金Varies by broker (typically 0.02-0.03%)
最低手续费Minimum commission threshold

Tax-Loss Harvesting (A-share)

China-specific TLH:

  • Capital gains on stocks: currently tax-exempt (暂免)
  • Losses: can offset gains within the same asset class
  • 股息红利 tax: 20%, reduced to 10% for >1 year holding, 0% for >1 year (recent changes)
  • Fund distributions: tax treatment varies by fund type

Common Rebalancing Triggers

TriggerFrequencyAction
Calendar rebalancingQuarterly/Semi-annualSystematic rebalance
Drift thresholdWhen ±5%Opportunistic rebalance
Cash inflowAs receivedDeploy to underweights
Client requestAd-hocTargeted rebalance
Tax planningYear-endHarvest losses, reset cost basis

Quality Checks

Before executing:

  • Allocations calculated correctly
  • Trades aligned with policy
  • Tax implications assessed
  • Trading costs estimated
  • Client approval obtained
  • Execution plan sequenced

After rebalancing:

  • Trades confirmed
  • Allocation updated
  • Tax lots recorded
  • Client notified

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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.

日本語の概要は準備中です。原文の説明を表示しています。

jwangkun/claude-for-financial-services-cn8342026年9月14日 更新

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]".

日本語の概要は準備中です。原文の説明を表示しています。

jwangkun/claude-for-financial-services-cn8342026年9月14日 更新

Build accrual schedules for A-share fund administration. Tracks revenue recognition, expense accruals, and working capital timing for fund accounting. Adapted from the original accrual-schedule skill for fund accounting standards. Triggers on "基金应计项目", "应计计提基金", "accrual schedule fund", "NAV accruals", or "accruals [fund]".

日本語の概要は準備中です。原文の説明を表示しています。

jwangkun/claude-for-financial-services-cn8342026年9月14日 更新

Assess an A-share portfolio company's AI readiness for China-focused private equity investments. Evaluates data infrastructure, technology stack, talent, and AI adoption opportunities in the Chinese market context. Triggers on "A股公司AI评估", "AI readiness China", "AI assessment portfolio company", "AI转型评估", or "artificial intelligence readiness [company]".

日本語の概要は準備中です。原文の説明を表示しています。

jwangkun/claude-for-financial-services-cn8342026年9月14日 更新

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]".

日本語の概要は準備中です。原文の説明を表示しています。

jwangkun/claude-for-financial-services-cn8342026年9月14日 更新

Forensic financial analysis for A-share fund holdings and portfolio companies. Adapts the original break-trace skill for fund administration context and Chinese market standards. Triggers on "基金持仓核查", "持仓异常", "forensic fund analysis China", "持仓质量分析", or "investigate [fund] holdings".

日本語の概要は準備中です。原文の説明を表示しています。

jwangkun/claude-for-financial-services-cn8342026年9月14日 更新

jwangkun のスキルをすべて見る

このスキルの問題を報告する