pub type UnindexedInactiveOrder = Order<ExchangeId, InstrumentNameExchange, UnindexedInactiveOrderState>;Expand description
Convenient type alias for an Order that has ended, keyed with ExchangeId and
InstrumentNameExchange.
Aliased Type§
pub struct UnindexedInactiveOrder {
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: InactiveOrderState<AssetNameExchange, InstrumentNameExchange>,
}Fields§
§key: OrderKey<ExchangeId, InstrumentNameExchange>§side: Side§price: Option<Decimal>Limit price for the order. None for Market/Stop/TrailingStop orders, and for a
TrailingStopLimit, whose limit follows its stop; the fixed limit of a
TrailingStopFixedLimit.
quantity: Decimal§kind: OrderKind§time_in_force: TimeInForce§state: InactiveOrderState<AssetNameExchange, InstrumentNameExchange>