How to get dividend with rdp

We try to move our dividend extraction code from eikon API to rdp platform .

With eikon API we had this code :

df,err = ek.get_data("VOD.L", ["TR.ISINCode","TR.DivExDate", "TR.DivRecordDate", "TR.DivPayDate", "TR.DivUnadjustedGross", "TR.DivCurr"], params)

We tried this code but it doesn't work :

df = rdp.get_reference_data(universe='VOD.L', fields= ["TR.ISINCode","TR.DivExDate", "TR.DivRecordDate", "TR.DivPayDate", "TR.DivUnadjustedGross", "TR.DivCurr"],parameters= params)

Could you give us the function to use in rdp.

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @kamal.chancari,

    To my best knowledge, at present, this will not work. As the only available fields are realtime Elektron fields, some or most of the reference data available via Eikon interface will not be represented in those fields.

    One of the ways you can examine available Elektron fields is via Data Model Discovery Tool online.

    However, RDP is a rapidly evolving and improving platform. I would like to suggest checking back when you have a chance, and chances are you will find its' released capabilities to be much increased, including the reference data capability.

Answers

  • zoya faberov
    zoya faberov ✭✭✭✭✭

    Hello @kamal.chancari

    In my understanding, this is not supposed to work, because these are real time Elektron reference fields, not Eikon reference fields.

    How does not it work for you? It does not work, as in "you get an error on calling", or "you get NaNs in results"?

    If NaNs, try running this:

    rdp.get_reference_data(['IBM.N'],['PROD_PERM','RECORDTYPE','ASK','BID'])

    Result would be:
    image


  • in my first code, I use eikon field with eikon API:

    df,err = ek.get_data("VOD.L", ["TR.ISINCode","TR.DivExDate", "TR.DivRecordDate", "TR.DivPayDate", "TR.DivUnadjustedGross", "TR.DivCurr"], params)

    How can I get the equivalent fields name for rdp platform (I look for dividend data)?