how to use Eikon API to get information in different language?

Python code:

data, err = ek.get_data(instruments=code, fields=[

"TR.RICCode",

"CF_NAME",

"DSPLY_NMLL",

"TR.TRBCIndustry"

])


Now we get the TR.TRBCIndustry field value in English. and is it possible to get the value in Chinese, Japanese, Korean and traditional Chinese language?

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @xuke

    Thank you for reaching out to us.

    I can use the Search feature in the Refinitiv Data Library for Python to get those values.

    df = rd.discovery.search(
        view = rd.discovery.Views.EQUITY_QUOTES,
        filter = "RIC in ('0001.HK' 'IBM.N')",
        select = "BusinessEntity,DocumentTitle, RIC, RCSTRBC2012Leaf,RCSTRBC2012LeafML"
    )
    df["RCSTRBC2012LeafML"].tolist()

    The output looks like this:

    1705900158514.png

    However, you may contact the helpdesk support team directly via MyRefinitiv to confirm if those values are available in Data Item Browser.


Answers