pub struct Greeks {
pub delta: f64,
pub gamma: f64,
pub theta: f64,
pub vega: f64,
pub rho: Option<f64>,
}Expand description
Greeks for options
Fields§
§delta: f64Delta - sensitivity to underlying price changes
gamma: f64Gamma - rate of change of delta
theta: f64Theta - time decay
vega: f64Vega - sensitivity to volatility changes
rho: Option<f64>Rho - sensitivity to interest rate changes
Trait Implementations§
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
Auto Trait Implementations§
impl Freeze for Greeks
impl RefUnwindSafe for Greeks
impl Send for Greeks
impl Sync for Greeks
impl Unpin 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