Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Simple Future Algo crashes

Hallo,
I have created a very simple Future algorithm and it works when I set the starting date for the backtesting to 2011 but if I try to use anything longer it will crash.

When I define starting date to 2003 it crashes on optimize API if I change starting date to 2010 it crashes with a keyerror.
It this a data problem or something on my code?

Regards,
Lucas