Spaces:
Running
on
Zero
Running
on
Zero
| """Tax calculation and optimisation module. | |
| This module provides comprehensive tax impact analysis for portfolio operations including: | |
| - Capital gains calculations with multiple cost basis methods | |
| - Wash sale detection | |
| - Tax-loss harvesting opportunity identification | |
| - Tax-optimised rebalancing | |
| All tax calculations use 2024-2025 US federal tax rates. | |
| DISCLAIMER: This module is for informational purposes only and does not constitute | |
| tax advice. Users should consult qualified tax professionals before making investment decisions. | |
| """ | |
| from backend.tax.models import ( | |
| TaxFilingStatus, | |
| CostBasisMethod, | |
| TransactionType, | |
| Transaction, | |
| TaxLot, | |
| CapitalGain, | |
| WashSale, | |
| TaxBracket, | |
| TaxImpactSummary, | |
| TaxLossHarvestingOpportunity, | |
| TaxOptimizedSale, | |
| PortfolioTaxAnalysis, | |
| ) | |
| from backend.tax.calculator import TaxCalculator | |
| from backend.tax.optimizer import TaxOptimizer | |
| __all__ = [ | |
| "TaxFilingStatus", | |
| "CostBasisMethod", | |
| "TransactionType", | |
| "Transaction", | |
| "TaxLot", | |
| "CapitalGain", | |
| "WashSale", | |
| "TaxBracket", | |
| "TaxImpactSummary", | |
| "TaxLossHarvestingOpportunity", | |
| "TaxOptimizedSale", | |
| "PortfolioTaxAnalysis", | |
| "TaxCalculator", | |
| "TaxOptimizer", | |
| ] | |