vectorbt icon indicating copy to clipboard operation
vectorbt copied to clipboard

pandas -ta's TTM_TREND gives ValueError: Cannot reshape a 3-dimensional array to 2 dimensions

Open mehadialam opened this issue 2 years ago • 1 comments

TTMIndicator = vbt.IndicatorFactory.from_pandas_ta('TTM_TREND') ttm = TTMIndicator.run(ohlcv['High'], ohlcv['Low'], ohlcv['Close'], 6)

Above code gives below error:

ValueError: Cannot reshape a 3-dimensional array to 2 dimensions

mehadialam avatar May 15 '22 12:05 mehadialam

Can you share entire code

a3rwow avatar Jul 11 '22 07:07 a3rwow