Fixing resume execution parameter
This commit is contained in:
1 parent
489e855170
commit
a4ef4b1647
2 files changed
+5
-2
No files matched your search
+1
-1
@@ -231,7 +231,7 @@
|
||||
|
||||
if (thisReport.lastFile !== undefined) {
|
||||
|
||||
if (bot.hasTheBotJustStarted === true && processConfig.framework.startDate.resumeExecution === "false") {
|
||||
if (bot.hasTheBotJustStarted === true && processConfig.framework.startDate.resumeExecution === false) {
|
||||
|
||||
startFromBegining();
|
||||
return;
|
||||
|
||||
@@ -292,8 +292,11 @@
|
||||
if (processConfig.framework.name === "Multi-Period-Daily" || processConfig.framework.name === "Multi-Period-Market") {
|
||||
if (processConfig.startMode.noTime.beginDatetime !== undefined) {
|
||||
processConfig.framework.startDate.fixedDate = processConfig.startMode.noTime.beginDatetime;
|
||||
processConfig.framework.startDate.resumeExecution = false;
|
||||
}else{
|
||||
processConfig.framework.startDate.resumeExecution = true;
|
||||
}
|
||||
processConfig.framework.startDate.resumeExecution = processConfig.startMode.noTime.resumeExecution;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user