Hello
Using this code, many companies that have left the S&P500 index (PGN.N^G12, ACAS.OQ^A17, etc) the TR.GICSSector and TR.GICSIndustryGroup return NaN values. Any way to fix this?
Thanks!
for ric in rics["Instrument"].values: df, err = ek.get_data(ric, ['TR.RICCode', 'TR.CompanyName', 'TR.GICSSector', 'TR.GICSIndustryGroup'])