Skip to main content

Module events

Module events 

Expand description

EngineEvent envelope and payload types (JOURNAL_SPEC §5, §8).

Ordering rule (§5.1): Replay MUST order events by seq. mono_ns and ts_utc are for diagnostics only.

Uniqueness rule (§5.2): Within a run, seq MUST be unique and contiguous, and event_id MUST be unique.

Structs§

Checkpoint
§8.14 — Snapshot for accelerated replay.
ConfigChange
§8.3 — Runtime config change.
DirectRetirementEvent
§8.17 — Direct-cancel retirement marker.
EngineEvent
Event envelope wrapping every journaled record (JOURNAL_SPEC §5).
ExecutionAck
§8.8 — Venue acknowledgment.
ExecutionCommand
§8.7 — Outbound command to exchange adapter.
ExecutionReject
§8.9 — Venue rejection.
FeeDetail
Fee breakdown attached to a fill.
Fill
§8.10 — Trade execution (partial/full).
Heartbeat
§8.15 — Health marker.
MarketEvent
§8.4 — Canonical market data.
ModeChange
§8.2 — Mode transition within a run.
OrderIntent
§8.5 — Order intent (canonical).
OrderStateEvent
§8.11 — Explicit order state transition.
Reconcile
§8.12 — Reconciliation action and result.
RiskDecision
§8.6 — Risk gateway decision.
RiskStateEvent
§8.13 — Risk stop-state transition.
RunMeta
§8.1 — Run metadata. MUST be seq=1.
StrategyIntent
§8.5 — Strategy intent event.
VelocityGateEvent
§8.16 — Velocity gate transition.

Enums§

AckStatus
Execution ack status (§8.8).
CommandType
Execution command type (§8.7).
ConfigSource
Config change source (§8.3).
Decision
Risk decision outcome (§8.6).
HeartbeatComponent
Heartbeat component (§8.15).
HeartbeatStatus
Heartbeat status (§8.15).
IntentAction
Intent action (§8.5).
Liquidity
Liquidity indicator (§8.10).
Mode
Engine operating mode (JOURNAL_SPEC §4).
OrderLifecycleState
Order lifecycle state (§8.11).
OrderType
Order type (§8.5).
Payload
Discriminated payload for each event type.
ReconcileResult
Reconciliation result (§8.12).
ReconcileScope
Reconciliation scope (§8.12).
ReconcileSeverity
Reconciliation severity classification (§8.12).
RiskReasonCode
Risk reason code (§8.6).
RiskStopState
Risk stop state (§8.13).
TimeInForce
Time in force (§8.5).

Constants§

SCHEMA_VERSION
Current schema version for the EngineEvent envelope.