How can I return the Exchange Code for a constituent instrument ric using the Search/HistoricalChain

I am using this API code for HistoricalChain Search but unable to get the Source/Exchange code. What is the reason? Product is Tick History
https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/HistoricalChainResolution
{
"Request": {
"ChainRics": [
"0#.KQ150"
],
"Range": {
"Start": "2023-01-31T00:00:00.000Z",
"End": "2023-01-31T23:59:59.000Z"
}
}
}
Output:
"@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#Collection(DataScope.Select.Api.Search.HistoricalChainInstrument)", "value": [ { "Identifier": "0#.KQ150", "IdentifierType": "ChainRIC", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwIy5LUTE1MHw", "Description": "Historical Chain", "InstrumentType": "Unknown", "Status": "Valid", "Constituents": [ { "Identifier": ".KQ150", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwuS1ExNTB8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6" }, { "Identifier": "000250.KQ", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwMDAyNTAuS1F8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6" }, { "Identifier": "003380.KQ", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwMDMzODAuS1F8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6" }, { "Identifier": "005290.KQ", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwMDUyOTAuS1F8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6" }, { "Identifier": "006730.KQ", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwMDY3MzAuS1F8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6" }, { "Identifier": "007390.KQ", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwMDczOTAuS1F8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6" }, { "Identifier": "015750.KQ", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwMTU3NTAuS1F8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6" }, { "Identifier": "016790.KQ", "IdentifierType": "Ric", "Source": "", "Key": "VjF8MHgzMDAwMDAwMDAwMDAwMDAwfDB4MzAwMDAwMDAwMDAwMDAwMHx8fHx8fHwwMTY3OTAuS1F8", "Description": "Historical Instrument", "InstrumentType": "Unknown", "Status": "Valid", "DomainCode": "6"
Answers
-
Hello @sherry.medrano
For content questions such as these, please reach out to the product/content experts by opening a ticket at LSEG MyAccount.
1 -
Hi Gurpeet. I don't think this is Content issue. Because in GUI we can retrieve Exchange Code but in API this is not available. We should be seeing same output in GUI and API?
0 -
There are a lot of other information-fields shown in the GUI, which are not returned as the part of chain resolution. The GUI is doing more then making a single call to chain instruments.
If you need this in the code - once you have a list of all the RIC's in the chain, your app can invoke the Terms and Conditions request to get the details about these instruments individually.
{ "ExtractionRequest": { "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TermsAndConditionsExtractionRequest", "ContentFieldNames": [ "RIC", "Security Description", "SEDOL", "ISIN", "Exchange Code", "Currency Code", "PE Code", "Trade Date" ], "IdentifierList": { "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", "InstrumentIdentifiers": [{ "Identifier": "000250.KQ", "IdentifierType": "Ric" }, { "Identifier": "003380.KQ", "IdentifierType": "Ric" }, { "Identifier": "005290.KQ", "IdentifierType": "Ric" }, ... ], "ValidationOptions": { "AllowHistoricalInstruments": true, "AllowInactiveInstruments": true, "AllowOpenAccessInstruments": false }, "UseUserPreferencesForValidationOptions": false } } }
result:
RIC,Security Description,SEDOL,ISIN,Exchange Code,Currency Code,PE Code,Trade Date 000250.KQ,SAM CHUN DANG PH ORD,6510279,KR7000250001,KOE,KRW,4084,2025/01/29 003380.KQ,HARIM HOLDINGS ORD,BZ404M0,KR7003380003,KOE,KRW,4084,2025/01/29 005290.KQ,DONGJIN SEMICHEM ORD,6219297,KR7005290002,KOE,KRW,4084,2025/01/29 …
Again, we can only answer technical question on these developers forums. Helpdesk is the best resource for content clarifications.
2
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
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛