I am looking to get EMA intraday data for Tesla, but I am unable to find the correct data item. Please see screenshot.
Thanks in advance.
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
I am looking to get EMA intraday data for Tesla, but I am unable to find the correct data item. Please see screenshot.
Thanks in advance.
Hi,
Please be informed that a reply has been verified as correct in answering the question, and marked as such.
Thank you,
AHS
Hi @Chris.Iemma,
The EMA 20 is calculated directly via the CHT app but you can easily do it with pandas:
df = rd.get_data( universe = ['TSLA.O'], fields = ['TR.PriceCloseDate','TR.PriceClose'], parameters={"SDate":"-50" , "EDate":"0"}) df['EMA 20'] = df['Price Close'].ewm(span=20).mean().round(3) display(df)