question

Upvotes
Accepted
62 4 1 5

is it possible to filter a TRKD Search Queryusing a substring in RIC ?

Is it possibile to filter the result of a TRKD Search Query for RIC that match a pattern on substring in lack of other better criteria.
One case is to retrieve all Ordinary equities (assetcategory =ORD ) on Italian Stock Exchange (MIL) but to exclude the ones for Post Trade transparency (that have RIC ending in "MIp" for instance i'd like to get ENI.MI in the results but not ENIeur.MIp . Any chance to do it directly in TRKD API rather than downloading and parsing the full result ?

many thanks in advance

rkd-apirkdsearch
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
381 1 3 3

It doesn't seems there is any other way. IsPrimaryRIC filter narrows down the records only to the RICs that are pirmarily listed in that market and will remove foreign securities/GDRs etc. TRKD API search shouldn't be used for this type of use cases. It is not meant for bulk download or to be used as a security master. the search can be used as an on-demand look up tool to find various identifiers such as RIC etc. You should offer DSS instead which is ideal solution to be used as security master.

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
381 1 3 3

exchange-codes.txtHi,

You can use "IsprimaryRIC" field within request to narrow down records only to the primary RICs. I have attached XML request containing exchange code MIL (for Milan SE), asset category ORD for ordinary shares with IsPrimaryRIC as True. This should avoid the unwanted records. I have also attached list of exchange codes as well as asset categories.

Going forward you can also contact OnlineSolutions@thomsonreuters.com for TRKD API queries.

thanks,

Waseem


exchange-codes.txt (25.6 KiB)
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.

by using isprimaryRIC filter despite getting rid of MiFID Post TRade trasparency RICs unfortunately other instruments are lost for instance all foreign stocks traded on that market (e.g. RIC such as AXA.MI, AIRP.MI ) , any other suggestion if substring parsing is not available ?

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.