Issue to retrieve RICS list for a given bond using Refinitiv Data under C#

Dear Developer community.
i'm facing an issue to retrieve Ric list for a given ISIN by using Refinitiv Data (version beta4) under C#.
Indeed, i'm used to retieve this list using TR.RICS field with Excel and also Python (as shown below), but it doesn't work when using FundamentalAndReference module under .Net and i have no response.
i have tried to use symbology mdoule to get RUC from ISIN, but it gives only the composite RIC as best_match option (as it's the case under Python) is not available to set it to false and to get all corresponding rics for ISIN.
thank you for your help and assistance with this issue
Excel example
Python example
Best Answer
-
Thanks for reaching out to us.
The Refinitiv Data Library for .NET uses the DataGrid on RDP. I ran the following code.
var response = FundamentalAndReference.Definition().Universe("US912828X703")
.Fields("TR.RICS")
.GetData();It returned:
Reference Data
Response contains an empty data set: {
"error": {
"code": 221,
"description": "The access to field(s) denied."
}
}Did you get this error?
You may try to use the Search function instead.
var request = Search.Definition().View(Search.View.SearchAll)
.Query("US912828X703").Select("RIC").Top(100);I hope that this information is of help.
0
Answers
-
You can try using the 'Symbology' API to access these conversions. For example:
string symbolLookupEndpoint = "https://api.refinitiv.com/discovery/symbology/v1/lookup";
...
var endpoint = EndpointRequest.Definition(symbolLookupEndpoint).Method(EndpointRequest.Method.POST);
var response = endpoint.BodyParameters(new JObject()
{
["from"] = new JArray(new JObject()
{
["identifierTypes"] = new JArray("Isin"),
["values"] = new JArray("US912828X703")
}),
["to"] = new JArray(new JObject()
{
["identifierTypes"] = new JArray("RIC")
}),
["type"] = "auto"
}).GetData());0 -
dear @nick.zincone
i have a question regarding symbology service.
indeed, as some TR fields cannot be consumed using refinitiv data library under c# (ex "TR.PreferredRIC","TR.TD.PreferredRIC"), i have tried to get PreferredRIC for instruments (asked by ISIN) by using request body below and asking for "type": "predefined" and "route":"FindPrimaryRic".
but the response contains more than one ric.
is teher a way to get onbly one ric (preferred one) using symbology service.
Regards
Request Body:
{
"from": [
{
"identifierTypes": [
"Isin"
],
"values": [
"US912810TN81"
]
}
],
"type": "predefined",
"route": "FindPrimaryRic"
}
response body
{
"data": [
{
"input": [
{
"value": "US912810TN81",
"identifierType": "Isin"
}
],
"output": [
{
"value": "912810TN8=RRPS",
"identifierType": "RIC"
},
{
"value": "912810TN8=",
"identifierType": "RIC"
},
{
"value": "US30YTWI=RRPS",
"identifierType": "RIC"
}
]
}
],
"requestId": "445d9866-763d-49e0-b379-ef2a232d80b3",
"effectiveAt": "2023-04-28T15:50:00.612Z",
"messages": []
}
0 -
I would suggest you reach out to the helpdesk regarding this service. They should be able to bring in a product specialist who can confirm if the specific result can be achieved using the Symbology service. The moderators of this site would only have basic knowledge of this service.
However, you can try using the SymbolConversion interface within the library. For example:
response = SymbolConversion.Definition().Symbols("US912810TN81").GetData();
0 -
dear @nick.zincone
thank you for your response. Indeed, i used SymbolConversion to try to get PrimaryRIC/PreferredRIC for Bonds, but the response was not suitable as it not gives the suitable one
to construct this fiunction i fill in both FormSymbolType and ToSymbolType function parameters.
By using your example and not setting up FromSymbolType i get the right response.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 689 Datastream
- 1.4K DSS
- 627 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 24 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 708 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛