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: CategoryProduct type.
symbol: StringSymbol name.
exec_id: StringExecution id.
exec_price: DecimalExecution price.
exec_qty: DecimalExecution quantity.
side: SideOrder side.
order_qty: DecimalOrder quantity.
order_id: StringOrder id.
order_link_id: Option<String>Client order id (orderLinkId).
is_maker: boolWhether the execution was a maker trade.
fee_currency: StringCoin in which the fee is charged.
fee_rate: DecimalFee rate.
exec_fee: DecimalFee charged for the execution.
trade_iv: Option<Decimal>Implied volatility of the trade (options).
mark_iv: Option<Decimal>Mark implied volatility (options).
mark_price: DecimalMark price.
index_price: Option<Decimal>Index price.
underlying_price: Option<Decimal>Underlying price (options).
block_trade_id: Option<String>Block trade id.
exec_time: TimestampExecution time, milliseconds.
Trait Implementations§
Source§impl Clone for FastExecutionMsg
impl Clone for FastExecutionMsg
Source§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
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