m/market labResearch, with a record.
Source on GitHub ↗

Architecture

Start with the experiment flow. It introduces the components before the detailed process, data and shutdown rules.

Read in this order What it explains
Experiment flow Platform setup, saved run, Play and the decision/trading path
Processes and threads Which process executes each part and how tool requests travel
Market data and ordering Prepared data, visible cutoffs, financial positions and recorded operations
Lifetime and shutdown Resource owners, Pause, Stop, failure and close
Native market engine C++ decoding/book reconstruction versus simulated account execution
Several symbols in one experiment Accepted design: merged timeline, account, risk, execution and Replay
Evaluating Agents against baselines Accepted design: shared metrics, repeated runs, statistics and disguised data

To find where to change code, use the code map. For user controls rather than implementation, read execution modes.

All documentation

Maintained source: docs/architecture/README.md