Class OrnsteinUhlenbeckPair

java.lang.Object
org.drip.measure.process.OrnsteinUhlenbeckPair
All Implemented Interfaces:
OrnsteinUhlenbeck

public class OrnsteinUhlenbeckPair
extends java.lang.Object
implements OrnsteinUhlenbeck
OrnsteinUhlenbeckPair guides the Random Variable Evolution according to 2D Ornstein-Uhlenbeck Mean Reverting Process. The References are:

  • Almgren, R. F. (2009): Optimal Trading in a Dynamic Market https://www.math.nyu.edu/financial_mathematics/content/02_financial/2009-2.pdf
  • Almgren, R. F. (2012): Optimal Trading with Stochastic Liquidity and Volatility SIAM Journal of Financial Mathematics 3 (1) 163-181
  • Geman, H., D. B. Madan, and M. Yor (2001): Time Changes for Levy Processes Mathematical Finance 11 (1) 79-96
  • Jones, C. M., G. Kaul, and M. L. Lipson (1994): Transactions, Volume, and Volatility Review of Financial Studies 7 (4) 631-651
  • Walia, N. (2006): Optimal Trading - Dynamic Stock Liquidation Strategies Princeton University


Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • OrnsteinUhlenbeckPair

      public OrnsteinUhlenbeckPair​(DiffusionEvaluatorOrnsteinUhlenbeck deouReference, DiffusionEvaluatorOrnsteinUhlenbeck deouDerived, double dblCorrelation) throws java.lang.Exception
      OrnsteinUhlenbeckPair Constructor
      Parameters:
      deouReference - The Reference R^1 Ornstein-Uhlenbeck Evaluator
      deouDerived - The Derived R^1 Ornstein-Uhlenbeck Evaluator
      dblCorrelation - The Correlation between the Two Ornstein-Uhlenbeck Processes
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • reference

      Retrieve the Reference R^1 Ornstein-Uhlenbeck Evaluator
      Returns:
      The Reference R^1 Ornstein-Uhlenbeck Evaluator
    • derived

      Retrieve the Derived R^1 Ornstein-Uhlenbeck Evaluator
      Returns:
      The Derived R^1 Ornstein-Uhlenbeck Evaluator
    • correlation

      public double correlation()
      Retrieve the Correlation between the Ornstein-Uhlenbeck Processes
      Returns:
      The Correlation between the Ornstein-Uhlenbeck Processes
    • increment

      public JumpDiffusionEdge[] increment​(double[] adblVariatePair, double[] adblDiffusionPair, double dblTimeIncrement)
      Generate the Adjacent JumpDiffusionEdge Increment Array from the specified Ornstein Uhlenbeck Random Variate Pair
      Parameters:
      adblVariatePair - The Pair of the Ornstein Uhlenbeck Random Variates
      adblDiffusionPair - The Pair of Diffusion Realizations
      dblTimeIncrement - The Time Increment Evolution Unit
      Returns:
      The Adjacent JumpDiffusionEdge Increment Array
    • weinerIncrement

      public JumpDiffusionEdge[] weinerIncrement​(double[] adblVariatePair, double dblTimeIncrement)
      Generate the Weiner Based JumpDiffusionEdge Increment Sequence from the Current Ornstein Uhlenbeck Random Variate
      Parameters:
      adblVariatePair - The Ornstein Uhlenbeck Random Variate Pair
      dblTimeIncrement - The Time Increment
      Returns:
      The Weiner Based JumpDiffusionEdge Increment Sequence from the Current Ornstein Uhlenbeck Random Variate
    • referenceRelaxationTime

      public double referenceRelaxationTime()
      Description copied from interface: OrnsteinUhlenbeck
      Retrieve the Reference Relaxation Time Scale
      Specified by:
      referenceRelaxationTime in interface OrnsteinUhlenbeck
      Returns:
      The Reference Relaxation Time Scale
    • referenceBurstiness

      public double referenceBurstiness()
      Description copied from interface: OrnsteinUhlenbeck
      Retrieve the Reference Burstiness Scale
      Specified by:
      referenceBurstiness in interface OrnsteinUhlenbeck
      Returns:
      The Reference Burstiness Scale
    • referenceMeanReversionLevel

      public double referenceMeanReversionLevel()
      Description copied from interface: OrnsteinUhlenbeck
      Retrieve the Reference Mean Reversion Level Scale
      Specified by:
      referenceMeanReversionLevel in interface OrnsteinUhlenbeck
      Returns:
      The Reference Mean Reversion Level Scale