pub struct OptionSummaryMsg {Show 24 fields
pub symbol: Ustr,
pub exchange: TardisExchange,
pub option_type: String,
pub strike_price: f64,
pub expiration_date: DateTime<Utc>,
pub best_bid_price: Option<f64>,
pub best_bid_amount: Option<f64>,
pub best_bid_iv: Option<f64>,
pub best_ask_price: Option<f64>,
pub best_ask_amount: Option<f64>,
pub best_ask_iv: Option<f64>,
pub last_price: Option<f64>,
pub open_interest: Option<f64>,
pub mark_price: Option<f64>,
pub mark_iv: Option<f64>,
pub delta: Option<f64>,
pub gamma: Option<f64>,
pub vega: Option<f64>,
pub theta: Option<f64>,
pub rho: Option<f64>,
pub underlying_price: Option<f64>,
pub underlying_index: String,
pub timestamp: DateTime<Utc>,
pub local_timestamp: DateTime<Utc>,
}Expand description
Option summary info sourced from the options instrument channel, carrying exchange-provided greeks, implied volatilities, mark and underlying prices, and best bid/ask for a single option.
Fields§
§symbol: UstrThe symbol as provided by the exchange.
exchange: TardisExchangeThe exchange ID.
option_type: StringThe option type, either put or call.
strike_price: f64The option strike price.
expiration_date: DateTime<Utc>The option expiration date provided by the exchange.
best_bid_price: Option<f64>The best bid price if provided by the exchange.
best_bid_amount: Option<f64>The best bid amount if provided by the exchange.
best_bid_iv: Option<f64>The best bid implied volatility if provided by the exchange.
best_ask_price: Option<f64>The best ask price if provided by the exchange.
best_ask_amount: Option<f64>The best ask amount if provided by the exchange.
best_ask_iv: Option<f64>The best ask implied volatility if provided by the exchange.
last_price: Option<f64>The last trade price if provided by the exchange.
open_interest: Option<f64>The open interest if provided by the exchange.
mark_price: Option<f64>The mark price if provided by the exchange.
mark_iv: Option<f64>The mark implied volatility if provided by the exchange.
delta: Option<f64>The option delta if provided by the exchange.
gamma: Option<f64>The option gamma if provided by the exchange.
vega: Option<f64>The option vega if provided by the exchange.
theta: Option<f64>The option theta if provided by the exchange.
rho: Option<f64>The option rho if provided by the exchange.
underlying_price: Option<f64>The underlying price if provided by the exchange.
underlying_index: StringThe underlying index name.
timestamp: DateTime<Utc>The message timestamp provided by the exchange.
local_timestamp: DateTime<Utc>The local timestamp when the message was received.
Trait Implementations§
Source§impl Clone for OptionSummaryMsg
impl Clone for OptionSummaryMsg
Source§fn clone(&self) -> OptionSummaryMsg
fn clone(&self) -> OptionSummaryMsg
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OptionSummaryMsg
impl Debug for OptionSummaryMsg
Source§impl<'de> Deserialize<'de> for OptionSummaryMsg
impl<'de> Deserialize<'de> for OptionSummaryMsg
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>,
Auto Trait Implementations§
impl Freeze for OptionSummaryMsg
impl RefUnwindSafe for OptionSummaryMsg
impl Send for OptionSummaryMsg
impl Sync for OptionSummaryMsg
impl Unpin for OptionSummaryMsg
impl UnsafeUnpin for OptionSummaryMsg
impl UnwindSafe for OptionSummaryMsg
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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