This page lists notes and personal projects based on my interest in quantitative finance. Comments and questions welcome.
Stochastic calculus and the Black-Scholes equation.
Informal expository notes on stochastic calculus culminating in the Black–Scholes-Merton differential equation. We quickly cover necessary material from probability theory, before discussing Brownian motion, Itô processes, and the Itô-Doeblin formula. The heart of the notes is a derivation of the Black-Scholes-Merton differential equation for contingent derivatives, as well as a derivation of the solution for options. We also mention the greeks, the put-call parity formula, and the relation with the heat equation. Exercises appear at the end.
Rust code for computing the greeks of a portfolio based on the Black-Scholes pricing formula. Portfolios of interest consist of options, the underlying, and the risk-neutral asset. The code also produces plots for each of the greeks as the price of the underlying changes.
A comparison of option pricing models.
Python code implementing four option pricing models: (1) the Black-Scholes formula, (2) the quadratic volatility smile model, (3) the hyperbolic volatility smile model, and (4) the binomial model. The code produces comparison plots for the option prices as well as for the resulting risk-neutral probability density functions.
Binomial options pricing model.
Jupyter notebook on the binomial options pricing model, and its relation to the Black-Scholes formula. Specifically, we formulate the model mathematically, implement it with varioud functions, illustrate it with examples, explore the limiting behavior, and compare the model to the Black-Scholes formula.