pub struct BsmCrossGreeks {
pub vanna: f64,
pub volga: f64,
pub charm: f64,
}Expand description
Cross / second-order BSM Greeks (vol surface & hedge-drift risk).
§Units
| Field | Unit |
|---|---|
vanna | ∂²V/∂S∂σ = ∂Δ/∂σ (per +1.0 absolute vol) |
volga | ∂²V/∂σ² (per +1.0 absolute vol squared) |
charm | ∂Δ/∂T per year of calendar time to expiry |
Use BsmCrossGreeks::charm_per_calendar_day for overnight Δ drift estimates.
Fields§
§vanna: f64§volga: f64§charm: f64∂Δ/∂T (time-to-expiry year basis). As one calendar day passes, Δ ≈ changes by
−charm_per_calendar_day() if other inputs are held fixed.
Implementations§
Source§impl BsmCrossGreeks
impl BsmCrossGreeks
Sourcepub fn charm_per_calendar_day(self) -> f64
pub fn charm_per_calendar_day(self) -> f64
Charm scaled to one calendar day: charm / 365.25.
Trait Implementations§
Source§impl Clone for BsmCrossGreeks
impl Clone for BsmCrossGreeks
Source§fn clone(&self) -> BsmCrossGreeks
fn clone(&self) -> BsmCrossGreeks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BsmCrossGreeks
Source§impl Debug for BsmCrossGreeks
impl Debug for BsmCrossGreeks
Source§impl PartialEq for BsmCrossGreeks
impl PartialEq for BsmCrossGreeks
impl StructuralPartialEq for BsmCrossGreeks
Auto Trait Implementations§
impl Freeze for BsmCrossGreeks
impl RefUnwindSafe for BsmCrossGreeks
impl Send for BsmCrossGreeks
impl Sync for BsmCrossGreeks
impl Unpin for BsmCrossGreeks
impl UnsafeUnpin for BsmCrossGreeks
impl UnwindSafe for BsmCrossGreeks
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more