Class TransactionChargeMarketImpact
java.lang.Object
org.drip.portfolioconstruction.core.Block
org.drip.portfolioconstruction.cost.TransactionCharge
org.drip.portfolioconstruction.cost.TransactionChargeMarketImpact
public class TransactionChargeMarketImpact extends TransactionCharge
TransactionChargeMarketImpact contains the Parameters for the Power Law Transaction Charge Scheme.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = Transaction Charge Objective Term Suite
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description TransactionChargeMarketImpact(java.lang.String name, java.lang.String id, java.lang.String description, double coefficient, double exponent)
TransactionChargeMarketImpact Constructor -
Method Summary
Modifier and Type Method Description double
coefficient()
Retrieve the Transaction Charge Coefficientdouble
estimate(double initialSize, double finalSize)
Estimate the Transaction Charge for a Single Holdings Changedouble
exponent()
Retrieve the Transaction Charge Exponentstatic TransactionChargeMarketImpact
ThreeFifthsPowerLaw(java.lang.String name, java.lang.String id, java.lang.String description, double coefficient)
Construction of the Three-Fifth's Power Law TransactionChargeMarketImpact Instancestatic TransactionChargeMarketImpact
TwoThirdsPowerLaw(java.lang.String name, java.lang.String id, java.lang.String description, double coefficient)
Construction of the Two-Third's Power Law TransactionChargeMarketImpact InstanceMethods 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
-
TransactionChargeMarketImpact
public TransactionChargeMarketImpact(java.lang.String name, java.lang.String id, java.lang.String description, double coefficient, double exponent) throws java.lang.ExceptionTransactionChargeMarketImpact Constructor- Parameters:
name
- Transaction Charge Nameid
- Transaction Charge IDdescription
- Description of the Transaction Chargecoefficient
- Transaction Charge Coefficientexponent
- Transaction Charge Exponent- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
TwoThirdsPowerLaw
public static final TransactionChargeMarketImpact TwoThirdsPowerLaw(java.lang.String name, java.lang.String id, java.lang.String description, double coefficient)Construction of the Two-Third's Power Law TransactionChargeMarketImpact Instance- Parameters:
name
- Transaction Charge Nameid
- Transaction Charge IDdescription
- Description of the Transaction Chargecoefficient
- Transaction Charge Coefficient- Returns:
- The Two-Third's Power Law TransactionChargeMarketImpact Instance
-
ThreeFifthsPowerLaw
public static final TransactionChargeMarketImpact ThreeFifthsPowerLaw(java.lang.String name, java.lang.String id, java.lang.String description, double coefficient)Construction of the Three-Fifth's Power Law TransactionChargeMarketImpact Instance- Parameters:
name
- Transaction Charge Nameid
- Transaction Charge IDdescription
- Description of the Transaction Chargecoefficient
- Transaction Charge Coefficient- Returns:
- The Three-Fifth's Power Law TransactionChargeMarketImpact Instance
-
coefficient
public double coefficient()Retrieve the Transaction Charge Coefficient- Returns:
- The Transaction Charge Coefficient
-
exponent
public double exponent()Retrieve the Transaction Charge Exponent- Returns:
- The Transaction Charge Exponent
-
estimate
public double estimate(double initialSize, double finalSize) throws java.lang.ExceptionDescription copied from class:TransactionCharge
Estimate the Transaction Charge for a Single Holdings Change- Specified by:
estimate
in classTransactionCharge
- Parameters:
initialSize
- Initial SizefinalSize
- Final Size- Returns:
- The Transaction Charge Estimate
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-