pub struct Execution {Show 19 fields
pub symbol: String,
pub symbol_id: u64,
pub quantity: f64,
pub side: String,
pub price: f64,
pub id: u64,
pub order_id: u64,
pub order_chain_id: u64,
pub exchange_exec_id: Option<String>,
pub timestamp: String,
pub notes: Option<String>,
pub venue: Option<String>,
pub total_cost: f64,
pub order_placement_commission: f64,
pub commission: f64,
pub execution_fee: f64,
pub sec_fee: f64,
pub canadian_execution_fee: f64,
pub parent_id: u64,
}Expand description
A single trade execution (fill-level detail) from Questrade.
Fields§
§symbol: StringTicker symbol (e.g. "AAPL").
symbol_id: u64Questrade internal symbol ID.
quantity: f64Number of shares or contracts filled.
side: StringClient side of the order: "Buy", "Sell", etc.
price: f64Execution price per share or contract.
id: u64Internal execution identifier.
order_id: u64Internal order identifier.
order_chain_id: u64Internal order chain identifier.
exchange_exec_id: Option<String>Identifier of the execution at the originating exchange.
timestamp: StringExecution timestamp (ISO 8601).
notes: Option<String>Manual notes from Trade Desk staff (empty string if none).
venue: Option<String>Trading venue where the execution originated (e.g. "LAMP").
total_cost: f64Total cost: price × quantity.
order_placement_commission: f64Trade Desk order placement commission.
commission: f64Questrade commission.
execution_fee: f64Venue liquidity execution fee.
sec_fee: f64SEC fee on US security sales.
canadian_execution_fee: f64TSX/Canadian execution fee.
parent_id: u64Parent order identifier (0 if none).
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 UnsafeUnpin 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