Package org.drip.execution.discrete
Class Slice
java.lang.Object
org.drip.execution.discrete.Slice
- All Implemented Interfaces:
ControlNodesGreekGenerator
public class Slice extends java.lang.Object implements ControlNodesGreekGenerator
Slice implements the Arithmetic Dynamics of the Price/Cost Movements exhibited by an Asset owing to
the Volatility and the Market Impact Factors on a Trajectory Slice. The References are:
- Almgren, R., and N. Chriss (1999): Value under Liquidation Risk 12 (12)
- Almgren, R., and N. Chriss (2000): Optimal Execution of Portfolio Transactions Journal of Risk 3 (2) 5-39
- Bertsimas, D., and A. W. Lo (1998): Optimal Control of Execution Costs Journal of Financial Markets 1 1-50
- Chan, L. K. C., and J. Lakonishak (1995): The Behavior of Stock Prices around Institutional Trades Journal of Finance 50 1147-1174
- Keim, D. B., and A. Madhavan (1997): Transaction Costs and Investment Style: An Inter-exchange Analysis of Institutional Equity Trades Journal of Financial Economics 46 265-292
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description Slice(double dblLeftHoldings, double dblRightHoldings, double dblTimeInterval)Slice Constructor -
Method Summary
Modifier and Type Method Description ShortfallIncrementDistributioncostIncrementDistribution(ArithmeticPriceEvolutionParameters apep)Generate the R^1 Normal Cost Increment DistributionShortfallIncrementcostIncrementRealization(double dblPreviousEquilibriumPrice, WalkSuite ws, ArithmeticPriceEvolutionParameters apep)Generate the Cost Evolution Increment Unit Realization given the Walk RealizationControlNodesGreekexpectationContribution(ArithmeticPriceEvolutionParameters apep)Generate the Total Expectation ContributionbooleanisSell()Indicate if the Slice is a SelldoubleleftHoldings()Retrieve the Left-of-Slice HoldingsControlNodesGreekmarketDynamicsExpectation(ArithmeticPriceEvolutionParameters apep)Generate the Market Dynamics Expectation ContributionControlNodesGreekmarketDynamicsVariance(ArithmeticPriceEvolutionParameters apep)Generate the Market Dynamics Variance ContributionControlNodesGreekpermanentImpactExpectation(ArithmeticPriceEvolutionParameters apep)Generate the Permanent Impact Expectation ContributionControlNodesGreekpermanentImpactVariance(ArithmeticPriceEvolutionParameters apep)Generate the Permanent Impact Variance ContributionPriceIncrementpriceIncrementRealization(double dblPreviousEquilibriumPrice, WalkSuite ws, ArithmeticPriceEvolutionParameters apep)Generate the Price Evolution Increment Unit Realization given the Walk RealizationdoublerightHoldings()Retrieve the Right HoldingsOptimalSerialCorrelationAdjustmentserialCorrelationAdjustment(ArithmeticPriceEvolutionParameters apep)Estimate the Optimal Adjustment Attributable to the Serial CorrelationControlNodesGreektemporaryImpactExpectation(ArithmeticPriceEvolutionParameters apep)Generate the Temporary Impact Expectation ContributionControlNodesGreektemporaryImpactVariance(ArithmeticPriceEvolutionParameters apep)Generate the Temporary Impact Variance ContributiondoubletimeInterval()Retrieve the Evolution Time Interval of the Arithmetic DynamicsControlNodesGreekvarianceContribution(ArithmeticPriceEvolutionParameters apep)Generate the Total Variance ContributionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Slice
public Slice(double dblLeftHoldings, double dblRightHoldings, double dblTimeInterval) throws java.lang.ExceptionSlice Constructor- Parameters:
dblLeftHoldings- The Left-of-Slice HoldingsdblRightHoldings- The Right-of-Slice HoldingsdblTimeInterval- The Discrete Time Interval- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
leftHoldings
public double leftHoldings()Retrieve the Left-of-Slice Holdings- Returns:
- The Left-of-Slice Holdings
-
rightHoldings
public double rightHoldings()Retrieve the Right Holdings- Returns:
- The Right Holdings
-
timeInterval
public double timeInterval()Retrieve the Evolution Time Interval of the Arithmetic Dynamics- Returns:
- The Evolution Time Interval of the Arithmetic Dynamics
-
isSell
public boolean isSell()Indicate if the Slice is a Sell- Returns:
- TRUE - The Slice is a Sell
-
priceIncrementRealization
public PriceIncrement priceIncrementRealization(double dblPreviousEquilibriumPrice, WalkSuite ws, ArithmeticPriceEvolutionParameters apep)Generate the Price Evolution Increment Unit Realization given the Walk Realization- Parameters:
dblPreviousEquilibriumPrice- The Previous Equilibrium Pricews- Realized Walk Suiteapep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Realized Price Evolution Increment Unit given the Walk Realization
-
costIncrementRealization
public ShortfallIncrement costIncrementRealization(double dblPreviousEquilibriumPrice, WalkSuite ws, ArithmeticPriceEvolutionParameters apep)Generate the Cost Evolution Increment Unit Realization given the Walk Realization- Parameters:
dblPreviousEquilibriumPrice- The Previous Equilibrium Pricews- Realized Walk Suiteapep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Cost Evolution Increment Unit Realization given the Walk Realization
-
costIncrementDistribution
public ShortfallIncrementDistribution costIncrementDistribution(ArithmeticPriceEvolutionParameters apep)Generate the R^1 Normal Cost Increment Distribution- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The R^1 Normal Cost Increment Distribution
-
permanentImpactExpectation
Description copied from interface:ControlNodesGreekGeneratorGenerate the Permanent Impact Expectation Contribution- Specified by:
permanentImpactExpectationin interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Permanent Impact Expectation Contribution
-
permanentImpactVariance
Description copied from interface:ControlNodesGreekGeneratorGenerate the Permanent Impact Variance Contribution- Specified by:
permanentImpactVariancein interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Permanent Impact Variance Contribution
-
temporaryImpactExpectation
Description copied from interface:ControlNodesGreekGeneratorGenerate the Temporary Impact Expectation Contribution- Specified by:
temporaryImpactExpectationin interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Temporary Impact Expectation Contribution
-
temporaryImpactVariance
Description copied from interface:ControlNodesGreekGeneratorGenerate the Temporary Impact Variance Contribution- Specified by:
temporaryImpactVariancein interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Temporary Impact Variance Contribution
-
marketDynamicsExpectation
Description copied from interface:ControlNodesGreekGeneratorGenerate the Market Dynamics Expectation Contribution- Specified by:
marketDynamicsExpectationin interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Market Dynamics Expectation Contribution
-
marketDynamicsVariance
Description copied from interface:ControlNodesGreekGeneratorGenerate the Market Dynamics Variance Contribution- Specified by:
marketDynamicsVariancein interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Market Dynamics Variance Contribution
-
expectationContribution
Description copied from interface:ControlNodesGreekGeneratorGenerate the Total Expectation Contribution- Specified by:
expectationContributionin interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Total Expectation Contribution
-
varianceContribution
Description copied from interface:ControlNodesGreekGeneratorGenerate the Total Variance Contribution- Specified by:
varianceContributionin interfaceControlNodesGreekGenerator- Parameters:
apep- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Total Variance Contribution
-
serialCorrelationAdjustment
public OptimalSerialCorrelationAdjustment serialCorrelationAdjustment(ArithmeticPriceEvolutionParameters apep)Estimate the Optimal Adjustment Attributable to the Serial Correlation- Parameters:
apep- The Arithmetic Price Walk Parameters- Returns:
- The Optimal Adjustment Attributable to the Serial Correlation
-