TRTH V2: Query time zone - Local Exchange Time

PBI
PBI Newcomer

Hello,

in TRTH V1, we have an option called 'Date Range based on' which have two values : 'Local exchange Time' or 'GMT UTC Time zone':

How to set the 'Local Exchange Time' on TRTH V2? My instrument list have many RICs from different market place.

in TRTH V2, in the report template form, i see a 'Query Time Zone' option but there not equivalent value to 'Local Exchange Time' :

Any helps would be appreciated

Regards,

Pierre

Best Answer

  • Hi @PBI

    The DateRangeTimeZone property supports either .NET time zone name or .NET time zone ID. However, the time zone ID is preferred over the time zone name, since some time zone names are not supported. For more information, please see the Release Note For Tick History 11.2 .

    I cannot find the complete list. Anyway, you can use the following code to get the list of timezone id in your Windows.

    using System;
    using System.Collections.ObjectModel;

    ReadOnlyCollection<TimeZoneInfo> zones = TimeZoneInfo.GetSystemTimeZones();
    Console.WriteLine("The local system has the following {0} time zones", zones.Count);
    foreach (TimeZoneInfo zone in zones)
    Console.WriteLine(zone.Id);

Answers