Outperformance option. More...
#include <qle/instruments/outperformanceoption.hpp>
Inheritance diagram for OutperformanceOption:
Collaboration diagram for OutperformanceOption:Classes | |
| class | arguments |
| Arguments for Outperformance option calculation More... | |
| class | engine |
| base class for outperformance option engines More... | |
| class | results |
| Results from Outperformance option calculation More... | |
Public Member Functions | |
| OutperformanceOption (const QuantLib::ext::shared_ptr< Exercise > &exercise, const Option::Type optionType, const Real strikeReturn, const Real initialValue1, const Real initialValue2, const Real notional, const Real knockInPrice=Null< Real >(), const Real knockOutPrice=Null< Real >(), QuantLib::ext::shared_ptr< QuantExt::FxIndex > fxIndex1=nullptr, QuantLib::ext::shared_ptr< QuantExt::FxIndex > fxIndex2=nullptr) | |
Instrument interface | |
| QuantLib::ext::shared_ptr< Exercise > | exercise_ |
| Option::Type | optionType_ |
| Real | strikeReturn_ |
| Real | initialValue1_ |
| Real | initialValue2_ |
| Real | notional_ |
| Real | knockInPrice_ |
| Real | knockOutPrice_ |
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndex1_ |
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndex2_ |
| bool | isExpired () const override |
| void | setupArguments (PricingEngine::arguments *) const override |
| QuantLib::ext::shared_ptr< Exercise > | exercise () const |
| Option::Type | optionType () const |
| Real | strikeReturn () const |
| Real | initialValue1 () const |
| Real | initialValue2 () const |
| Real | notional () const |
| Real | knockInPrice () const |
| Real | knockOutPrice () const |
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndex1 () const |
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndex2 () const |
| void | setupExpired () const override |
| void | fetchResults (const PricingEngine::results *) const override |
Outperformance option.
Definition at line 41 of file outperformanceoption.hpp.
| OutperformanceOption | ( | const QuantLib::ext::shared_ptr< Exercise > & | exercise, |
| const Option::Type | optionType, | ||
| const Real | strikeReturn, | ||
| const Real | initialValue1, | ||
| const Real | initialValue2, | ||
| const Real | notional, | ||
| const Real | knockInPrice = Null<Real>(), |
||
| const Real | knockOutPrice = Null<Real>(), |
||
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndex1 = nullptr, |
||
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndex2 = nullptr |
||
| ) |
Definition at line 34 of file outperformanceoption.cpp.
|
override |
Definition at line 39 of file outperformanceoption.cpp.
|
override |
Definition at line 47 of file outperformanceoption.cpp.
| QuantLib::ext::shared_ptr< Exercise > exercise | ( | ) | const |
Definition at line 57 of file outperformanceoption.hpp.
| Option::Type optionType | ( | ) | const |
Definition at line 58 of file outperformanceoption.hpp.
| Real strikeReturn | ( | ) | const |
Definition at line 59 of file outperformanceoption.hpp.
| Real initialValue1 | ( | ) | const |
Definition at line 60 of file outperformanceoption.hpp.
| Real initialValue2 | ( | ) | const |
Definition at line 61 of file outperformanceoption.hpp.
| Real notional | ( | ) | const |
Definition at line 62 of file outperformanceoption.hpp.
| Real knockInPrice | ( | ) | const |
Definition at line 63 of file outperformanceoption.hpp.
| Real knockOutPrice | ( | ) | const |
Definition at line 64 of file outperformanceoption.hpp.
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > fxIndex1 | ( | ) | const |
Definition at line 65 of file outperformanceoption.hpp.
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > fxIndex2 | ( | ) | const |
Definition at line 66 of file outperformanceoption.hpp.
|
overrideprivate |
Definition at line 43 of file outperformanceoption.cpp.
|
overrideprivate |
Definition at line 73 of file outperformanceoption.cpp.
|
private |
Definition at line 71 of file outperformanceoption.hpp.
|
private |
Definition at line 72 of file outperformanceoption.hpp.
|
private |
Definition at line 73 of file outperformanceoption.hpp.
|
private |
Definition at line 74 of file outperformanceoption.hpp.
|
private |
Definition at line 75 of file outperformanceoption.hpp.
|
private |
Definition at line 76 of file outperformanceoption.hpp.
|
private |
Definition at line 77 of file outperformanceoption.hpp.
|
private |
Definition at line 78 of file outperformanceoption.hpp.
|
private |
Definition at line 79 of file outperformanceoption.hpp.
|
private |
Definition at line 80 of file outperformanceoption.hpp.