pub struct Greeks {
pub delta: f64,
pub gamma: f64,
pub vega: f64,
pub theta: f64,
pub rho: f64,
pub vanna: f64,
pub charm: f64,
pub gamma_p: f64,
pub zomma: f64,
}Expand description
First- and second-order sensitivities of a priced instrument.
Instruments that do not report a sensitivity leave it at 0.0
(e.g. spot Greeks of return-based payoffs such as cliquets, which are
spot-homogeneous by construction).
Fields§
§delta: f64Change in value per unit change in the underlying, dV/dS.
gamma: f64Change in delta per unit change in the underlying, d²V/dS².
vega: f64Change in value per unit change in implied volatility, dV/dσ.
theta: f64Change in value per year of calendar time, dV/dt.
rho: f64Change in value per unit change in the risk-free rate, dV/dr.
vanna: f64Change in delta per unit change in implied volatility, d²V/(dS dσ).
charm: f64Change in delta per year of calendar time, d²V/(dS dt).
gamma_p: f64Delta elasticity, S * gamma / delta.
zomma: f64Change in gamma per unit change in implied volatility, d³V/(dS² dσ).
Trait Implementations§
impl Copy for Greeks
Source§impl<'de> Deserialize<'de> for Greeks
impl<'de> Deserialize<'de> for Greeks
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Greeks
Auto Trait Implementations§
impl Freeze for Greeks
impl RefUnwindSafe for Greeks
impl Send for Greeks
impl Sync for Greeks
impl Unpin for Greeks
impl UnsafeUnpin for Greeks
impl UnwindSafe for Greeks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more