Skip to content

ITimeProvider

QuantConnect.ITimeProvider

Provides access to the current time in UTC. This doesn't necessarily need to be wall-clock time, but rather the current time in some system

get_utc_now

get_utc_now() -> datetime

Gets the current time in UTC

Returns:

Type Description
datetime

The current time in UTC.