- QuantLib
- ForwardTypePayoff
Class for forward type payoffs. More...
#include <ql/instruments/forward.hpp>

Public Member Functions | |
| ForwardTypePayoff (Position::Type type, Real strike) | |
| Position::Type | forwardType () const |
| Real | strike () const |
Payoff interface | |
| std::string | name () const |
| std::string | description () const |
| Real | operator() (Real price) const |
Protected Attributes | |
| Position::Type | type_ |
| Real | strike_ |
Class for forward type payoffs.