Logo
Reference manual - version qle_version
Public Member Functions | List of all members
MonteCarloCBOEngine Class Reference

CBO engine, Monte Carlo for the sample payoff. More...

#include <qle/pricingengines/cbomcengine.hpp>

+ Inheritance diagram for MonteCarloCBOEngine:

Public Member Functions

 MonteCarloCBOEngine (boost::shared_ptr< RandomDefaultModel > rdm, Size samples=1000, Size bins=20, double errorTolerance=1.0e-6, std::vector< QuantLib::Period > lossDistributionPeriods=std::vector< QuantLib::Period >())
 
void calculate () const override
 

Additional Inherited Members

- Protected Member Functions inherited from CBO::engine
virtual void initialize () const
 
- Protected Attributes inherited from CBO::engine
boost::shared_ptr< BondBasketremainingBasket_
 

Detailed Description

CBO engine, Monte Carlo for the sample payoff.

This class implements the waterfall structures and Monte Carlo pricing of the cash flow CBO.

For more information refer to the detailed QuantExt documentation.

Constructor & Destructor Documentation

◆ MonteCarloCBOEngine()

MonteCarloCBOEngine ( boost::shared_ptr< RandomDefaultModel >  rdm,
Size  samples = 1000,
Size  bins = 20,
double  errorTolerance = 1.0e-6,
std::vector< QuantLib::Period >  lossDistributionPeriods = std::vector<QuantLib::Period>() 
)
Parameters
rdmRandom default model for generating samples of default times for the portfolio of names
samplesNumber of Monte Carlo samples
binsDiscretization for resulting distributions
errorTolerancenpvError tolerance
lossDistributionPeriodsPeriods from valuation date for which to return loss distributions