tensortrade-org / tensortrade

An open source reinforcement learning framework for training, evaluating, and deploying robust trading agents.
https://discord.gg/ZZ7BGWh
Apache License 2.0
4.52k stars 1.02k forks source link

AttributeError: 'AnalysisIndicators' object has no attribute 'study' #466

Open BrotherZhu opened 1 year ago

BrotherZhu commented 1 year ago

I got error AttributeError: 'AnalysisIndicators' object has no attribute 'study' while running "df.ta.study(strategy, exclude=['kvo'])" of file XXX/tensortrade-master/examples/train_and_evaluate.ipynb

System information

excellentiam-prog commented 1 year ago

I got the same error "AttributeError: 'AnalysisIndicators' object has no attribute 'study'" on windows using the last version of tensortrade and pandas-ta. I got the same error when I tried the previous pandas_ta version 0.2.23b0.

I tried replacing "df.ta.study(strategy, exclude=['kvo'])" to "df.ta.strategy(strategy, exclude=['kvo']) and I got "AttributeError: 'AnalysisIndicators' object has no attribute 'cdl_doji'"