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

No data for TR.DivExDate, TR.DivPayDate, TR.DivAdjustedGross. Is it a Bug?

The request

data_grid, err = ek.get_data(aRIC, [ek.TR_Field('TR.DivExDate'), ek.TR_Field('TR.DivPayDate'), ek.TR_Field('TR.DivAdjustedGross')], {'params':{'SDate': '2001-01-01', 'EDate': '2019-01-31', }})

brings back only null values (except the ric). For any RIC.

Is this a bug?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apifieldsrequest
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 @sven-ake.schuler,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Upvote
Accepted
3.8k 4 4 6

Hi @sven-ake.schuler

Try with:

ek.get_data(aRIC, [ek.TR_Field('TR.DivExDate'), ek.TR_Field('TR.DivPayDate'), ek.TR_Field('TR.DivAdjustedGross')], {'SDate': '2001-01-01', 'EDate': '2019-01-31', }) 
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.

Works fine..... THANK YOU!!!!!

@sven-ake.schuler or simpler:

ek.get_data(aRIC, ['TR.DivPayDate', 'TR.DivAdjustedGross'], {'SDate': '2001-01-01', 'EDate': '2019-01-31', }) 
Upvotes
4.6k 26 7 22

@sven-ake.schuler, it is not a bug, you are passing a dict of dicts as params, instead of just the dict.

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.