ITimeKeeper
QuantConnect.Interfaces.ITimeKeeper
Interface implemented by TimeKeeper
utc_time
utc_time: datetime
Gets the current time in UTC
add_time_zone
add_time_zone(time_zone: Any) -> None
Adds the specified time zone to this time keeper
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time_zone
|
Any
|
|
required |
get_local_time_keeper
get_local_time_keeper(time_zone: Any) -> LocalTimeKeeper
Gets the LocalTimeKeeper instance for the specified time zone
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time_zone
|
Any
|
The time zone whose LocalTimeKeeper we seek |
required |
Returns:
| Type | Description |
|---|---|
LocalTimeKeeper
|
The LocalTimeKeeper instance for the specified time zone. |