QuantLib Credit Basket Loss Models

Overview

QuantLib Credit Basket Loss Models

Function List

qlBaseCorrelationLossModel ()
qlGBinomialLossmodel ()
qlGMCLossModel ()
qlGRandomRRMCLossModel ()
qlGRecursiveLossmodel ()
qlGSaddlePointLossmodel ()
qlGaussianLHPLossmodel ()
qlIHGaussPoolLossModel ()
qlIHStudentPoolLossModel ()
qlTBinomialLossmodel ()
qlTMCLossModel ()
qlTRandomRRMCLossModel ()
qlTSaddlePointLossmodel ()

Function Documentation

qlBaseCorrelationLossModel

string returnValue
qlBaseCorrelationLossModel(
string ObjectId
string BaseModel
string BaseCorrelationSurface
vector<double> Recoveries
vector<double> InitiTraits
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class BaseCorrelationLossModel and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
BaseModelThe base algorithm on which the EL is to be computed at different correlations.
BaseCorrelationSurfaceBase correlation surface.
RecoveriesQuoted recoveries for each name in the model.
InitiTraitsCopula initialization traits are defined in terms of this vector.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlGBinomialLossmodel

string returnValue
qlGBinomialLossmodel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class GaussianBinomialLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlGMCLossModel

string returnValue
qlGMCLossModel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
long NumSimulations
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class GaussianRandomDefaultLM and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
NumSimulationsMC simulations.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlGRandomRRMCLossModel

string returnValue
qlGRandomRRMCLossModel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
double ModelA
long NumSimulations
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class GaussianRandomLossLM and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
ModelARecovery deviation parameter.
NumSimulationsMC simulations.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlGRecursiveLossmodel

string returnValue
qlGRecursiveLossmodel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class RecursiveGaussLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlGSaddlePointLossmodel

string returnValue
qlGSaddlePointLossmodel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class SaddlePointLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlGaussianLHPLossmodel

string returnValue
qlGaussianLHPLossmodel(
string ObjectId
double Correlation
vector<double> RecoveryRates
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class GaussianLHPLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
CorrelationGaussian model single correlation.
RecoveryRatesRecovery rates of each live name in the portfolio.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlIHGaussPoolLossModel

string returnValue
qlIHGaussPoolLossModel(
string ObjectId
double Correlation
vector<double> RecoveryRates
long NumBuckets
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class IHGaussPoolLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
CorrelationModel single correlation.
RecoveryRatesRecovery rates of each live name in the portfolio.
NumBucketsNumber of distribution loss buckets.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlIHStudentPoolLossModel

string returnValue
qlIHStudentPoolLossModel(
string ObjectId
double Correlation
vector<double> RecoveryRates
vector<double> Ttraits
long NumBuckets
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class IHStudentPoolLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
CorrelationModel single correlation.
RecoveryRatesRecovery rates of each live name in the portfolio.
TtraitsT orders on each factor.
NumBucketsNumber of distribution loss buckets.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlTBinomialLossmodel

string returnValue
qlTBinomialLossmodel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
vector<double> Ttraits
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class TBinomialLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
TtraitsT orders on each factor.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlTMCLossModel

string returnValue
qlTMCLossModel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
vector<double> Ttraits
long NumSimulations
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class TRandomDefaultLM and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
TtraitsT orders on each factor.
NumSimulationsMC simulations.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlTRandomRRMCLossModel

string returnValue
qlTRandomRRMCLossModel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
vector<double> Ttraits
double ModelA
long NumSimulations
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class TRandomLossLM and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
TtraitsT orders on each factor.
ModelARecovery deviation parameter.
NumSimulationsMC simulations.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlTSaddlePointLossmodel

string returnValue
qlTSaddlePointLossmodel(
string ObjectId
vector<vector<double> > Factors
vector<double> RecoveryRates
vector<double> Ttraits
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class TSaddlePointLossModel and return its id

Supported Platforms:

Excel

Parameters
ObjectIdid of object to be created
FactorsSystemic model factors.
RecoveryRatesRecovery rates of each live name in the portfolio.
TtraitsT orders on each factor.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag