Add signals based on declines to swing trading dashboard
This commit is contained in:
parent
52d651209b
commit
2e0ed6b60c
@ -11,6 +11,7 @@ from typing import Callable, List, Dict
|
|||||||
from plotting import CandlestickChart, figure_with_subplots
|
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 cumulative_rsi
|
from strategies import cumulative_rsi
|
||||||
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
|
||||||
@ -42,6 +43,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': 'Advances', 'function': advances.signals},
|
||||||
{'strategy': 'Cumulative RSI', 'function': cumulative_rsi.signals},
|
{'strategy': 'Cumulative RSI', 'function': cumulative_rsi.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},
|
||||||
|
Loading…
Reference in New Issue
Block a user