Merge pull request #88 from AAVikings/master

Fixing resume execution parameter
This commit is contained in:
benme authored and GitHub committed 2019-04-24 14:34:55 -03:00
commit 75d761df19
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;
}
}