Search Query for Refinitiv Data Platform

sbrum
sbrum Newcomer
edited June 4 in Refinitiv Data Platform

I'm working with the Refinitiv Data Platform Library for TypeScript and trying to implement a symbol search using Search.definition. In the documentation it provides the following example:

const definition = Search.Definition({    query: "IBM Bonds",    select: "ISIN,RIC,IssueDate,Currency,FaceIssuedTotal,CouponRate,MaturityDate",});

My question is, how does one find out the possible values for SELECT? And for that matter, the FILTER and ORDERBY?

Doing a SearchAll only seems to return a few values, compared to what seems possible with the SELECT. Any help would be appreciated.

Thank you.

Answers

  • @sbrum Thanks for you question. So Search API is a very powerful API and with that power comes a little complexity. We have written an excellent article on the search service (it uses Python library - but the concepts and parameters are transferable to the typescript library as well). So the search service has a number of 'views' to help curtail the search space into more relevant concepts - for example the default is SearchAll as you are using but you could use the GOV_CORP_INSTRUMENTS view to zero in on bonds or the EQUITY_INSTRUMENTS view to zero in on Equities. Each of these views also has a number of relevant metadata parameters that can be searchable, selectable, sortable, filterable, navigable etc. see below and example for the PEOPLE view:

    image.png

    So there is a little complexity here but the article I pointed to comes replete with a full array of search examples on github that you can use including the query filter language operands ne, eq etc

    I hope this can help.