#include <qle/pricingengines/mccamcurrencyswapengine.hpp>
Public Member Functions | |
McCamCurrencySwapEngine (const Handle< CrossAssetModel > &model, const std::vector< Currency > ¤cies, const Currency &npvCcy, 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 >()) | |
void | calculate () const override |
const Handle< CrossAssetModel > & | model () const |
Private Attributes | |
const std::vector< Currency > | currencies_ |
const Currency | npvCcy_ |
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 33 of file mccamcurrencyswapengine.hpp.
McCamCurrencySwapEngine | ( | const Handle< CrossAssetModel > & | model, |
const std::vector< Currency > & | currencies, | ||
const Currency & | npvCcy, | ||
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 25 of file mccamcurrencyswapengine.cpp.
|
override |
Definition at line 43 of file mccamcurrencyswapengine.cpp.
const Handle< CrossAssetModel > & model | ( | ) | const |
Definition at line 49 of file mccamcurrencyswapengine.hpp.
|
private |
Definition at line 52 of file mccamcurrencyswapengine.hpp.
|
private |
Definition at line 53 of file mccamcurrencyswapengine.hpp.