From 24325d3c48ca9d41a4f034aa7749a9428b5b965d Mon Sep 17 00:00:00 2001 From: Matias Date: Tue, 19 Mar 2019 17:32:45 +0100 Subject: [PATCH] Fixing new simulator name --- AABrowserAPI/CopySimulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AABrowserAPI/CopySimulator.js b/AABrowserAPI/CopySimulator.js index a70068bd6..5743312bf 100644 --- a/AABrowserAPI/CopySimulator.js +++ b/AABrowserAPI/CopySimulator.js @@ -104,7 +104,7 @@ exports.newCopySimulator = function newCopySimulator() { parsedConfig.products[1].dataSets[1].dataRange.filePath = pTeamCodeName + "/" + parsedConfig.codeName + ".1.0/AACloud.1.1/@Exchange/dataSet.V1/Output/Simulation-Conditions/Multi-Period-Market" // Write the new files - let newSimulatorName = pBotCodeName + "-Indicator-Bot" + let newSimulatorName = "simulator-"+ pBotCodeName + "-Indicator-Bot" let newSimulatorPath = "aaplatform/"+ pTeamCodeName + "/bots/" + newSimulatorName await writeFileContent(newSimulatorPath, "Commons.js", commons) await writeFileContent(newSimulatorPath, "this.bot.config.json", beautify(parsedConfig, null, 2, 80))