question

Upvotes
Accepted
3 3 1 4

how to know if elektron is disconnected from exchange

RFA have api to subscribe connection events between application and elektron server. I wondering is there an interface to subscribe events when elektron server is disconnected from exchange so it can't provide market data to application (even my application is connected with elektron).

elektronrefinitiv-realtimeelektron-sdkrfa
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
13k 32 12 18

The status messages from API will indicate any upstream service disruptions. You will typically get a STALE message - something similar to this:


Msg Type: MsgType.STATUS_RESP
Hint Flags: HAS_ATTRIB_INFO | HAS_STATE
State: OPEN, SUSPECT, NO_RESOURCES, "Channel disconnected"


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @xuquan,

When an RFA subscriber application registers interest in an item, and consequently service, such as electron, goes down, this event should be reflected in the status.

I.e. by processing status events, the app will be informed of Closed, Closed Recover on stream and Suspect, Stale on data.

Please see section 7.4.2 of RFA Developer Guide for a detailed explanation of status and state.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea