Simulation State

This commit is contained in:
Luis Fernando Molina committed 2020-11-30 14:33:06 +01:00
1 parent 583ef49f1d
commit 15aed117e2
22 files changed
+72 -71

No files matched your search

@@ -18,7 +18,7 @@ exports.newTradingStrategy = function (processIndex, bot, logger, tradingEngineM
return thisObject
function initialize() {
tradingEngine = bot.simulationState.tradingEngine
tradingEngine = TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).SIMULATION_STATE.tradingEngine
sessionParameters = TS.projects.superalgos.globals.processConstants.CONSTANTS_BY_PROCESS_INDEX_MAP.get(processIndex).SESSION_NODE.tradingParameters
}