Skip to main content

LegUpdateEvent

Leg lifecycle update event.

FieldTypeRequiredNullableDefaultDescription
EventIdUUIDNoNoStable unique identifier for this event instance.
EventSeqIdintNoNoServer-assigned event sequence id used for ordering and replay/history APIs.
EventTimedatetimeYesNoUTC timestamp when the event occurred on the server.
BrokerAccountIdstrYesNoBroker account id this leg belongs to.
PositionIdintYesNoLive position id this leg belongs to.
PositionNamestrYesNoPosition name at the time of the event.
StrategyIdintYesNoLive strategy id this position belongs to.
StrategyNamestrYesNoStrategy name at the time of the event.
LegIdintYesNoLive leg id.
LegNamestrYesNoLeg name at the time of the event.
ContractLiveContractYesNoContract for this leg.
StatusLegStatusYesNoLeg status.
QtyDecimalNoNoCurrent leg quantity.
RealizedPnLDecimalNoNoRealized PnL attributed to this leg at the time of the event.