Class ConditionalPriceDistribution

java.lang.Object
org.drip.measure.continuous.R1Univariate
org.drip.measure.gaussian.R1UnivariateNormal
org.drip.execution.bayesian.ConditionalPriceDistribution

public class ConditionalPriceDistribution
extends R1UnivariateNormal
ConditionalPriceDistribution holds the Price Distribution Conditional on a given Drift. The References are:

  • Bertsimas, D., and A. W. Lo (1998): Optimal Control of Execution Costs Journal of Financial Markets 1 1-50
  • Almgren, R., and N. Chriss (2000): Optimal Execution of Portfolio Transactions Journal of Risk 3 (2) 5-39
  • Brunnermeier, L. K., and L. H. Pedersen (2005): Predatory Trading Journal of Finance 60 (4) 1825-1863
  • Almgren, R., and J. Lorenz (2006): Bayesian Adaptive Trading with a Daily Cycle Journal of Trading 1 (4) 38-46
  • Kissell, R., and R. Malamut (2007): Algorithmic Decision Making Framework Journal of Trading 1 (1) 12-21


Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • ConditionalPriceDistribution

      public ConditionalPriceDistribution​(double dblConditionalDrift, double dblPriceVolatility, double dblTime) throws java.lang.Exception
      ConditionalPriceDistribution Constructor
      Parameters:
      dblConditionalDrift - The Conditional Drift
      dblPriceVolatility - The Price Volatility
      dblTime - The Distribution Time Horizon
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • time

      public double time()
      Retrieve the Distribution Time Horizon
      Returns:
      The Distribution Time Horizon
    • priceVolatility

      public double priceVolatility()
      Retrieve the Distribution Price Volatility
      Returns:
      The Distribution Price Volatility
    • conditionalDrift

      public double conditionalDrift()
      Retrieve the Distribution Conditional Drift
      Returns:
      The Distribution Conditional Drift
    • priceVolatilitySwing

      public double priceVolatilitySwing() throws java.lang.Exception
      Generate s Single Price Volatility Swings
      Returns:
      The Price Volatility Swings
      Throws:
      java.lang.Exception - Thrown if the Swing cannot be generated
    • priceVolatilitySwings

      public double[] priceVolatilitySwings​(int iNumRealization)
      Generate the given Number of Price Volatility Swings
      Parameters:
      iNumRealization - The Number of Swings to be generated
      Returns:
      Array of the Price Volatility Swings