Closed pranavlal closed 1 year ago
Hi @pranavlal,
Please provide a minimal snippet of code which can be run to reproduce any error you are seeing. I am not exactly sure what the issue here is.
In case you haven't seen it, I have written a post about using the divergence indicators, you can find that here. It may be of help.
@pranavlal
$ git rev-parse HEAD
9478b6253bcd9456ad3dee99cd8b961950196ba3
$ grep -rin "def rolling_signal_list" autotrader
autotrader/indicators.py:934:def rolling_signal_list(signals: Union[list, pd.Series]) -> list:
This seems like a good candidate for closure given there's no minimally reproducible bug.
Describe the bug A clear and concise description of what the bug is. Visual studio code is unable to find the variable caled rolling_signal_list To Reproduce Steps to reproduce the behavior:
Expected behavior I should be able to use the detect_divergence routine.
My idea behind using the divergence ndicator is to detect when a bearish trend is about to begin. I have a long only machine learning model which works when I need to buy stocks but I need to sell on time. My idea is to detect a bearish divergence. If that happens, I know the price could fall therefore take profit and move on.