Hi,
I am using Refinitiv Data Scope Select API for in my project and want to filter out various asset types based on data received from Refinitiv.
<add key="ReutersWSRequestAllListings" value="true"/>
I have been using the above filter, for Refinitiv to send only One Silver copy for the instrument requested based on the fact that is traded on the most Primary Market .
No I need to disable this key and apply the filter manually . Can someone please help me determine the filter the is applied on the API when this key is set to "true".
Here is what I have for Bonds and Equities , would really appreciate if I can get this for various other asset types
if (Sources.Count(s => s.DataKind == ReutersRestWs_ReutersWsDataKind.Instrument && s.Composite != null && !string.IsNullOrEmpty(s.Composite.RIC) && s.Composite.RIC.Contains("=RRPS")) > 0)
{
return Sources.Where(s => s.DataKind == ReutersRestWs_ReutersWsDataKind.Instrument && s.Composite != null && !string.IsNullOrEmpty(s.Composite.RIC) && s.Composite.RIC.Contains("=RRPS")).FirstOrDefault().AsEnumerable();
}
// Filter for Bonds to avoid filter Silver copy task
if (Sources.Count(s => s.DataKind == ReutersRestWs_ReutersWsDataKind.Instrument && s.Composite != null && !string.IsNullOrEmpty(s.Composite.RIC) && s.Composite.RIC.Contains("=FINR")) > 0)
{
return Sources.Where(s => s.DataKind == ReutersRestWs_ReutersWsDataKind.Instrument && s.Composite != null && !string.IsNullOrEmpty(s.Composite.RIC) && s.Composite.RIC.Contains("=FINR")).FirstOrDefault().AsEnumerable();
}
// Filter for Equities to avoid filter Silver copy task
if (Sources.Count(s => s.DataKind == ReutersRestWs_ReutersWsDataKind.Instrument && s.Composite != null && !string.IsNullOrEmpty(s.Composite.RIC) && !string.IsNullOrEmpty(s.Composite.PrimaryTradingRIC) && (s.Composite.RIC == s.Composite.PrimaryTradingRIC)) > 0)
{
return Sources.Where(s => s.DataKind == ReutersRestWs_ReutersWsDataKind.Instrument && s.Composite != null && !string.IsNullOrEmpty(s.Composite.RIC) && !string.IsNullOrEmpty(s.Composite.PrimaryTradingRIC) && (s.Composite.RIC == s.Composite.PrimaryTradingRIC)).FirstOrDefault().AsEnumerable();
}
Regards
Irshad