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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 0 4 7

how to get Settlement Prices using ChainRICs using DSS API?

Hello,

I have following questions on ChainRICs using DSS API.

1. Can we extract Prices (Settlement Price or Universal Close Price) for all 'Valid Constituents' or live RICs using Chain RIC?


2. How should the Extraction Request look like?


Example:

ChainRIC 0#LGO:

1692806075094.png


I need Extraction Request to pull following fields (in bold) for all 'Identifies' in above table (LGOU3, LGOV3, etc).

Following is the Extraction Request I tried. Please can someone suggest me the appropriate Extraction Request.

{

"ExtractionRequest":

{

"@odata.type":

"#DataScope.Select.Api.Extractions.ExtractionRequests.EndOfDayPricingExtractionRequest",


"ContentFieldNames": [

"Settlement Date",

"Settlement Price",

"Universal Close Price Date",

"Universal Close Price",

"Contract Month and Year"

],

"IdentifierList": {

"@odata.type":

"#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",

"InstrumentIdentifiers": [{"Identifier": "0#LGO:", "IdentifierType": "ChainRIC" }]

}

}

}


Thanks

dss-rest-apidss#contentpython api
1692806075094.png (38.5 KiB)
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 @lisa.mcentee

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar 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

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@lisa.mcentee

Thank you for reaching out to us.

I used the following request.

{
    "ExtractionRequest": {
        "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.EndOfDayPricingExtractionRequest",
        "ContentFieldNames": [
            "Settlement Date",
            "Settlement Price",
            "Universal Close Price Date",
            "Universal Close Price",
            "Contract Month and Year",
            "RIC",
            "Security Description"
        ],
        "IdentifierList": {
            "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "0#LGO:",
                    "IdentifierType": "ChainRIC"
                }
            ]
        }
    }
}

The output is:

1692849439921.png

The "Settlement Date" is null.

Please contact the Datascope Select support team directly via MyRefinitiv to verify which report templates that can provide "Settlement Date" for 0#LGO:


1692849439921.png (54.3 KiB)
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.