Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
20 3 3 1

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")



eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apireikon-data-api-r
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
20 3 3 1

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!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
32.2k 40 11 20

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.