fix(api): reject retired backtest creation before writes (CL23)

This commit is contained in:
Boki 2026-10-28 13:48:41 -04:00
parent 3fc0a272d8
commit cd1aa61481
10 changed files with 297 additions and 48 deletions

View file

@ -34,7 +34,7 @@ export class BacktestServiceV2 {
) {
const services = requireServices(container, 'postgres');
this.runs = new BacktestRuns(services, request);
this.templates = new BacktestTemplates(services, input => this.runs.createRun(input));
this.templates = new BacktestTemplates(services);
this.results = new BacktestResults(services);
this.reproduction = new BacktestReproduction(services, this.results);
}