- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.SmileSection
-
- org.quantlib.SviInterpolatedSmileSection
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class SviInterpolatedSmileSection extends SmileSection implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSviInterpolatedSmileSection(long cPtr, boolean cMemoryOwn)SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed)SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted)SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted, EndCriteria endCriteria)SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method)SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method, DayCounter dc)SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed)SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted)SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted, EndCriteria endCriteria)SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method)SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method, DayCounter dc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublea()doubleb()voiddelete()EndCriteria.TypeendCriteria()protected voidfinalize()protected static longgetCPtr(SviInterpolatedSmileSection obj)doublem()doublemaxError()doublerho()doublermsError()doublesigma()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.SmileSection
atmLevel, dayCounter, density, density, density, digitalOptionPrice, digitalOptionPrice, digitalOptionPrice, digitalOptionPrice, exerciseDate, exerciseTime, getCPtr, maxStrike, minStrike, optionPrice, optionPrice, optionPrice, referenceDate, shift, variance, vega, vega, volatility, volatility, volatility, volatilityType
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
SviInterpolatedSmileSection
protected SviInterpolatedSmileSection(long cPtr, boolean cMemoryOwn)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method, DayCounter dc)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted, EndCriteria endCriteria)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed, boolean vegaWeighted)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, QuoteHandle forward, DoubleVector strikes, boolean hasFloatingStrikes, QuoteHandle atmVolatility, QuoteHandleVector volHandles, double a, double b, double sigma, double rho, double m, boolean aIsFixed, boolean bIsFixed, boolean sigmaIsFixed, boolean rhoIsFixed, boolean mIsFixed)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method, DayCounter dc)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted, EndCriteria endCriteria, OptimizationMethod method)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted, EndCriteria endCriteria)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed, boolean vegaWeighted)
-
SviInterpolatedSmileSection
public SviInterpolatedSmileSection(Date optionDate, double forward, DoubleVector strikes, boolean hasFloatingStrikes, double atmVolatility, DoubleVector vols, double a, double b, double sigma, double rho, double m, boolean isAFixed, boolean isBFixed, boolean isSigmaFixed, boolean isRhoFixed, boolean isMFixed)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(SviInterpolatedSmileSection obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classSmileSection
-
finalize
protected void finalize()
- Overrides:
finalizein classSmileSection
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classSmileSection
-
a
public double a()
-
b
public double b()
-
sigma
public double sigma()
-
rho
public double rho()
-
m
public double m()
-
rmsError
public double rmsError()
-
maxError
public double maxError()
-
endCriteria
public EndCriteria.Type endCriteria()
-
-