Append=False not working for AllStrategy
See original GitHub issueWhich version are you running? The lastest version is on Github. Pip is for major releases.
import pandas_ta as ta
print(ta.version)
version == 0.3.14b0
Upgrade.
$ pip install -U git+https://github.com/twopirllc/pandas-ta
Describe the bug A clear and concise description of what the bug is. when trying to calculate values for all indicators using below code, the data by default gets appended to the dataframe and there is no option to override it. Using “append=False” does not work. This makes it difficult to use this on streaming data.
To Reproduce Provide sample code. df.ta.strategy(‘All’, append=False, verbose=True, timed=True)
Expected behavior A clear and concise description of what you expected to happen. “append=False” should ensure that output of AllStrategy is not added to source dataframe.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Thanks for using Pandas TA!
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (9 by maintainers)
Top GitHub Comments
I’m not OP. But if you’re interested here are some examples of Alpaca’s.
Here is their documentation for their python SDK.
Hey @manjrem,
Great! Also
ta.strategy()
is depreciated in lieu ofta.study()
.No problem. Thanks for your patience.
Amiss
I asked this exact question on 2/20:
You replied:
Based on that response, I understood that the resultant TA did not need to be returned, only printed.
I do not have a time frame of when to attempt again with so many outstanding issues and other TA Lib indicators than need to be included before I make another Pypi release. Hopefully someone can help in between that time, so I will leave this open.
Kind Regards, KJ