question

Upvotes
Accepted
3 1 2 3

DSWS .NET API - Get "Latest Value" of a Time Series

Hi all,

i'm using the .net API for DSWS available at
http://product.datastream.com/DswsClient/Docs/Downloads.aspx

I want to retrieve the last available value from a time series as of a specific date.

For example:

var request = new DSDataRequest()
     {
         Instrument = new DSInstrument("VOD"),
         DataTypes = new DSDataTypes("TRESGS"),
         Date = 
     };

How should I set the Date if i want to get only the last TRESGS value available before 2018-12-31?

Thanks,

Marco

datastream-apidsws-api.net
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.

Contacted DSWS Escalation Support to answer this question.

@marco.megna

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the most appropriate reply.

If you have already known an answer, please share your answer, and then accept it. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
681 2 2 1

HI,

Information on Datastream Date names can be found here.

http://product.datastream.com/DswsClient/Docs/soapapihelp/EnumDetails.html#DSDateNames

Best regards

James

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.