Hi,
I've found the following statement in the help:
"Our US equities database includes all stocks and ETFs that traded
since 2002, even ones that are no longer traded. This is very
important because it helps you avoid survivorship bias in your
algorithm. Databases that omit securities that are no longer traded
ignore bankruptcies and other important events, and lead to false
optimism about an algorithm. For example, LEH (Lehman Brothers) is a
security in which your algorithm can trade in 2008, even though the
company no longer exists today; Lehman's bankruptcy was a major event
that affected many algorithms at the time."
But by playing around in the research environment, I found several stocks which simply "vanish" from one day to another.
On example of this are the ADRs of AkzoNobel (AKZOY), which were delisted from Nasdaq on August 27th 2007. I checked this with:
fundamentals = init_fundamentals()
get_fundamentals(query(fundamentals.company_reference.sid,
fundamentals.company_reference.company_status,
fundamentals.company_reference.short_name)
.filter(fundamentals.company_reference.sid == 271),
'2007-08-27')
I get valid information, and the company status is "U". For the next day, I don't get ANY result.
Now shares can be delisted for various reason, but in this case, it was still possible to trade the shares over the counter (see: https://www.akzonobel.com/for-media/media-releases-and-features/akzo-nobel-intends-delist-nasdaq). Also, the company was still listed on euronext.
So it's definitely not appropriate to regard these shares as without value, as would probably be the case for a delisting because of insolvency. To be able to correct for survivorship bias and to adequately treat the delisted shares, we would need to know the reason for the delisting. So far I could not find a way to get this information from the fundamental data. Does anybody know how to do this?
Ideally I would like to be able to set the value to 0 for bankrupt companies and to the (discounted) last traded price for delisted companies for other reasons.