For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 1 0 3

Looking for Webservice link from Refinitiv

Hi Team,

We are trying to consume prices from Refinitiv DSS, by making an webservice call(HTTPS). We tried identifying the right service to place the request, but no success. Requesting your guidance in this. Please find below details.

Rest API base URL : https://hosted.datascopeapi.reuters.com/RestApi/v1/
Sample Identifier : "0#AGX:" (will be passed in the Webservice call to fetch prices)
Exchange : NYMEX
Grade : NYCP.GX

Please can you share with us one sample request with the mentioned identifier being passed as parameter to fetch prices in response (with or without contract period)

dss-rest-apidatascope-selectdss
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
13.7k 26 8 12

@vasanthakumar_s02,

1. 'End of Day' (EoD) versus 'Snapshot intraday' (Intraday)

  • EoD is the official price at the end of the trading day. This is often what the back office uses.
  • Intraday is a snapshot of the current price at the moment when you request it; so, every time you request it (during trading hours) you will receive a different result. This is what traders usually want.

Once you explain this difference to your end users they should be able to tell you what they need.

2. Passing parameters in requests

In a nutshell, no, the API is not built for passing parameters in the way you describe.

The Refinitiv DSS REST API calls are described in detail in the API Reference Tree. The API only supports the described way to pass the parameters, which is usually through the body of the request, in JSON format (there are a rare exceptions where a single parameter is passed in the URL,but those are not data requests).

To get a good view of the API calls, how they are built, and what response is delivered, I recommend you follow the DSS Quick Start, which explains how to use the C# example application. That application also displays the HTTP requests and responses, for most of the API calls. That application does not allow you to change the call parameters, but to experiment further you can use our Postman collection, available under the downloads tab, and described in the DSS REST API Tutorials. Finally, I also recommend following the Programming without SDK tutorial, in particular the Best Practices section, which should help jump start you.

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
13.7k 26 8 12

@vasanthakumar_s02,

THE DSS API is a REST API, with many endpoints that each serve different requests (authentication, various data types, and more). Your query is fairly vague. Do you need End of Day Prices, snapshot Intraday Prices, others ?

Have you looked at our comprehensive DSS tutorials set ? It describes how to interact with the API, and gives many downloadable examples in several programming languages to help you get started with the API. The samples use various RICs, it is easy to replace them with those of your choice.

I also see you are using a chain RIC. Please note that when creating a request for the chain RIC itself, the identifier must be specified like this:

{ "Identifier": "0#AGX:", "IdentifierType": "ChainRIC" }

But if you want data for its constituents, then you must first retrieve their list, and then make a request on the constituent RICs. This thread explains how to retrieve the constituents of a chain.

If this does not suffice, please tell us exactly what you are trying to achieve.

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
1 1 0 3

Thank you Christiaan @. Comprehensive DSS tutorial which you shared was very detailed and helpful in understanding the services present in DSS. We have few more queries before choosing the endpoint service. Posing them below

1. Price types :- 'End of Day', 'Snapshot intraday'. Can you please share with us sample prices for both 'End of day' and 'Snapshot intraday' for any of the below mentioned chain RICs along with business date.
0#LGO:
0#EXR:
0#LCO+
It will help us get confirmation from end users about the actual prices that has to be fetched.

2. Webservice request : We are currently fetching prices from different vendor. Inorder to fetch prices, in existing system, parameters are passed in query string. Please find below the sample requests

https://webservice.gvsi.com/gvsi/xml/getdaily?securitytype=F&fields=symbol,date,close&output=csv&includeheaders=false&symbols=/xEVM20,/xEVF20,/xYVU19,/x1VX19,/xEVX20&startDate=08/28/19&endDate=08/30/19

https://webservice.gvsi.com/gvsi/xml/getchain?securitytype=FO&fields=underlier,strike,last,settle,putcallunderlier,lotsize&output=csv&includeheaders=false&underlier=/CLG21

Please let us know if parameters can be passed exactly in a similar way to Refinitiv DSS REST api. If yes, can you share with us one sample request.

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
1 1 0 3

Thank you Christiaan @.
EoD Prices :
https://developers.refinitiv.com/en/api-catalog/datascope-select/datascope-select-rest-api/tutorials?content=13323&type=learning_material_item

1. From the above link, under 'A complex request body in Postman', an example has been mentioned for End of Day data request. Is this request for EoD prices? Can you please share endpoint webservice link for the same?

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
23k 22 9 14

Hello @vasanthakumar_s02,

The endpoint for on demand extractions will be

https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes

Please find more details in REST API Tutorial 2: On Demand End of Day Extraction

The section of tutorials REST API Tutorials will, in general, have more details pertaining to a specific request type.

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
1 1 0 3

@ Christiaan. @ Zoya Farberov One small clarification regarding Chain RIC constituents.

{

"IdentifierType": "ChainRIC",

"Identifier": "0#MGN:",

"RIC": "MGNV9"

},

In the above RIC, last 2 characters (Bold and Underlined) signifies month and year respectively. Please let me know if my understanding is correct.

If yes,

1. Can you please share the month codes from January to December?

2. With respect to year, Only one character is being appended to form a RIC. How to distinguish years in this case. For example 2009, 2019 and 2029?

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