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.

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.