For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 3 2 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 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
21.8k 57 14 21

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 512.0 KiB each and 1.0 MiB total.

Upvotes
32.2k 40 11 19

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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