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 ShortfallIncrementDistribution
costIncrementDistribution(ArithmeticPriceEvolutionParameters apep)
Generate the R^1 Normal Cost Increment DistributionShortfallIncrement
costIncrementRealization(double dblPreviousEquilibriumPrice, WalkSuite ws, ArithmeticPriceEvolutionParameters apep)
Generate the Cost Evolution Increment Unit Realization given the Walk RealizationControlNodesGreek
expectationContribution(ArithmeticPriceEvolutionParameters apep)
Generate the Total Expectation Contributionboolean
isSell()
Indicate if the Slice is a Selldouble
leftHoldings()
Retrieve the Left-of-Slice HoldingsControlNodesGreek
marketDynamicsExpectation(ArithmeticPriceEvolutionParameters apep)
Generate the Market Dynamics Expectation ContributionControlNodesGreek
marketDynamicsVariance(ArithmeticPriceEvolutionParameters apep)
Generate the Market Dynamics Variance ContributionControlNodesGreek
permanentImpactExpectation(ArithmeticPriceEvolutionParameters apep)
Generate the Permanent Impact Expectation ContributionControlNodesGreek
permanentImpactVariance(ArithmeticPriceEvolutionParameters apep)
Generate the Permanent Impact Variance ContributionPriceIncrement
priceIncrementRealization(double dblPreviousEquilibriumPrice, WalkSuite ws, ArithmeticPriceEvolutionParameters apep)
Generate the Price Evolution Increment Unit Realization given the Walk Realizationdouble
rightHoldings()
Retrieve the Right HoldingsOptimalSerialCorrelationAdjustment
serialCorrelationAdjustment(ArithmeticPriceEvolutionParameters apep)
Estimate the Optimal Adjustment Attributable to the Serial CorrelationControlNodesGreek
temporaryImpactExpectation(ArithmeticPriceEvolutionParameters apep)
Generate the Temporary Impact Expectation ContributionControlNodesGreek
temporaryImpactVariance(ArithmeticPriceEvolutionParameters apep)
Generate the Temporary Impact Variance Contributiondouble
timeInterval()
Retrieve the Evolution Time Interval of the Arithmetic DynamicsControlNodesGreek
varianceContribution(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:ControlNodesGreekGenerator
Generate the Permanent Impact Expectation Contribution- Specified by:
permanentImpactExpectation
in interfaceControlNodesGreekGenerator
- Parameters:
apep
- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Permanent Impact Expectation Contribution
-
permanentImpactVariance
Description copied from interface:ControlNodesGreekGenerator
Generate the Permanent Impact Variance Contribution- Specified by:
permanentImpactVariance
in interfaceControlNodesGreekGenerator
- Parameters:
apep
- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Permanent Impact Variance Contribution
-
temporaryImpactExpectation
Description copied from interface:ControlNodesGreekGenerator
Generate the Temporary Impact Expectation Contribution- Specified by:
temporaryImpactExpectation
in interfaceControlNodesGreekGenerator
- Parameters:
apep
- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Temporary Impact Expectation Contribution
-
temporaryImpactVariance
Description copied from interface:ControlNodesGreekGenerator
Generate the Temporary Impact Variance Contribution- Specified by:
temporaryImpactVariance
in interfaceControlNodesGreekGenerator
- Parameters:
apep
- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Temporary Impact Variance Contribution
-
marketDynamicsExpectation
Description copied from interface:ControlNodesGreekGenerator
Generate the Market Dynamics Expectation Contribution- Specified by:
marketDynamicsExpectation
in interfaceControlNodesGreekGenerator
- Parameters:
apep
- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Market Dynamics Expectation Contribution
-
marketDynamicsVariance
Description copied from interface:ControlNodesGreekGenerator
Generate the Market Dynamics Variance Contribution- Specified by:
marketDynamicsVariance
in interfaceControlNodesGreekGenerator
- Parameters:
apep
- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Market Dynamics Variance Contribution
-
expectationContribution
Description copied from interface:ControlNodesGreekGenerator
Generate the Total Expectation Contribution- Specified by:
expectationContribution
in interfaceControlNodesGreekGenerator
- Parameters:
apep
- The Arithmetic Price Walk Evolution Parameters- Returns:
- The Total Expectation Contribution
-
varianceContribution
Description copied from interface:ControlNodesGreekGenerator
Generate the Total Variance Contribution- Specified by:
varianceContribution
in 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
-