For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
22 0 0 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonfieldsrequest
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

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 5.0 MiB each and 10.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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea