24#ifndef quantlib_pricers_gaussian1d_floatfloatswaption_hpp
25#define quantlib_pricers_gaussian1d_floatfloatswaption_hpp
60 FloatFloatSwaption::arguments,
61 FloatFloatSwaption::results> {
70 const ext::shared_ptr<Gaussian1dModel> &model,
71 const int integrationPoints = 64,
const Real stddevs = 7.0,
72 const bool extrapolatePayoff =
true,
73 const bool flatPayoffExtrapolation =
false,
78 const bool includeTodaysExercise =
false,
99 const int integrationPoints = 64,
const Real stddevs = 7.0,
100 const bool extrapolatePayoff =
true,
101 const bool flatPayoffExtrapolation =
false,
106 const bool includeTodaysExercise =
false,
147 std::pair<Real, Real>
npvs(
const Date& expiry,
149 bool includeExerciseOnxpiry,
150 bool considerProbabilities =
false)
const;
1-D array used in linear algebra.
floatfloat swaption class
One factor model float float swaption engine.
const bool extrapolatePayoff_
std::pair< Real, Real > npvs(const Date &expiry, Real y, bool includeExerciseOnxpiry, bool considerProbabilities=false) const
const Handle< YieldTermStructure > discountCurve_
const bool flatPayoffExtrapolation_
const Array initialGuess(const Date &expiry) const override
Handle< YieldTermStructure > discountingCurve() const
Gaussian1dFloatFloatSwaptionEngine(const Handle< 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)
ext::shared_ptr< RebatedExercise > rebatedExercise_
void calculate() const override
const int integrationPoints_
Gaussian1dFloatFloatSwaptionEngine(const ext::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)
const Handle< Quote > oas_
const bool includeTodaysExercise_
const Date underlyingLastDate() const override
Real underlyingNpv(const Date &expiry, Real y) const override
Swap::Type underlyingType() const override
const Probabilities probabilities_
Base class for some pricing engine on a particular model.
Handle< Gaussian1dModel > model_
Shared handle to an observable.
std::pair< iterator, bool > registerWith(const ext::shared_ptr< Observable > &)
basic interface for one factor interest rate models
Generic option engine based on a model.
Option exercise with rebate payments.