IFluentSchedulingDateSpecifier
QuantConnect.Scheduling.IFluentSchedulingDateSpecifier
Specifies the date rule component of a scheduled event
every_day
every_day() -> IFluentSchedulingTimeSpecifier
every_day(
symbol: Union[Symbol, str, BaseContract],
) -> IFluentSchedulingTimeSpecifier
Signature descriptions:
-
Creates events on every day of the year
-
Creates events on every trading day of the year for the symbol
month_start
month_start() -> IFluentSchedulingTimeSpecifier
month_start(
symbol: Union[Symbol, str, BaseContract],
) -> IFluentSchedulingTimeSpecifier
Signature descriptions:
-
Creates events on the first day of the month
-
Creates events on the first trading day of the month
on
on(
year: int, month: int, day: int
) -> IFluentSchedulingTimeSpecifier
on(
*dates: Union[datetime, Iterable[datetime]]
) -> IFluentSchedulingTimeSpecifier
Signature descriptions:
-
Creates events only on the specified date
-
Creates events only on the specified dates
every
every(
*days: Union[DayOfWeek, Iterable[DayOfWeek]]
) -> IFluentSchedulingTimeSpecifier
Creates events on each of the specified day of week
where
where(
predicate: Callable[[datetime], bool],
) -> IFluentSchedulingTimeSpecifier
Filters the event times using the predicate