Error: Boolean array expected for the condition, not object


Hello everyone,

I managed to get historical prices and fundamentals. I’m at the point where I would like to backtest the first version of my algorithm. But every time I start the backtest it runs in the background for 10 to 15 minutes only to end with an HTTPError with an error message saying ‘Boolean array expected for the condition, not object’. Unfortunately, based on this message I don’t know what to look for in my code. Do you guys have any suggestions?



The detailed logs will have the full traceback. You can review this section of the docs for tips on debugging, for example executing your code interactively in a notebook: