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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
6 4 4 4

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 512.0 KiB each and 1.0 MiB total.

@ravi_ranjan

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

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

1 Answer

· Write an Answer
Upvotes
Accepted
17.2k 82 39 63

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 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.