Add signals based on advances to swing trading dashboard

This commit is contained in:
moshferatu 2024-11-15 06:05:43 -08:00
parent 2e0ed6b60c
commit f449b5e534

View File

@ -13,6 +13,7 @@ from plotting import CandlestickChart, figure_with_subplots
from daily_data import get_daily_data from daily_data import get_daily_data
from strategies import advances from strategies import advances
from strategies import cumulative_rsi from strategies import cumulative_rsi
from strategies import declines
from strategies import double_5s from strategies import double_5s
from strategies import down_days_in_a_row from strategies import down_days_in_a_row
from strategies import end_of_month from strategies import end_of_month
@ -45,6 +46,7 @@ signal_functions: List[Dict[str, SignalFunction]] = [
{'strategy': '2-Period RSI', 'function': two_period_rsi.signals}, {'strategy': '2-Period RSI', 'function': two_period_rsi.signals},
{'strategy': 'Advances', 'function': advances.signals}, {'strategy': 'Advances', 'function': advances.signals},
{'strategy': 'Cumulative RSI', 'function': cumulative_rsi.signals}, {'strategy': 'Cumulative RSI', 'function': cumulative_rsi.signals},
{'strategy': 'Declines', 'function': declines.signals},
{'strategy': 'Double 5\'s', 'function': double_5s.signals}, {'strategy': 'Double 5\'s', 'function': double_5s.signals},
{'strategy': 'Down Days in a Row', 'function': down_days_in_a_row.signals}, {'strategy': 'Down Days in a Row', 'function': down_days_in_a_row.signals},
{'strategy': 'End of Month', 'function': end_of_month.signals}, {'strategy': 'End of Month', 'function': end_of_month.signals},