B2BITS FIX Antenna C++ 2.33.0
|
Cron expression based schedule events generator implementation parameters holder class. More...
#include <B2BITS_SessionsScheduler.h>
Public Member Functions | |
CronSessionsScheduleParameters (const std::string &tradePeriodBeginArg=std::string(), const std::string &tradePeriodEndArg=std::string(), const std::string &dayOffsArg=std::string(), const std::string &timezoneArg=std::string(), bool lateExecutionArg=false, const TimezoneConverterPtr &pTimezoneConverterArg=TimezoneConverterPtr()) | |
Public Attributes | |
std::string | dayOffs |
Cron expression of day offs. | |
bool | lateExecution |
Flag that determines whatever to do late trade begin event execution or not. | |
TimezoneConverterPtr | pTimezoneConverter |
Timezone converter pointer. | |
std::string | timezone |
Timezone name as accepted by instance of TimezoneConverter passed with pTimezoneConverter below. | |
std::string | tradePeriodBegin |
Cron expression of trade period begin events. | |
std::string | tradePeriodEnd |
Cron expression of trade period end events. | |
Cron expression based schedule events generator implementation parameters holder class.
|
inline |
std::string Engine::CronSessionsScheduleParameters::dayOffs |
Cron expression of day offs.
Events that match dayOffs expression have dontNotify_ flag set to true.
bool Engine::CronSessionsScheduleParameters::lateExecution |
Flag that determines whatever to do late trade begin event execution or not.
If this flag is true generator checks if start(first call to getNextEvent()) is made inside trade period (between trade period begin and trade period end events) and generates trade period begin event if so with eventTime_ set to current time. This forces scheduler to execute this event immediately. If this flag is false no such check is made at start.
TimezoneConverterPtr Engine::CronSessionsScheduleParameters::pTimezoneConverter |
Timezone converter pointer.
std::string Engine::CronSessionsScheduleParameters::timezone |
Timezone name as accepted by instance of TimezoneConverter passed with pTimezoneConverter below.
std::string Engine::CronSessionsScheduleParameters::tradePeriodBegin |
Cron expression of trade period begin events.
std::string Engine::CronSessionsScheduleParameters::tradePeriodEnd |
Cron expression of trade period end events.