Interface TaxationScheme
public interface TaxationScheme
TaxationScheme exposes Taxation related Functionality.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = Portfolio Construction Objective Term Suite
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description doublecustomGrossTaxGain(double[] initialHoldingsArray, double[] finalHoldingsArray)Compute the Custom Gross Tax GaindoublecustomGrossTaxLoss(double[] initialHoldingsArray, double[] finalHoldingsArray)Compute the Custom Gross Tax LossdoublecustomNetTaxGain(double[] initialHoldingsArray, double[] finalHoldingsArray)Compute the Custom Net Tax GaindoublecustomNetTaxLoss(double[] initialHoldingsArray, double[] finalHoldingsArray)Compute the Custom Net Tax LossdoublelongTermTaxGain(double[] initialHoldingsArray, double[] finalHoldingsArray)Compute the Long Term Tax GaindoublestandardNetTaxGainUS(double[] initialHoldingsArray, double[] finalHoldingsArray)Compute the Standard Net US Tax GaindoubletaxLiability(double[] initialHoldingsArray, double[] finalHoldingsArray)Compute the Tax Liability
-
Method Details
-
standardNetTaxGainUS
double standardNetTaxGainUS(double[] initialHoldingsArray, double[] finalHoldingsArray) throws java.lang.ExceptionCompute the Standard Net US Tax Gain- Parameters:
initialHoldingsArray- The Initial Holdings ArrayfinalHoldingsArray- The Final Holdings Array- Returns:
- The Net Standard US Tax Gain
- Throws:
java.lang.Exception- Thrown if the Standard Net Tax Gain cannot be calculated
-
customNetTaxGain
double customNetTaxGain(double[] initialHoldingsArray, double[] finalHoldingsArray) throws java.lang.ExceptionCompute the Custom Net Tax Gain- Parameters:
initialHoldingsArray- The Initial Holdings ArrayfinalHoldingsArray- The Final Holdings Array- Returns:
- The Custom Net Tax Gain
- Throws:
java.lang.Exception- Thrown if the Custom Net Tax Gain cannot be calculated
-
customGrossTaxGain
double customGrossTaxGain(double[] initialHoldingsArray, double[] finalHoldingsArray) throws java.lang.ExceptionCompute the Custom Gross Tax Gain- Parameters:
initialHoldingsArray- The Initial Holdings ArrayfinalHoldingsArray- The Final Holdings Array- Returns:
- The Custom Net Tax Gain
- Throws:
java.lang.Exception- Thrown if the Custom Gross Tax Gain cannot be calculated
-
customNetTaxLoss
double customNetTaxLoss(double[] initialHoldingsArray, double[] finalHoldingsArray) throws java.lang.ExceptionCompute the Custom Net Tax Loss- Parameters:
initialHoldingsArray- The Initial Holdings ArrayfinalHoldingsArray- The Final Holdings Array- Returns:
- The Custom Net Tax Loss
- Throws:
java.lang.Exception- Thrown if the Custom Net Tax Loss cannot be calculated
-
customGrossTaxLoss
double customGrossTaxLoss(double[] initialHoldingsArray, double[] finalHoldingsArray) throws java.lang.ExceptionCompute the Custom Gross Tax Loss- Parameters:
initialHoldingsArray- The Initial Holdings ArrayfinalHoldingsArray- The Final Holdings Array- Returns:
- The Custom Net Tax Loss
- Throws:
java.lang.Exception- Thrown if the Custom Gross Tax Loss cannot be calculated
-
longTermTaxGain
double longTermTaxGain(double[] initialHoldingsArray, double[] finalHoldingsArray) throws java.lang.ExceptionCompute the Long Term Tax Gain- Parameters:
initialHoldingsArray- The Initial Holdings ArrayfinalHoldingsArray- The Final Holdings Array- Returns:
- The Long Term Tax Gain
- Throws:
java.lang.Exception- Thrown if the Long Term Tax Gain cannot be calculated
-
taxLiability
double taxLiability(double[] initialHoldingsArray, double[] finalHoldingsArray) throws java.lang.ExceptionCompute the Tax Liability- Parameters:
initialHoldingsArray- The Initial Holdings ArrayfinalHoldingsArray- The Final Holdings Array- Returns:
- The Tax Liability
- Throws:
java.lang.Exception- Thrown if the Custom Net Tax Gain cannot be calculated
-