22#ifndef quantext_cliquet_option_hpp
23#define quantext_cliquet_option_hpp
25#include <ql/instruments/oneassetoption.hpp>
26#include <ql/instruments/payoffs.hpp>
28#include <ql/exercise.hpp>
29#include <ql/option.hpp>
30#include <ql/position.hpp>
43 CliquetOption(
const QuantLib::ext::shared_ptr<PercentageStrikePayoff>& payoff,
44 const QuantLib::ext::shared_ptr<EuropeanExercise>& maturity,
const std::set<Date>&
valuationDates,
45 const Date& paymentDate,
const Real notional,
const Position::Type& longShort,
46 const Real localCap = Null<Real>(),
const Real localFloor = Null<Real>(),
47 const Real globalCap = Null<Real>(),
const Real globalFloor = Null<Real>(),
48 const Real premium = Null<Real>(),
const Date& premiumPayDate = Date(),
49 const std::string& premiumCurrency =
"");
std::set< Date > valuationDates
std::string premiumCurrency
void validate() const override
Cliquet engine base class.
const Position::Type longShort_
void setupArguments(PricingEngine::arguments *) const override
bool isExpired() const override
const std::set< Date > & valuationDates() const
const std::string premiumCurrency_
const std::set< Date > valuationDates_
const Date premiumPayDate_