question

Upvotes
Accepted
3 0 1 2

How can I make rdp.search() work?

I am a student at Copenhagen Business School, the school has access to EIKON and Datastream. Therefore, I have access to the application called "advance search" in Refinitiv Eikon. From advance search, I have exported a query that uses the following syntax:

rdp.search(
view = rdp.SearchViews.GovCorpInstruments,
top = 10,
filter =, 
select =)

Can I use the following syntax with the access that we have?

If yes, is there a tutorial on how to use the rdp.search() in python?

rdp-apirdp search
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
2.3k 16 2 2

Hi @edgr19ab ,


There's a great article on just that:

https://developers.refinitiv.com/en/article-catalog/article/building-search-into-your-application-workflow

And I've made a python function for an upcoming article on how you may want to use programmatic search looking for bond data (see comment below)

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.

This function outputs an excel workbook with collected data. It is not finished yet and I am currently testing it:


https://gist.github.com/johnukfr/241c2b360a30f96371f430005c8d7738


My question is more: can I use rdp.search() if I only have access to eikon and datastream?

Hi @edgr19ab ,

Please try a search query in CodeBook on your Refinitiv Workspace/Eikon application under '__Examples__/01. Data Retrieval & Discovery/01.02. Refinitiv Data Platform Library/EX_01_02_02__Function__Search.ipynb'. For info on CodeBook, please see this video:

https://developers.refinitiv.com/en/video-catalog/from-developer-articles-to-codebook


Failing that, please note that this forum is explicitly for API questions. Your question seems to be a permissioning one. For such questions please go to our help desk on https://my.refinitiv.com/content/mytr/en/signin.html/