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

[Bug] stocks/ta/bbands --std argument does not work. #4863

Closed
deeleeramone opened this issue Apr 22, 2023 · 0 comments · Fixed by #4866
Closed

[Bug] stocks/ta/bbands --std argument does not work. #4863

deeleeramone opened this issue Apr 22, 2023 · 0 comments · Fixed by #4866
Assignees
Labels
bug Fix bug

Comments

@deeleeramone
Copy link
Contributor

Instead of 2 standard deviations, some users may want to use a 1.5 STD, which fails a check_positive_value test.

/stocks/ta/ $ bbands --std 1.5

usage: bbands [-l N_LENGTH] [-s N_STD] [-m {ema,sma,wma,hma,zlma}] [-h] [--export EXPORT] [--sheet-name SHEET_NAME [SHEET_NAME ...]]
bbands: error: argument -s/--std: invalid check_positive value: '1.5'

Setting --std at 1 does not change the value from the default setting of 2.

Screenshot 2023-04-21 at 7 26 02 PM

The same applies when the value is set at 4.

Screenshot 2023-04-21 at 7 30 19 PM

@deeleeramone deeleeramone added the bug Fix bug label Apr 22, 2023
@northern-64bit northern-64bit self-assigned this Apr 22, 2023
@northern-64bit northern-64bit linked a pull request Apr 22, 2023 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants