Coverage for strategies / strategy_executor.py: 100%
7 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-04 15:08 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-04 15:08 +0000
1# strategies/strategy_executor.py
2from interfaces.strategy import Strategy
3from typing import List, Dict
6class StrategyExecutor:
7 def __init__(self, strategy: Strategy):
8 self.strategy = strategy
10 async def execute(self, stock_codes: List[str]) -> Dict:
11 return await self.strategy.run(stock_codes)