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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 3

to directly connect to RCC to contribute data which approach is better 1.) Real time SDK or 2.) websocket? Please list the pro and cons of both approaches?

elektronrefinitiv-realtimeelektron-sdkrrtwebsocketsrcc
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
Accepted
14.3k 23 8 12

Hello @manpreet.singh

The WebSocket API is designed for easy to develop and support various programming languages via the standard WebSocket connection and JSON message format. However, the application needs to manually control the connection and session logic by itself.

The Real-Time SDK uses Refinitiv's proprietary TCP-based connection called RSSL. The RSSL connection encodes data in binary format which is highly optimized for data distribution more than a JSON string format in a WebSocket connection. The EMA API (part of the SDK) is also handling the connection for the application. However, the SDK currently supports the Java and C++ programming languages.

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
1 0 0 3

Thanks a lot for detailed answer, Can you also describe which is a better solution(websocket vs real time SDK) in terms of performance for us. Our use case is to send the pricing data every 10 seconds?

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
14.3k 23 8 12

Hello @manpreet.singh

The Real-Time SDK (RTSDK) always has a better performance than the WebSocket API because the data is encoded in a binary format.

However, it is also based on your use case (numbers of posting items, the language and library/framework that you are using, etc) that the WebSocket API performance may be enough for your scenario.

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
1 0 0 3

Thanks a lot again, see in our scenario we are targeting to send pricing data after every 5-10 sec interval using Python, will websocket is good for this use case(sending data after every 5-10 sec) can you confirm? @wasin.waeosri

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
14.3k 23 8 12

Hello @manpreet.singh

How many items do you want to send pricing data to RCC? Are you planning to use the RCC direct connection or via RTDS (aka TREP)?

rcc-sm.png


rcc-sm.png (111.4 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.

Upvotes
1 0 0 3

1) There are 6-8 attributes we are going to send such as ticker, price , volume, window interval / others. We want to send the pricing data of 6-8 attributes every 5-10 seconds interval
2) We want to use direct connection only for websockets


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
14.3k 23 8 12

Hello @manpreet.singh

Could you please clarify my understanding?

  1. You are planning to contribute 6-8 items' pricing data to RCC
  2. Each item contains 5-10 fields of data
  3. You are planning to send data every 5-10 seconds interval
  4. You will connect to RCC directly

If so, the WebSocket API is enough for your requirements. You can find more detail about how to use WebSocket API direct connect to RCC from this Contributing Data to Refinitiv Contributions Channel (RCC) via WebSocket tutorial page.

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
1 0 0 3

@wasin.waeosri

1.)We are planning to contribute 50,000(IBM/GOOGLE/OTHERS) security pricing data to RCC

2.)Each item contains 5-10 fields of data

3.) we are planning to send data every 5-10 seconds interval

4.)we will connect to RCC directly

Please advice python websocket (directly to RCC) is sufficient or not in term of performance.



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
1 0 0 3

@wasin.waeosri Hi, can you please provide solution for the above query?

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.