Price Calculators
The price_calculators module contains tools for implementing different pricing models, including closed-form solutions, characteristic functions, and numerical methods.
Modules
The price_calculators module is organized into the following submodules:
base_calculator.py: Defines the base class for all pricing models. This is not meant to be instantiated directly but serves as the foundation for other calculators.
gbm_pricing: Contains classes for the Geometric Brownian Motion (GBM) model. This submodule includes:
gbm_calculator.py: Contains the GBMCalculator class for pricing using the GBM model.
gbm_closed_form.py: Provides closed-form solutions for options under the GBM model.
gbm_paths_Q.py: Implements path simulations under the GBM model.
cjd_pricing: Implements the Constant Jump Diffusion (CJD) model. This submodule includes:
cjd_calculator.py: Contains the CJDCalculator class for pricing using the CJD model.
cjd_characteristic_function.py: Implements the characteristic function for the CJD model.
cjd_closed_form.py: Provides closed-form solutions for options under the CJD model.
cjd_paths_Q.py: Implements path simulations under the CJD model.
ljd_pricing: Implements the Lognormal Jump Diffusion (LJD) model. This submodule includes:
ljd_calculator.py: Contains the LJDCalculator class for pricing using the LJD model.
ljd_characteristic_function.py: Implements the characteristic function for the LJD model.
ljd_closed_form.py: Provides closed-form solutions for options under the LJD model.
ljd_paths_Q.py: Implements path simulations under the LJD model.
dejd_pricing: Provides tools for the Double Exponential Jump Diffusion (DEJD) model. This submodule includes:
dejd_calculator.py: Contains the DEJDCalculator class for pricing using the DEJD model.
dejd_characteristic_function.py: Implements the characteristic function for the DEJD model.
dejd_closed_form.py: Provides closed-form solutions for options under the DEJD model.
dejd_paths_Q.py: Implements path simulations under the DEJD model.
vg_pricing: Implements the Variance Gamma (VG) model. This submodule includes:
vg_calculator.py: Contains the VGCalculator class for pricing using the VG model.
vg_characteristic_function.py: Implements the characteristic function for the VG model.
vg_closed_form.py: Provides closed-form solutions for options under the VG model.
Classes
Geometric Brownian Motion (GBM)
|
Calculator for option pricing under the Geometric Brownian Motion (GBM) model. |
|
Implements the closed-form solution for pricing European options under a Geometric Brownian Motion (GBM) model. |
|
Implements the characteristic function for a Geometric Brownian Motion (GBM) model. |
|
Implements the paths simulation for a Geometric Brownian Motion (GBM) model under the risk-neutral measure. |
Constant Jump Diffusion (CJD)
|
Calculator for option pricing under the Constant jump-diffusion (CJD) model. |
|
Implements the closed-form solution for pricing European options under a constant jump-diffusion (CJD) model. |
|
Implements the characteristic function for a constant jump-diffusion (CJD) model. |
|
Implements the paths simulation for a constant jump-diffusion (CJD) model under the risk-neutral measure. |
Lognormal Jump Diffusion (LJD)
|
Calculator for option pricing under the lognormal jump-diffusion (LJD) model. |
|
Implements the closed-form solution for pricing European options under a lognormal jump-diffusion (LJD) model. |
|
Implements the characteristic function for a lognormal jump-diffusion (LJD) model. |
|
Implements the paths simulation for a lognormal jump-diffusion (LJD) model under the risk-neutral measure. |
Double Exponential Jump Diffusion (DEJD)
|
Calculator for option pricing under the lognormal jump-diffusion (LJD) model. |
|
Implements the closed-form solution for pricing European options under a lognormal jump-diffusion (LJD) model. |
|
Implements the characteristic function for a lognormal jump-diffusion (LJD) model. |
|
Variance Gamma (VG)
|
|
|
Implements the closed-form "numerical" solution for pricing European options under a Variance Gamma (VG) model. |
|
|
|