Bound backtest dataset preparation and preserve replay identity

This commit is contained in:
Boki 2026-10-21 23:18:23 -04:00
parent cca5d71e6e
commit 6bd671d92a
20 changed files with 1420 additions and 155 deletions

View file

@ -313,8 +313,12 @@ history. Runs capture data at execution preparation, **not HTTP acceptance time*
Reproducibility assumes the same engine/strategy code and configuration; the snapshot
is not an engine binary archive or a point-in-time constituent universe. Direct backend
calls can load data for diagnostics, but durable replay/persistence requires the runner.
Snapshots are currently JSONB and load in memory; large tick datasets need chunked storage
and an explicit retention policy before scaling.
Dataset preparation enforces configurable instrument, bar-count, JSON/IPC and stored-JSONB
budgets. Internal handoffs reuse deeply frozen validated inputs; restored snapshots are
always content-checked. Existing v1 hashes and replay identities are unchanged.
See [dataset limits and preparation benchmarks](docs/backtest-datasets.md).
Snapshots are still JSONB and load in memory; large tick datasets need chunked storage
and an explicit retention policy before scaling beyond these budgets.
## Simulation order execution