Final Adjustments ready

This commit is contained in:
Luis Fernando Molina committed 2018-02-12 12:01:55 +01:00
1 parent bda07358c1
commit 2952b1c92b
3 files changed
+4 -4

No files matched your search

Binary file not shown.
+1 -1
View File
@@ -3,7 +3,7 @@
let bot = BOT;
const ROOT_DIR = '../';
const INTERVAL_LAPSE = 10 * 1000;
const INTERVAL_LAPSE = 60 * 60 * 1000; // There is no need for more frecuency since 1 hour files are generated at maximun.
const MODULE_NAME = "Interval Executor";
const LOG_INFO = true;
+3 -3
View File
@@ -329,7 +329,7 @@ Read the candles and volumes from Bruce and produce a single Index File for each
let date = new Date();
let currentYear = date.getUTCFullYear();
let currentMonth = date.getUTCMonth();
let currentMonth = utilities.pad(date.getUTCMonth() + 1,2);
reportFilePath = EXCHANGE_NAME + "/Processes/" + "One-Min-Daily-Candles-Volumes" + "/" + currentYear + "/" + currentMonth;
@@ -356,8 +356,8 @@ Read the candles and volumes from Bruce and produce a single Index File for each
*/
lastCandleFile = new Date(processDate.valueOf() - ONE_DAY_IN_MILISECONDS);
findLastCandleCloseValue();
maxCandleFile = new Date(date.valueOf() - ONE_DAY_IN_MILISECONDS);
getThisProcessReport();
}
}