question

Upvotes
Accepted
19 2 1 4

instrument tickers

Hi, how can i quickly transform yfinance ticker symbols to that of refinitiv?

For example AAPL, and some other symbols. I notice that not all of your instruments end with ".O" which makes it difficult for me to just write a function to convert yfinance symbols to that of refinitiv

eikonworkspace#technologydatastream-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.

Upvote
Accepted
79.2k 251 52 74

@ken03

We provide a method in the Refinitiv Data Library for Python to convert tickers to RICs.

response = symbol_conversion.Definition(
    symbols=["AAPL","MSFT"],
    from_symbol_type=symbol_conversion.SymbolTypes.TICKER_SYMBOL,
    to_symbol_types=[
        symbol_conversion.SymbolTypes.RIC
    ],
).get_data()


response.data.df

The output is:

1707717433724.png

You can also refer to the sample on GitHub.


1707717433724.png (6.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.

Upvotes
14.2k 30 5 10

Hi @ken03 ,

Thank you for posting the question in this forum.
However, this forum is dedicated to an API usage question hence,the moderators on this forum do not have deep expertise in every type ofcontent available through Refinitiv products. Such expertise is available through Refinitiv Helpdesk, which can be reached via MyRefinitiv. To be of help, ticket number 13300374 was raised on your behalf and the support team is going to contact you directly to assist withthis.

Hope this helps and please let meknow in case you have any further questions.

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
19 2 1 4

excellent and thank you very much jirapongse

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.