Black-Scholes Calculator · Python example · version 1.0.0

The standard-library example requires Python 3.10 or newer.
Run python example.py to see the baseline call and put.
Run python -m unittest -v to run the bundled tests.

price returns the European call and put in currency per underlying unit.
greeks requires positive time and volatility. The Vega per point result
is the expected local price change per volatility percentage point.
Inputs are calendar years, annual continuously compounded decimal rates
and yield, and annualized decimal volatility. Enter 0.20 for 20%.

The educational model assumes European exercise and continuous yield.
See the LICENSE and https://blackscholescalculator.online/methodology/
