pub struct Execution {Show 26 fields
pub symbol: String,
pub order_id: String,
pub order_link_id: String,
pub side: Side,
pub order_price: String,
pub order_qty: String,
pub leaves_qty: String,
pub order_type: OrderType,
pub stop_order_type: Option<String>,
pub exec_fee: String,
pub exec_id: String,
pub exec_price: String,
pub exec_qty: String,
pub exec_type: String,
pub exec_value: String,
pub exec_time: String,
pub is_maker: bool,
pub fee_rate: Option<String>,
pub trade_iv: Option<String>,
pub mark_iv: Option<String>,
pub mark_price: Option<String>,
pub index_price: Option<String>,
pub underlying_price: Option<String>,
pub block_trade_id: Option<String>,
pub closed_size: Option<String>,
pub seq: Option<i64>,
}Expand description
Trade execution record.
Fields§
§symbol: StringTrading symbol.
order_id: StringOrder ID.
order_link_id: StringUser-defined order ID.
side: SideOrder side.
order_price: StringOrder price.
order_qty: StringOrder quantity.
leaves_qty: StringRemaining quantity.
order_type: OrderTypeOrder type.
stop_order_type: Option<String>Stop order type.
exec_fee: StringExecution fee.
exec_id: StringExecution ID.
exec_price: StringExecution price.
exec_qty: StringExecution quantity.
exec_type: StringExecution type.
exec_value: StringExecution value.
exec_time: StringExecution time (ms).
is_maker: boolIs maker.
fee_rate: Option<String>Fee rate.
trade_iv: Option<String>Trade IV (options).
mark_iv: Option<String>Mark IV (options).
mark_price: Option<String>Mark price.
index_price: Option<String>Index price.
underlying_price: Option<String>Underlying price (options).
block_trade_id: Option<String>Block trade ID.
closed_size: Option<String>Closed size (for closed positions).
seq: Option<i64>Sequence number.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Execution
impl<'de> Deserialize<'de> for Execution
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
Auto Trait Implementations§
impl Freeze for Execution
impl RefUnwindSafe for Execution
impl Send for Execution
impl Sync for Execution
impl Unpin for Execution
impl UnwindSafe for Execution
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