AdvancedClaudeChatGPTGemini

Tax-Loss Harvesting Analyzer

ماذا يفعل هذا الأمر؟

يستخدم المستثمرون من أصحاب الثروات العالية ومديرو المحافظ المستقلون هذا الموجه في أكتوبر أو نوفمبر — قبل نهاية العام — لتحديد المراكز الخاسرة المناسبة للحصاد، وحساب المدخرات الضريبية الدقيقة، والتخطيط لعمليات إعادة الشراء لتجنب نافذة 30 يوماً لقاعدة الغسيل.

الأوامر

You are a senior tax strategist and portfolio analyst with expertise in investment taxation and tax-loss harvesting. Your task is to analyze the taxable investment portfolio below, identify positions suitable for tax-loss harvesting, quantify the tax benefit, and flag wash sale risks.

Investor profile:
- Filing status: [FILING STATUS]
- Estimated marginal ordinary income tax rate: [ORDINARY TAX RATE]
- Long-term capital gains tax rate: [LTCG RATE]
- State income tax rate: [STATE RATE]
- Tax year: [TAX YEAR]
- Realized gains so far this year: [YTD REALIZED GAINS] (long-term: [LT GAINS], short-term: [ST GAINS])

Portfolio positions (provide ticker/asset, cost basis, current value, holding period, and lot date for each):
[PORTFOLIO POSITIONS]

Using this data, deliver a complete tax-loss harvesting analysis:

1. **Unrealized Loss Inventory**
   - List all positions with unrealized losses, sorted by loss magnitude
   - Separate short-term losses (held ≤1 year) from long-term losses (held >1 year)
   - Calculate the loss amount and percentage decline for each position

2. **Tax Savings Calculation**
   - Apply the investor's marginal rates to project tax savings from harvesting each position
   - Show net after-state-tax savings
   - Prioritize short-term losses (taxed at ordinary rates) over long-term losses where applicable

3. **Wash Sale Risk Assessment**
   - Flag any positions where repurchase of the same or substantially identical security within 30 days before or after the sale would trigger IRS wash sale rules (IRC §1091)
   - Identify whether the investor currently holds any substantially identical positions in IRAs or other accounts that could inadvertently trigger a wash sale

4. **Replacement Security Suggestions**
   - For each harvested position, suggest 2–3 replacement securities or ETFs that maintain similar market exposure without triggering wash sale rules
   - Note the tracking difference and correlation of each suggested replacement

5. **Harvesting Priority Ranking**
   - Rank positions by harvesting priority based on: loss size, tax rate benefit, and wash sale risk
   - Recommend which positions to harvest immediately vs. monitor

6. **Net Portfolio Impact**
   - Show how harvested losses offset existing realized gains
   - Calculate any remaining capital loss carryforward to future years (up to $3,000/year deduction against ordinary income)

Format results as a prioritized action table followed by a summary narrative. Include a disclaimer that this is not investment or tax advice.

متغيرات الأمر

استبدل كل عنصر نائب بمعلوماتك الخاصة:

[FILING STATUS]
[ORDINARY TAX RATE]
[LTCG RATE]
[STATE RATE]
[TAX YEAR]
[YTD REALIZED GAINS]
[LT GAINS]
[ST GAINS]
[PORTFOLIO POSITIONS]

ما ستحصل عليه

جدول إجراءات حصاد مرتب حسب الأولوية يُظهر لكل مركز مرشح: مبلغ الخسارة، والمدخرات الضريبية المقدرة، وعلامة مخاطر قاعدة الغسيل، والأوراق المالية البديلة المقترحة — يليه ملخص لتأثير صافي المحفظة بما في ذلك ترحيل خسائر رأس المال.

💡 نصيحة خبير

أدرج جميع الحسابات — وساطة خاضعة للضريبة، وIRA، و401(k) — في تحليل قاعدة الغسيل. إعادة شراء مركز مُباع داخل IRA خلال 30 يوماً لا تزال تُفعّل قاعدة الغسيل وتلغي الخسارة.

أدوات الذكاء الاصطناعي المتوافقة

Claude

Best for structured multi-step analysis with detailed wash sale rule explanations. Use a Project to store the portfolio baseline and update it throughout the year as market conditions change.

ChatGPT

Use GPT-4o with Code Interpreter to run the actual tax savings calculations and sort positions by harvesting priority. Can also generate charts showing loss magnitude by position.

Gemini

Useful for identifying current replacement ETF options with live market data. Gemini can search for funds with high correlation to the harvested position to minimize tracking error during the wash sale window.

Perplexity

Ideal for researching the latest IRS wash sale rule interpretations and finding real-time replacement security options. Use it to verify that a proposed replacement ETF is not considered substantially identical to the sold position.

موارد ذات صلة

calculatorTax Calculator
← العودة إلى أوامر الذكاء الاصطناعي