Lean  $LEAN_TAG$
QuantConnect.Scheduling.IFluentSchedulingRunnable Interface Reference

Specifies the callback component of a scheduled event, as well as final filters More...

Inheritance diagram for QuantConnect.Scheduling.IFluentSchedulingRunnable:
[legend]

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...
 

Detailed Description

Specifies the callback component of a scheduled event, as well as final filters

Definition at line 379 of file FluentScheduledEventBuilder.cs.

Member Function Documentation

◆ Where()

new IFluentSchedulingRunnable QuantConnect.Scheduling.IFluentSchedulingRunnable.Where ( Func< DateTime, bool >  predicate)

Filters the event times using the predicate

Implements QuantConnect.Scheduling.IFluentSchedulingTimeSpecifier.

◆ DuringMarketHours()

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

◆ Run() [1/3]

ScheduledEvent QuantConnect.Scheduling.IFluentSchedulingRunnable.Run ( Action  callback)

Register the defined event with the callback

◆ Run() [2/3]

ScheduledEvent QuantConnect.Scheduling.IFluentSchedulingRunnable.Run ( Action< DateTime >  callback)

Register the defined event with the callback

◆ Run() [3/3]

ScheduledEvent QuantConnect.Scheduling.IFluentSchedulingRunnable.Run ( Action< string, DateTime >  callback)

Register the defined event with the callback


The documentation for this interface was generated from the following file: