How do you identify if a RIC is a chain RIC in order to subscribe to all the underlying RICs?

Nana
Nana Explorer

I don't believe there is an EMA function which will allow you to subscribe[registerClient] to all the underlying RICs in the chain. So in lieu of this functionality, I wish to pull FIDs from a RIC to determine if it is a chain RIC. From that I can likely subscribe to the associated LONGLINK 1-14 (FID 800 - 813) and see if the LONGNEXTLR (FID:815) has a value to keep pulling in further RICs.

Is the field REF_COUNT(239) a reliable field to use to determine if I'm dealing with a chain?

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @Nana,

    You are correct, EMA does not have the capability to automatically subscribe to the underlying RICs within a chain. In general, you will have to look for a specific field within the response message to determine if you are working with a chain. The reference to the LONGLINK 1-14 and REF_COUNT are fields which you can use as reliable indicators you are dealing with a chain. The LONGNEXTLR and LONGPREVLR are only present if you have additional/previous records within the chain.

    In general, the REF_COUNT field should be a sufficient indicator.

Answers