Additional Note:
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.
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
1
Posts made by 1one
-
RE: receive ValueError from bta.smma()
-
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"