Class TaxAccountingScheme
java.lang.Object
org.drip.portfolioconstruction.core.Block
org.drip.portfolioconstruction.core.TaxAccountingScheme
public class TaxAccountingScheme extends Block
TaxAccountingScheme contains the Attributes for the specified Tax Accounting Scheme.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = Core Portfolio Construction Component Suite
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description TaxAccountingScheme(java.lang.String name, java.lang.String id, java.lang.String description, double shortTermTaxRate, double longTermTaxRate, int shortTermDays, int washDays)
TaxAccountingScheme Constructor -
Method Summary
Modifier and Type Method Description double
longTermTaxRate()
Retrieve the Long Term Tax Rateint
shortTermDays()
Retrieve the Short Term Daysdouble
shortTermTaxRate()
Retrieve the Short Term Tax Rateint
washDays()
Retrieve the Wash DaysMethods inherited from class org.drip.portfolioconstruction.core.Block
category, description, hashCode, id, name, Standard, timeStamp
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TaxAccountingScheme
public TaxAccountingScheme(java.lang.String name, java.lang.String id, java.lang.String description, double shortTermTaxRate, double longTermTaxRate, int shortTermDays, int washDays) throws java.lang.ExceptionTaxAccountingScheme Constructor- Parameters:
name
- The Nameid
- The IDdescription
- The DescriptionshortTermTaxRate
- Short Term Tax RatelongTermTaxRate
- Long Term Tax RateshortTermDays
- Short Term DayswashDays
- Wash Days- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
shortTermTaxRate
public double shortTermTaxRate()Retrieve the Short Term Tax Rate- Returns:
- The Short Term Tax Rate
-
longTermTaxRate
public double longTermTaxRate()Retrieve the Long Term Tax Rate- Returns:
- The Long Term Tax Rate
-
shortTermDays
public int shortTermDays()Retrieve the Short Term Days- Returns:
- The Short Term Days
-
washDays
public int washDays()Retrieve the Wash Days- Returns:
- The Wash Days
-