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 !

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    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.