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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 5 5 8

PriceHistoryExtractionRequest Missing Prices

Hi, I am using the price history PriceHistoryExtractionRequest API to retrieve historical prices. I am querying for ric: DWAQ.O between dates 2019-05-20 and 2019-05-22. The extraction response for May 20th has an empty value for the price. Is this the expected behavior of the API?


Request:

{
  "ExtractionRequest": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.PriceHistoryExtractionRequest",
    "ContentFieldNames": [
      "RIC",
      "Trade Date",
      "Universal Close Price"
    ],
    "IdentifierList": {
      "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
      "InstrumentIdentifiers": [
        {
          "IdentifierType": "Ric",
          "Identifier": "DWAQ.O"
        }
      ]
    },
    "Condition": {
      "AdjustedPrices": false,
      "QueryStartDate": "2019-05-20",
      "QueryEndDate": "2019-05-22"
  	}
  }
}

Response:

RIC,Trade Date,Universal Close Price
DWAQ.O,2019/05/20,
DWAQ.O,2019/05/21,111.79
DWAQ.O,2019/05/22,111.36
dss-rest-apidatascope-selectdssrics
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.

Hello @elvis.fernandez,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text beneath the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Hello @elvis.fernandez,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

Upvote
Accepted
39.4k 77 11 27

This is expected. On 2019-05-20 the only trades recorded for DWAQ.O were odd lot trades, which by convention are not summarized into daily price history. In other words there were no regular trades for this stock on 2019-05-20.
If you check the price history record for this stock on NASDAQ Website you'll see that for 2019-05-20 the trading volume is zero and the closing price from the previous day is repeated.
https://www.nasdaq.com/symbol/dwaq/historical

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.

Upvotes
3 5 5 8

@Alex Putkov.

Thanks for the response. Can you confirm whether an empty value always means the security has not been traded and therefore the previous day price can be used as a substitute?

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.

I believe so, but for an authoritative answer you may want to confirm this with Refinitiv Helpdesk. In general content questions are best directed to the Helpdesk, which you can reach via MyRefinitiv portal.

Is there a way to retrieve the Volume count or a way to specify the api to populate the last close price?

I'm not sure I understand what you're trying to achieve. You can add "Turnover" and/or "Accumulated Volume Unscaled" fields to your request, which will return values as long as there were any trades for the stock on the date. But the close price for DWAQ.O on 2019-05-20 will still be null. If you'd like to repeat the previous close price whenever the close price returned is null, it's a trivial exercise when parsing the response received, right?

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.