public abstract class EuropeanOptionSmile extends Object implements SmileByIntegralTransform
| Constructor and Description |
|---|
EuropeanOptionSmile(double maturity,
double[] strikes) |
EuropeanOptionSmile(String underlyingName,
double maturity,
double[] strikes) |
| Modifier and Type | Method and Description |
|---|---|
Complex |
apply(Complex z) |
abstract EuropeanOptionSmile |
getCloneWithModifiedParameters(double maturity,
double[] strikes)
Returns the same valuation method for different parameters (maturity and strikes).
|
SingleAssetEuropeanOptionProductDescriptor |
getDescriptor(LocalDate referenceDate,
int index)
Return a product descriptor for a specific strike.
|
Map<Double,SingleAssetEuropeanOptionProductDescriptor> |
getDescriptors(LocalDate referenceDate)
Return a collection of product descriptors for each option in the smile.
|
double |
getIntegrationDomainImagLowerBound()
Return the lower bound of the imaginary part of the domain where
the characteristic function can be integrated.
|
double |
getIntegrationDomainImagUpperBound()
Return the upper bound of the imaginary part of the domain where
the characteristic function can be integrated.
|
double |
getMaturity()
Return the maturity of the associated payoff.
|
double[] |
getStrikes() |
String |
getUnderlyingName() |
abstract Map<String,Function<Double,Double>> |
getValue(double evaluationTime,
CharacteristicFunctionModel model)
Return the value of a family of options with the same maturity for different strikes.
|
public EuropeanOptionSmile(String underlyingName, double maturity, double[] strikes)
public EuropeanOptionSmile(double maturity,
double[] strikes)
public double getMaturity()
SmileByIntegralTransformgetMaturity in interface SmileByIntegralTransformpublic double[] getStrikes()
public String getUnderlyingName()
public double getIntegrationDomainImagLowerBound()
SmileByIntegralTransformgetIntegrationDomainImagLowerBound in interface SmileByIntegralTransformpublic double getIntegrationDomainImagUpperBound()
SmileByIntegralTransformgetIntegrationDomainImagUpperBound in interface SmileByIntegralTransformpublic abstract Map<String,Function<Double,Double>> getValue(double evaluationTime, CharacteristicFunctionModel model) throws CalculationException
SmileByIntegralTransformgetValue in interface SmileByIntegralTransformevaluationTime - The evaluation time.model - The model against which the product should be values.CalculationException - Thrown if the valuation failed.public abstract EuropeanOptionSmile getCloneWithModifiedParameters(double maturity, double[] strikes)
maturity - The new maturity.strikes - The new strikes.public Map<Double,SingleAssetEuropeanOptionProductDescriptor> getDescriptors(LocalDate referenceDate)
referenceDate - The reference date (translating the maturity floating point date to dates.public SingleAssetEuropeanOptionProductDescriptor getDescriptor(LocalDate referenceDate, int index) throws ArrayIndexOutOfBoundsException
referenceDate - The reference date (translating the maturity floating point date to dates.index - The index corresponding to the strike grid.ArrayIndexOutOfBoundsException - Thrown if index is out of bound.Copyright © 2019. All rights reserved.