eikonapir function get_symbology() to SEDOL returns "no best match available"

I am using the updated version: https://github.com/philaris/eikonapir

WORKS:

get_symbology("MSFT.O", from_symbol_type="RIC", to_symbol_type="ISIN")

get_symbology("MSFT.O", from_symbol_type="RIC", to_symbol_type="CUSIP")

get_symbology("US5949181045", from_symbol_type="ISIN", to_symbol_type="RIC")

get_symbology("US5949181045", from_symbol_type="ISIN", to_symbol_type="CUSIP")


WORKS from SEDOL to RIC or ISIN

get_symbology("2588173", from_symbol_type="SEDOL", to_symbol_type="RIC")


DOES NOT WORK to SEDOL

get_symbology("MSFT.O", from_symbol_type="RIC", to_symbol_type="SEDOL")

get_symbology("US5949181045", from_symbol_type="ISIN", to_symbol_type="


The solution might be related to https://community.developers.refinitiv.com/questions/22840/eikon-net-symbology-api-does-not-return-sedol.html

Thank you ;-)

EDIT:

PROBLEM SOLVED: Several SEDOLS per RIC. Use not MSFT.O but MSFT.OQ

DOES NOT WORK:

get_symbology("MSFT.O", from_symbol_type="RIC", to_symbol_type="SEDOL")

WORKS:

get_symbology("MSFT.OQ", from_symbol_type="RIC", to_symbol_type="SEDOL")



Best Answer

  • HeikoRR
    Answer ✓

    Hi Zoya,

    I just updated my answer. The problem is that the Sedols are more specific than ISINs and general RICs. So for MSFT.O one needs to use MSFT.OQ. Then it works.

    Thanks for your help!

Answers

  • Hello @HeikoRR,

    See this relevant thread for the previous discussion of the same topic.

    Let me show in Python, as I am more comfortable :).

    Instead of get_symbology one can try using get_data to obtain a SEDOL:

    ek.get_data("MSFT.O",'TR.SEDOL')

    Should result in

    (  Instrument    SEDOL 0     
    MSFT.O  2588173, None)

    To get all of them, a two-step can be used, get a RIC first, then get all next:

    df = ek.get_symbology("US5949181045", from_symbol_type="ISIN", to_symbol_type="RIC") 
    df2 = ek.get_symbology("MSFT.O", from_symbol_type="RIC

    Results will include all the included identifiers.