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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
7 4 0 2

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonrics
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea