Improved Logging

This commit is contained in:
Luis Fernando Molina committed 2018-03-26 16:07:08 +02:00
1 parent 2cacbcc0d5
commit 714a816074
2 files changed
+3

No files matched your search

Binary file not shown.
+3
View File
@@ -108,6 +108,7 @@ Read the candles and volumes from Bruce and produce a single Index File for Mark
let reportKey;
reportKey = "AAMasters" + "-" + "AACharly" + "-" + "Poloniex-Historic-Trades" + "-" + "dataSet.V1";
if (FULL_LOG === true) { logger.write("[INFO] start -> getContextVariables -> reportKey = " + reportKey); }
thisReport = dependencies.statusReports.get(reportKey).file;
if (thisReport.lastFile === undefined) {
@@ -119,6 +120,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" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth(),2);
if (FULL_LOG === true) { logger.write("[INFO] start -> getContextVariables -> reportKey = " + reportKey); }
thisReport = dependencies.statusReports.get(reportKey).file;
if (thisReport.lastFile === undefined) {
@@ -130,6 +132,7 @@ Read the candles and volumes from Bruce and produce a single Index File for Mark
contextVariables.maxCandleFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + thisReport.lastFile.hours + ":" + thisReport.lastFile.minutes + GMT_SECONDS);
reportKey = "AAMasters" + "-" + "AAOlivia" + "-" + "Multi-Period-Market" + "-" + "dataSet.V1";
if (FULL_LOG === true) { logger.write("[INFO] start -> getContextVariables -> reportKey = " + reportKey); }
thisReport = dependencies.statusReports.get(reportKey).file;
if (thisReport.lastFile !== undefined) {