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"
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.
Bsoiuy Awety last edited by
Looking for a similar solution to use the inner loop script for my page of sharjah warriors squad for ilt20 page which is hosted on a dynamic website.