From 2e0ed6b60c8596a525c94aeb4a5bfec05783e54e Mon Sep 17 00:00:00 2001 From: moshferatu Date: Fri, 15 Nov 2024 06:05:13 -0800 Subject: [PATCH] Add signals based on declines to swing trading dashboard --- dashboard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard.py b/dashboard.py index 439c817..2c0465c 100644 --- a/dashboard.py +++ b/dashboard.py @@ -11,6 +11,7 @@ from typing import Callable, List, Dict from plotting import CandlestickChart, figure_with_subplots from daily_data import get_daily_data +from strategies import advances from strategies import cumulative_rsi from strategies import double_5s from strategies import down_days_in_a_row @@ -42,6 +43,7 @@ SignalFunction = Callable[[DataFrame], Series] signal_functions: List[Dict[str, SignalFunction]] = [ {'strategy': '2-Period RSI', 'function': two_period_rsi.signals}, + {'strategy': 'Advances', 'function': advances.signals}, {'strategy': 'Cumulative RSI', 'function': cumulative_rsi.signals}, {'strategy': 'Double 5\'s', 'function': double_5s.signals}, {'strategy': 'Down Days in a Row', 'function': down_days_in_a_row.signals},