Simple way to get Open Price for securities using DataScope?

Hi,

I am using DataScope and would need to get the open price for various securities (equities, bonds etc).

Rather than extracting historic raw ticks around the time range when the exchange opens and retrieving the very first valid tick, is there a FID that would represent the open price for that security throughout the day? Or do I need to use a different report template other than historic raw ticks?

Any advice and sample code would be appreciate.

Thanks in advance.

TP

Best Answer

  • @3ea68ad4-ed61-470f-8598-5b20a01d18c7_deprecated_1b916672-ad7f-4cb3-99db-49fdc7f9cf11,

    My answer assumes you are a DSS customer, and not a TRTH customer (both products use the same servers, which sometimes generates confusion).

    1. Field "Open Price" of the TimeSeriesExtractionRequest delivers the Open Price for any date range you want. This is described in DSS REST API Tutorial 4.
    2. Field "Open Price" of the EndOfDayPricingExtractionRequest delivers the Open Price for the preceding day, but will not deliver anything further back in history. This is described in DSS REST API Tutorial 2.

    These 2 tutorials use On Demand requests, but you can also use scheduled requests, by choosing the corresponding templates. DSS REST API Tutorial 10 describes this for an End of Day Pricing request, following that you can easily make a Time Series extraction request.

    If per chance you are a TRTH customer, then you should look at field "Open" of the ElektronTimeseriesExtractionRequest, it delivers the Open Price for any date range. This is described in TRTH REST API Tutorial 7.

    Does this help ?

Answers