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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 1

.NET SDK Timeseries extraction

Client is looking for a script to extract timeseries data for any equity instrument since 1980. The tutorial guide does not contain any examples which match this requirement.

Can you please share a sample script for MSFT.O and hisotrical price for OPEN Price , HIGH Price , LOW Price , CLOSE Price and volume from period of 1980 to till date?

dss-rest-apidatascope-selectdss
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
648 4 4 6

@Meenakshi.Swarnkar

Please use below example

 {
   IdentifierList = InstrumentIdentifierList.Create(
    new[]
    {
    new InstrumentIdentifier { Identifier = "MSFT.O", IdentifierType = IdentifierType.Ric }
    }, null, false),
    ContentFieldNames = new[] {"RIC", "Trade Date", "Universal Close Price", "High Price", "Low Price", "Open Price", "Volume"},
    Condition = new TimeSeriesCondition
    {
        StartDate = new DateTimeOffset(new DateTime(1980, 01, 01)),
        EndDate = new DateTimeOffset(new DateTime(2019, 01, 25))
    }
};
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