Closed danboyle7 closed 1 year ago
Describe the bug There is the findTrend logic error in screening.py.
Under the findTrend function, the logic that labels the trend as "weak down" is incorrect. Currently, it is: elif (angle >= -30 and angle < -61):
elif (angle >= -30 and angle < -61):
However, this case is impossible. It should be: elif (angle <= -30 and angle > -61):
elif (angle <= -30 and angle > -61):
To Reproduce Steps to reproduce the behavior:
Expected behavior The screener to correctly classify a trend with an angle between -30 and -61.
Thanks for reporting the bug @danboyle7 Will be fixing this in the next release!
This Issue is marked as Stale due to Inactivity. This Issue will be Closed soon.
@danboyle7 Fixed in c30b982
Describe the bug There is the findTrend logic error in screening.py.
Under the findTrend function, the logic that labels the trend as "weak down" is incorrect. Currently, it is:
elif (angle >= -30 and angle < -61):
However, this case is impossible. It should be:
elif (angle <= -30 and angle > -61):
To Reproduce Steps to reproduce the behavior:
Expected behavior The screener to correctly classify a trend with an angle between -30 and -61.