question

Upvotes
Accepted
1 0 2 3

Filtering Sedol requests

When I do this:

{

"Request": {

"Identifier": "5750355",

"IdentifierType": "Sedol",

"Range": {

"Start": "2017-09-11T00:00:00.000Z",

"End": "2017-09-11T23:59:59.999Z"

}

}

}

I get 26 different RICs. Is there a way to additional filtering (by RIC or by exchange) , so that, for example, I only get DBKGn.DEU and DBKGn.F in the output?

tick-history-rest-apirest-api
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.

@Igor Schein

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hi @Igor Schein

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

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

Upvotes
Accepted
11.3k 25 9 14

@Igor Schein

It seems that there is no option to additional filtering for HistoricalSearch.

You can use HistoricalReferenceExtraction to retrieve RICs and exchange code and then use the Exchange code for exchange filtering. For additonal information, please see the REST API Tutorial 10: On Demand Histo Reference extraction.

Please note that this request will return only 17 RICs, while HistoricalSearch returns 26 RICs. This is because HistoricalSeach will return RICs by separated domain. For example, <DBKd.TQ> RIC is available on MarketPrice(6), MarketByOrder(7), MarketByPrice(8), so HistoricalSearch will return 3 results for this RIC.

Below is the sample request message.

POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/Extract


{
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.HistoricalReferenceExtractionRequest",
        "ContentFieldNames": [
           "RIC","Exchange Code"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "5750355",
                    "IdentifierType": "Sedol"
                }
            ],
            "ValidationOptions": {"AllowHistoricalInstruments": true},
            "UseUserPreferencesForValidationOptions": false
        },
        "Condition": {
            "StartDate": "2017-09-11T00:00:00.000Z",
            "EndDate": "2017-09-11T23:59:59.999Z"
        }
    }
}

Sample output:

{
        "IdentifierType": "Sedol",
        "Identifier": "5750355",
        "RIC": "DBKGn.DEU",
        "Exchange Code": "DEU"
},
{
        "IdentifierType": "Sedol",
        "Identifier": "5750355",
        "RIC": "DBKGn.F",
        "Exchange Code": "FRA"
},
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
13.7k 26 8 12

@Igor Schein, on the topic of convertinging Sedol to RIC, you might find this article of use. Even though it is about ISIN to RIC conversion, it also applies to Sedol to RIC conversion.

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.

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.