Months Reports need to specify the datetime at the key - Untested

This commit is contained in:
Luis Fernando Molina committed 2018-03-18 21:38:42 +01:00
1 parent 648f71e74b
commit b91effa03f
4 files changed
+7 -5

No files matched your search

Binary file not shown.
+2 -2
View File
@@ -118,7 +118,7 @@ Read the candles and volumes from Bruce and produce a file for each day and for
contextVariables.firstTradeFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + thisReport.lastFile.hours + ":" + thisReport.lastFile.minutes + GMT_SECONDS);
reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1";
reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth(),2);
thisReport = dependencies.statusReports.get(reportKey).file;
if (thisReport.lastFile === undefined) {
@@ -622,7 +622,7 @@ Read the candles and volumes from Bruce and produce a file for each day and for
let reportKey = "AAMasters" + "-" + "AAOlivia" + "-" + "Multi-Period-Daily" + "-" + "dataSet.V1";
let thisReport = dependencies.statusReports.get(reportKey);
thisReport.file.lastExecution = global.processDatetime;
thisReport.file.lastExecution = bot.processDatetime;
thisReport.file.lastFile = lastFileDate;
thisReport.save(callBack);
+1 -1
View File
@@ -118,7 +118,7 @@ Read the candles and volumes from Bruce and produce a single Index File for Mark
contextVariables.firstTradeFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + thisReport.lastFile.hours + ":" + thisReport.lastFile.minutes + GMT_SECONDS);
reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1";
reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth(),2);
thisReport = dependencies.statusReports.get(reportKey).file;
if (thisReport.lastFile === undefined) {
+4 -2
View File
@@ -28,8 +28,9 @@
"run": "true"
}
},
"executionWaitTime": 3600000,
"normalWaitTime": 60000,
"retryWaitTime": 10000,
"sleepWaitTime": 3600000,
"dependencies": [
{
"devTeam": "AAMasters",
@@ -82,8 +83,9 @@
"run": "true"
}
},
"executionWaitTime": 60000,
"normalWaitTime": 60000,
"retryWaitTime": 10000,
"sleepWaitTime": 3600000,
"dependencies": [
{
"devTeam": "AAMasters",