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

How to use Eikon API to get Commodities RIC code by input parameter provider symbol?

PROV_SYMB = 'm2401';

RIC_CODE = 'DSMF4';


1692870864871.png


eikon#technologyapi
1692870864871.png (76.0 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.

Hello @xuke

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

Upvotes
Accepted
24.8k 54 17 14
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
5.8k 21 2 6

Hi @xuke,

If you're using Python, I would suggest using the rd.get_data function:

test_df = rd.get_data(
    universe=['DSMF4'],
    fields=["PROV_SYMB"],
    # interval="tick"
    )

1692872193291.png


You can use this function with the Eikon Desktop App. More info on this here.


1692872193291.png (27.7 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.

@jonathan.legrand thanks jonathan. I'm afraid there is a misunderstanding. How to use PROV_SYMB to get RIC code?

1692929195453.png

1692929213068.png

1692929195453.png (18.2 KiB)
1692929213068.png (12.8 KiB)
Upvotes
24.8k 54 17 14

Hello @xuke

There is the Eikon Data API get_symbology method, but I think it does not support your use case because the API support CUSIP, ISIN, SEDOL, RIC, ticker, lipperID and IMO symbol type only.

symbology.png


symbology.png (49.8 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.

@wasin.w Thanks Wasin. Is there any other method? Cause we don't know the code in Eikon(CUSIP, ISIN, SEDOL, RIC, ticker, lipperID and IMO symbol type)? We only know the code in the local exchange.

Hi @xuke, in that case, I'd advise using Search, have you had a look at it before?

1692955623555.png

pls check my code where is wrong

1692955623555.png (23.2 KiB)
Show more comments
Upvotes
24.8k 54 17 14

Hello @xuke

The PROV_SYMB is seems to be the Real-Time field. The data comes from the feed (exchange/data provider). I don't think you can use this PROV_SYMB field data to seach back to the RIC code.

prov-symb.png


prov-symb.png (76.9 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.

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.