What all fields can be accessed using refinitiv.dataplatform?

New to Refinitiv! I am using refinitiv.dataplatform to fetch some data.

I see I can only access fields with TR. as prefix. Others fields eg: CF_prefix, TRADE_DATE, etc return no results - Trying this for RICs = ["CFI2Zc1","CFI2Zc2","CFI2Zc3","CFI2Zc4"]

(Cannot see TRADE_DATE)

data = rdp.get_data(

universe=["CFI2Zc1","CFI2Zc2","CFI2Zc3","CFI2Zc4"],

fields=["TRADE_DATE","TR.CLOSEPRICE"] #check Data Item in browser for history

)

Output:

instrument TR.CLOSEPRICE

0 CFI2Zc1 89.81

1 CFI2Zc2 93.53

2 CFI2Zc3 97.55

3 CFI2Zc4 102.3

Best Answer

  • raksina.samasiri
    Answer ✓

    Hi @lisa.mcentee ,

    Is this what you're looking for? to get the date of data in the field, you can use .date as a suffix of the field name

    data = rdp.get_data(
    universe=["CFI2Zc1","CFI2Zc2","CFI2Zc3","CFI2Zc4"],
    fields=["TR.CLOSEPRICE.date","TR.CLOSEPRICE"] #check Data Item in browser for history
    )
    data

    1670999587807.png

    Available fields and parameters can be discovered in the Data Item Browser tool, you may check the video Data Item Browser and Eikon Data API in Python for how to use it.

    1670999733480.png


    In addition, I
    would recommend you look at the newer RD Library for Python - which is currently in Beta and
    due for release in the coming months. It should have much-improved
    error/session handling than RDP Library once it is released.

    For a position statement on the older
    RDP Library please see the overview page.

Answers

  • Please can you let me know what is refinitiv.data equivalent for rdp.open_platform_session in refinitiv.dataplatform.

    More specifically, the equivalent function for below:

    rdp.open_platform_session(

    'key******************************************',

    rdp.GrantPassword(

    'username',

    'Password'

    )

    )