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?