Ai Bot Node implemented
This commit is contained in:
1 parent
3b9dc370b9
commit
b2ed704745
30 files changed
+393
-299
No files matched your search
@@ -560,17 +560,17 @@ exports.newAiBot = function newAiBot(bot, parentLogger) {
|
||||
if (processConfig.waitsForExecutionFinishedEvent === true) {
|
||||
waitTime = 0
|
||||
} else {
|
||||
switch (bot.SESSION.type) {
|
||||
switch (bot.AI_SESSION.type) {
|
||||
case 'Live Trading Session': {
|
||||
waitTime = bot.SESSION.parameters.timeFrame.config.value
|
||||
waitTime = bot.AI_SESSION.parameters.timeFrame.config.value
|
||||
break
|
||||
}
|
||||
case 'Fordward Tessting Session': {
|
||||
waitTime = bot.SESSION.parameters.timeFrame.config.value
|
||||
waitTime = bot.AI_SESSION.parameters.timeFrame.config.value
|
||||
break
|
||||
}
|
||||
case 'Paper Trading Session': {
|
||||
waitTime = bot.SESSION.parameters.timeFrame.config.value
|
||||
waitTime = bot.AI_SESSION.parameters.timeFrame.config.value
|
||||
break
|
||||
}
|
||||
case 'Backtesting Session': {
|
||||
|
||||
Reference in new issue
Block a user