TimeUpdatedEventArgs
QuantConnect.TimeUpdatedEventArgs
TimeUpdatedEventArgs(
time: Union[datetime, date], time_zone: Any
)
Bases: EventArgs
Event arguments class for the LocalTimeKeeper.time_updated event
Initializes a new instance of the TimeUpdatedEventArgs class
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
Union[datetime, date]
|
The newly updated time |
required |
time_zone
|
Any
|
The time zone of the new time |
required |
time
time: datetime
Gets the new time
time_zone
time_zone: Any
Gets the time zone