Logo
Reference manual - version qle_version
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
NumericLgmMultiLegOptionEngineBase Class Reference
+ Inheritance diagram for NumericLgmMultiLegOptionEngineBase:

Classes

struct  CashflowInfo
 

Public Member Functions

 NumericLgmMultiLegOptionEngineBase (const QuantLib::ext::shared_ptr< LgmBackwardSolver > &solver, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const Size americanExerciseTimeStepsPerYear=24)
 

Static Public Member Functions

static bool instrumentIsHandled (const MultiLegOption &m, std::vector< std::string > &messages)
 

Protected Member Functions

CashflowInfo buildCashflowInfo (const Size i, const Size j) const
 
void calculate () const
 

Static Protected Member Functions

static bool instrumentIsHandled (const std::vector< Leg > &legs, const std::vector< bool > &payer, const std::vector< Currency > &currency, const QuantLib::ext::shared_ptr< Exercise > &exercise, const Settlement::Type &settlementType, const Settlement::Method &settlementMethod, std::vector< std::string > &messages)
 

Protected Attributes

QuantLib::ext::shared_ptr< LgmBackwardSolversolver_
 
Handle< YieldTermStructure > discountCurve_
 
Size americanExerciseTimeStepsPerYear_
 
std::vector< Leg > legs_
 
std::vector< bool > payer_
 
std::vector< Currency > currency_
 
QuantLib::ext::shared_ptr< Exercise > exercise_
 
Settlement::Type settlementType_
 
Settlement::Method settlementMethod_
 
Real npv_
 
Real underlyingNpv_
 
std::map< std::string, boost::any > additionalResults_