Skip to content

This repository contains various models and techniques for pricing financial options. The focus is on implementing the Black-Scholes model and some of its extensions (e.g. Heston) , visualizing implied volatility surfaces, and utilizing Monte Carlo simulations for exotic option pricing. PYPI pckg: https://pypi.org/project/tiny-pricing-utils/1.0.3/

Notifications You must be signed in to change notification settings

MichaelCarloH/Option-Pricing

Repository files navigation

Option Pricing

This repository contains application of Heston and Black-scholes models and techniques for pricing financial options. The focus is on closely match market structure using the Black-Scholes model, visualizing implied volatility surfaces, and utilizing Monte Carlo simulations and FFT pricing for exotic option pricing using the Heston model.

Folder Structure:

tiny_pricing_utils/

'Option pricing/'

Black_Scholes_Pricing

  • This folder contains notebooks related to the Black-Scholes option pricing model.
  • black_scholes_calibration.ipynb: Calibrates the Black-Scholes model to find the optimal volatility.
  • implied_vol_surface.ipynb: Finds and visualizes the implied volatility surface based on market data.
  • exotic_montecarlo_pricing.ipynb: Implements Monte Carlo simulations for pricing Asian and Barrier options.

Heston_Pricing

  • This folder contains notebooks and scripts related to option pricing using the Heston model and numerical integration methods.
  • Heston_FFT_pricing.ipynb: Implements call option pricing using the Heston model.
  • Carr_Madan_formula.ipynb: Uses the Carr-Madan formula with Rectangular Rule and Simpson's Rule for pricing options under the Heston model.
  • BS_FFT_pricing.ipynb: Implements call option pricing using the Black-Scholes model.

Heston_calibration

  • This folder contains notebooks and scripts related to option pricing using the Heston model using Montecarlo simulations.
  • Heston_calibration.ipynb: Implements call option pricing using the Heston model using Euler and Milstein Montecarlo methods.

Requirements:

  • Python 3.x
  • Necessary libraries: numpy, pandas, matplotlib, scipy, ipython, etc.

Setup:

To get started, make sure all dependencies are installed. You can install the necessary Python packages using:

pip install -r requirements.txt

About

This repository contains various models and techniques for pricing financial options. The focus is on implementing the Black-Scholes model and some of its extensions (e.g. Heston) , visualizing implied volatility surfaces, and utilizing Monte Carlo simulations for exotic option pricing. PYPI pckg: https://pypi.org/project/tiny-pricing-utils/1.0.3/

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •