pub struct GkGreeks {
pub delta: f64,
pub gamma: f64,
pub vega: f64,
pub theta: f64,
pub rho_domestic: f64,
pub rho_foreign: f64,
}Expand description
GK Greeks: BSM-style plus dual rate rhos.
Fields§
§delta: f64§gamma: f64§vega: f64§theta: f64§rho_domestic: f64∂V/∂r_d (domestic).
rho_foreign: f64∂V/∂r_f (foreign).
Implementations§
Source§impl GkGreeks
impl GkGreeks
pub fn vega_per_vol_point(self) -> f64
pub fn theta_per_calendar_day(self) -> f64
Trait Implementations§
impl Copy for GkGreeks
impl StructuralPartialEq for GkGreeks
Auto Trait Implementations§
impl Freeze for GkGreeks
impl RefUnwindSafe for GkGreeks
impl Send for GkGreeks
impl Sync for GkGreeks
impl Unpin for GkGreeks
impl UnsafeUnpin for GkGreeks
impl UnwindSafe for GkGreeks
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