Help with Retrieving 'TR.CompanyGreenRevenuePercentage' via API with Date Correspondence

DuongNHTT_1401
DuongNHTT_1401 Newcomer
edited February 18 in Eikon Data APIs

Hi everyone,

I am trying to retrieve the 'TR.CompanyGreenRevenuePercentage' data using the API with the following code:

df = ek.get_data(
    universe=batch,  
    fields=['TR.CompanyGreenRevenuePercentage'],
    parameters={'SDate': '20131231', 'EDate': '20221231'}  
)

However, the output does not include the corresponding dates. I attempted to add 'TR.CompanyGreenRevenuePercentage.date', but it didn't work.

Could you please help me retrieve this data along with the associated dates?

Thank you very much!

Answers