Lean
$LEAN_TAG$
|
A time provider which updates 'now' time based on the current data emit time of all subscriptions More...
Public Member Functions | |
SubscriptionFrontierTimeProvider (DateTime utcNow, IDataFeedSubscriptionManager subscriptionManager) | |
Creates a new instance of the SubscriptionFrontierTimeProvider More... | |
DateTime | GetUtcNow () |
Gets the current time in UTC More... | |
A time provider which updates 'now' time based on the current data emit time of all subscriptions
This class is not thread safe but there is no need for it to be since it's only consumed by the SubscriptionSynchronizer
Definition at line 26 of file SubscriptionFrontierTimeProvider.cs.
QuantConnect.Lean.Engine.DataFeeds.SubscriptionFrontierTimeProvider.SubscriptionFrontierTimeProvider | ( | DateTime | utcNow, |
IDataFeedSubscriptionManager | subscriptionManager | ||
) |
Creates a new instance of the SubscriptionFrontierTimeProvider
utcNow | Initial UTC now time |
subscriptionManager | Subscription manager. Will be used to obtain current subscriptions |
Definition at line 37 of file SubscriptionFrontierTimeProvider.cs.
DateTime QuantConnect.Lean.Engine.DataFeeds.SubscriptionFrontierTimeProvider.GetUtcNow | ( | ) |
Gets the current time in UTC
Implements QuantConnect.ITimeProvider.
Definition at line 47 of file SubscriptionFrontierTimeProvider.cs.