Skip to content

Option Pricing Library

Typed pricing, surface repair, and validated numerics

This repo is strongest when the review follows one workflow: repair noisy implied-vol quotes, make the Dupire handoff smooth enough to differentiate, and validate the local-vol/PDE leg with repricing and convergence evidence.

The library surface is typed and reusable, but the main signal is judgment rather than abstraction. The docs keep assumptions, safeguards, and failure modes visible instead of hiding them behind one cleaned-up result.

Why this library matters

The project is not just a pricing API. It shows the full proof path from noisy market quotes to a smooth surface, then through local-vol extraction and PDE validation, with the delicate parts left visible for review.

If you are evaluating quant depth or engineering maturity, the fastest route is the proof sequence rather than the full API catalog.

Signature proof moment

The proof object is the smoothed eSSVI surface used for the Dupire handoff, with smaller diagnostics showing the repair stage before it and the local-vol/PDE validation that follows.

3D surface of the smoothed eSSVI implied-vol handoff across moneyness and maturity 3D surface of the smoothed eSSVI implied-vol handoff across moneyness and maturity

The standout object is the smooth eSSVI handoff: the surface that makes w_T usable for Dupire-oriented local-vol extraction instead of leaving the workflow at a repaired slice stack.

Quote fit comparison across maturity for repaired SVI and eSSVI surfaces Quote fit comparison across maturity for repaired SVI and eSSVI surfaces

Surface repair stays visible first, so the hero surface does not hide the quoted-versus-repaired comparison that starts the proof path.

Scatter plot comparing local-vol PDE repriced values with target prices Scatter plot comparing local-vol PDE repriced values with target prices

Local-vol / PDE validation closes the loop with a published repricing bundle, visible error localization, and an explicit mesh/runtime judgment for the final numerical leg.

Open the proof pages

Secondary routes

  • Architecture for the recruiter-facing systems view and safeguard story
  • Decision guide if you want the proof sequence in one routing page
  • API reference for the typed public surface and generated symbol docs
  • Installation for local setup and editable development