B2BITS FIX Antenna C++ 2.33.0
|
Abstract class(interface) that introduces API contract of sessions schedule manager. More...
#include <B2BITS_SessionsScheduler.h>
Public Member Functions | |
virtual bool | onPlanExecutionException (const Utils::Exception &executionException) |
Callback routine that is called when an exception of class Utils::Exception or derived from it has been thrown during plan execution. | |
virtual void | onTradePeriodBegin (ScheduleExecutionPlan &executionPlan) |
Callback routine that is called when trade period begin event is triggered. | |
virtual void | onTradePeriodEnd (ScheduleExecutionPlan &executionPlan) |
Callback routine that is called when trade period end event is triggered. | |
virtual | ~SessionsScheduleManager ()=default |
Abstract class(interface) that introduces API contract of sessions schedule manager.
|
virtualdefault |
|
inlinevirtual |
Callback routine that is called when an exception of class Utils::Exception or derived from it has been thrown during plan execution.
executionException | - the exception thrown. Return true to suppress the exception and continue plan execution or false to pass exception further and stop execution of the plan. |
|
inlinevirtual |
Callback routine that is called when trade period begin event is triggered.
executionPlan | - proposed execution plan as reaction on event. SessionsSchedule Schedule implementation populates execution plan with two actions for each session as a reaction on trade period begin event. The first is ScheduleSessionActions_Start and the second is ScheduleSessionActions_Connect. User can remove any action from or add to the plan if necessary. |
|
inlinevirtual |
Callback routine that is called when trade period end event is triggered.
executionPlan | - proposed execution plan as reaction on event. SessionsSchedule Schedule implementation populates execution plan with two actions for each session as a reaction on trade period end event. The first is ScheduleSessionActions_Disconnect and the second is ScheduleSessionActions_Stop. User can remove any action from or add to the plan if necessary. |