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
1 2 5 5

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

@anshulmlhtr

Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
10.2k 18 6 9

@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 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.