pub trait OrderEvent: 'static + Send {
Show 42 methods
// Required methods
fn id(&self) -> UUID4;
fn kind(&self) -> &str;
fn order_type(&self) -> Option<OrderType>;
fn order_side(&self) -> Option<OrderSide>;
fn trader_id(&self) -> TraderId;
fn strategy_id(&self) -> StrategyId;
fn instrument_id(&self) -> InstrumentId;
fn trade_id(&self) -> Option<TradeId>;
fn currency(&self) -> Option<Currency>;
fn client_order_id(&self) -> ClientOrderId;
fn reason(&self) -> Option<Ustr>;
fn quantity(&self) -> Option<Quantity>;
fn time_in_force(&self) -> Option<TimeInForce>;
fn liquidity_side(&self) -> Option<LiquiditySide>;
fn post_only(&self) -> Option<bool>;
fn reduce_only(&self) -> Option<bool>;
fn quote_quantity(&self) -> Option<bool>;
fn reconciliation(&self) -> bool;
fn price(&self) -> Option<Price>;
fn last_px(&self) -> Option<Price>;
fn last_qty(&self) -> Option<Quantity>;
fn trigger_price(&self) -> Option<Price>;
fn trigger_type(&self) -> Option<TriggerType>;
fn limit_offset(&self) -> Option<Price>;
fn trailing_offset(&self) -> Option<Price>;
fn trailing_offset_type(&self) -> Option<TrailingOffsetType>;
fn expire_time(&self) -> Option<UnixNanos>;
fn display_qty(&self) -> Option<Quantity>;
fn emulation_trigger(&self) -> Option<TriggerType>;
fn trigger_instrument_id(&self) -> Option<InstrumentId>;
fn contingency_type(&self) -> Option<ContingencyType>;
fn order_list_id(&self) -> Option<OrderListId>;
fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>;
fn parent_order_id(&self) -> Option<ClientOrderId>;
fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>;
fn exec_spawn_id(&self) -> Option<ClientOrderId>;
fn venue_order_id(&self) -> Option<VenueOrderId>;
fn account_id(&self) -> Option<AccountId>;
fn position_id(&self) -> Option<PositionId>;
fn commission(&self) -> Option<Money>;
fn ts_event(&self) -> UnixNanos;
fn ts_init(&self) -> UnixNanos;
}