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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
11 2 0 6

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

Upvote
Accepted
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.

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.

Upvotes
11 2 0 6

Thanks for the prompt reply!

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.

Upvote
11.5k 16 7 10

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

Click below to post an Idea Post Idea