Order
Order view used by GetOrder/ListOrders.
| Field | Type | Required | Nullable | Default | Description |
|---|---|---|---|---|---|
OrderId | int | Yes | No | Live order id. | |
CreatedAt | datetime | Yes | No | UTC timestamp when the order was created. | |
FilledAt | datetime | Yes | No | UTC timestamp when the order was filled (if filled). | |
ExecPlanId | int | Yes | No | Live execution plan id the order belongs to. | |
BrokerAccountId | str | Yes | No | Broker account id the order belongs to. | |
LegGroupId | int | Yes | No | Leg group id within the execution plan this order is for. | |
State | OrderState | Yes | No | Current order state. | |
Side | str | Yes | No | Order side ("B" = buy, "S" = sell). | |
Qty | Decimal | Yes | No | Signed quantity (negative = sell, positive = buy). | |
CumQty | Decimal | Yes | No | Signed cumulative filled quantity (negative = sell, positive = buy). | |
AvgFillPrice | Decimal | Yes | Yes | Average fill price (if available). | |
LastFillPrice | Decimal | Yes | Yes | Last fill price (if available). | |
LimitPrice | Decimal | Yes | Yes | Limit price (if applicable). | |
StopPrice | Decimal | Yes | Yes | Stop price (if applicable). | |
OrderType | OrderType | Yes | No | Order type. | |
TimeInForce | TimeInForce | Yes | No | Time-in-force. | |
LastUpdated | datetime | Yes | No | UTC timestamp when the order was last updated. |