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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 1 3

RRTO Streaming API

Hi all,

I am new to RRTO Streaming API and I am currently writing c# code to login and subscribe to tick data for various products (i.e. multiple RICs)

I have been playing with the example application and that application seems to register for one ric only.

My question is, does anyone know if I can subscribe to multiple RICs in one WebSocket connection?

Thank you in advance.


Regards,

Hee-Tae

ricsrrtostreaming-prices
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
32.2k 40 11 20

Hello @hee-tae.kim ,

Please see

MarketPriceBatchViewExample.cs on GitHub/Refinitiv

for an example via Webscoket in C#. Batch is the name of the approach for submitting multiple instruments together as a single request, View is the way to select only specific fields of interest, for example:

   /* Request items as a batch.
    * Include a view indicating the desired fields for these items. */
    sendMessage(
        "{"
         + "\"ID\": 2,"
         + "\"Key\": {\"Name\":[\"TRI.N\",\"IBM.N\",\"T.N\"]},"
         + "\"View\":[\"BID\",\"ASK\",\"BIDSIZE\"]"
         + "}"
    );

hope this information helps

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.

Hi @zoya faberov ,


This works!

Thank you very much for your quick response.

Hee-tae

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.