Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with negative RSI values #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

opz
Copy link

@opz opz commented Sep 11, 2018

The old list comprehensions were not filtering properly and negative RSI values were sneaking through.

These simplified comprehensions have worked well during my testing and improve readability.

The list comprehension used to compute gains for the RSI indicator has
been updated to properly register negative values as 0.
@g8a9
Copy link

g8a9 commented Aug 1, 2019

Completely agree. This messes up everything, @kylejusticemagnuson you should definitively merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants