Add Double 5's signals to swing trading dashboard

This commit is contained in:
moshferatu 2024-10-29 07:01:41 -07:00
parent 0f5335cfe2
commit e92feacdde

View File

@ -11,6 +11,7 @@ from ohlc import ohlc
from plotting import CandlestickChart, figure_with_subplots from plotting import CandlestickChart, figure_with_subplots
from strategies import cumulative_rsi from strategies import cumulative_rsi
from strategies import double_5s
from strategies import end_of_month from strategies import end_of_month
from strategies import internal_bar_strength from strategies import internal_bar_strength
from strategies import two_period_rsi from strategies import two_period_rsi
@ -26,6 +27,7 @@ SignalFunction = Callable[[DataFrame], Series]
signal_functions: List[Dict[str, SignalFunction]] = [ 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': 'Cumulative RSI', 'function': cumulative_rsi.signals}, {'strategy': 'Cumulative RSI', 'function': cumulative_rsi.signals},
{'strategy': 'Double 5\'s', 'function': double_5s.signals},
{'strategy': 'End of Month', 'function': end_of_month.signals}, {'strategy': 'End of Month', 'function': end_of_month.signals},
{'strategy': 'Internal Bar Strength', 'function': internal_bar_strength.signals} {'strategy': 'Internal Bar Strength', 'function': internal_bar_strength.signals}
] ]