public class ArithmeticPriceDynamicsSettings
extends java.lang.Object
Constructor and Description |
---|
ArithmeticPriceDynamicsSettings(double dblDrift,
R1ToR1 r1ToR1Volatility,
double dblSerialCorrelation)
ArithmeticPriceDynamicsSettings Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
drift()
Retrieve the Asset Annual Logarithmic Drift
|
double |
epochVolatility()
Retrieve the Asset Annual Volatility
|
static ArithmeticPriceDynamicsSettings |
FromAnnualReturnsSettings(double dblAnnualReturnsExpectation,
double dblAnnualReturnsVolatility,
double dblSerialCorrelation,
double dblPrice)
Construct the Asset Dynamics Settings from the Annual Returns Parameters
|
double |
serialCorrelation()
Retrieve the Asset Serial Correlation
|
R1ToR1 |
volatilityFunction()
Retrieve the Asset Annual Volatility Function
|
public ArithmeticPriceDynamicsSettings(double dblDrift, R1ToR1 r1ToR1Volatility, double dblSerialCorrelation) throws java.lang.Exception
dblDrift
- The Asset Daily Arithmetic Driftr1ToR1Volatility
- The R^1 To R^1 Volatility FunctiondblSerialCorrelation
- The Asset Serial Correlationjava.lang.Exception
- Thrown if the Inputs are Invalidpublic static final ArithmeticPriceDynamicsSettings FromAnnualReturnsSettings(double dblAnnualReturnsExpectation, double dblAnnualReturnsVolatility, double dblSerialCorrelation, double dblPrice)
dblAnnualReturnsExpectation
- The Asset Annual Expected ReturnsdblAnnualReturnsVolatility
- The Asset Annual Returns VolatilitydblSerialCorrelation
- The Asset Serial CorrelationdblPrice
- The Asset Pricepublic double drift()
public double epochVolatility() throws java.lang.Exception
java.lang.Exception
- - Thrown if the Inputs are Invalidpublic R1ToR1 volatilityFunction()
public double serialCorrelation()