pub struct ExecutionReport {Show 14 fields
pub order_id: OrderId,
pub orig_qty: Quantity,
pub executed_qty: Quantity,
pub remaining_qty: Quantity,
pub taker_qty: Quantity,
pub maker_qty: Quantity,
pub order_type: OrderType,
pub side: Side,
pub price: Price,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub post_only: bool,
pub fills: Vec<FillReport>,
pub log: Option<JournalLog>,
}Expand description
A comprehensive report describing the result of a submitted order.
The report includes the amount filled, remaining quantity, order status,
any matched trades (fills), and optional journaling info.
§Fields
order_id: ID assigned to the orderorig_qty: Quantity originally requestedexecuted_qty: Total quantity filledremaining_qty: Quantity still unfilledtaker_qty: Quantity matched as taker (aggressive side)maker_qty: Quantity resting as maker (passive side)order_type: Market or Limitside: Buy or Sellprice: For limit orders, this is the limit price; for market is 0status: Final status of the ordertime_in_force: Time-in-force policy appliedpost_only: Whether the order was post-onlyfills: Vector of individual fillslog: Optional journal log (if journaling is enabled)
Fields§
§order_id: OrderId§orig_qty: Quantity§executed_qty: Quantity§remaining_qty: Quantity§taker_qty: Quantity§maker_qty: Quantity§order_type: OrderType§side: Side§price: Price§status: OrderStatus§time_in_force: TimeInForce§post_only: bool§fills: Vec<FillReport>§log: Option<JournalLog>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionReport
impl RefUnwindSafe for ExecutionReport
impl Send for ExecutionReport
impl Sync for ExecutionReport
impl Unpin for ExecutionReport
impl UnwindSafe for ExecutionReport
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