|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
Binary asset-or-nothing payoff. More...
#include <ql/instruments/payoffs.hpp>
Public Member Functions | |
| AssetOrNothingPayoff (Option::Type type, Real strike) | |
Payoff interface | |
| std::string | name () const override |
| Real | operator() (Real price) const override |
| void | accept (AcyclicVisitor &) override |
| std::string | description () const override |
| Real | strike () const |
| Public Member Functions inherited from TypePayoff | |
| Option::Type | optionType () const |
| std::string | description () const override |
| Public Member Functions inherited from Payoff | |
Additional Inherited Members | |
| StrikedTypePayoff (Option::Type type, Real strike) | |
| TypePayoff (Option::Type type) | |
| Real | strike_ |
| Option::Type | type_ |
Binary asset-or-nothing payoff.
Definitions of Binary path-independent payoffs used below, can be found in M. Rubinstein, E. Reiner:"Unscrambling The Binary Code", Risk, Vol.4 no.9,1991. (see: http://www.in-the-money.com/artandpap/Binary%20Options.doc)
|
overridevirtual |
|
overridevirtual |
Reimplemented from Payoff.