Architecture
How the engine is built: hexagonal layers, the tick-to-decision path, model governance, and the intelligence loop.
Overview
Hexagonal (ports-and-adapters), event-driven architecture of Nexus Scalp Engine — layers, boundaries, and why they exist.
System Map
Component inventory of the Nexus Scalp Engine — packages, databases, workers, and the dependency shape.
Data Flow
The canonical data path from a broker tick to an audited trading decision, with every contract boundary.
Runtime
How the async runtime behaves at runtime — tick pipeline, workers, modes, and what may never block.
Research Stack
How the research engine turns historical data into validated (or rejected) strategy candidates.
Model Pipeline
Artifact-first model factory, manifests, load gate, champion/challenger governance — how a model earns (and keeps) the right to run.
Execution Pipeline
OrderManager — the 60-scenario router, position state machine, protection ledger, recovery budget, and every hard clamp.
Observability
Structured logging, incidents, forensics health, deploy gate — how the system makes its own behavior auditable.
Database
SQLite WAL canonical ledgers, additive migrations, hygiene engine — how persistence stays truthful and rebuildable.