How to set RIC starting with a slash in DSS

I am trying to get a RIC that starts with a slash (ex "/EUR=") in the DSS API, but it is not working.

How do I set the slash?

  • I have successfully obtained a RIC that does not start with a slash. (ex "EUR=")
  • When I try to get the RIC from the web console with the same account, it succeeds.


requestURL:

https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractRaw

requestJSON:

{
"ExtractionRequest": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TickHistoryIntradaySummariesExtractionRequest",
"ContentFieldNames": [
"Open",
"High",
"Low",
"Open Bid",
"High Bid",
"Low Bid",
"Close Bid",
"Open Ask",
"High Ask",
"Low Ask",
"Close Ask",
"Open Yield",
"High Yield",
"Low Yield",
"Close Yield",
"Open Ask Size",
"High Ask Size",
"Low Ask Size",
"Close Ask Size",
"Open Mid Price",
"High Mid Price",
"Low Mid Price",
"Close Mid Price"
],
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{
"Identifier": "/EUR=",
"IdentifierType": "Ric"
}
]
},
"Condition": {
"MessageTimeStampIn": "GmtUtc",
"ReportDateRangeType": "Range",
"QueryStartDate": "",
"QueryEndDate": "",
"SummaryInterval": "OneHour"
}
}
}

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @shinichi.hashiba.mhir

    Thanks for reaching out to us.

    Please try to set the AllowOpenAccessInstruments to True in the ValidationOptions property.

    {
        "ExtractionRequest": {
            "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TickHistoryIntradaySummariesExtractionRequest",
            "ContentFieldNames": [
                "Close Ask",
                "Close Bid",
                "High",
                "High Ask",
                "High Bid",
                "Last",
                "Low",
                "Low Ask",
                "Low Bid",
                "No. Asks",
                "No. Bids",
                "No. Trades",
                "Open",
                "Open Ask",
                "Open Bid",
                "Volume"
            ],
            "IdentifierList": {
                "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
                "InstrumentIdentifiers": [
                    {
                        "Identifier": "/EUR=",
                        "IdentifierType": "Ric"
                    }
                ],
                "ValidationOptions": {
                    "AllowOpenAccessInstruments": true
    }

            },
            "Condition": {
                "MessageTimeStampIn": "GmtUtc",
                "ReportDateRangeType": "Range",
                "QueryStartDate": "2022-11-27T00:00:00.000Z",
                "QueryEndDate": "2022-11-30T00:00:00.000Z",
                "SummaryInterval": "OneHour",
                "TimebarPersistence": true,
                "DisplaySourceRIC": true
            }
        }
    }

Answers