Quantij quantitative finance education and research

Black–Scholes Option Pricing in Python

Implement and test a Black–Scholes European option pricer in Python, including dividends, put–call parity and common mistakes.

What this page covers

  • European call and put pricing
  • Dividend yield, d1 and d2
  • Put–call parity and implementation tests
  • Common numerical and modelling mistakes