question

Upvotes
Accepted
3 3 5 6

Error in post ExtractRawRequest for RIC

Hi,

I used thth v2 rest api for expanding root FB10mv, The expanded RICs are

['FB10mvH8', 'FB10mvM8', 'FB10mvU8']

However when I tried to download the intraday report for these three RICs for date range

('QueryStartDate', '2017-12-26T00:00:00.000-05:00'), ('QueryEndDate', '2017-12-26T23:59:59.999-05:00'), It gave me error saying -

Instrument <RIC,FB10mvH8> expanded to 0 RICS.\nInstrument <RIC,FB10mvM8> expanded to 0 RICS.\nInstrument <RIC,FB10mvU8> expanded to 0 RICS.

Since its already an expanded RIC, why does the note says expanded to 0 RICS

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

@rahul_srivastava

Hi,

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 @rahul_srivastava

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

1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 25 9 14

I have found the same error. I understand that the server will internally expand instruments to RICs before extracting data. The "expanded to 0 RICS" error should imply that the RIC is not available for the query range. If I modify the query range to Dec 27, data can be extracted properly.

The following result from Historical Search indicates that the RICs were available only on MarketByPrice domain ( domainCode: 8 ) on Dec 26, while the intraday report normally is on the MarketPrice domain.

For this issue, please kindly contact TRTH V2 support team via Contact Us for further investigation. In the product field, please select "Thomson Reuters Tick History v2".

Historical Search result for 'FB10mvH8' RIC:

Request:
POST https://hosted.datascopeapi.reuters.com/RestApi/v1/
{
"Request": {
"Identifier": "FB10mvH8",
"IdentifierType": "Ric",
"Range": {
"Start": "2017-12-26T00:00:00.000Z",
"End": "2017-12-26T23:59:59.999Z"
}
}
}

Response:
{
"@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#Collection(ThomsonReuters.Dss.Api.Search.HistoricalSearchResult)",
"value": [
{
"Identifier": "FB10mvH8",
"IdentifierType": "Ric",
"Source": "",
"Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHxGQjEwbXZIOHw",
"Description": "Historical Instrument",
"InstrumentType": "Unknown",
"Status": "Valid",
"DomainCode": "8",
"FirstDate": "2017-06-09T00:00:00.000Z",
"LastDate": "2017-12-28T00:00:00.000Z",
"History": []
}
]
}

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.