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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
11 4 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
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
9.6k 10 6 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.

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
11 4 2 8

Thanks for the prompt reply!

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
16.7k 31 9 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)

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.