- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.AndreasenHugeVolatilityInterpl
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class AndreasenHugeVolatilityInterpl extends Observable implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndreasenHugeVolatilityInterpl.CalibrationTypestatic classAndreasenHugeVolatilityInterpl.InterpolationType
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CalibrationErrorTuplecalibrationError()voiddelete()protected voidfinalize()doublefwd(double t)protected static longgetCPtr(AndreasenHugeVolatilityInterpl obj)doublelocalVol(double t, double strike)DatemaxDate()doublemaxStrike()doubleminStrike()doubleoptionPrice(double t, double strike, Option.Type optionType)YieldTermStructureHandleriskFreeRate()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
AndreasenHugeVolatilityInterpl
protected AndreasenHugeVolatilityInterpl(long cPtr, boolean cMemoryOwn)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType, long nGridPoints, double minStrike, double maxStrike, OptimizationMethod optimizationMethod, EndCriteria endCriteria)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType, long nGridPoints, double minStrike, double maxStrike, OptimizationMethod optimizationMethod)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType, long nGridPoints, double minStrike, double maxStrike)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType, long nGridPoints, double minStrike)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType, long nGridPoints)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType)
-
AndreasenHugeVolatilityInterpl
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(AndreasenHugeVolatilityInterpl obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classObservable
-
finalize
protected void finalize()
- Overrides:
finalizein classObservable
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classObservable
-
minStrike
public double minStrike()
-
maxStrike
public double maxStrike()
-
fwd
public double fwd(double t)
-
riskFreeRate
public YieldTermStructureHandle riskFreeRate()
-
calibrationError
public CalibrationErrorTuple calibrationError()
-
optionPrice
public double optionPrice(double t, double strike, Option.Type optionType)
-
localVol
public double localVol(double t, double strike)
-
-