Add Engulfing strategy signals to swing trading dashboard

This commit is contained in:
moshferatu 2024-12-22 20:51:14 -08:00
parent 893d416301
commit 60d5eeaf3d

View File

@ -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)},