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
7 6 3 3

Ability for get_symbology to return all possible matches

The Eikon get_symbology method currently only returns the best matching symbol of a given type for a given symbol if it exists, and there is currently no way for the method to return all possible matches if none can be considered the best.

As a workaround, https://community.developers.refinitiv.com/questions/19371/converting-a-list-of-tickers-to-rics.html suggests calling ek.json_requests.send_json_request('SymbologySearch',{'symbols': symbols, 'from': 'ticker', 'to': ['RIC'], 'bestMatchOnly': False}) to send the underlying JSON request for all possible matches. However this requires parsing the raw JSON response in order to retrieve the matching value(s) for the provided symbol.

Will the get_symbology function be updated in a future version of the API to allow all possible matches to be returned?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apirics
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.

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

You can use bestMatch=False parameter with get_symbology method. See this thread for more details and an example.

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.