Package org.drip.measure.process
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
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd Continuous/Discrete Probability Measures
- Package = Jump Diffusion Evolver Process Variants
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description OrnsteinUhlenbeckPair(DiffusionEvaluatorOrnsteinUhlenbeck deouReference, DiffusionEvaluatorOrnsteinUhlenbeck deouDerived, double dblCorrelation)
OrnsteinUhlenbeckPair Constructor -
Method Summary
Modifier and Type Method Description double
correlation()
Retrieve the Correlation between the Ornstein-Uhlenbeck ProcessesDiffusionEvaluatorOrnsteinUhlenbeck
derived()
Retrieve the Derived R^1 Ornstein-Uhlenbeck EvaluatorJumpDiffusionEdge[]
increment(double[] adblVariatePair, double[] adblDiffusionPair, double dblTimeIncrement)
Generate the Adjacent JumpDiffusionEdge Increment Array from the specified Ornstein Uhlenbeck Random Variate PairDiffusionEvaluatorOrnsteinUhlenbeck
reference()
Retrieve the Reference R^1 Ornstein-Uhlenbeck Evaluatordouble
referenceBurstiness()
Retrieve the Reference Burstiness Scaledouble
referenceMeanReversionLevel()
Retrieve the Reference Mean Reversion Level Scaledouble
referenceRelaxationTime()
Retrieve the Reference Relaxation Time ScaleJumpDiffusionEdge[]
weinerIncrement(double[] adblVariatePair, double dblTimeIncrement)
Generate the Weiner Based JumpDiffusionEdge Increment Sequence from the Current Ornstein Uhlenbeck Random VariateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OrnsteinUhlenbeckPair
public OrnsteinUhlenbeckPair(DiffusionEvaluatorOrnsteinUhlenbeck deouReference, DiffusionEvaluatorOrnsteinUhlenbeck deouDerived, double dblCorrelation) throws java.lang.ExceptionOrnsteinUhlenbeckPair Constructor- Parameters:
deouReference
- The Reference R^1 Ornstein-Uhlenbeck EvaluatordeouDerived
- The Derived R^1 Ornstein-Uhlenbeck EvaluatordblCorrelation
- 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 VariatesadblDiffusionPair
- The Pair of Diffusion RealizationsdblTimeIncrement
- The Time Increment Evolution Unit- Returns:
- The Adjacent JumpDiffusionEdge Increment Array
-
weinerIncrement
Generate the Weiner Based JumpDiffusionEdge Increment Sequence from the Current Ornstein Uhlenbeck Random Variate- Parameters:
adblVariatePair
- The Ornstein Uhlenbeck Random Variate PairdblTimeIncrement
- 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 interfaceOrnsteinUhlenbeck
- Returns:
- The Reference Relaxation Time Scale
-
referenceBurstiness
public double referenceBurstiness()Description copied from interface:OrnsteinUhlenbeck
Retrieve the Reference Burstiness Scale- Specified by:
referenceBurstiness
in interfaceOrnsteinUhlenbeck
- 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 interfaceOrnsteinUhlenbeck
- Returns:
- The Reference Mean Reversion Level Scale
-