Ai Bot Node implemented
This commit is contained in:
1 parent
3b9dc370b9
commit
b2ed704745
30 files changed
+393
-299
No files matched your search
+7
-3
@@ -100,8 +100,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (bot.SESSION !== undefined && statusDependencyNode.bottype === "Trading Bot") {
|
||||
sessionPath = bot.SESSION.folderName + "/"
|
||||
if (bot.TRADING_SESSION !== undefined && statusDependencyNode.bottype === "Trading Bot") {
|
||||
sessionPath = bot.TRADING_SESSION.folderName + "/"
|
||||
}
|
||||
|
||||
if (bot.AI_SESSION !== undefined && statusDependencyNode.bottype === "AI Bot") {
|
||||
sessionPath = bot.AI_SESSION.folderName + "/"
|
||||
}
|
||||
|
||||
/* Now we will see where do we need to fetch this status report from. */
|
||||
@@ -264,7 +268,7 @@
|
||||
On the contraty, if we are running a Sensor bot or an Indicator bot, we might, if necesary, use a previous version of a Status Report since
|
||||
there will be no big impact, just some reprocessing.
|
||||
*/
|
||||
if (bot.SESSION !== undefined) {
|
||||
if (bot.TRADING_SESSION !== undefined || bot.AI_SESSION !== undefined) {
|
||||
canUserPrevious = false
|
||||
} else {
|
||||
canUserPrevious = true
|
||||
|
||||
Reference in new issue
Block a user