Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
help w/ KeyError on BWS_WI

I got this error:

Something went wrong. Sorry for the inconvenience. Try using the built-in debugger to analyze your code. If you would like help, send us an email.
KeyError: Equity(28245, symbol='BWS_WI', asset_name='BROWN SHOE COMPANY INC. WI', exchange='NEW YORK STOCK EXCHANGE', start_date=Timestamp('2006-03-29 00:00:00+0000', tz='UTC'), end_date=Timestamp('2007-04-02 00:00:00+0000', tz='UTC'), first_traded=None)
There was a runtime error on line 132.

Any idea why the error? And what does the first_traded flag mean? I tried searching the help page, but found no information.

Apparently the _WI suffix means "when issued" so does this mean that the security can't be transacted? If so, why is it showing up in an algo?

1 response

Hello Grant,

I wonder if this has something to do with the fact that Brown Shoe Co. became Caleres, Inc. (CAL, sid=1195, NYSE) in May 2015? It was a rebranding which lead to new symbol so BWS_WI refers to the old ticker.