question

Upvotes
Accepted
1 3 6 8

How to get 'CF_LAST', 'DIVIDEND', 'TR.IVIntrinsicValue' fields for ALL Equity Symbols?

eikoneikon-data-apiworkspacerefinitiv-dataplatform-eikonworkspace-data-apichain-ric
ref-eq-ric.jpg (84.8 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.

1 Answer

· Write an Answer
Upvotes
Accepted
11k 22 6 9

@anbezhilasokan.frm So this is a two step operation as the chain is not being resolved directly in the get_data function that contains non-realtime fields. Pls try:

df, err = ek.get_data(['0#A.NS'],'CF_NAME')
df

this chain is resolved with only realtime fields. You can then use the instrument column in the second API call:

df1,err = ek.get_data(df['Instrument'].tolist(),['CF_LAST','DIVIDEND','TR.IVIntrinsicValue'])
df1

I hope this can help.


1622217355270.png (60.9 KiB)
1622217514317.png (84.3 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.