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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
6 4 2 7

Unexpected Behaviour in FundSearchRequest

I'm issuing a Fund Search request with the following code:

 var refine = new FundSearchRequest();
                        refine.Identifier = code;
                        refine.IdentifierType = IdentifierType.Isin;
                        refine.PreferredIdentifierType = IdentifierType.Ric;
                       
                        var fundRes = context.FundSearch(refine);

my sourec identifier is an ISIN, and I specify the type, but I want, as a preferred returned identifier, the ric. Unfortunately the search request returns an ISIN. Unfortunately the web application of datascop return for the same asset, a RIC. What's wrong with my request?

the ISIN is CH0016174051 that the UI report with a RIC

LP60090222

dss-rest-apidatascope-selectdssfunds
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
Upvote
Accepted
11.3k 25 9 14

@felice.pollano

If you want to get RIC from Isin, you may use InstrumentSearch with only InstrumentTypeGroup.Funds instead. Below is the sample code.

var results = SearchContext.InstrumentSearch(
AllInstrumentSearchRequest.Create(
    new[] { InstrumentTypeGroup.Funds },
    IdentifierType.Isin,
    "CH0016174051",
    IdentifierType.Ric)); //Preferred identifier

It can return the LP60090222 RIC.

Hope this helps.

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.