public class StaticCubeCalibration extends AbstractCubeCalibration
AbstractCubeCalibration.SwaptionInfo| Constructor and Description |
|---|
StaticCubeCalibration(LocalDate referenceDate,
SwaptionDataLattice cashPayerPremiums,
SwaptionDataLattice cashReceiverPremiums,
VolatilityCubeModel model,
AnnuityMapping.AnnuityMappingType annuityMappingType)
Create the calibrator.
|
StaticCubeCalibration(LocalDate referenceDate,
SwaptionDataLattice cashPayerPremiums,
SwaptionDataLattice cashReceiverPremiums,
VolatilityCubeModel model,
AnnuityMapping.AnnuityMappingType annuityMappingType,
double initialValue,
double initialCorrelationDecay)
Create the calibrator.
|
| Modifier and Type | Method and Description |
|---|---|
protected double[] |
applyParameterBounds(double[] parameters)
Apply bounds to parameters.
|
protected VolatilityCube |
buildCube(String cubeName,
double[] parameters)
Build the cube from a set of parameters.
|
protected void |
initializeParameters()
Prepare the parameters for the start of the calibration.
|
calibrate, getForwardCurveName, getInitialParameters, getMaxIterations, getModel, getNumberOfThreads, getReferenceDate, getReplicationLowerBound, getReplicationNumberOfEvaluationPoints, getReplicationUpperBound, isReplicationUseAsOffset, setCalibrationParameters, setInitialParameters, setReplicationParameterspublic StaticCubeCalibration(LocalDate referenceDate, SwaptionDataLattice cashPayerPremiums, SwaptionDataLattice cashReceiverPremiums, VolatilityCubeModel model, AnnuityMapping.AnnuityMappingType annuityMappingType)
referenceDate - The reference date of the cube.cashPayerPremiums - The lattice containing market targets for cash settled payer swaptions. The lattice needs to be quoted in QuotingConvention.PRICE.cashReceiverPremiums - The lattice containing market targets for cash settled receiver swaptions. The lattice needs to be quoted in QuotingConvention.PRICE.model - The model providing context.annuityMappingType - The type of annuity mapping to be used for calibration.public StaticCubeCalibration(LocalDate referenceDate, SwaptionDataLattice cashPayerPremiums, SwaptionDataLattice cashReceiverPremiums, VolatilityCubeModel model, AnnuityMapping.AnnuityMappingType annuityMappingType, double initialValue, double initialCorrelationDecay)
referenceDate - The reference date of the cube.cashPayerPremiums - The lattice containing market targets for cash settled payer swaptions. The lattice needs to be quoted in QuotingConvention.PRICE.cashReceiverPremiums - The lattice containing market targets for cash settled receiver swaptions. The lattice needs to be quoted in QuotingConvention.PRICE.model - The model providing context.annuityMappingType - The type of annuity mapping to be used for calibration.initialValue - The value to start the calibration at.initialCorrelationDecay - The correlation decay to start the calibration at.protected VolatilityCube buildCube(String cubeName, double[] parameters)
AbstractCubeCalibrationbuildCube in class AbstractCubeCalibrationcubeName - The name the cube will carry.parameters - The parameters of the cube as array.protected void initializeParameters()
AbstractCubeCalibrationinitializeParameters in class AbstractCubeCalibrationprotected double[] applyParameterBounds(double[] parameters)
AbstractCubeCalibrationapplyParameterBounds in class AbstractCubeCalibrationparameters - The raw parameters of the cube as array.Copyright © 2019. All rights reserved.