#include <qle/instruments/cliquetoption.hpp>
Inheritance diagram for CliquetOption:
Collaboration diagram for CliquetOption:Classes | |
| class | arguments |
| class | engine |
| Cliquet engine base class. More... | |
Public Member Functions | |
| CliquetOption (const QuantLib::ext::shared_ptr< PercentageStrikePayoff > &payoff, const QuantLib::ext::shared_ptr< EuropeanExercise > &maturity, const std::set< Date > &valuationDates, const Date &paymentDate, const Real notional, const Position::Type &longShort, const Real localCap=Null< Real >(), const Real localFloor=Null< Real >(), const Real globalCap=Null< Real >(), const Real globalFloor=Null< Real >(), const Real premium=Null< Real >(), const Date &premiumPayDate=Date(), const std::string &premiumCurrency="") | |
| bool | isExpired () const override |
| void | setupArguments (PricingEngine::arguments *) const override |
| const std::set< Date > & | valuationDates () const |
Private Attributes | |
| const std::set< Date > | valuationDates_ |
| const Date | paymentDate_ |
| const Real | notional_ |
| const Position::Type | longShort_ |
| const Real | localCap_ |
| const Real | localFloor_ |
| const Real | globalCap_ |
| const Real | globalFloor_ |
| const Real | premium_ |
| const Date | premiumPayDate_ |
| const std::string | premiumCurrency_ |
The payoff on the payment date is given by min( max( sum min( max( S(t) / S(t-1) - moneyness, localFloor ), localCap ), globalFloor), globalCap)
Definition at line 39 of file cliquetoption.hpp.
| CliquetOption | ( | const QuantLib::ext::shared_ptr< PercentageStrikePayoff > & | payoff, |
| const QuantLib::ext::shared_ptr< EuropeanExercise > & | maturity, | ||
| const std::set< Date > & | valuationDates, | ||
| const Date & | paymentDate, | ||
| const Real | notional, | ||
| const Position::Type & | longShort, | ||
| const Real | localCap = Null<Real>(), |
||
| const Real | localFloor = Null<Real>(), |
||
| const Real | globalCap = Null<Real>(), |
||
| const Real | globalFloor = Null<Real>(), |
||
| const Real | premium = Null<Real>(), |
||
| const Date & | premiumPayDate = Date(), |
||
| const std::string & | premiumCurrency = "" |
||
| ) |
Definition at line 25 of file cliquetoption.cpp.
Here is the call graph for this function:
|
override |
Definition at line 40 of file cliquetoption.cpp.
|
override |
Definition at line 42 of file cliquetoption.cpp.
| const std::set< Date > & valuationDates | ( | ) | const |
|
private |
Definition at line 56 of file cliquetoption.hpp.
|
private |
Definition at line 57 of file cliquetoption.hpp.
|
private |
Definition at line 58 of file cliquetoption.hpp.
|
private |
Definition at line 59 of file cliquetoption.hpp.
|
private |
Definition at line 60 of file cliquetoption.hpp.
|
private |
Definition at line 60 of file cliquetoption.hpp.
|
private |
Definition at line 60 of file cliquetoption.hpp.
|
private |
Definition at line 60 of file cliquetoption.hpp.
|
private |
Definition at line 60 of file cliquetoption.hpp.
|
private |
Definition at line 61 of file cliquetoption.hpp.
|
private |
Definition at line 62 of file cliquetoption.hpp.