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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
7 0 0 1

EMA with variable period

Hello,

I am using python and receive my data via Eikon API.

I want to receive historical EMA datas like 'ema(26,close())'. The 'ema(26,close())' code is working in Eikon Monitor as 'signal(ema(26,close()))'.

I does not see the ema codes in Eikon API - Data Item Browser

Is it possible to receive EMA or other signal datas with different periods from Eikon API?

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.

Upvotes
Accepted
3.8k 4 4 6

Hi @osmana

You can try this approach:

df,err = ek.get_data('IBM.N',['TR.PRICECLOSE.date','TR.PRICECLOSE'], {'sdate' :'2019-01-01','edate':'0D'})
df['EMA'] = pd.Series.ewm(df['Price Close'], span=26).mean()
df.tail(10)



ahs.jpg (107.0 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.

Upvotes
7 0 0 1

Hi @marcin.bunkowski

I know the solution but I’m asking about taking Eikon Monitors signals with python.

Is it possible or not?

Regards

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.

Hi @osmana

This is currently not possible. This is the similar question you posted before.

The posted answer was not certain. Thank you.

Click below to post an Idea Post Idea