TradingSessionFunctions refactored

This commit is contained in:
Luis Fernando Molina committed 2021-09-27 13:55:42 +02:00
1 parent 1c5e2b68f4
commit 704f1d69fa
6 files changed
+11 -11

No files matched your search

@@ -162,12 +162,12 @@
}
function onSessionStop() {
TS.projects.foundations.functionLibraries.sessionFunctions.stopSession(processIndex, 'Session Stopped From the User Interface.')
TS.projects.algorithmicTrading.functionLibraries.sessionFunctions.stopSession(processIndex, 'Session Stopped From the User Interface.')
}
function onSessionResume(message) {
try {
if (TS.projects.foundations.functionLibraries.sessionFunctions.stopSession === undefined) {
if (TS.projects.algorithmicTrading.functionLibraries.sessionFunctions.stopSession === undefined) {
TS.projects.foundations.globals.loggerVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).PROCESS_INSTANCE_LOGGER_MODULE_OBJECT.write(MODULE_NAME,
"[WARN] onSessionResume -> Event received to resume the Session that have never be ran before. ")
return