refactor(orchestrator): narrow historical storage to reads (CL17)

This commit is contained in:
Boki 2026-10-26 20:30:40 -04:00
parent 03518c8ae4
commit 984dc1a9cc
17 changed files with 88 additions and 232 deletions

View file

@ -21,7 +21,7 @@ export async function createExampleRuntime() {
})
.build();
const container = di.resolve('serviceContainer') as OrchestratorServices;
const storageService = new StorageService(container, null, null, null, {
const storageService = new StorageService(container.logger, null, null, {
allowSyntheticData: true,
syntheticSeed: 42,
});
@ -45,7 +45,6 @@ export async function createExampleRuntime() {
logger: container.logger,
marketData: marketDataService,
execution: executionService,
storage: storageService,
strategies: strategyManager,
});
const custom = container.custom ?? {};