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

Fixed off-by-one in calculation of small spike. #369

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

Fixed off-by-one in calculation of small spike. #369

wants to merge 1 commit into from

Conversation

peter50216
Copy link
Contributor

@peter50216 peter50216 commented May 14, 2020

The peak is always at least one higher then the previous value in small spike.

Fix part of #367

The peak is always at least one higher then the previous value in small spike.
Copy link
Collaborator

@theRTC204 theRTC204 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing like a good ol' one liner!

@rda2
Copy link

rda2 commented Jun 16, 2020

Shouldn't the low price be increased by 1 as well?

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

3 participants