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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
11 0 3 5

Embargoed Data via DSS Rest API

Hello Team,

I have a client doing an “IntradayPricingExtractionRequest” request to retrieve option data. The access for that data is delayed for them and the questions is whether is possible to make the request and get immediately the data which should be 15 mins old instead of making the request and having to wait 15 mins for the request to come back with the data corresponding to the time of the when the request is actioned.


See below details of what they do:

Send the below body to https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes:

{"ExtractionRequest": {

"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.IntradayPricingExtractionRequest",

"ContentFieldNames": [

"RIC",

"Ask Price",

"Asset Type",

"Bid Price",

"Currency Code",

"Exchange Code",

"High Price",

"Instrument ID",

"Instrument ID Type",

"Low Price",

"Open Price",

"Volume"

],

"IdentifierList": {

"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",

"InstrumentIdentifiers": [

{ "Identifier": "0#HSBA*.L", "IdentifierType": "ChainRIC" }

]

},

"Condition": { "ScalableCurrency": True,

"OnlyNonEmbargoedData": False}

}

}


If they set "OnlyNonEmbargoedData": False they receive an empty responds with HPPT code 202. In the documentation this status code is described as below:


BUT if they set "OnlyNonEmbargoedData": True they receive the below data for each option in the chain but the prices in the response are always null. Below is a sample Ric from the Chain (the original request has over 200 Rics but leaving only one to make it more visible here)

{"IdentifierType":"ChainRIC","Identifier":"0#HSBA*.L","RIC":"HSBA720U1.L","Ask Price":null,"Asset Type":null,"Bid Price":null,"Currency Code":null,"Exchange Code":null,"High Price":null,"Instrument ID":"0#HSBA*.L","Instrument ID Type":"CHR","Low Price":null,"Open Price":null,"Volume":null}


Let me know please if there is a way to get immediately the prices with a 15 min delay, like one would see the data in Eikon when he is not permissioned to Real time.

Best regards

Alejandro


dss-rest-apidatascope-selectdssembargo
1574092049322.png (92.2 KiB)
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
Accepted
11.3k 25 9 14

Hi @alejandro.lesaga,

I understand that you mean the delayed RIC which provides delayed data and doesn't require real-time data permission. To get the Delayed Chain RIC add the </> symbol after the <#> symbol in the Chain RIC. For example, <0#/HSBA*.L>

You can also retrieve the delayed RIC using DSS to immediately retrieve delayed data. Please note that the "Allow Import of Open Access Instruments from Real-Time Feed" is required on User Preference for delayed RIC access.


delayedric.png (67.5 KiB)
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
13.7k 26 8 12

@alejandro.lesaga,

DSS does not work like Eikon.

If you run into an embargo, an IntradayPricingExtractionRequest does not give the possibility to immediately receive data that is 15 minutes (or whatever embargo delay you might run into) old. You must wait for the embargo delay to finish, after which the request comes back with the data corresponding to the time of the when the request was submitted.

You will not run into an embargo if you are permissioned for real-time (this is fee liable). Permissioning is done per contributor (/ exchange, you can check your permissions in the GUI.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.