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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 4

How to use use the websocket API to request more then one instrument

Hi,

We are using the WebSocket API https://api.edp.thomsonreuters.com/streaming/pricing/v1/

We haven’t find a way to request more than one instrument at the time and get a snapshot request. Our understanding at the moment is that we should start the stream for a certain instrument, get the snapshot data and terminate the stream. Is it an option to request more than once instruments in the same query and how do we do it?

The nest question is weather we can start more than one stream in the same time from one virtual machine?

treprdp-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.

1 Answer

· Write an Answer
Upvote
Accepted
17k 80 39 63

Hi @mila.zaharinova,

As outlined within the WebSocket API documentation, you can specify the instrument within the JSON request as an array.

Regarding the # of streams, there should be no issue to open more than one stream simultaneously.


ahs.png (24.1 KiB)
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.