Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
New build error but I changed nothing

I am backtesting from 2003. I have some conditional statements like:

    if (today.year >= 2008):  
        context.currently_holding.append(symbol('UUP'))  
        bnds.append([0,1])

This morning, when I try to build, I get the following error:
Symbol 'UUP' was not found. Did you check set_symbol_lookup_date() to confirm the asset traded at this time? Learn More

I think it's suddenly flagging the use of symbol() on securities that didn't exist before the backtest start. This isn't desirable to me. I'd rather control that myself.

Thoughts?

2 responses

The backtest is no longer producing this error.

Its doing it again. I made no changes.