|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
Binary supershare payoff. More...
#include <ql/instruments/payoffs.hpp>
Public Member Functions | |
| SuperSharePayoff (Real strike, Real secondStrike, Real cashPayoff) | |
| Real | strike () const |
| Public Member Functions inherited from TypePayoff | |
| Option::Type | optionType () const |
| std::string | description () const override |
| Public Member Functions inherited from Payoff | |
Payoff interface | |
| Real | secondStrike_ |
| Real | cashPayoff_ |
| std::string | name () const override |
| std::string | description () const override |
| Real | operator() (Real price) const override |
| void | accept (AcyclicVisitor &) override |
| Real | secondStrike () const |
| Real | cashPayoff () const |
Additional Inherited Members | |
| StrikedTypePayoff (Option::Type type, Real strike) | |
| TypePayoff (Option::Type type) | |
| Real | strike_ |
| Option::Type | type_ |
Binary supershare payoff.
|
overridevirtual |
|
overridevirtual |
Reimplemented from StrikedTypePayoff.
|
overridevirtual |
Reimplemented from Payoff.