summaryrefslogtreecommitdiff
path: root/services/strategy-engine/strategies/ema_crossover_strategy.py
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 18:40:32 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 18:40:32 +0900
commit0b0aace94fa633cd7a90c95ee89658167a8afd35 (patch)
tree4f5dc36c301608ed3af4a1bba9b1a924ca99581c /services/strategy-engine/strategies/ema_crossover_strategy.py
parent8b0cf4e574390738ee33f7ff334dd5f5109b7819 (diff)
feat(strategy): add ADX regime filter, volume confirmation, and ATR stops to BaseStrategy
Diffstat (limited to 'services/strategy-engine/strategies/ema_crossover_strategy.py')
-rw-r--r--services/strategy-engine/strategies/ema_crossover_strategy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/strategy-engine/strategies/ema_crossover_strategy.py b/services/strategy-engine/strategies/ema_crossover_strategy.py
index b0ccbbf..bc36f36 100644
--- a/services/strategy-engine/strategies/ema_crossover_strategy.py
+++ b/services/strategy-engine/strategies/ema_crossover_strategy.py
@@ -11,6 +11,7 @@ class EmaCrossoverStrategy(BaseStrategy):
name: str = "ema_crossover"
def __init__(self) -> None:
+ super().__init__()
self._closes: deque[float] = deque(maxlen=500)
self._short_period: int = 9
self._long_period: int = 21