QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
Payoff based on a floating strike More...
#include <ql/instruments/payoffs.hpp>
Public Member Functions | |
FloatingTypePayoff (Option::Type type) | |
Payoff interface | |
std::string | name () const override |
Real | operator() (Real price, Real strike) const |
Real | operator() (Real price) const override |
void | accept (AcyclicVisitor &) override |
Public Member Functions inherited from TypePayoff | |
Option::Type | optionType () const |
std::string | description () const override |
Public Member Functions inherited from Payoff | |
virtual | ~Payoff ()=default |
Additional Inherited Members | |
Public Attributes inherited from Payoff | |
QL_DEPRECATED typedef Real | argument_type |
QL_DEPRECATED typedef Real | result_type |
Protected Member Functions inherited from TypePayoff | |
TypePayoff (Option::Type type) | |
Protected Attributes inherited from TypePayoff | |
Option::Type | type_ |
Payoff based on a floating strike
Definition at line 75 of file payoffs.hpp.
FloatingTypePayoff | ( | Option::Type | type | ) |
Definition at line 77 of file payoffs.hpp.
|
overridevirtual |
Implements Payoff.
Definition at line 80 of file payoffs.hpp.
Definition at line 65 of file payoffs.cpp.
Implements Payoff.
Definition at line 61 of file payoffs.cpp.
|
overridevirtual |
Reimplemented from Payoff.
Definition at line 83 of file payoffs.cpp.