Hi Team,
I want to find out if we can use the API to pull in a list of names who would be considered a peer group for a stock.
Eg) See peers list circled in the lower right for the company Core Laboratories (CLB).
Thanks,
Bingsen
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
Hi Team,
I want to find out if we can use the API to pull in a list of names who would be considered a peer group for a stock.
Eg) See peers list circled in the lower right for the company Core Laboratories (CLB).
Thanks,
Bingsen
Hi,
Please be informed that a reply has been verified as correct in answering the question, and marked as such.
Thanks,
AHS
@byan Its really easy please try the following:
ric = 'CLB' peers, err = ek.get_data([ric,"Peers("+ric+")"],['CF_CLOSE','CF_NAME']) peers
Can we add multiple codes in one go?
ric = 'MSFT.O';'VOD.L';'BARC.L'
peers, err = ek.get_data([ric,"Peers("+ric+")"],['CF_CLOSE','CF_NAME'])
peers
I did try this, however not sure if its showing for all the 3 companies Peers.