Expand description
Option Greeks data structures (delta, gamma, theta, vega, rho) used throughout the platform.
Structs§
- Black
Scholes Greeks Result - Result structure for Black-Scholes greeks calculations This is a separate f64 struct (not a type alias) for Python compatibility
- Greeks
Data - Option
Greek Values - Core option Greek sensitivity values (the 5 standard sensitivities). Designed as a composable building block embedded in all Greeks-carrying types.
- Portfolio
Greeks - Yield
Curve Data
Traits§
- HasGreeks
- Trait for types carrying Greek sensitivity values.
Functions§
- black_
scholes_ greeks - Computes Black-Scholes greeks using the fast
compute_greeksimplementation. This function usescompute_greeksfromblack_scholes.rswhich is optimized for performance. - black_
scholes_ greeks_ exact - imply_
vol - imply_
vol_ and_ greeks - Computes implied volatility and greeks using the fast implementations.
This function uses
compute_greeksafter implying volatility. - refine_
vol_ and_ greeks - Refines implied volatility using an initial guess and computes greeks.
This function uses
compute_iv_and_greekswhich performs a Halley iteration to refine the volatility estimate from an initial guess.