quantlib.payoffs.

PlainVanillaPayoff

class PlainVanillaPayoff(OptionType option_type, double strike)

Bases: StrikedTypePayoff

Plain vanilla payoff.

Parameters:
option_type: :class:`~quantlib.option.OptionType`

The type of option, can be either Call or Put

strike: double

The strike value

Attributes:
option_type

Exposes the internal option type.

strike

Methods

__call__(*args, **kwargs)

Call self as a function.