More Function Libraries

This commit is contained in:
Luis Fernando Molina committed 2020-11-27 17:22:32 +01:00
1 parent b454eea2a6
commit 9427ebeb53
8 files changed
+74 -46

No files matched your search

@@ -101,7 +101,7 @@ exports.newLearningBot = function newLearningBot(bot, parentLogger) {
bot.SESSION_STATUS = 'Stopped'
}
global.EMIT_SESSION_STATUS (bot.SESSION_STATUS, bot.sessionKey)
TS.projects.superalgos.functionLibraries.sessionFunctions.emitSessionStatus (bot.SESSION_STATUS, bot.sessionKey)
/* Checking if we should process this loop or not.*/
if (bot.STOP_SESSION === true) {
@@ -159,7 +159,7 @@ exports.newLearningProcess = function newLearningProcess(bot, logger, UTILITIES)
} else {
/* We are processing Daily Files */
do {
global.EMIT_SESSION_STATUS(bot.TRADING_SESSION_STATUS, bot.TRADING_SESSIONKey)
TS.projects.superalgos.functionLibraries.sessionFunctions.emitSessionStatus(bot.TRADING_SESSION_STATUS, bot.TRADING_SESSIONKey)
/*
We update the Trading Process Date with the date calculated at the simulation.
We will use this date to load indicator and output files. After that we will