pub struct Black76Greeks {
pub delta: f64,
pub gamma: f64,
pub vega: f64,
pub theta: f64,
pub rho: f64,
}Expand description
First-order Black ’76 Greeks (Δ is forward delta).
Fields§
§delta: f64∂V/∂F
gamma: f64§vega: f64§theta: f64§rho: f64∂V/∂r with F held fixed (pure discount rho) ≈ −T × price.
Implementations§
Source§impl Black76Greeks
impl Black76Greeks
pub fn vega_per_vol_point(self) -> f64
pub fn theta_per_calendar_day(self) -> f64
Trait Implementations§
Source§impl Clone for Black76Greeks
impl Clone for Black76Greeks
Source§fn clone(&self) -> Black76Greeks
fn clone(&self) -> Black76Greeks
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 Black76Greeks
Source§impl Debug for Black76Greeks
impl Debug for Black76Greeks
Source§impl PartialEq for Black76Greeks
impl PartialEq for Black76Greeks
impl StructuralPartialEq for Black76Greeks
Auto Trait Implementations§
impl Freeze for Black76Greeks
impl RefUnwindSafe for Black76Greeks
impl Send for Black76Greeks
impl Sync for Black76Greeks
impl Unpin for Black76Greeks
impl UnsafeUnpin for Black76Greeks
impl UnwindSafe for Black76Greeks
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