Struct agnostic_orderbook::state::OrderSummary [−][src]
pub struct OrderSummary { pub posted_order_id: Option<u128>, pub total_base_qty: u64, pub total_quote_qty: u64, pub total_base_qty_posted: u64, }
Expand description
This struct is written back into the event queue’s register after new_order or cancel_order.
In the case of a new order, the quantities describe the total order amounts which were either matched against other orders or written into the orderbook.
In the case of an order cancellation, the quantities describe what was left of the order in the orderbook.
Fields
posted_order_id: Option<u128>
When applicable, the order id of the newly created order.
total_base_qty: u64
total_quote_qty: u64
total_base_qty_posted: u64