public class SABRVolatilityCubeParallel extends Object implements VolatilityCube, Serializable
| Constructor and Description |
|---|
SABRVolatilityCubeParallel(String name,
LocalDate referenceDate,
DataTable swapRateTable,
double sabrDisplacement,
double sabrBeta,
double sabrRho,
double sabrVolvol,
DataTable baseVolTable,
double correlationDecay)
Create the cube.
|
SABRVolatilityCubeParallel(String name,
LocalDate referenceDate,
DataTable swapRateTable,
double sabrDisplacement,
double sabrBeta,
double sabrRho,
double sabrVolvol,
DataTable baseVolTable,
double correlationDecay,
double iborOisDecorrelation)
Create the cube.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCorrelationDecay()
Return the correlation decay parameter of the cube.
|
double |
getIborOisDecorrelation()
Return the IBOR vs OIS decorrelation parameter.
|
double |
getLowestStrike(VolatilityCubeModel model)
Returns the lowest possible value of strike that can be evaluated by this cube.
|
String |
getName()
Returns the name of the volatility cube.
|
Map<String,Object> |
getParameters()
Returns a map with all implementation dependent parameters of this volatility cube.
|
LocalDate |
getReferenceDate()
Return the reference date of this cube, i.e. the date
associated with t=0.
|
double |
getValue(double termination,
double maturity,
double strike,
VolatilitySurface.QuotingConvention quotingConvention)
Return the volatility at the specified coordinates in the desired quotation.
|
double |
getValue(VolatilityCubeModel model,
double termination,
double maturity,
double strike,
VolatilitySurface.QuotingConvention quotingConvention)
Return the volatility at the specified coordinates in the desired quotation.
|
public SABRVolatilityCubeParallel(String name, LocalDate referenceDate, DataTable swapRateTable, double sabrDisplacement, double sabrBeta, double sabrRho, double sabrVolvol, DataTable baseVolTable, double correlationDecay)
name - The name of the cube.referenceDate - The reference date of the cube.swapRateTable - Table containing base swap rates.sabrDisplacement - Displacement for the entire cube.sabrBeta - Beta for the entire cube.sabrRho - Rho for the entire cube.sabrVolvol - VolVol for the entire cube.baseVolTable - Table containing initial volatilities.correlationDecay - The correlation decay parameters of this cube.public SABRVolatilityCubeParallel(String name, LocalDate referenceDate, DataTable swapRateTable, double sabrDisplacement, double sabrBeta, double sabrRho, double sabrVolvol, DataTable baseVolTable, double correlationDecay, double iborOisDecorrelation)
name - The name of the cube.referenceDate - The reference date of the cube.swapRateTable - Table containing base swap rates.sabrDisplacement - Displacement for the entire cube.sabrBeta - Beta for the entire cube.sabrRho - Rho for the entire cube.sabrVolvol - VolVol for the entire cube.baseVolTable - Table containing initial volatilities.correlationDecay - The correlation decay parameters of this cube.iborOisDecorrelation - The ibor ois decorrelation parameter of this cube.public double getValue(VolatilityCubeModel model, double termination, double maturity, double strike, VolatilitySurface.QuotingConvention quotingConvention)
VolatilityCubegetValue in interface VolatilityCubemodel - A model providing context.termination - End date of the underlying.maturity - Maturity date of the option.strike - Strike rate of the option.quotingConvention - Desired quoting convention.public double getValue(double termination,
double maturity,
double strike,
VolatilitySurface.QuotingConvention quotingConvention)
VolatilityCubegetValue in interface VolatilityCubetermination - End date of the underlying.maturity - Maturity date of the option.strike - Strike rate of the option.quotingConvention - Desired quoting convention.public String getName()
VolatilityCubegetName in interface VolatilityCubepublic LocalDate getReferenceDate()
VolatilityCubegetReferenceDate in interface VolatilityCubepublic double getCorrelationDecay()
VolatilityCubegetCorrelationDecay in interface VolatilityCubepublic Map<String,Object> getParameters()
VolatilityCubegetParameters in interface VolatilityCubepublic double getLowestStrike(VolatilityCubeModel model)
VolatilityCubegetLowestStrike in interface VolatilityCubemodel - A model for context.public double getIborOisDecorrelation()
VolatilityCubegetIborOisDecorrelation in interface VolatilityCubeCopyright © 2019. All rights reserved.