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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
21 1 1 1

How to get RIC value currency using instrument search in rest api?

I use:

var results = extractionsContext.InstrumentSearch( IdentifierType.Isin, CodeISIN, new[] { InstrumentTypeGroup.CollatetizedMortgageObligations, InstrumentTypeGroup.Commodities, InstrumentTypeGroup.Equities, InstrumentTypeGroup.FuturesAndOptions, InstrumentTypeGroup.GovCorp, InstrumentTypeGroup.MortgageBackedSecurities, InstrumentTypeGroup.Money, InstrumentTypeGroup.Municipals, InstrumentTypeGroup.Funds }, IdentifierType.Ric, //Preferred identifier 10000); //Max results

But this search returns several rics with same ISIN and Source - they have different value currencies. If I want preferably nominal currency what should I do? I've read answer about using Historical search to get currency - I think it is very bad idea - It is consuming a lot of time - and such query costs money for my company.

dss-rest-apidatascope-selectdssricsrest-apiforex
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

Upvotes
Accepted
13.7k 26 8 12

@ifetisov,

An InstrumentSearch does not allow you to filter results by currency, and I'm not aware of a way to request results that only include the nominal currency.

But if you know the asset class and the currency, other search calls allow that:

Would that help ?

Side note: you might also be interested in this article on ISIN to RIC conversion.

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