Expand description
Derivatives pricing kernels.
This module contains deterministic, dependency-free option analytics. All inputs are supplied by the caller; no market data, calendars, or allocation are used by the pricing routines.
Structs§
Enums§
Constants§
Functions§
- binomial_
option_ price - Cox-Ross-Rubinstein binomial option price.
- black_
scholes_ price_ and_ greeks - Black-Scholes-Merton option price and Greeks with continuous dividend yield.
- normal_
cdf - Standard normal CDF using the Abramowitz-Stegun 7.1.26 approximation.
- parity_
implied_ call_ price - parity_
implied_ put_ price - put_
call_ parity - Returns the put-call parity residual:
call - put - (spot * exp(-qT) - strike * exp(-rT)).