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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvote
Accepted

The frequency of the stream response using the Electron Web Socket API is not as expected.

The frequency of the stream response using the Electron Web Socket API is not as expected.

We expected near realtime update messages when using Web Socket API for single FX RIC = GBP=X

But the update messages are minuets apart.

We are using the Python sample application from the Elektron docs. See the following command

python market_price_edpgw_service_discovery.py --user GE-A-01652483-3-2337 --password OURPASSWORD --clientid OURCLIENTID --ric GBP=X

Please advise how we get more frequent updates using the WebSocket API.

elektron-sdktreprdp-apiwebsocketsrrto
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.

Hello @Laarni Evelyn Acierto.Santiago,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Hello @Laarni Evelyn Acierto.Santiago,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

Upvotes
Accepted
895 3 8 3

GBP=X is a snapshot update for Sterling against US Dollar. It is on the realtime network but it wont update as a stream only every ten minutes. If you want a streaming update then the RIC is GBP= (although you may not have access to this RIC as it requires an extra level of permissioning).

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
895 3 8 3

You could also use GBP=S which is a two minute snapshot RIC.

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.

Upvote
25.3k 87 12 25

Hi @Laarni Evelyn Acierto.Santiago

This is related to the choice of RIC rather than the API.

For example, if I request GBP=X using any realtime API such as RFA /EMA etc it also does not update that often.

If, however, I request GBP= using the same APIs, then it updates far more frequently.

I am not a content expert so cannot tell you the difference between GBP= and GBP=X and why they update at different rates. Please ask the content helpdesk for the difference.

Elektron Websocket API from Elektron Realtime in Cloud currently delivers 3 updates a second (assuming any Market Activity actually takes place) + plus all trades as well - this is known as Trade Safe conflation.


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.

I am getting updates one minute apart even for the `/GBP=`.

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.