Lean
$LEAN_TAG$
|
Combines multiple time rules into a single rule that emits for each rule More...
Public Member Functions | |
CompositeTimeRule (params ITimeRule[] timeRules) | |
Initializes a new instance of the CompositeTimeRule class More... | |
CompositeTimeRule (IEnumerable< ITimeRule > timeRules) | |
Initializes a new instance of the CompositeTimeRule class More... | |
IEnumerable< DateTime > | CreateUtcEventTimes (IEnumerable< DateTime > dates) |
Creates the event times for the specified dates in UTC More... | |
Properties | |
IReadOnlyList< ITimeRule > | Rules [get] |
Gets the individual rules for this composite rule More... | |
string | Name [get] |
Gets a name for this rule More... | |
Properties inherited from QuantConnect.Scheduling.ITimeRule | |
string | Name [get] |
Gets a name for this rule More... | |
Combines multiple time rules into a single rule that emits for each rule
Definition at line 27 of file CompositeTimeRule.cs.
QuantConnect.Scheduling.CompositeTimeRule.CompositeTimeRule | ( | params ITimeRule[] | timeRules | ) |
Initializes a new instance of the CompositeTimeRule class
timeRules | The time rules to compose |
Definition at line 38 of file CompositeTimeRule.cs.
QuantConnect.Scheduling.CompositeTimeRule.CompositeTimeRule | ( | IEnumerable< ITimeRule > | timeRules | ) |
Initializes a new instance of the CompositeTimeRule class
timeRules | The time rules to compose |
Definition at line 47 of file CompositeTimeRule.cs.
IEnumerable<DateTime> QuantConnect.Scheduling.CompositeTimeRule.CreateUtcEventTimes | ( | IEnumerable< DateTime > | dates | ) |
Creates the event times for the specified dates in UTC
dates | The dates to apply times to |
Implements QuantConnect.Scheduling.ITimeRule.
Definition at line 66 of file CompositeTimeRule.cs.
|
get |
Gets the individual rules for this composite rule
Definition at line 32 of file CompositeTimeRule.cs.
|
get |
Gets a name for this rule
Definition at line 56 of file CompositeTimeRule.cs.