Skip to content

IEventSchedule

QuantConnect.Scheduling.IEventSchedule

Provides the ability to add/remove scheduled events from the real time handler

add

add(scheduled_event: ScheduledEvent) -> None

Adds the specified event to the schedule

Parameters:

Name Type Description Default
scheduled_event ScheduledEvent

The event to be scheduled, including the date/times the event fires and the callback

required

remove

remove(scheduled_event: ScheduledEvent) -> None

Removes the specified event from the schedule

Parameters:

Name Type Description Default
scheduled_event ScheduledEvent

The event to be removed

required