Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính8.4k · #12463

Portfolio Rebalance

Skill này làm gì

Skill này kiểm tra danh mục đã lệch khỏi tỷ trọng mục tiêu bao xa và gợi ý giao dịch để sửa lại. Skill dành cho nhà đầu tư và cố vấn cân bằng lại danh mục qua nhiều tài khoản, kể cả tài khoản chịu thuế.

Khi nào nên dùng

  • ✓Khi tỷ trọng của một danh mục đã lệch khỏi mục tiêu và cần được kiểm tra.
  • ✓Khi bạn muốn cân bằng lại giữa tài khoản chịu thuế và tài khoản có ưu đãi thuế.
  • ✓Khi bạn muốn biết giao dịch nào hiệu quả về thuế nhất.

Liên kết skill

https://github.com/AI4Finance-Foundation/FinRobot/blob/master/finrobot_desktop/skills/wealth-management/portfolio-rebalance/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/AI4Finance-Foundation/FinRobot/blob/master/finrobot_desktop/skills/wealth-management/portfolio-rebalance/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Danh mục của tôi đã lệch khỏi tỷ trọng mục tiêu. Cho tôi xem các giao dịch đưa nó về và ghi chú tác động thuế.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent so sánh nắm giữ hiện tại với phân bổ mục tiêu, đánh dấu các vị thế nằm ngoài biên cho phép, rồi đề xuất giao dịch. Nó ưu tiên tài khoản có ưu đãi thuế trước và cố tránh bán lỗ tốn kém trong tài khoản chịu thuế.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Portfolio Rebalance

description: Analyze portfolio allocation drift and generate rebalancing trade recommendations across accounts. Considers tax implications, transaction costs, and wash sale rules. Triggers on "rebalance", "portfolio drift", "allocation check", "rebalancing trades", or "my portfolio is out of balance".

Workflow

Step 1: Current State

For each account, capture:

  • Account type (taxable, IRA, Roth, 401k)
  • Holdings with current market value
  • Cost basis (for taxable accounts)
  • Unrealized gains/losses per position

Step 2: Drift Analysis

Compare current allocation to IPS targets:

Asset Class Target % Current % Drift $ Over/Under
US Large Cap Equity
US Small/Mid Cap
International Developed
Emerging Markets
Investment Grade Bonds
High Yield / Credit
TIPS / Inflation Protected
Alternatives
Cash

Flag positions exceeding the rebalancing band (typically ±3-5%).

Step 3: Trade Recommendations

Generate trades to bring allocation back to target:

Tax-Aware Rebalancing Rules:

  • Prefer rebalancing in tax-advantaged accounts (IRA, Roth) first — no tax consequences
  • In taxable accounts, avoid selling positions with large short-term gains
  • Harvest losses where possible while rebalancing
  • Watch for wash sale rules (30-day window) across all accounts
  • Consider directing new contributions to underweight asset classes instead of trading

Trade List:

Account Action Security Shares/$ Reason Tax Impact
Buy/Sell Rebalance / TLH ST gain / LT gain / Loss

Step 4: Asset Location Review

Optimize which assets are held in which account types:

  • Tax-deferred (IRA/401k): Bonds, REITs, high-turnover funds (highest tax drag)
  • Roth: Highest expected growth assets (tax-free growth)
  • Taxable: Tax-efficient equity (index funds, ETFs, munis), tax-loss harvesting candidates

Step 5: Implementation

  • Total trades by account
  • Estimated transaction costs
  • Estimated tax impact (realized gains/losses)
  • Net effect on allocation drift

Step 6: Output

  • Drift analysis table
  • Recommended trade list (Excel)
  • Tax impact summary
  • Before/after allocation comparison

Important Notes

  • Don't rebalance for rebalancing's sake — small drift within bands is fine
  • Tax costs can outweigh rebalancing benefits in taxable accounts — calculate the breakeven
  • Consider pending cash flows (contributions, withdrawals, RMDs) before trading
  • Check for any client-specific restrictions (ESG, concentrated stock, lockups)
  • Document rationale for every trade for compliance records
  • Wash sale rules apply across accounts — coordinate trades across the household
Câu hỏi thường gặp

Biên cân bằng lại là gì?

Đó là khoảng cho phép quanh mỗi mục tiêu, chẳng hạn cộng trừ ba đến năm phần trăm.

Nó có cân nhắc quy tắc wash sale không?

Có. Skill đưa quy tắc wash sale vào các khuyến nghị giao dịch.

Nó có tự đặt lệnh giao dịch không?

Không. Nó khuyến nghị giao dịch, còn bạn quyết định làm gì.

Chi tiết

Mô tả gốc của tác giả

Analyze portfolio allocation drift and generate rebalancing trade recommendations across accounts. Considers tax implications, transaction costs, and wash sale rules. Triggers on "rebalance", "portfolio drift", "allocation check", "rebalancing trades", or "my portfolio is out of balance".

repo: AI4Finance-Foundation/FinRobot

Độ phổ biến

Sao GitHub
8.4k
Vị trí xếp hạng
#12463
Giấy phép
Apache-2.0
Cập nhật
24/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự