Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Options Pricing & Greeks Calculation

This Python project implements core options pricing models and calculates risk sensitivities (Greeks) for financial derivatives. It also demonstrates simulations for exotic options and conducts sensitivity analysis.

📈 Features

  • Black-Scholes pricing model
  • Binomial Tree pricing model
  • Greeks calculation (Delta, Gamma, Vega, Theta, Rho)
  • Exotic options: Barrier, Digital, Range Accrual (simplified)
  • Sensitivity analysis over time (Delta, Theta)
  • Visual plots for Greek behavior

📂 Project Structure

├── options_pricing_greeks.py    # Core logic for pricing and greeks
├── main.py                      # Script to run and test features
├── README.md                    # Project documentation
├── requirements.txt             # Dependencies

🚀 Getting Started

1. Clone the repository

git clone https://github.com/yourusername/options-pricing-greeks.git
cd options-pricing-greeks

2. Install dependencies

pip install -r requirements.txt

3. Run the main script

python main.py

🧠 Usage Example

from options_pricing_greeks import black_scholes_price, greeks
price = black_scholes_price(100, 100, 1, 0.05, 0.2, 'call')
greek_vals = greeks(100, 100, 1, 0.05, 0.2)

📊 Output Example

  • Option prices printed in console
  • Plot showing Delta and Theta over time

📚 References


Made with ❤️ for finance and data science.

About

Implemented Black-Scholes & Binomial models for pricing options and computing risk sensitivities (Delta, Gamma, Vega, Theta, Rho).

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages