I noticed alphien.data.getTickersSP500() is not accurate (or at least does not provide the full SP500 contituents) on some periods. For example, there are at most 474 provided tickers at the start of 2008.
Code to reproduce:
import alphien
ticker_dataframe = alphien.data.getTickersSP500()
start_before_2008 = ticker_dataframe[‘constituentStart’] <= ‘2008-01-01’
ticker_dataframe[start_before_2008].shape
Output
(474, 6)
Ideally we would like to get the full constituents on any given period so we can simulate information ratio.