Hi all,
I'm trying to create a function to creates the RIC code of a futures contract based on information like underlying, expiration date, etc...
I understand how the RIC code is constructed, the only thing I need is a reliable way of getting the "root code" of the underlying of my future contract. Is there an API call where i can pass information (ISIN, CUSIP, ...) of the underlying and get its root code, so that i can then build the RIC code ? For ex I could input 'S&P500 EMINI" or its corresponding ISIN and get "ES" in return ?
Thanks for your help.