Coverage for src/finbot/strategy/base.py: 100%
4 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-21 17:12 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-21 17:12 +0000
1from abc import ABC, abstractmethod
3from finbot.market.models import Bar
4from finbot.strategy.signal import Signal
7class Strategy(ABC):
9 @abstractmethod
10 def on_bar(self, bar: Bar) -> Signal | list[Signal] | None:
11 ...