question

Upvotes
Accepted
3 0 1 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 5.0 MiB each and 10.0 MiB total.

1 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea