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

@ -179,7 +179,6 @@ describe('one simulation execution gateway', () => {
logger,
marketData: lifecycle,
execution,
storage: lifecycle,
strategies: { restoreStrategies: async () => {}, shutdown: async () => {} },
});
await expect(mode.initializeMode(live)).rejects.toThrow('Live trading is disabled');
@ -207,7 +206,7 @@ describe('one simulation execution gateway', () => {
}
const market: MarketDataService = new MarketDataService({
logger,
storage: new StorageService({ logger }, null, null, null),
storage: new StorageService(logger, null, null),
drainStrategies: () => manager.drain(),
});
const manager: StrategyManager = new StrategyManager({