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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
6 2 0 4

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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
11.3k 25 8 13

@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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea