ErrorEvent
Error event emitted for a strategy/position.
| 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. | |
State | ErrorState | Yes | No | Error state transition. | |
ErrorId | UUID | Yes | No | Stable unique identifier for this error instance. | |
StrategyId | int | No | Yes | Live strategy id associated with the error (if applicable). | |
StrategyName | str | No | Yes | Strategy name associated with the error (if applicable). | |
PositionId | int | No | Yes | Live position id associated with the error (if applicable). | |
PositionName | str | No | Yes | Position name associated with the error (if applicable). | |
BrokerAccountId | str | No | Yes | Broker account id associated with the error (if applicable). | |
Message | str | No | Yes | Human-readable error message (if available). | |
ConditionType | ConditionType | No | Yes | Condition type associated with the error (if applicable). | |
Statement | str | No | Yes | Expression/statement associated with the error (if applicable). |