Skip to main content

Module manager

Module manager 

Source
Expand description

Execution reconciliation and state tracking for live hosts.

ExecutionManager owns activity windows, retry state, fill identities, and cache-dependent decisions. It prepares queries and events, validates reports, and verifies applied fills. External-order registration updates the cache and publishes its initialization notification.

The manager requests reports for individual checks and applies mass-status events to the engine. The live node owns recurring tasks, deadlines, and continuous event dispatch. Preparation snapshots retain activity revisions so decisions can be rechecked after requests or event callbacks. Activity revision counters are retained for the manager’s lifetime so an older snapshot cannot mistake a reset counter for unchanged activity.

Re-exports§

pub use super::config::ExecutionManagerConfig;

Structs§

ExecutionManager
Manager for execution state.
ExternalOrderMetadata
Metadata for an external order that needs to be registered with the execution client.
InflightCheckResult
Result of inflight order checks containing terminal events and intermediate queries.
PositionFillReportPlan
Fill queries and discrepancy keys for a position reconciliation check.
PositionFillReportQuery
Fill report request for one instrument, account, and execution client.
PositionReportCheck
Prepare-time state and command for one continuous position reconciliation check.
ReconciliationResult
Result of reconciliation containing events, external orders, and unresolved position diagnostics.

Enums§

PositionFillReportPreparation
Whether a fill is attributable and free of active inferred-fill overlap.
ReportClientCoverage
Execution clients responsible for reporting one cached entity.

Type Aliases§

InstrumentAccountKey
Composite key identifying a position context by instrument and account.