Ctsmmcapletcalibration

Overview

functions to construct and use ctsmmcapletcalibration objects.

Function List

qlCTSMMCapletAlphaFormCalibration ()
qlCTSMMCapletAlphaFormCalibrationAlpha ()
qlCTSMMCapletCalibrationCalibrate ()
qlCTSMMCapletCalibrationCapletMaxError ()
qlCTSMMCapletCalibrationCapletRmsError ()
qlCTSMMCapletCalibrationDeformationSize ()
qlCTSMMCapletCalibrationFailures ()
qlCTSMMCapletCalibrationMarketCapletVols ()
qlCTSMMCapletCalibrationMarketSwaptionVols ()
qlCTSMMCapletCalibrationModelCapletVols ()
qlCTSMMCapletCalibrationModelSwaptionVols ()
qlCTSMMCapletCalibrationSwapPseudoRoot ()
qlCTSMMCapletCalibrationSwaptionMaxError ()
qlCTSMMCapletCalibrationSwaptionRmsError ()
qlCTSMMCapletCalibrationTimeDependentCalibratedSwaptionVols ()
qlCTSMMCapletCalibrationTimeDependentUnCalibratedSwaptionVols ()
qlCTSMMCapletMaxHomogeneityCalibration ()
qlCTSMMCapletOriginalCalibration ()

Function Documentation

qlCTSMMCapletAlphaFormCalibration

string returnValue
qlCTSMMCapletAlphaFormCalibration(
string ObjectId
string Evolution
string Correlations
vector<string> SwapPiecewiseConstantVariances
vector<double> CapletVols
string CurveState
double Displacement
vector<double> AlphaInitial
vector<double> AlphaMax
vector<double> AlphaMin
bool MaximizeHomogeneity
string AlphaForm
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class CTSMMCapletAlphaFormCalibration and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
EvolutionEvolution Description.
CorrelationsPiecewiseConstantCorrelation object ID.
SwapPiecewiseConstantVariancesPiecewiseConstantVariance IDs.
CapletVolscaplet volatilities.
CurveStateCurveState object ID.
Displacementdisplacement. Default value = 0.0.
AlphaInitialalphaInitial.
AlphaMaxalphaMax. Default value = 1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0.
AlphaMinalphaMin. Default value = -1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0.
MaximizeHomogeneityTRUE for maximizing homogeneity. Default value = true.
AlphaFormalpha form ID. Default value = .
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlCTSMMCapletAlphaFormCalibrationAlpha

vector<double> returnValue
qlCTSMMCapletAlphaFormCalibrationAlpha(
string ObjectId
any Trigger)
Description:

alpha.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletAlphaFormCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationCalibrate

bool returnValue
qlCTSMMCapletCalibrationCalibrate(
string ObjectId
long NumberOfFactors
long MaxIter
double Tol
long InnerMaxIter
double InnerTol
any Trigger)
Description:

calibrate.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
NumberOfFactorsnumber of factors.
MaxItermaximum number of iterations. Default value = 2.
Tolcaplet vol tolerance. Default value = 0.0001.
InnerMaxIterinnerMaxIter. Default value = 100.
InnerTolcaplet vol tolerance. Default value = 1e-8.
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationCapletMaxError

double returnValue
qlCTSMMCapletCalibrationCapletMaxError(
string ObjectId
any Trigger)
Description:

capletMaxError.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationCapletRmsError

double returnValue
qlCTSMMCapletCalibrationCapletRmsError(
string ObjectId
any Trigger)
Description:

capletRmsError.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationDeformationSize

double returnValue
qlCTSMMCapletCalibrationDeformationSize(
string ObjectId
any Trigger)
Description:

deformationSize.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationFailures

long returnValue
qlCTSMMCapletCalibrationFailures(
string ObjectId
any Trigger)
Description:

failures.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationMarketCapletVols

vector<double> returnValue
qlCTSMMCapletCalibrationMarketCapletVols(
string ObjectId
any Trigger)
Description:

market caplet volalitilies.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationMarketSwaptionVols

vector<double> returnValue
qlCTSMMCapletCalibrationMarketSwaptionVols(
string ObjectId
any Trigger)
Description:

market swaption volalitilies.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationModelCapletVols

vector<double> returnValue
qlCTSMMCapletCalibrationModelCapletVols(
string ObjectId
any Trigger)
Description:

model caplet volalitilies.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationModelSwaptionVols

vector<double> returnValue
qlCTSMMCapletCalibrationModelSwaptionVols(
string ObjectId
any Trigger)
Description:

model swaption volalitilies.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationSwapPseudoRoot

vector<vector<double> > returnValue
qlCTSMMCapletCalibrationSwapPseudoRoot(
string ObjectId
long Index
any Trigger)
Description:

swapPseudoRoot.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Indexindex.
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationSwaptionMaxError

double returnValue
qlCTSMMCapletCalibrationSwaptionMaxError(
string ObjectId
any Trigger)
Description:

swaptionMaxError.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationSwaptionRmsError

double returnValue
qlCTSMMCapletCalibrationSwaptionRmsError(
string ObjectId
any Trigger)
Description:

swaptionRmsError.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationTimeDependentCalibratedSwaptionVols

vector<double> returnValue
qlCTSMMCapletCalibrationTimeDependentCalibratedSwaptionVols(
string ObjectId
long Index
any Trigger)
Description:

timeDependentCalibratedSwaptionVols.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Indexindex.
Triggerdependency tracking trigger

qlCTSMMCapletCalibrationTimeDependentUnCalibratedSwaptionVols

vector<double> returnValue
qlCTSMMCapletCalibrationTimeDependentUnCalibratedSwaptionVols(
string ObjectId
long Index
any Trigger)
Description:

timeDependentUnCalibratedSwaptionVols.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::CTSMMCapletCalibration object
Indexindex.
Triggerdependency tracking trigger

qlCTSMMCapletMaxHomogeneityCalibration

string returnValue
qlCTSMMCapletMaxHomogeneityCalibration(
string ObjectId
string Evolution
string Correlations
vector<string> SwapPiecewiseConstantVariances
vector<double> CapletVols
string CurveState
double Displacement
double Caplet0Swaption1Priority
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class CTSMMCapletMaxHomogeneityCalibration and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
EvolutionEvolution Description.
CorrelationsPiecewiseConstantCorrelation object ID.
SwapPiecewiseConstantVariancesPiecewiseConstantVariance IDs.
CapletVolscaplet volatilities.
CurveStateCurveState object ID.
Displacementdisplacement. Default value = 0.0.
Caplet0Swaption1Prioritycaplet0Swaption1Priority. Default value = 1.0.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlCTSMMCapletOriginalCalibration

string returnValue
qlCTSMMCapletOriginalCalibration(
string ObjectId
string Evolution
string Correlations
vector<string> SwapPiecewiseConstantVariances
vector<double> CapletVols
string CurveState
double Displacement
vector<double> Alphas
bool LowestRoot
bool UseFullApprox
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class CTSMMCapletOriginalCalibration and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
EvolutionEvolution Description.
CorrelationsPiecewiseConstantCorrelation object ID.
SwapPiecewiseConstantVariancesPiecewiseConstantVariance IDs.
CapletVolscaplet volatilities.
CurveStateCurveState object ID.
Displacementdisplacement. Default value = 0.0.
Alphasalphas.
LowestRootTRUE for lowest root, FALSE for the root nearest to 1.0. Default value = true.
UseFullApproxTRUE for using Full Approximation.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag