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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

SP500 constituents RIC

Is it possible to fetch RICs for all the constituents of the S&P500 (with Python)?

eikoneikon-data-apiworkspacerefinitiv-dataplatform-eikonworkspace-data-apirics
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

Upvote
Accepted
8.1k 11 6 9

@leoneg - please try the following

import eikon as ek
ek.set_app_key('YOUR APPKEY HERE')
df,err = ek.get_data(['0#.SPX'],['TR.CommonName'])
df
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.