From 60d5eeaf3d18b6fe959ca59290cb0ce8cf7f5f70 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Sun, 22 Dec 2024 20:51:14 -0800 Subject: [PATCH] Add Engulfing strategy signals to swing trading dashboard --- signals.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/signals.py b/signals.py index 9c54e1b..c51021c 100644 --- a/signals.py +++ b/signals.py @@ -7,6 +7,7 @@ from strategies import declines from strategies import double_5s from strategies import down_days_in_a_row from strategies import end_of_month +from strategies import engulfing from strategies import high_volume_days from strategies import hilo_index_lows from strategies import ibs_rsi @@ -53,6 +54,7 @@ def calculate_signals(data: DataFrame, days: int = 12) -> DataFrame: {'strategy': 'Double 5\'s', 'signals': double_5s(data)}, {'strategy': 'Down Days in a Row', 'signals': down_days_in_a_row(data)}, {'strategy': 'End of Month', 'signals': end_of_month(data)}, + {'strategy': 'Engulfing', 'signals': engulfing(data)}, {'strategy': 'High Volume Days', 'signals': high_volume_days(data)}, {'strategy': 'HILO Index Lows', 'signals': hilo_index_lows(data, new_highs_data, new_lows_data)}, {'strategy': 'IBS + RSI', 'signals': ibs_rsi(data)},