29#include <ql/cashflows/floatingratecoupon.hpp>
30#include <ql/indexes/swapindex.hpp>
31#include <ql/instruments/swaption.hpp>
58 const QuantLib::ext::shared_ptr<SwapIndex>& standardSwapIndexBase,
59 const bool useUnderlyingIborIndex,
const Handle<YieldTermStructure>& discountCurve,
60 const Real reversion,
const Real volatility = 0.0050,
61 const Real flatRate = Null<Real>());
65 QuantLib::ext::shared_ptr<Swaption>
70 QuantLib::Date
valueDate(
const QuantLib::Date& fixingDate,
const QuantLib::ext::shared_ptr<QuantLib::FloatingRateCoupon>& cpn)
const;
79 QuantLib::ext::shared_ptr<LGM>
model_;
QuantLib::ext::shared_ptr< SwapIndex > modelSwapIndexBase_
const Handle< YieldTermStructure > discountCurve_
QuantLib::ext::shared_ptr< Swaption > representativeSwaption(Date exerciseDate, const InclusionCriterion criterion=InclusionCriterion::AccrualStartGeqExercise)
const std::vector< Leg > underlying_
std::vector< bool > modelLinkedUnderlyingIsPayer_
QuantLib::ext::shared_ptr< SwapIndex > swapIndexBaseFinal_
QuantLib::ext::shared_ptr< LgmImpliedYtsFwdFwdCorrected > modelSwapIndexDiscountCurve_
QuantLib::ext::shared_ptr< LgmImpliedYtsFwdFwdCorrected > modelDiscountCurve_
QuantLib::ext::shared_ptr< LGM > model_
std::map< std::string, QuantLib::ext::shared_ptr< LgmImpliedYtsFwdFwdCorrected > > modelForwardCurves_
const std::vector< bool > isPayer_
Leg modelLinkedUnderlying_
const QuantLib::ext::shared_ptr< SwapIndex > swapIndexBase_
QuantLib::ext::shared_ptr< LgmImpliedYtsFwdFwdCorrected > modelSwapIndexForwardCurve_
const bool useUnderlyingIborIndex_
@ AccrualStartGeqExercise
QuantLib::Date valueDate(const QuantLib::Date &fixingDate, const QuantLib::ext::shared_ptr< QuantLib::FloatingRateCoupon > &cpn) const
yield term structure implied by a LGM model