Lean
$LEAN_TAG$
|
Specifies the callback component of a scheduled event, as well as final filters More...
Public Member Functions | |
new IFluentSchedulingRunnable | Where (Func< DateTime, bool > predicate) |
Filters the event times using the predicate More... | |
IFluentSchedulingRunnable | DuringMarketHours (Symbol symbol, bool extendedMarket=false) |
Filters the event times to only include times where the symbol's market is considered open More... | |
ScheduledEvent | Run (Action callback) |
Register the defined event with the callback More... | |
ScheduledEvent | Run (Action< DateTime > callback) |
Register the defined event with the callback More... | |
ScheduledEvent | Run (Action< string, DateTime > callback) |
Register the defined event with the callback More... | |
Public Member Functions inherited from QuantConnect.Scheduling.IFluentSchedulingTimeSpecifier | |
IFluentSchedulingRunnable | At (int hour, int minute, int second=0) |
Creates events that fire at the specified time of day in the specified time zone More... | |
IFluentSchedulingRunnable | At (int hour, int minute, DateTimeZone timeZone) |
Creates events that fire at the specified time of day in the specified time zone More... | |
IFluentSchedulingRunnable | At (int hour, int minute, int second, DateTimeZone timeZone) |
Creates events that fire at the specified time of day in the specified time zone More... | |
IFluentSchedulingRunnable | At (TimeSpan timeOfDay, DateTimeZone timeZone) |
Creates events that fire at the specified time of day in the specified time zone More... | |
IFluentSchedulingRunnable | At (TimeSpan timeOfDay) |
Creates events that fire at the specific time of day in the algorithm's time zone More... | |
IFluentSchedulingRunnable | Every (TimeSpan interval) |
Creates events that fire on a period define by the specified interval More... | |
IFluentSchedulingRunnable | AfterMarketOpen (Symbol symbol, double minutesAfterOpen=0, bool extendedMarketOpen=false) |
Creates events that fire a specified number of minutes after market open More... | |
IFluentSchedulingRunnable | BeforeMarketClose (Symbol symbol, double minuteBeforeClose=0, bool extendedMarketClose=false) |
Creates events that fire a specified numer of minutes before market close More... | |
Specifies the callback component of a scheduled event, as well as final filters
Definition at line 379 of file FluentScheduledEventBuilder.cs.
new IFluentSchedulingRunnable QuantConnect.Scheduling.IFluentSchedulingRunnable.Where | ( | Func< DateTime, bool > | predicate | ) |
Filters the event times using the predicate
Implements QuantConnect.Scheduling.IFluentSchedulingTimeSpecifier.
IFluentSchedulingRunnable QuantConnect.Scheduling.IFluentSchedulingRunnable.DuringMarketHours | ( | Symbol | symbol, |
bool | extendedMarket = false |
||
) |
Filters the event times to only include times where the symbol's market is considered open
ScheduledEvent QuantConnect.Scheduling.IFluentSchedulingRunnable.Run | ( | Action | callback | ) |
Register the defined event with the callback
ScheduledEvent QuantConnect.Scheduling.IFluentSchedulingRunnable.Run | ( | Action< DateTime > | callback | ) |
Register the defined event with the callback
ScheduledEvent QuantConnect.Scheduling.IFluentSchedulingRunnable.Run | ( | Action< string, DateTime > | callback | ) |
Register the defined event with the callback