question

Upvotes
Accepted
3 0 1 2

Is there an API available for the Marketpsych app on the Eikon terminal?

Is there an API available for the Marketpsych app on the Eikon terminal? Thanks

api
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
25.3k 87 12 25

Hi @Danni Qiu

According to the MarketPsych page - it states that you should be able to access the MarketPsych Dataset using Eikon or RDP APIs

MarketPsych | Refinitiv

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.

Hi @umer.nalla ,


Not able to find the related data with either Eikon or RDP APIs.

Would you mind providing me a sample for it?


Thanks,

Danni

Upvotes
25.3k 87 12 25

Hi @Danni Qiu

Most of the moderators on this forum are not content experts - and I personally am not familiar at all with MarketPsych.

Your best bet would be to create a Content Ticket at My.Refinitiv to get advice from a MarketPsych content expert.

A specialist on the desktop trading team did share some 'MarketPsych' code on a teams channel - but not sure this is what you would be after - sharing below just in case:

# Connection String - 
import refinitiv.dataplatform.eikon as ek
ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')

#Example to get constituent data from a 
df, err = ek.get_data("0#SOC-RAPOIL", "DSPLY_NAME")
rics = df["Instrument"].tolist()
df,err = ek.get_data(rics,["CF_NAME","CF_LAST", "SEC_ACT_1","VALUE_DT1","VALUE_TS1"])
df
....

df, err = ek.get_data("0#SOC-RAPOIL", ["CF_NAME","CF_LAST", "SEC_ACT_1","VALUE_DT1","VALUE_TS1"])
df

....
List = ek.get_data("0#/.FTAI", "DSPLY_NAME")
rics = List[0]
NamesList = rics['Instrument'].astype(str).values.tolist()
df,err = ek.get_data(NamesList,["TR.CompanyName", "TR.ICBIndustry"])
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.

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.