A comprehensive collection of quantitative finance projects implemented in Python, covering stochastic simulations, derivatives pricing, volatility calibration, and algorithmic trading strategies.
This repository serves as a research and development playground for quantitative trading algorithms and financial engineering models. Each project includes a core implementation, standardized data outputs, and a detailed LaTeX report.
- Description: Numerical solution of the Black-Scholes PDE using Finite Difference Methods (Crank-Nicolson).
- Key Concepts: Heat equation mapping, stability analysis, Greeks calculation.
- Description: High-performance simulation of Stochastic Differential Equations.
- Key Concepts: Geometric Brownian Motion, Ornstein-Uhlenbeck processes, Euler-Maruyama scheme, convergence analysis.
- Description: Calibration of local and stochastic volatility models to market data.
- Key Concepts: Dupire's formula, Heston model, Levenberg-Marquardt optimization, volatility surfaces.
- Description: Statistical arbitrage strategy based on cointegration between equity pairs (e.g., XOM/CVX).
- Key Concepts: Engle-Granger test, Z-score signals, mean-reversion half-life, backtesting engine.
- Description: Mean-variance optimization and efficient frontier construction.
- Key Concepts: Markowitz optimization, Sharpe ratio maximization, risk parity, covariance matrix estimation.
- Description: Modeling the term structure of interest rates.
- Key Concepts: Nelson-Siegel model, forward rate derivation, optimization of decay parameters.
- Python 3.9+
- LaTeX distribution (e.g., TeX Live) for report generation.
- Clone the repository.
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On macOS/Linux
- Install dependencies:
pip install -r requirements.txt # If available, otherwise install common libs: yfinance, pandas, numpy, scipy, statsmodels, matplotlib
A consolidated portfolio of all project reports is available in:
Individual results and CSV exports are located within each project directory.
MIT License