Bug Dataset Updated Fixed

This commit is contained in:
Luis Fernando Molina committed 2020-07-28 17:28:22 +02:00
1 parent e90ccebe8f
commit 4d6c0ad493
7 files changed
+35 -28

No files matched your search

+4 -1
View File
@@ -521,7 +521,7 @@
let timeFrameLabel = global.dailyFilePeriods[n][1]
/* Check Time Frames Filter */
if (bot.marketTimeFrames !== undefined) {
if (bot.dailyTimeFrames !== undefined) {
if (bot.dailyTimeFrames.includes(timeFrameLabel) === true) {
timeFramesArray.push(timeFrameLabel)
}
@@ -554,6 +554,9 @@
thisReport.file.lastFile = lastFileDate;
thisReport.file.interExecutionMemoryArray = interExecutionMemoryArray;
thisReport.file.beginingOfMarket = beginingOfMarket.toUTCString()
if (bot.dailyTimeFrames !== undefined) {
thisReport.file.timeFrames = bot.dailyTimeFrames
}
thisReport.save(callBack)
bot.hasTheBotJustStarted = false;