train_and_evaluate.ipynb getting AttributeError: 'AnalysisIndicators' object has no attribute 'study'

Author: sanoj2021Created May 22, 2022Updated May 30, 2022

System information

  • Have I written custom code (as opposed to using example directory): No
  • OS Platform and Distribution (e.g. Mac Sierra, Windows 10, Linux Ubuntu 16.04): Windows 10
  • TensorTrade version: 1.0.4.dev1
  • TensorFlow version: 2.9.0
  • Python version: 3.9

Describe the current behavior Opening the example notebook train_and_evaluate from the examples and running the 6th cell (data = generate_features(data) data) gives the following error: AttributeError: 'AnalysisIndicators' object has no attribute 'study'

Describe the expected behavior No error.

Code to reproduce the issue
Please refer to the example code.

Other info / logs

AttributeError Traceback (most recent call last) Input In [5], in <cell line: 1>() ----> 1 data = generate_features(data) 2 data

Input In [4], in generate_features(data) 84 df.ta.cores = cores 86 for strategy in strategies: ---> 87 df.ta.study(strategy, exclude=['kvo']) 89 df = df.set_index('date') 91 # Generate all default indicators from ta library

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

Source: tensortrade-org/tensortrade