Hello fellows, I´m new in here and I a question:

I am not sure what is the error. I tried to compute SCTR (from stockcharts) using a dataframe built with self.History. I tried to use setHoldings to execute the trade but I faced the following error:


Runtime Error: IndexingError : Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match).
at check_bool_indexer
"Unalignable boolean Series provided as "
File "indexing.py" in indexing.py:line 2409 
IndexingError : Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match). (Open Stacktrace)

Need help in understanding what's the error I'm facing here

Thanks a lot!!

Author