refactor(orchestrator): narrow historical storage to reads (CL17)
This commit is contained in:
parent
03518c8ae4
commit
984dc1a9cc
17 changed files with 88 additions and 232 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue