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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

LTGMean is returning

The get_data function is returning <NA> values to me for the LTGMean function.

I am running the commands

var1,err = ek.get_data('CHMB.NS', 'TR.LTGMean(Period=FY1)', parameters={'SDate':'2021-02-08', 'EDate':'2021-02-08','FRQ': 'D'})
print(var1)

The output is <NA>. However, when we get the data in excel, I am getting the values.

Please suggest how can I get the data here.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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.

1 Answer

Upvotes
Accepted
6.7k 8 6 7

@anshulmlhtr There does not seem to be a value for the RIC you are looking for - this is because this data item is looking at the average of broker EPS estimates over 3-5 years - in the case of CHMB.NS there are only forecasts for 2 years ahead.

This field does populate where there are such estimates - please see:

var1, err = ek.get_data('VOD.L', ['TR.LTGMean(SDate=0,EDate=-9,Frq=M).date','TR.LTGMean(SDate=0,EDate=-9,Frq=M)','TR.LTGMean(SDate=0,EDate=-9,Frq=M).description'])

var1

I hope this can help.


1613123983913.png (211.6 KiB)
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