Historical Price Template, not returning data
I am trying to retrieve historical prices for a list of instruments by passing it the ISIN, Exchange (all SJ) and Identifier. Reuters is returning Not Found for all my instruments. What am I doing wrong ? Please see attached .
Best Answer
-
There are several possibilities. You can either:
- In the GUI, create a template (just start the process, no need to save it), there you can see all the fields.
- Download the latest data content XLS, open tab "Field Descriptions", and use a text filter on column C to filter the type of request you are using. Alternatively filter on column D or E to display only rows that "contain" a keyword that you are looking for.
- Run a command to retrieve all fields for a specific template. Example for EoD pricing: GET https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes'EndOfDayPricing')
More info on this learning process here.
0
Answers
-
I see 2 aspects to this issue:
- Adding the instruments to the instrument list
- The data extraction itself.
Adding the instruments to the instrument list
I tried adding 1 instrument I saw in your screenshot, using the following code (taken from DSS .Net Tutorial 2), it worked fine:
//Create an array of instrument identifiers:
IEnumerable<InstrumentIdentifier> instrumentIdentifiers = new[]
{
new InstrumentIdentifier
{
Identifier = "ZAE000000139",
IdentifierType = IdentifierType.Isin,
Source = "JNB"
}
};
//Create a new (empty) instrument list:
var instrumentList = new InstrumentList { Name = "myInstrumentListName" };
extractionsContext.InstrumentListOperations.Create(instrumentList);
//Populate the instrument list by appending the array of instrument identifiers:
extractionsContext.InstrumentListOperations.AppendIdentifiers(
instrumentList, instrumentIdentifiers, false);This is not quite the same code as yours (which looks fine by the way), but it shows that this instrument can be added to the list. I can also see it in the DSS GUI:
If you can also see the instruments in your list in the GUI, then that step went fine.
I do not understand what you mean by "all SJ" for the exchange. The instrument I tested (ISIN ZAE000000139) is quoted on the following exchanges: BCO, BER, JNB. If you have a different value for the exchange then the instrument will not be found.
The data extraction itself
You mention this is a historical price extraction, but do not show the details of the request (data fields, date range, conditions). Could you please post that piece of code (ideally as text instead of a screenshot), as well as the extraction notes ? That will help us investigate further.
0 -
Thank you for your response. The Exchange is then the issue. By default our system uses Bloomberg as source which has SJ for South African Exchange , not JNB. I will then need to build in a translation from BBG to Reuters on the Exchange Side. Can you point me in the correct direction as to how to obtain a list of Exchanges on Reuters ? I can then build the mapping on my side. Many thanks Francois
0 -
@FrancoisC, you can find the list of exchange codes on Customer Zone, here.
0 -
Excellent, many thanks!
0 -
Apologies about posting this question using this thread but do you have a location where I can lookup all the valid Field Names one can pass that will be accepted, e.g Trade Date , Instrument ID etc ... ?
0 -
You can get list of valid field names with the GetValidExtractionFieldNames. For example:
GET https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/GetValidExtractionFieldNames(ReportTemplateType=ThomsonReuters.Dss.Api.Extractions.ReportTemplates.ReportTemplateTypes'PriceHistory')
0 -
Thank you
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
- 690 Datastream
- 1.4K DSS
- 629 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
- 713 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
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛