One factor model float float swaption engine. More...
#include <ql/pricingengines/swaption/gaussian1dfloatfloatswaptionengine.hpp>
Public Types | |
enum | Probabilities { None, Naive, Digital } |
![]() | |
typedef std::set< boost::shared_ptr< Observable > > | set_type |
typedef set_type::iterator | iterator |
Public Member Functions | |
Gaussian1dFloatFloatSwaptionEngine (const boost::shared_ptr< Gaussian1dModel > &model, const int integrationPoints=64, const Real stddevs=7.0, const bool extrapolatePayoff=true, const bool flatPayoffExtrapolation=false, const Handle< Quote > &oas=Handle< Quote >(), const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const bool includeTodaysExercise=false, const Probabilities probabilities=None) | |
void | calculate () const |
Handle< YieldTermStructure > | discountingCurve () const |
![]() | |
GenericModelEngine (const Handle< Gaussian1dModel > &model=Handle< Gaussian1dModel >()) | |
GenericModelEngine (const boost::shared_ptr< Gaussian1dModel > &model) | |
![]() | |
PricingEngine::arguments * | getArguments () const |
const PricingEngine::results * | getResults () const |
void | reset () |
void | update () |
![]() | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
void | notifyObservers () |
![]() | |
Observer (const Observer &) | |
Observer & | operator= (const Observer &) |
std::pair< iterator, bool > | registerWith (const boost::shared_ptr< Observable > &) |
void | registerWithObservables (const boost::shared_ptr< Observer > &) |
Size | unregisterWith (const boost::shared_ptr< Observable > &) |
void | unregisterWithAll () |
Protected Member Functions | |
Real | underlyingNpv (const Date &expiry, const Real y) const |
VanillaSwap::Type | underlyingType () const |
const Date | underlyingLastDate () const |
const Disposable< Array > | initialGuess (const Date &expiry) const |
Additional Inherited Members | |
![]() | |
Handle< Gaussian1dModel > | model_ |
![]() | |
FloatFloatSwaption::arguments | arguments_ |
FloatFloatSwaption::results | results_ |
One factor model float float swaption engine.
All float coupons with fixing date greater or equal the respective option expiry are considered part of the exercise into right. Note that this is different from the usual accrual start date greater or equal exercise date if the fixing lag is strictly greater than the exercise lag (which should be a rare case). For the redepmtion flows the criterion is that the associated start date of the redemption flow (i.e. the start date of the regular coupon period with same payment date as the redemption flow) is greater or equal the exercise date.
The addtional result underlyingValue is the npv of the underlying (as seen from "today") including all fixings greater (or greater equal depending on includeTodaysExercise) today.