Class VanillaOptionPricer
The price of a vanilla option on a swap rate, deflated: the replication's building block in Hagan's pricers.
public abstract class VanillaOptionPricer
- Inheritance
-
VanillaOptionPricer
- Derived
- Inherited Members
Remarks
Unsealed, as in QuantLib, where MarketQuotedOptionPricer derives from it.
Constructors
VanillaOptionPricer()
protected VanillaOptionPricer()
Methods
Evaluate(double, OptionType, double)
The option's price: QuantLib's operator().
public abstract double Evaluate(double strike, OptionType optionType, double deflator)
Parameters
strikedoubleThe strike.
optionTypeOptionTypeThe option's type.
deflatordoubleThe deflator, the annuity of the swap.
Returns
- double
The price.