After some more testing I'm running into the same issue when trying to access bta.ema() and bta.rsi(). Only bta.sma() is working.
Latest posts made by 1one
receive ValueError from bta.smma()
I always run into this ValueError no matter what I tried. So I think I'm missing something easy, but important.
I'm happy for any help. Thanks!
That's a code example:
sma1 = bta.smma(df['C'], period=5)
And that's the Error I can't pass by...
Exception has occurred: ValueError
"cannot set using a slice indexer with a different length than the value"