quantmetrics.price_calculators.cjd_pricing.cjd_characteristic_function.CJDCharacteristicFunction
- class quantmetrics.price_calculators.cjd_pricing.cjd_characteristic_function.CJDCharacteristicFunction(model: LevyModel, option: Option)[source]
Implements the characteristic function for a constant jump-diffusion (CJD) model.
Parameters
- modelLevyModel
A LevyModel object specifying the underlying asset’s model and its parameters.
- optionOption
An Option object specifying the option parameters: interest rate, strike price, time to maturity, dividend yield and the equivalent martingale measure.
Methods
__init__
(model, option)calculate
(u)Calculate the characteristic function for the CJD model.