How can i get previous day close for each dy and symbol when making a trth ElektronTimeseries req...

Best Answer
-
You can use ElektronTimeseriesExtractionRequest to retrieve historical Elektron end of day prices. The "Last" field represents the last trade price or value. From my test, its value is the same as the CLOSE field of daily historical data.
The request of ElektronTimeseriesExtractionRequest looks like:
{
"ExtractionRequest":{
"@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ElektronTimeseriesExtractionRequest",
"ContentFieldNames": ["RIC","Trade Date","Open","High","Low","Last"],
"IdentifierList":{
"@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers":[{
"Identifier":"TRI.N",
"IdentifierType":"Ric"}
],
"ValidationOptions":{"AllowHistoricalInstruments":true},
"UseUserPreferencesForValidationOptions":false},
"Condition":{
"StartDate":"2017-09-01T00:00:00.000Z",
"EndDate":"2017-09-25T00:00:00.000Z"}
}
}The request can be used with Extractions/Extract or Extractions/ExtractRaw endpoint. For more information please refer to REST API Tutorial 7: On Demand End of Day extraction.
For the descriptions of all available fields in ElektronTimeseriesExtractionRequest, please refer to TICK HISTORY 11.1 DATA DICTIONARY. On Field Descriptions sheet, please select Elektron Timeseries as a filter for the Tick History Report column.
0
Answers
-
@jirapongse.phuriphanvichai
Hi ,
I am looking for "previous day close price" which is available from datascope. we are migrating our end of day extractions from datascope to trthv2. So I am looking for "previous day close" for any date-sym I querry. Previous day close = close price of the previous trading date vis-à-vis the date querried for.
0 -
@muneish.adya, as far as I understand, the "previous day close" is now the "last" field, as suggested by Jirapongse. All available fields are documented in the data dictionary. Filtering on numeric fields containing "close" and "last", these are the available fields (and corresponding report templates), screenshot:
0 -
@Christiaan Meihsl ♦♦
the screenshot says last = last trade price. doesn't look like its previous days close price. so if last is what you say, which column will tell me the queried dates last trading price?
0 -
Hi Muneish,
I have reviewed your query and would like to inform that even though the field Last indicates Last trade price or value, the LAST in Elektron Time Series template (Which provides End of Day Data) is nothing but Close for the trade date in question.Considering the example, TRI.N you can see the output from ETS template:
RIC
Trade Date
Last
TRI.N
9/19/2017
45.57
TRI.N
9/20/2017
45.67
TRI.N
9/21/2017
45.66
TRI.N
9/22/2017
45.92
TRI.N
9/25/2017
45.84
TRI.N
9/19/2017
45.57So you can refer to the field “Last” on Elektron time series report template for Close Price.
If I may add to the above, there is no Previous Day close Price field in Elektron Time Series report template. You may extend the date range to pull the previous trade day close.
Regards,
Beera0 -
So right now we use Datascope to get all EOD columns including prev_close. Any plans to add prev_close to Elektron Time Series in TRTH?
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
- 686 Datastream
- 1.4K DSS
- 620 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
- 254 ETA
- 557 WebSocket API
- 38 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
- 276 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
- 662 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
- 229 TRKD
- 917 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 中文论坛