Add R3 strategy signals to swing trading dashboard

This commit is contained in:
moshferatu 2024-12-09 08:21:25 -08:00
parent 69dd2ea015
commit 893d416301

View File

@ -15,6 +15,7 @@ from strategies import internal_bar_strength_band
from strategies import large_moves_down
from strategies import lower_lows
from strategies import put_call_ratio_highs
from strategies import r3
from strategies import rsi_25_75
from strategies import rsi_power_zones
from strategies import short_term_lows
@ -60,6 +61,7 @@ def calculate_signals(data: DataFrame, days: int = 12) -> DataFrame:
{'strategy': 'Large Moves Down', 'signals': large_moves_down(data)},
{'strategy': 'Lower Lows', 'signals': lower_lows(data)},
{'strategy': 'Put / Call Ratio Highs', 'signals': put_call_ratio_highs(data, put_volume_data, call_volume_data)},
{'strategy': 'R3', 'signals': r3(data)},
{'strategy': 'RSI 25 / 75', 'signals': rsi_25_75(data)},
{'strategy': 'RSI PowerZones', 'signals': rsi_power_zones(data)},
{'strategy': 'Short-Term Lows', 'signals': short_term_lows(data)},