question

Upvotes
Accepted
5 3 3 4

ExtractionRequest : What are the differents value of the condition MessageTimeStampIn ?

Hello,

In all the example I've only seen " MessageTimeStampIn = GmtUtc".

So my question : is there any other options? And how can we get the trade time on Local Time?

Thanks !

tick-history-rest-apitradedatetime
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
79.2k 251 52 74

Refer to TRTH REST API meta data, MessageTimeStampIn is ThomsonReuters.Dss.Api.Extractions.ReportTemplates.TickHistoryTimeOptions type.

<ComplexType Name="TickHistoryIntradaySummariesCondition">
<Property Name="SortBy" Type="ThomsonReuters.Dss.Api.Extractions.ReportTemplates.TickHistorySort" Nullable="false"/>
<Property Name="MessageTimeStampIn" Type="ThomsonReuters.Dss.Api.Extractions.ReportTemplates.TickHistoryTimeOptions" Nullable="false"/>

TickHistoryTimeOptions has two value:

<EnumType Name="TickHistoryTimeOptions">
<Member Name="LocalExchangeTime" Value="0"/>
<Member Name="GmtUtc" Value="1"/>
</EnumType>

Therefore, you can use LocalExchangeTime or GmtUtc.

You can also refer to REST API Reference Tree for available options.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.