question

Upvotes
Accepted
3 0 0 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 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
20.3k 73 10 20

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 5.0 MiB each and 10.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
20.3k 73 10 20

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea