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
1 0 1 1

How can I transcode from normal RIC to delisted RIC so that I can query the price?

Hi Team,

I am writing on behalf of Mr. Max Zhu. How can he transcode from normal RIC to delisted RIC so that he can query the price?


"For example, for PEUP.PA I need to transcode to PEUP.PA^A21. In order to do that, I need to query the delist date. Can you advise how to query the delist date? Is there an attribute I can use with get_data?"

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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
18.2k 21 13 21

Hi @pearl.techico

I think you can use TR.RetireDate field to get the delist date.


This forum is not the best place to ask about content questions.

For an authoritative answer to any content questions, the best resource is the Refinitiv Content Helpdesk.
This forum is dedicated to things specific to the use of Eikon APIs.
The moderators here do not have deep expertise in every type of content available through Eikon.
The Refinitiv Content Helpdesk can be reached using Contact Us capability in your Eikon application.
Or by calling the Helpdesk number in your country.
Or at https://my.refinitiv.com/



ahs.png (86.1 KiB)
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.

This doesn't seem always work. eg, '000030.KS'

Hi @Max.Zhu

I think 000030.KS is not a valid RIC anymore so you cannot pass it to the get_data()

The workaround is to search for it.

#pip install refinitiv.dataplatform

import refinitiv.dataplatform as rdp
rdp.open_desktop_session('xxxxxxxxx')

rdp.search(query="000030.KS",filter = "startswith(RIC,'000030.KS')")

ahs.jpg (64.7 KiB)

hmmm is this the same Eikon access token I should put in?


also I don't understand why things need to be handled differently? Under what circumstance a RIC will be considered `invalid`?


rdp.open_desktop_session('xxxxxxxxx')
Show more comments
Upvotes
18.2k 21 13 21

Hi @pearl.techico

I would like to add more information.

The suffix format is

^<month><year>

month is A, B, C, D, ... , L (Jan to Dec)

So PEUP.PA delisted in January 2021.

So the delist RIC is PEUP.PA^A21

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.