pub struct FastExecutionMsg {Show 20 fields
pub category: Category,
pub symbol: String,
pub exec_id: String,
pub exec_price: Decimal,
pub exec_qty: Decimal,
pub side: Side,
pub order_qty: Decimal,
pub order_id: String,
pub order_link_id: Option<String>,
pub is_maker: bool,
pub fee_currency: String,
pub fee_rate: Decimal,
pub exec_fee: Decimal,
pub trade_iv: Option<Decimal>,
pub mark_iv: Option<Decimal>,
pub mark_price: Decimal,
pub index_price: Option<Decimal>,
pub underlying_price: Option<Decimal>,
pub block_trade_id: Option<String>,
pub exec_time: Timestamp,
}Expand description
A fill from the fastExecution private WS topic.
This is a condensed view of an execution that arrives immediately when an
order is matched, before the normal settlement cycle that drives
ExecutionMsg. The field set is smaller than ExecutionMsg.
Fields§
§category: Category§symbol: String§exec_id: String§exec_price: Decimal§exec_qty: Decimal§side: Side§order_qty: Decimal§order_id: String§order_link_id: Option<String>§is_maker: bool§fee_currency: String§fee_rate: Decimal§exec_fee: Decimal§trade_iv: Option<Decimal>§mark_iv: Option<Decimal>§mark_price: Decimal§index_price: Option<Decimal>§underlying_price: Option<Decimal>§block_trade_id: Option<String>§exec_time: TimestampTrait Implementations§
Source§impl Clone for FastExecutionMsg
impl Clone for FastExecutionMsg
Source§fn clone(&self) -> FastExecutionMsg
fn clone(&self) -> FastExecutionMsg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FastExecutionMsg
impl Debug for FastExecutionMsg
Source§impl<'de> Deserialize<'de> for FastExecutionMsg
impl<'de> Deserialize<'de> for FastExecutionMsg
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 FastExecutionMsg
impl PartialEq for FastExecutionMsg
Source§fn eq(&self, other: &FastExecutionMsg) -> bool
fn eq(&self, other: &FastExecutionMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastExecutionMsg
Auto Trait Implementations§
impl Freeze for FastExecutionMsg
impl RefUnwindSafe for FastExecutionMsg
impl Send for FastExecutionMsg
impl Sync for FastExecutionMsg
impl Unpin for FastExecutionMsg
impl UnsafeUnpin for FastExecutionMsg
impl UnwindSafe for FastExecutionMsg
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