LegUpdateEvent
Leg lifecycle update event.
| Field | Type | Required | Nullable | Default | Description |
|---|---|---|---|---|---|
EventId | UUID | No | No | Stable unique identifier for this event instance. | |
EventSeqId | int | No | No | Server-assigned event sequence id used for ordering and replay/history APIs. | |
EventTime | datetime | Yes | No | UTC timestamp when the event occurred on the server. | |
BrokerAccountId | str | Yes | No | Broker account id this leg belongs to. | |
PositionId | int | Yes | No | Live position id this leg belongs to. | |
PositionName | str | Yes | No | Position name at the time of the event. | |
StrategyId | int | Yes | No | Live strategy id this position belongs to. | |
StrategyName | str | Yes | No | Strategy name at the time of the event. | |
LegId | int | Yes | No | Live leg id. | |
LegName | str | Yes | No | Leg name at the time of the event. | |
Contract | LiveContract | Yes | No | Contract for this leg. | |
Status | LegStatus | Yes | No | Leg status. | |
Qty | Decimal | No | No | Current leg quantity. | |
RealizedPnL | Decimal | No | No | Realized PnL attributed to this leg at the time of the event. |