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
6 1 0 2

Is RET: and UPDFRQ: in Eikon Excel supported in Eikon API?

Hi team,

Raising this on behalf of a client.

Client has the below Eikon Excel formula and wanted to know if it's possible to convert it to API code:

=TR("/IFMU3","TIMESTAMP;TRDPRC_1;BIDSIZE;ASKSIZE;GEN_VAL3;BID;ASK","UPDFRQ=10S CH=Fd SERIES:Y RET:1000 null=blank",B6:H5000)


import refinitiv.dataplatform.eikon as ek

ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')

df, err = ek.get_data(

instruments = ['IFMU3'],

fields = [

'TR.SACTTimeStampLastUpdate',

'TRDPRC_1',

'BIDSIZE',

'ASKSIZE',

'GEN_VAL2',

'TR.BIDPRICE',

'TR.ASKPRICE'

],)

display(df)



Does UPDFRQ and RET have equivalent functions in API? thanks in advance!

eikoneikon-data-api#technologyhistoricalstreaming-prices
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.

Upvotes
Accepted
76.7k 239 52 72

@HannaCP

Thank you for reaching out to us.

I tested those parameters and found that they don't work in Eikon Data API.

You can check all available fields and parameters that can be used in Eikon Data API by using Data Item Browser.

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.

Upvotes
6 1 0 2

Thanks all!

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.