HI everyone,
I try to get analyst forecasts via eikon API in python.
I tried the following command for earnings per share (EPS):
df, err = ek.get_data(['DBKGn.DE'],
['TR.EPSMeanEstimate.date','TR.EPSMeanEstimate.fperiod','TR.EPSMeanEstimate'],
{'Scale': 6, 'SDate': 0, 'EDate': "FY-20", 'FRQ': 'D', 'Curn': 'EUR', 'Period':"FY1", 'RH':'date'})
This worked perfectly fine.
However, if I try to do the same for e.g. EBITDA, the first two variables are not displayed anymore (date + fperiod). Here is teh command
df, err = ek.get_data(['DBKGn.DE'],
['TR.EBITDAMeanEstimate.date','TR.EBITDAMeanEstimate.fperiod','TR.EBITDAMeanEstimate'],
{'Scale': 6, 'SDate': 0, 'EDate': "FY-20", 'FRQ': 'D', 'Curn': 'EUR', 'Period':"FY1", 'RH':'date'})
Has anybody an idea why this is the case? Has anybody an idea where to find a documentation for the TR variables? The "." syntax confuses me.
I would be very grateful if someone would know for example a better API to get IBES data.
Thank you very much in advance and best regards!