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

PrevBar PrevBars methods? #19

Open
qiquanlu opened this issue Oct 7, 2021 · 0 comments
Open

PrevBar PrevBars methods? #19

qiquanlu opened this issue Oct 7, 2021 · 0 comments

Comments

@qiquanlu
Copy link

qiquanlu commented Oct 7, 2021

Thank you for providing such great package!

When I try to use this package, it's very convenient to fetch data, and iterate data,
however, the Next() method in iter will drop all previous values. And mosts of TAs are based on previous values.

I think it will be more convenient to change Next() (or add NextBar, NextBars method) and keep values.
Also add PrevBar, PrevBars methods to get previous candle bars for technical analysis.

What do you think?
Thanks!

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

No branches or pull requests

1 participant