I have an application that snapshots thousands of equities from the RFA API. I don't always have the most up-to-date RIC and would like to resolve these from a SEDOL. From answers in the portal, it seems the only way to do this is by leveraging some of the Reuters RESTful APIs.
I've found that this code both works and is very slow:
var extractionsContext = new ExtractionsContext(serviceUri, token); var onlyEquities = new[] { InstrumentTypeGroup.Equities }; foreach (var sedol in sedols) { var sedolresult = extractionsContext.InstrumentSearch(IdentifierType.Sedol, sedol, onlyEquities, IdentifierType.Ric, 1).FirstOrDefault(); if (null == sedolresult) continue; if (sedolresult.IdentifierType != IdentifierType.Ric) continue; //Do something with sedol/ric pair }
Is there a way to do this in a single call?