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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
6 1 2 3

Extract Govt 10 year yield using API

I need yields for govt issued 10 year bonds I am using the following request body which returns empty data.

 {
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ElektronTimeseriesExtractionRequest",
        "ContentFieldNames": [
            "Yield"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "GB10YT=RR",
                    "IdentifierType": "Ric"
                }
            ],
            "UseUserPreferencesForValidationOptions": false
        },
        "Condition": {
            "ReportDateRangeType": "Range",
            "QueryStartDate": "2018-01-01T00:00:00.000Z",
            "QueryEndDate": "2018-02-01T00:00:00.000Z",
            "LastEntityOnly": false
        }
    }
}
pythondss-rest-apidatascope-selectdsstick-history-rest-apiapiextractionyield
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
9.7k 49 38 60

Hi @ravi_ranjan,

I don't believe the data is available for the specific asset you are specifying. According to the Data Content Guide For DataScope Select, this particular field is only available for the Money Market asset type.

I applied all the "yield" fields for this report template as:

Which resulted in this:

You may consider one of these values for your purposes. However, you should contact the Refinitiv HelpDesk for content-specific questions and they can verify and suggest the appropriate field.


ahs.png (8.8 KiB)
ahs.png (12.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea