Skip to main content

UnindexedOrderSnapshot

Type Alias UnindexedOrderSnapshot 

Source
pub type UnindexedOrderSnapshot = Order<ExchangeId, InstrumentNameExchange, OrderState<AssetNameExchange, InstrumentNameExchange>>;
Expand description

Convenient type alias for an OrderSnapshot keyed with ExchangeId, AssetNameExchange, and InstrumentNameExchange.

Aliased Type§

pub struct UnindexedOrderSnapshot {
    pub key: OrderKey<ExchangeId, InstrumentNameExchange>,
    pub side: Side,
    pub price: Option<Decimal>,
    pub quantity: Decimal,
    pub kind: OrderKind,
    pub time_in_force: TimeInForce,
    pub state: OrderState<AssetNameExchange, InstrumentNameExchange>,
}

Fields§

§key: OrderKey<ExchangeId, InstrumentNameExchange>§side: Side§price: Option<Decimal>

Limit price for the order. None for Market/Stop/TrailingStop orders.

§quantity: Decimal§kind: OrderKind§time_in_force: TimeInForce§state: OrderState<AssetNameExchange, InstrumentNameExchange>