Add Cumulative RSI trading signals to swing trading dashboard
This commit is contained in:
parent
7ece726a02
commit
c09d469894
@ -10,6 +10,7 @@ from typing import Callable, List, Dict
|
|||||||
from ohlc import ohlc
|
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 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
|
||||||
@ -24,6 +25,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': '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}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user