ExecutionReport

Struct ExecutionReport 

Source
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 order
  • orig_qty: Quantity originally requested
  • executed_qty: Total quantity filled
  • remaining_qty: Quantity still unfilled
  • taker_qty: Quantity matched as taker (aggressive side)
  • maker_qty: Quantity resting as maker (passive side)
  • order_type: Market or Limit
  • side: Buy or Sell
  • price: For limit orders, this is the limit price; for market is 0
  • status: Final status of the order
  • time_in_force: Time-in-force policy applied
  • post_only: Whether the order was post-only
  • fills: Vector of individual fills
  • log: 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§

Source§

impl Debug for ExecutionReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.