Hi,

I see that there are a few threads with this issue already, but I cannot solve why my algo is giving me this error.

As my code might reflect, I tried many lines of code, with no success.

If I run my algo for a few days, there is no issue. But when change the starting date to 2018, it crashes.

I attached the backtest of a couple of days, since I cannot attach a backtest that crashes.

Any help is greatly appreciated :)