Module greeks

Module greeks 

Source

Functionsยง

py_black_scholes_greeks
Computes Black-Scholes greeks for given parameters using the fast compute_greeks implementation.
py_imply_vol
Computes the implied volatility for an option given its parameters and market price.
py_imply_vol_and_greeks
Computes implied volatility and option greeks for given parameters and market price. This function uses compute_greeks after implying volatility.
py_refine_vol_and_greeks
Refines implied volatility using an initial guess and computes greeks. This function uses compute_iv_and_greeks which performs a Halley iteration to refine the volatility estimate from an initial guess.