Value of `Status Code` in various secnarios

Hello , We are using RFA 8.1 C++ api to consume Level1 and Level2 market data

we are interested in understanding whether the value of StatusCode in the following scenarios is fixed or variable:

  1. When a non-authorized user subscribes to a RIC, the current statuscode is NotAuthorizedEnum. Is the value of StatusCode guaranteed to be NotAuthorizedEnum in this scenario ?

  2. When a non-valid RIC is subscribed, the current statuscode is NotFoundEnum. Is the value of StatusCode guaranteed to be NotFoundEnum in this scenario ?

We want to confirm if the application will consistently receive the above StatusCodes in the mentioned situations.

Best Answer

  • nick.zincone
    Answer ✓

    Hi @mktdata

    The Status Code is primarily used for informational purposes and really should not be used to trigger specific information. I don't believe there is a guarantee that every feed service will utilize the exact same enum.

    From the documentation:

    1713797688397.png