quantlib.payoffs.
PlainVanillaPayoff¶
- class PlainVanillaPayoff(OptionType option_type, double strike)¶
Bases:
StrikedTypePayoffPlain vanilla payoff.
- Parameters:
- option_type
OptionType The type of option, can be either Call or Put
- strikedouble
The strike value
- option_type
- Attributes:
option_type- strike
Methods
__call__(*args, **kwargs)Call self as a function.