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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 1 4

Retrieve Primary RIC using .NET SDK API

Can you please let me know how to retrieve Primary RIC using .NET SDK API

dss-rest-apidssdatascope-selectrics
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.

Upvotes
Accepted
13.7k 26 8 12

@vishal_kak,

Thank you for clarifying your use case.

Using field "Primary Trading RIC" in a T&C (Terms And Conditions) request seems fine to me.

I made some T&C tests with UNP, trying to request the primary trading RIC from RICs UNP.F, UNP.N, UNP, and ISIN US9078181081, In all 4 cases I receive UNP.N as the primary trading RIC.

After investigating with a data specialist, he told me that UNP.N (on NYS) is the primary RIC, whereas UNP (on NYQ) is a consolidated quote, not the primary RIC. This can be seen in Eikon, using a search for UNP:

The Eikon quote displays different venues for Bid and Ask, which also hints at a consolidated RIC:

I am a bit confused about where you see in Eikon that the "Primary RIC" is "UNP", I could not reproduce that.

Added 14 Nov, from other answers / comments, to summarize all info in one place:

Note also that most equity RICs in Elektron carry a specific RIC code in field 728 (BCAST_REF) (used to retrieve NEWS), which should be the Primary RIC. For UNP, UNP.F and UNP.N it contains UNP.N, confirming that UNP.N is the primary.

From what you observe, we must conclude that the primary RIC displayed under Codes and Schemes from the Corporate Information screen in Eikon is not always reliable.

As a final conclusion, I'd use field "Primary Trading RIC" from a T&C request, it delivers the correct information.


unp-search.png (145.3 KiB)
unp.png (24.9 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.

Upvotes
13.7k 26 8 12

@vishal_kak,

I am guessing you are starting with an ISIN, Cusip or Sedol.

On the topic of ISIN to RIC conversion, please refer to this article, and in particular this section to retrieve the primary RIC. To find the primary RIC you can run a Terms And Conditions request.

For C# code using the .Net SDK, this is explained in detail in the .Net SDK tutorial 8, which is also delivered as downloadable code.

All it takes is to use a set of ISINs as input, and the returned RIC will be the primary.

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.

Upvotes
1 0 1 4

Thanks for your response.

I am strting with RIC. Its because I want to find out the "Primary RIC" of an existing "RIC".

e.g Primary RIC code of UNP.N is UNP

I tried using Terms And Conditions request but "Primary Trading RIC" is coming "UNP.N" instead of "UNP". When I search for "UNP.N" in Eikon I can see "Primary RIC" is "UNP".

Can you please advise how to retrieve "Primary RIC" from "RIC"

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.

Upvotes
1 0 1 4

Here is the screen shot in Eikon

When I try using Terms And Conditions Request API "Primary Trading RIC" is coming "UNP.N" instead of "UNP".

Please advise how I can retrieve Primary RIC from .net SDK REST APIs.


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.

@vishal_kak, sorry, the screen shot is not visible; can you please post it again ?

It is normal that "Primary Trading RIC" delivers "UNP.N" instead of "UNP", because the primary RIC is UPN.N (see explanation in my previous answer).

To retrieve the primary RIC using the REST API.Net SDK, you can start with the code from .Net SDK tutorial 8, add "Primary Trading RIC" to the fields to retrieve, and use whatever RICs you want in the input instrument list.

@vishal_kak, thank you, now I can see the screen shot, and understand what you are looking for. The content of that screen is strange, because UNP is not the primary RIC. This needs to be checked with a data specialist, because the issue is not with the API, it is data related.

@vishal_kak, I asked a data specialist for help, here is a summary of his answer:

Most equity RICs in Elektron carry a specific RIC code in field 728 (BCAST_REF) (used to retrieve NEWS), which should be the Primary RIC. For UNP, UNP.F and UNP.N it contains UNP.N.

From what you observe, we must conclude that the Codes and Schemes info from the Corporate Information in Eikon is not always reliable.

As a conclusion, I'd rely on field "Primary Trading RIC" from a T&C request, it delivers the correct information.

Upvotes
1 0 1 4

Attached screenshot

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.

Upvotes
1 0 1 4

Thanks Christiaan, Is it possible to track all historical changes to a RIC. e.g RIC1 changes to RIC2 and the to RIC3.

RIC1->RIC2->RIC3

Can I query using a Request API, pass any RIC(e,g RIC2) and get back latest RIC(i.e RIC3).

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.