Struct libdxfeed_sys::dxf_greeks
source · #[repr(C)]pub struct dxf_greeks {
pub event_flags: dxf_event_flags_t,
pub index: dxf_long_t,
pub time: dxf_long_t,
pub price: dxf_double_t,
pub volatility: dxf_double_t,
pub delta: dxf_double_t,
pub gamma: dxf_double_t,
pub theta: dxf_double_t,
pub rho: dxf_double_t,
pub vega: dxf_double_t,
}Expand description
@brief Greeks @details Greeks event is a snapshot of the option price, Black-Scholes volatility and greeks. It represents the most recent information that is available about the corresponding values on the market at any given moment of time.
Fields§
§event_flags: dxf_event_flags_tTransactional event flags
index: dxf_long_tUnique per-symbol index of this event
time: dxf_long_tTimestamp of this event in milliseconds
price: dxf_double_tOption market price
volatility: dxf_double_tBlack-Scholes implied volatility of the option
delta: dxf_double_tOption delta
gamma: dxf_double_tOption gamma
theta: dxf_double_tOption theta
rho: dxf_double_tOption rho
vega: dxf_double_tOption vega
Trait Implementations§
source§impl Clone for dxf_greeks
impl Clone for dxf_greeks
source§fn clone(&self) -> dxf_greeks
fn clone(&self) -> dxf_greeks
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for dxf_greeks
impl Debug for dxf_greeks
source§impl<'de> Deserialize<'de> for dxf_greeks
impl<'de> Deserialize<'de> for dxf_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