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.
- 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
Enums§
- Option
Valuation Error - An unsupported or invalid local option valuation.
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_ checked - Computes validated Greeks with an explicit sensitivity of carry to the interest rate.
- black_
scholes_ greeks_ exact - check_
option_ inputs - Checks model inputs against the fast pricing kernel’s numeric domain.
- imply_
vol - imply_
vol_ and_ greeks - Computes implied volatility and greeks using the fast implementations.
This function uses
compute_greeksafter implying volatility. - imply_
vol_ and_ greeks_ checked - Solves implied volatility and computes validated Greeks with explicit carry rate sensitivity.
- 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.