purejump
cgmy
CGMY model from the paper The Fine Structure Of Asset Return by Carr, Geman, Madan and Yor
- class CGMYParameters(c: float, g: float, m: float, y: float)[source]
Bases:
Parameters- property c
- property g
- property m
- property y
- class CGMYModel(parameters: CGMYParameters)[source]
Bases:
LevyModel- __init__(parameters: CGMYParameters)[source]
- Parameters
model_type – name of the model
levy_triplet – Lévy triplet
cumulant – cumulant expressions
- class ExponentialOfCGMYModel(spot: float, r: float, d: float, parameters: CGMYParameters)[source]
Bases:
ClsWithMoments- __init__(spot: float, r: float, d: float, parameters: CGMYParameters)[source]
- Parameters
spot – underlying spot
r – interest rate
d – dividend rate
levy_model – underlying Lévy model L
variancegamma
Variance Gamma model from the paper The Variance Gamma Process and Option Pricing by Carr, Madan and Chang
- class VGParameters(sigma: float, nu: float, theta: float)[source]
Bases:
Parameters- property sigma
- class VarianceGammaModel(parameters: VGParameters)[source]
Bases:
LevyModel- __init__(parameters: VGParameters)[source]
- Parameters
model_type – name of the model
levy_triplet – Lévy triplet
cumulant – cumulant expressions
- class ExponentialOfVarianceGammaModel(spot: float, r: float, d: float, parameters: VGParameters)[source]
Bases:
ClsWithMoments- __init__(spot: float, r: float, d: float, parameters: VGParameters)[source]
- Parameters
spot – underlying spot
r – interest rate
d – dividend rate
levy_model – underlying Lévy model L