Skip to content
All work

022026Pricing · C++Ongoing

Option Pricer in C++

An object-oriented pricing library — Black-Scholes, CRR binomial trees and Monte Carlo, with Greeks and automated cross-validation.

01Architecture

Payoffs are decoupled from pricing engines: adding a new product or a new numerical method doesn't touch the rest of the code. Built with CMake.

02Pricing methods

  • Black-Scholes closed-form prices for European options.
  • CRR binomial trees, which handle the early exercise of American options.
  • Monte Carlo simulation.

03Greeks

Sensitivities computed analytically where a formula exists, and by finite differences otherwise — which also lets each method check the other.

04Testing

Unit tests run after every change and cross-validate the three methods against each other and against a Python reference implementation.