Lean  $LEAN_TAG$
QuantConnect.Interfaces.ITimeKeeper Interface Reference

Interface implemented by TimeKeeper More...

Inheritance diagram for QuantConnect.Interfaces.ITimeKeeper:
[legend]

Public Member Functions

void AddTimeZone (DateTimeZone timeZone)
 Adds the specified time zone to this time keeper More...
 
LocalTimeKeeper GetLocalTimeKeeper (DateTimeZone timeZone)
 Gets the LocalTimeKeeper instance for the specified time zone More...
 

Properties

DateTime UtcTime [get]
 Gets the current time in UTC More...
 

Detailed Description

Interface implemented by TimeKeeper

Definition at line 24 of file ITimeKeeper.cs.

Member Function Documentation

◆ AddTimeZone()

void QuantConnect.Interfaces.ITimeKeeper.AddTimeZone ( DateTimeZone  timeZone)

Adds the specified time zone to this time keeper

Parameters
timeZone

Implemented in QuantConnect.TimeKeeper.

◆ GetLocalTimeKeeper()

LocalTimeKeeper QuantConnect.Interfaces.ITimeKeeper.GetLocalTimeKeeper ( DateTimeZone  timeZone)

Gets the LocalTimeKeeper instance for the specified time zone

Parameters
timeZoneThe time zone whose LocalTimeKeeper we seek
Returns
The LocalTimeKeeper instance for the specified time zone

Implemented in QuantConnect.TimeKeeper.

Property Documentation

◆ UtcTime

DateTime QuantConnect.Interfaces.ITimeKeeper.UtcTime
get

Gets the current time in UTC

Definition at line 29 of file ITimeKeeper.cs.


The documentation for this interface was generated from the following file: