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

Could I set other values to StockDataFrame variables? #55

Closed
mscampos92 opened this issue Jun 1, 2020 · 3 comments
Closed

Could I set other values to StockDataFrame variables? #55

mscampos92 opened this issue Jun 1, 2020 · 3 comments
Assignees
Labels

Comments

@mscampos92
Copy link

mscampos92 commented Jun 1, 2020

I want to use other values for example in bollinger I would use 8 periods... how is the correct way to do it?

just do a "Sdf.BOLL_PERIOD = 8" ?

@jealous
Copy link
Owner

jealous commented Jun 2, 2020

Yes. That's right.

@jealous jealous self-assigned this Jun 2, 2020
@danabaxia
Copy link

Hi this method seems not work for me. the option value changes but the boll results stay at 20 period

@jealous
Copy link
Owner

jealous commented Jan 1, 2022

You need to set the value before you change the option. The index are calculated when you access them for the first time. You can also delete the old value so that the option will take effect when the lib calculates the new value.

@jealous jealous closed this as completed Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants