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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
67 4 7 13

DSS API: search for historical RIC returns empty result

I am trying to get data from DSS for ended RIC EONIA=. It appears in the DSS RIC search, but only has "Reference History." No prices tab.

When I attempt to search for it using DSS REST API I get no results:

In [8]: headers = {"Authorization": "..."}
In [9]: requests.post("https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/InstrumentSearch", json={'SearchRequest': {'IdentifierType': 'Ric', 'PreferredIdentifierType': 'Ric', 'Identifier': 'EONIA='}}, headers=headers).json()
Out[9]: 
{'@odata.context': 'https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#Collection(DataScope.Select.Api.Content.ValidatedInstrument)',
 'value': []

But if I search for an active RIC I get a result:

In [10]: requests.post("https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/InstrumentSearch", json={'SearchRequest': {'IdentifierType': 'Ric', 'PreferredIdentifierType': 'Ric', 'Identifier': 'TSLA.O'}}, headers=headers).json()
Out[10]: 
{'@odata.context': 'https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#Collection(DataScope.Select.Api.Content.ValidatedInstrument)',
 'value': [{'Identifier': 'TSLA.O',
   'IdentifierType': 'Ric',
   'Source': 'NSQ',
   'Key': 'VjF8MHgwMDAzZjgwMzQxOTJjYmUwfDB4MDAwM2Y4MDM0MjExM2I5MHxOU1F8RVFRVXxFUVRZfE9EU0h8RXx8VFNMQS5PfDEzMDQ',
   'Description': 'TESLA ORD',
   'InstrumentType': 'EquityQuote',
   'Status': 'Valid'}]}

Do I need to do something special to search inactive RICs? I saw reference to a ^ suffix in another question, but it sounded like that did not apply to DSS. Is this data available?

#technology#productapisearch
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.

1 Answer

· Write an Answer
Upvotes
Accepted
80.1k 257 52 75

@aschmied

Thanks for reaching out to us.

I think, to search for a historical RIC, you need a historical search.

1677731364591.png

You may contact the Datascope support team directly via MyRefinitv to confirm this.

I hope that this information is of help.


1677731364591.png (74.1 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.

Aha! Good find. Thank you

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.