How can I find the "adjusted price history"?

Hi

Is there an endpoint in the DataScope API which would allow me to get the adjusted price history corresponding to the prices in the screenshot below?

Thanks in advance for your help,

Benoit

image

Best Answer

  • @bilou_12

    It could be Price History report template. The template has an "Adjusted Prices" option to retrieve historical prices adjusted from corporate actions and currency redenominations..

    image

    For On Demand extraction, the PriceHistoryExtractionRequest provides the same options, "AdjustedPrices". For more details, please see REST API Reference Tree.

    image

    Below is the sample of request.

    POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes
    {
    "ExtractionRequest": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.PriceHistoryExtractionRequest",
    "ContentFieldNames": [
    "Trade Date",
    "Currency Code",
    "Accumulated Volume Unscaled",
    "Ask Price",
    "Bid Price"
    ],
    "IdentifierList": {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
    "InstrumentIdentifiers": [
    {
    "Identifier": "XLE",
    "IdentifierType": "Ric"
    }
    ],
    "ValidationOptions": null,
    "UseUserPreferencesForValidationOptions": true
    },
    "Condition": {
    "AdjustedPrices": true,
    "QueryStartDate": "2019-08-23T00:00:00.000Z",
    "QueryEndDate": "2019-08-30T00:00:00.000Z"
    }
    }
    }

Answers