All Sensors & Indicators Running with no errors with system events

This commit is contained in:
Luis Fernando Molina committed 2019-09-11 20:51:41 +02:00
1 parent a2136f90f1
commit 3dd9e954c5
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -208,12 +208,12 @@
if (processConfig.framework !== undefined) {
if (processConfig.framework.name === "Multi-Period-Daily" || processConfig.framework.name === "Multi-Period-Market" || processConfig.framework.name === "Multi-Period") {
processConfig.framework.startDate.resumeExecution = false;
processConfig.framework.startDate.resumeExecution = true;
if (processConfig.startMode.noTime !== undefined) {
if (processConfig.startMode.noTime.run === "true") {
if (processConfig.startMode.noTime.beginDatetime !== undefined) {
processConfig.framework.startDate.fixedDate = processConfig.startMode.noTime.beginDatetime;
processConfig.framework.startDate.resumeExecution = false;
processConfig.framework.startDate.resumeExecution = true;
}
}
}
+3
View File
@@ -107,10 +107,13 @@
stopRequestedEventListenerSubscriptionId = global.SYSTEM_EVENT_HANDLER.listenToEvent('Cockpit-Restart-Button', 'Stop Requested', undefined, undefined, undefined, stopRequested)
function startBackTesting() {
processConfig.framework.startDate.resumeExecution = false;
skipProcessing = false
}
function startLiveTrading() {
processConfig.framework.startDate.fixedDate = new Date()
processConfig.framework.startDate.resumeExecution = false;
skipProcessing = false
}