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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 3

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
9.7k 49 38 60

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea