Search for RICs with EMA library

g_dc
g_dc Newcomer

Hello,
I have an application that creates RICs, using specific credentials, on an internal ATS. The name of the RICs created follows a specific patten (all names begin with the same string).

I need to retrieve all the RICs created by the application, and it looks like there are two possible options:

  1. search all the RICs whose name begins with a specific string;
  2. search all the RICS whose owner corresponds to the user used by my application

I can only access the ATS through my application, which interacts with the ATS using the EMA library.

Could you please let me know how to implement those two searches with the EMA library?

Thank you very much.

Answers

  • Hello @g_dc

    The RTSDK/EMA API does not have a search functionality. Hence it cannot by itself discover any instrument from ATS.

    Since your application can control publishing the items, it can publish a chain RIC - whose constituents are all the other RICs that you publish. In this manner, EMA application can subscribe to the chain RIC and get a list of all the instruments that have been published under that chain. The application can then filter out the ones based on string match etc.