Lean
$LEAN_TAG$
|
Provides an implementation of ITimeProvider that uses DateTime.UtcNow to provide the current time More...
Public Member Functions | |
DateTime | GetUtcNow () |
Gets the current time in UTC More... | |
Static Public Attributes | |
static readonly ITimeProvider | Instance = new RealTimeProvider() |
Provides a static instance of the RealTimeProvider More... | |
Provides an implementation of ITimeProvider that uses DateTime.UtcNow to provide the current time
Definition at line 25 of file RealTimeProvider.cs.
DateTime QuantConnect.RealTimeProvider.GetUtcNow | ( | ) |
Gets the current time in UTC
Implements QuantConnect.ITimeProvider.
Definition at line 39 of file RealTimeProvider.cs.
|
static |
Provides a static instance of the RealTimeProvider
Since this implementation is stateless, it doesn't make sense to have multiple instances.
Definition at line 33 of file RealTimeProvider.cs.