Ai Bot Node implemented

This commit is contained in:
Luis Fernando Molina committed 2020-11-03 12:16:59 +01:00
1 parent 3b9dc370b9
commit b2ed704745
30 files changed
+393 -299

No files matched your search

+7 -3
View File
@@ -80,10 +80,14 @@ exports.newDebugLog = function newDebugLog() {
let filePath = thisObject.bot.filePathRoot + "/Logs/" + thisObject.bot.process + "/"
if (thisObject.bot.SESSION !== undefined) {
filePath = filePath + thisObject.bot.SESSION.folderName + "/" + executionDatetime;
if (thisObject.bot.TRADING_SESSION !== undefined) {
filePath = filePath + thisObject.bot.TRADING_SESSION.folderName + "/" + executionDatetime;
} else {
filePath = filePath + executionDatetime;
if (thisObject.bot.AI_SESSION !== undefined) {
filePath = filePath + thisObject.bot.AI_SESSION.folderName + "/" + executionDatetime;
} else {
filePath = filePath + executionDatetime;
}
}
if (thisObject.bot.debug.year !== undefined) {