Pricing.PV.IAmericanOptionPricer

Classes

AmericanOption(strike: float, ...) Class to represent the notion of an american option.
IAmericanOptionPricer General interface to describe an american option pricer.
class Pricing.PV.IAmericanOptionPricer.IAmericanOptionPricer[source]

General interface to describe an american option pricer.

See also

AmericanOptionPricer
AmericanOptionPricer

Methods

price(...) Compute the present value of the american option
price(market: MarketQuotations.Market.Market, american_option: Products.AmericanOption.AmericanOption) → float[source]

Compute the present value of the american option

Parameters:

market : Market

The market that will be used to price the option.

american_option : AmericanOption

The description of the american option that will be priced

Returns:

price: float

The present value of the american option.