Fixing resume execution parameter

This commit is contained in:
Matias committed 2019-04-24 14:28:17 -03:00
1 parent 489e855170
commit a4ef4b1647
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -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;
+4 -1
View File
@@ -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;
}
}