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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

otto.to.1 avatar image
11 2 2 8

Count of active subscribed items

As a ERT in Cloud client using Websocket, Is there a way to get the count of total subscribed items?


e.g. If my application has subscribed 10 RICs, is there a function call that I can get "10" as a result of my subscription?

refinitiv-realtimetreprdp-apiwebsocketsrrto
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

pimchaya.wongrukun01 avatar image
9.5k 10 5 7

Hello @otto.to.1

As far as I know, there is no any function like that. Your application needs to implement this by itself.

10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

otto.to.1 avatar image
11 2 2 8

Thanks for the prompt reply!

10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wasin.w avatar image
14.3k 23 8 12

Hello @otto.to.1

Each stream the application open with the WebSocket API (connection, items subscriptions) has a unique "ID" attribute as a reference. It can also be used to match the request and responses.

You can check a number of subscription items from a number of "ID" reference (not a value of ID)

10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.