question

Upvotes
Accepted

Format for pricing streaming in API

Please provide step by step on format on how to enter the Pricing Streaming service in the request in the API Playground.


rdp-apirefinitiv-data-platform
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 @Michael Ronald Cortez.Espinosa

You can get the list of Refinitiv Real-Time -- Optimized (formerly known as ERT in Cloud) Server endpoints dynamically from RDP Pricing Service. This service does not provide pricing data for consumers.

The service returns a list of valid endpoints for both WebSocket and TCP transport (called RSSL which is supported by the Refinitiv Real-Time SDK family only) types. The basic HTTP request information of this service is the following:

  • API Endpoint URL: https://api.refinitiv.com/streaming/pricing/v1/
  • Method: GET
  • Header:
    • Authorization = Bearer <RDP Access Token>
  • Optional Query Parameters:
    • transport=value (The supported values are websocket and tcp)
    • dataformat=value (The supported values are tr_json2 and rwf)

Note: All RDP REST APIs require the application to input Access Token via Authorization HTTP request message header. Please notice the space between the Bearer and RDP Access Token values.

You can find an example from the Python application that my colleague has mentioned above.


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
13k 32 12 18

Hi @Michael Ronald Cortez.Espinosa, The streaming service /streaming/pricing/v1/ only provides a list of endpoints, which can provide the actual streaming data. We call this service discovery. An application is expected to use service discovery and then invoke a websocket request to get streaming data. This cannot be done in the API playground.

Please see this Python sample on how to use 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.

Click below to post an Idea Post Idea