Removing restriction

This commit is contained in:
Luis Fernando Molina committed 2019-10-20 09:40:29 +02:00
1 parent aa0a835f45
commit 189d9ea9da
1 file changed
+2 -2
+2 -2
View File
@@ -1980,7 +1980,7 @@
}
}
/* This validation is disbled for now because we do not have the correct end date at this point.
This validation is disbled for now because we do not have the correct end date at this point.
if (bot.VALUES_TO_USE.timeRange.finalDatetime !== undefined) {
if (candle.begin > bot.VALUES_TO_USE.timeRange.finalDatetime.valueOf()) {
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] runSimulation -> putOpeningOrder -> Not placing the trade at the exchange because current candle begins after the end date. -> bot.VALUES_TO_USE.timeRange.finalDatetime = " + bot.VALUES_TO_USE.timeRange.finalDatetime); }
@@ -1988,7 +1988,7 @@
return;
}
}
*/
/* Checking the status of current positions */
let positions = assistant.getPositions();