#include <qle/pricingengines/mcmultilegoptionengine.hpp>
Public Member Functions | |
McMultiLegOptionEngine (const Handle< CrossAssetModel > &model, const SequenceType calibrationPathGenerator, const SequenceType pricingPathGenerator, const Size calibrationSamples, const Size pricingSamples, const Size calibrationSeed, const Size pricingSeed, const Size polynomOrder, const LsmBasisSystem::PolynomialType polynomType, const SobolBrownianGenerator::Ordering ordering=SobolBrownianGenerator::Steps, const SobolRsg::DirectionIntegers directionIntegers=SobolRsg::JoeKuoD7, const std::vector< Handle< YieldTermStructure > > &discountCurves=std::vector< Handle< YieldTermStructure > >(), const std::vector< Date > &simulationDates=std::vector< Date >(), const std::vector< Size > &externalModelIndices=std::vector< Size >(), const bool minimalObsDate=true, const RegressorModel regressorModel=RegressorModel::Simple, const Real regressionVarianceCutoff=Null< Real >()) | |
McMultiLegOptionEngine (const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const SequenceType calibrationPathGenerator, const SequenceType pricingPathGenerator, const Size calibrationSamples, const Size pricingSamples, const Size calibrationSeed, const Size pricingSeed, const Size polynomOrder, const LsmBasisSystem::PolynomialType polynomType, const SobolBrownianGenerator::Ordering ordering=SobolBrownianGenerator::Steps, const SobolRsg::DirectionIntegers directionIntegers=SobolRsg::JoeKuoD7, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const std::vector< Date > &simulationDates=std::vector< Date >(), const std::vector< Size > &externalModelIndices=std::vector< Size >(), const bool minimalObsDate=true, const RegressorModel regressorModel=RegressorModel::Simple, const Real regressionVarianceCutoff=Null< Real >()) | |
void | calculate () const override |
const Handle< CrossAssetModel > & | model () const |
Additional Inherited Members | |
Public Types inherited from McMultiLegBaseEngine | |
enum | RegressorModel { Simple , LaggedFX } |
Protected Member Functions inherited from McMultiLegBaseEngine | |
McMultiLegBaseEngine (const Handle< CrossAssetModel > &model, const SequenceType calibrationPathGenerator, const SequenceType pricingPathGenerator, const Size calibrationSamples, const Size pricingSamples, const Size calibrationSeed, const Size pricingSeed, const Size polynomOrder, const LsmBasisSystem::PolynomialType polynomType, const SobolBrownianGenerator::Ordering ordering, const SobolRsg::DirectionIntegers directionIntegers, const std::vector< Handle< YieldTermStructure > > &discountCurves=std::vector< Handle< YieldTermStructure > >(), const std::vector< Date > &simulationDates=std::vector< Date >(), const std::vector< Size > &externalModelIndices=std::vector< Size >(), const bool minimalObsDate=true, const RegressorModel regressorModel=RegressorModel::Simple, const Real regressionVarianceCutoff=Null< Real >()) | |
void | calculate () const |
QuantLib::ext::shared_ptr< AmcCalculator > | amcCalculator () const |
Protected Attributes inherited from McMultiLegBaseEngine | |
std::vector< Leg > | leg_ |
std::vector< Currency > | currency_ |
std::vector< bool > | payer_ |
QuantLib::ext::shared_ptr< Exercise > | exercise_ |
Settlement::Type | optionSettlement_ = Settlement::Physical |
bool | includeSettlementDateFlows_ = false |
Handle< CrossAssetModel > | model_ |
SequenceType | calibrationPathGenerator_ |
SequenceType | pricingPathGenerator_ |
Size | calibrationSamples_ |
Size | pricingSamples_ |
Size | calibrationSeed_ |
Size | pricingSeed_ |
Size | polynomOrder_ |
LsmBasisSystem::PolynomialType | polynomType_ |
SobolBrownianGenerator::Ordering | ordering_ |
SobolRsg::DirectionIntegers | directionIntegers_ |
std::vector< Handle< YieldTermStructure > > | discountCurves_ |
std::vector< Date > | simulationDates_ |
std::vector< Size > | externalModelIndices_ |
bool | minimalObsDate_ |
RegressorModel | regressorModel_ |
Real | regressionVarianceCutoff_ |
QuantLib::ext::shared_ptr< AmcCalculator > | amcCalculator_ |
Real | resultUnderlyingNpv_ |
Real | resultValue_ |
Definition at line 35 of file mcmultilegoptionengine.hpp.
McMultiLegOptionEngine | ( | const Handle< CrossAssetModel > & | model, |
const SequenceType | calibrationPathGenerator, | ||
const SequenceType | pricingPathGenerator, | ||
const Size | calibrationSamples, | ||
const Size | pricingSamples, | ||
const Size | calibrationSeed, | ||
const Size | pricingSeed, | ||
const Size | polynomOrder, | ||
const LsmBasisSystem::PolynomialType | polynomType, | ||
const SobolBrownianGenerator::Ordering | ordering = SobolBrownianGenerator::Steps , |
||
const SobolRsg::DirectionIntegers | directionIntegers = SobolRsg::JoeKuoD7 , |
||
const std::vector< Handle< YieldTermStructure > > & | discountCurves = std::vector<Handle<YieldTermStructure>>() , |
||
const std::vector< Date > & | simulationDates = std::vector<Date>() , |
||
const std::vector< Size > & | externalModelIndices = std::vector<Size>() , |
||
const bool | minimalObsDate = true , |
||
const RegressorModel | regressorModel = RegressorModel::Simple , |
||
const Real | regressionVarianceCutoff = Null<Real>() |
||
) |
Definition at line 23 of file mcmultilegoptionengine.cpp.
McMultiLegOptionEngine | ( | const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > & | model, |
const SequenceType | calibrationPathGenerator, | ||
const SequenceType | pricingPathGenerator, | ||
const Size | calibrationSamples, | ||
const Size | pricingSamples, | ||
const Size | calibrationSeed, | ||
const Size | pricingSeed, | ||
const Size | polynomOrder, | ||
const LsmBasisSystem::PolynomialType | polynomType, | ||
const SobolBrownianGenerator::Ordering | ordering = SobolBrownianGenerator::Steps , |
||
const SobolRsg::DirectionIntegers | directionIntegers = SobolRsg::JoeKuoD7 , |
||
const Handle< YieldTermStructure > & | discountCurve = Handle<YieldTermStructure>() , |
||
const std::vector< Date > & | simulationDates = std::vector<Date>() , |
||
const std::vector< Size > & | externalModelIndices = std::vector<Size>() , |
||
const bool | minimalObsDate = true , |
||
const RegressorModel | regressorModel = RegressorModel::Simple , |
||
const Real | regressionVarianceCutoff = Null<Real>() |
||
) |
Definition at line 41 of file mcmultilegoptionengine.cpp.
|
override |
Definition at line 57 of file mcmultilegoptionengine.cpp.
const Handle< CrossAssetModel > & model | ( | ) | const |
Definition at line 67 of file mcmultilegoptionengine.hpp.