bukosabino/ta

AttributeError: module 'talib.abstract' has no attribute 'volatility'

NKVDL opened this issue · 1 comments

NKVDL commented

The TA library documents the following:

(class)ta.volatility.DonchianChannel(high: pandas.core.series.Series, low: pandas.core.series.Series, close: pandas.core.series.Series, window: int = 20, offset: int = 0, fillna: bool = False)

However, the strategy.strategy_wrapper gives an error:

_freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error module 'talib.abstract' has no attribute 'volatility' calling <bound method IStrategy.analyze_ticker_internal of <tiparent.tiparent object at 0x11457fac0>>

Following:

AttributeError: module 'talib.abstract' has no attribute 'volatility'
2021-02-23 00:50:42,709 - freqtrade.strategy.interface - WARNING - Unable to analyze candle (OHLCV) data for pair XTZ/BTC: module 'talib.abstract' has no attribute 'volatility'

NKVDL commented

SOLVED

Install ta and follow documentation.

In the StrategyExample talib (a wrapper) is installed.