#[repr(C)]pub struct dx_theo_price {
pub time: dxf_long_t,
pub price: dxf_double_t,
pub underlying_price: dxf_double_t,
pub delta: dxf_double_t,
pub gamma: dxf_double_t,
pub dividend: dxf_double_t,
pub interest: dxf_double_t,
}Expand description
@brief Theo price
@details Theo price is a snapshot of the theoretical option price computation that is periodically performed by dxPrice model-free computation. It represents the most recent information that is available about the corresponding values at any given moment of time. The values include first and second order derivative of the price curve by price, so that the real-time theoretical option price can be estimated on real-time changes of the underlying price in the vicinity.
Fields§
§time: dxf_long_tTimestamp of this event in milliseconds
price: dxf_double_tTheoretical option price
underlying_price: dxf_double_tUnderlying price at the time of theo price computation
delta: dxf_double_tDelta of the theoretical price
gamma: dxf_double_tGamma of the theoretical price
dividend: dxf_double_tImplied simple dividend return of the corresponding option series
interest: dxf_double_tImplied simple interest return of the corresponding option series
Trait Implementations§
Source§impl Clone for dx_theo_price
impl Clone for dx_theo_price
Source§fn clone(&self) -> dx_theo_price
fn clone(&self) -> dx_theo_price
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more