Universal Close Price of -9999401in TimeSeriesExtractionRequest for exchange holidays using REST API

When requesting Universal Close Price for some futures contracts on exchange holidays, the price is returned as -9999401 or -9999402. I get this when using the REST API. The prices are invalid, is there a way I can determine from the API that the day in question is an exchange holiday?
Here's some Postman code:
{
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TimeSeriesExtractionRequest",
"ContentFieldNames": [
"Universal Close Price",
"Trade Date",
"Asset Status",
"Trading Status",
"Official Close Price"
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{"Identifier": "CCc1", "IdentifierType": "Ric"}
]
},
"Condition": {
"StartDate": "2019-05-09T00:00:00.000-05:00",
"EndDate": "2019-05-12T00:00:00.000-05:00"
}
}
}
Best Answer
-
I have done some research and found that the returned value is NULL codes. Please see this link for definitions. You may use the values to get reason of null value.
0
Answers
-
Official Close Price:
I just ran your query in Postman, it returns 2 records (9th and 10th May):
"Contents": [
{
"IdentifierType": "Ric",
"Identifier": "CCc1",
"Universal Close Price": 2330,
"Trade Date": "2019-05-10",
"Asset Status": "ISS",
"Trading Status": 1,
"Official Close Price": null
},
{
"IdentifierType": "Ric",
"Identifier": "CCc1",
"Universal Close Price": null,
"Trade Date": "2019-05-09",
"Asset Status": "ISS",
"Trading Status": 1,
"Official Close Price": null
}
],Strangely, I cannot reproduce the negative value for the UCP field you mention, I get either a positive or a null value. I get exactly the same output if I replace the Timeseries call with a PriceHistory call (as per the note below).
Can you still reproduce the issue in Postman ? If yes, can you post the complete output here please ?
Important side note:
Please note that the legacy TimeSeries Pricing extraction will be removed end February 2020, the more powerful PriceHistory extraction replaces it. Our tutorials, and the Postman collection, were updated in May 2019 to reflect this. If you are using the TimeSeries call, you must plan to modify your code. As part of the migration process, it is important to understand that, in some instances, field content extracted from the TimeSeries report will be available under different field names in the PriceHistory report. It is also possible that some previously populated values in the TimeSeries report will be blank in the PriceHistory report. This is due to data mapping changes. For more information, please refer to the Product Change Notification PCN 10897.
0 -
@michaeljbutton
I am able to replicate the same value, -9999401. If I uncheck the "Return Null Code Values in Extraction Pricing Fields" in the User Preferences, the "Universal Close Price" field will return null instead.
Please directly contact DSS support team via MyRefinitiv.
In the product field, select "Reuters DataScope Select".0 -
The preference setting is interesting, and might be the key to a solution.
0 -
Thank you both for your replies. Useful to know that TimeSeriesExtractionRequest is being removed, and VERY useful to understand about the "Return Null Code Values in Extraction Pricing Fields" user preference, I didn't know that existed and now it makes sense. And also where the documentation was.
I am interested to see how Price History handles values for which negatives are acceptable e.g. spreads? I will look through the docs though once I have been given access.
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
- 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
- 250 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
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 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 中文论坛