pub struct OptionTrade {
pub exec_id: String,
pub symbol: String,
pub price: Decimal,
pub size: Decimal,
pub side: Side,
pub time: Timestamp,
pub is_block_trade: bool,
pub is_rpi_trade: bool,
pub mark_price: Decimal,
pub index_price: Decimal,
pub mark_iv: Decimal,
pub iv: Decimal,
}Fields§
§exec_id: StringExecution ID
symbol: StringSymbol name
price: DecimalTrade price
size: DecimalTrade size
side: SideSide of taker Buy, Sell
time: TimestampTrade time (ms)
is_block_trade: boolboolean Whether the trade is block trade
is_rpi_trade: boolWhether the trade is RPI trade
mark_price: DecimalMark price
index_price: DecimalIndex price
mark_iv: DecimalMark iv
iv: Decimaliv
Trait Implementations§
Source§impl Debug for OptionTrade
impl Debug for OptionTrade
Source§impl<'de> Deserialize<'de> for OptionTrade
impl<'de> Deserialize<'de> for OptionTrade
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
Source§impl PartialEq for OptionTrade
impl PartialEq for OptionTrade
Source§fn eq(&self, other: &OptionTrade) -> bool
fn eq(&self, other: &OptionTrade) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OptionTrade
Auto Trait Implementations§
impl Freeze for OptionTrade
impl RefUnwindSafe for OptionTrade
impl Send for OptionTrade
impl Sync for OptionTrade
impl Unpin for OptionTrade
impl UnsafeUnpin for OptionTrade
impl UnwindSafe for OptionTrade
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