Which template type to use for retrieving Equity Spot Index for a date range or a day?

Hi,
We are trying to migrate to TickHistory v2 using the REST API in .Net C#.
Currently we are retrieving a gzip file containing the following information for each Equity Spot Index (RICs like .N225 and .FTSE). This file retrieval is set up through the web site:
https://tickhistory.thomsonreuters.com
But, as mentioned we wish to use REST API .Net C# to retrieve the same file in exactly same format as below (all data for all RICs included in the same csv.gz file):
#RIC,Date[G],Time[G],GMT Offset,Type,Price
.N225,20161007,00:00:15.133,+9,Index,16883.12
.N225,20161007,00:00:30.113,+9,Index,16878.06
.......
.FTSE,20161007,07:24:40.274,+1,Index,7027.73
.FTSE,20161007,07:24:40.474,+1,Index,7027.71
.....
- Which report template type shall I use to retrieve the above data?
- How to I choose the fields and the range on the report template type?
I have already posted in regards to TickHistoryRaw report template for which I am not able to retrieve the available fields (the following returns zero size list:
var availableFields = _extractionContext.GetValidContentFieldTypes(ReportTemplateTypes.TickHistorytRaw);
And I am not sure whether we have to use TickHistoryRaw report type template type or not for the report sample as I have mentioned above.
Hope you can guide us to the right direction for the report we need.
Thanks in advance.
Best Answer
-
The report template type should be "TickHistoryTimeAndSales". Below is the sample of output from this report template. The value is from "Trade - Price" field. For "GMT Offset" column, you may refer to this question.
#RIC,Domain,Date-Time,Type,Price
.N225,Market Price,2016-10-07T00:00:15.060908989Z,Trade,16883.12
.N225,Market Price,2016-10-07T00:00:30.049872440Z,Trade,16878.06You can use the GetValidContentFieldTypes method to retrieve all available fields for this report template type as well. The ReportTemplateTypes should be TickHistoryTimeAndSales.
0
Answers
-
Thanks for the reply.
- We need the timestamp in UTC. Is it possible to set it through API?
- As mentioned we are downloading Equity Spot Index data and currently we get the data in this format:
#RIC,Date[G],Time[G],GMT Offset,Type,Price
.N225,20161007,00:00:15.133,+9,Index,16883.12
.N225,20161007,00:00:30.113,+9,Index,16878.06
The type is Index in above but in your example is Trade. How do get type as Index?
- Is it possible to NOT get the Domain in your sample through API? How?
Thanks again.
0 -
Thanks for your reply.
- Is it possible to get the date-time in UTC format? Is it a way to configure this through the API to get this as UTC? That is what we need.
- Also, currently the format of the data we download is this:
#RIC,Date[G],Time[G],GMT Offset,Type,Price
.N225,20161007,00:00:15.133,+9,Index,16883.12
- As you can see we do not have Domain. Is it possible NOT to get the Domain?
- We get the Equity Spot Index data type as Index, but in your sample the type is Trade. Is it possible to get the type as Index?
Thanks again.
0 -
Thanks for your reply.
- Is it possible to get the date-time in UTC format? Is it a way to configure this through the API to get this as UTC? That is what we need.
- Also, currently the format of the data we download is this:
#RIC,Date[G],Time[G],GMT Offset,Type,Price
.N225,20161007,00:00:15.133,+9,Index,16883.12
- As you can see we do not have Domain. Is it possible NOT to get the Domain?
- We get the Equity Spot Index data type as Index, but in your sample the type is Trade. Is it possible to get the type as Index?
Thanks again.
0 -
- You can set the "MessageTimeStampIn" condition in request message to "GmtUtc".
- As far as I know, there is no method to remove the "Domain" Column.
- According to the Tick History v1 - v2 Comparison (June 2017), in Tick History v2.0, all event types are normalized into these categories: "Trade”, “Quote” and “Correction". Below are the table mapped event types between V1 and V2.
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
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 280 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
- 720 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 中文论坛