question

Upvotes
Accepted
66 3 5 7

Cannot retrieve data from DSWS

We have a batch job runs every 10min – getting new token and making the request to DataStream (https://product.datastream.com/DSWSClient/V1/DSService.svc/rest/GetData) each time

Body of GetData:

{

"DataRequest": {

"DataTypes": [

{

"Value": "PI"

}

],

"Date": {

"End": "2023-05-05",

"Frequency": "D",

"Kind": "0",

"Start": "2023-05-05"

},

"Instrument": {

"Value": "CBOEVIX"

}

},

"TokenValue": "……………………………………."

}


Below is the error message:

2023-05-09 10:59:50.8712||SCHRODERSAD\z_AUEquityTrading_TS|ERROR|EquityTrading.Services.UsVixPrice.UsVixPriceDownloader|80000e97-0003-fa00-b63f-84710c7967bb|Cannot get price from Refinitiv for Ticker: CBOEVIX for Price Date: 05 May 2023. Returning null.

2023-05-09 10:59:50.8824||SCHRODERSAD\z_AUEquityTrading_TS|ERROR|EquityTrading.Services.UsVixPrice.UsVixPriceDownloader|80000e97-0003-fa00-b63f-84710c7967bb|Error - Cannot get price from Refinitiv for Ticker: CBOEVIX for Price Date: 05 May 2023. US VIX price will not be saved.


We recently noticed that there was a change to entitlements, and we regained access.

However still getting above error. Is this due to entitlements or some other error?

Thanks.

#productdsws-api
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.

Hello @bob.kim

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@bob.kim

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvote
Accepted
79.1k 250 52 74

@bob.kim

Thanks for reaching out to us.

I tested this request on the Datastream Test REST Service and can retrieve the data properly.

1683614392218.png

You need to verify the HTTP status and payload in the HTTP response.

I hope that this information is of help.


1683614392218.png (26.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.

Thanks Jirapongse! got it.

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.