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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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.

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.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
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea