Response to registerClient request

mktdata
mktdata Contributor

Hello, we are using RFA 8.2 C++api.

We have a consumer application that registers for completion event. When application subscribes to a symbol, does RFA api guarantees that it will either give market data [Refresh Message] or Status Message indicating stream state is closed?


Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @mktdata

    It was stated in the RFA developer guide that:

    An application should call isEventStreamClosed() function on incoming messages to determine whether an event stream is closed:

    • Status messages that close the stream
    • Refresh messages with a status that closes the stream
    • Application-registered completion events during the creation of an event source.

    The completion event enumeration is ComplEventEnum. The application needs to use the isEventStreamClosed() function or also needs to verify the ComplEventEnum.

Answers