PositionUpdateEvent
Position 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. | |
PositionId | int | Yes | No | Live position id. | |
StrategyId | int | Yes | No | Live strategy id this position belongs to. | |
StrategyName | str | Yes | No | Strategy name at the time of the event. | |
PositionName | str | Yes | No | Position name at the time of the event. | |
BrokerAccountId | str | Yes | No | Broker account id this position belongs to. | |
Status | PositionStatus | Yes | No | Position status. | |
RealizedPnL | Decimal | No | No | Realized PnL at the time of the event. |