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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
44 6 10 12

WebSocket API - "MarketPriceEdpGwServiceDiscoveryExample" - Detail on input arguments

Hi Team,

Could you please help me to find the detail on the input argument used in "MarketPriceEdpGwServiceDiscoveryExample" example:

  1. What is the use of “Scope” parameter and what are the all possible values?
  2. What is the use of “hotstandby”?
  3. What are the all possible values we can have for “region”?

Currently we only see the below options:

  • amer (Default)
  • emea
  • apac

Can we have more option in future?

  1. What all the possible values we can have for “Service”? In the examples we have “ELEKTRON_DD”, can we have other services?
  2. In the sample examples, we can see appID = 256 or 555. What is 256 or 555 represent? Can this be changed?


Thanks

Pradeep B

treprdp-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.

Upvotes
Accepted
11.5k 16 7 10

Hello @pradeep.badoni

The appID (ApplciationID), together with the Position helps the upstream infrastructure to identify the client connection. It is the ID of the consumer application that is connected to.

You can change it from the range '257' to '65535' based on your preference. Range '1' to '256' is reserved by Refinitiv. You can find more detail about the WebSocket specification in Refinitiv WebSocket API – API Specifications document.


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.

Hi @wasin.waeosri

Thanks, got the required detail.

Accepting the ticket.

Upvotes
7.6k 15 6 9

@pradeep.badoni


There are some description of the OAuth2 parameters required by the API on the following tutorial

https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/tutorials#authorization-all-about-tokens


For #1 about the scope, the app can request the top-level scope trapi to get us a token containing all the scopes we are entitled to.

For #2 about the hotstandby, it's the example app feature, not the API. It uses to specifies the hot-standby mechanism to create two connections and subscribe identical items for service resiliency. If required, you can use your own implementation to implement the feature as well.

You can find the hotstandby implementation in example source codes.

For #3 about the region, it's the name of the AWS region, and basically, the example will retrieve it from the RDP discovery service.


https://api.refinitiv.com/streaming/pricing/v1/

You can find the available list on the API docs page.

https://apidocs.refinitiv.com/



As far as I understand, the Provider server's default service is ELEKTRON_DD, and 256 is the default app id. I don't think currently general user can change it.


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.

Hi @moragodkrit.chumsri_1

Thanks for the above detail.

Could you please provide some more detail on below:

"we can see appID = 256 or 555. What is 256 or 555 represent? Can this be changed?"

Thanks

Pradeep B

Upvotes
11.5k 16 7 10

Hello @pradeep.badoni

Additionally, you can find more detail regarding the RDP Auth and Service discovery services in Refinitiv Real-Time - Optimized Install and Config Guide document (download page).

The RDP APIs Getting Started Guide document is also helpful.

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