diff --git a/Run.js b/Run.js index 9f8207c7d..dcaa1f688 100644 --- a/Run.js +++ b/Run.js @@ -128,7 +128,7 @@ async function readExecutionConfiguration() { global.DEV_TEAM = process.env.DEV_TEAM global.CURRENT_BOT_REPO = process.env.BOT + "-" + process.env.TYPE + "-Bot" - if (process.env.TYPE === 'Trading') { + if (process.env.TYPE === 'Trading' || process.env.TYPE === 'Trading-Engine') { let live = { run: 'false', resumeExecution: process.env.RESUME_EXECUTION, @@ -155,7 +155,7 @@ async function readExecutionConfiguration() { backtest: backtest, competition: competition } - } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Sensor' || process.env.TYPE === 'Trading-Engine') { + } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Sensor') { let allMonths = { run: "false", minYear: process.env.MIN_YEAR, diff --git a/User.Bot.js b/User.Bot.js index 1e457f5a7..ca0130408 100644 --- a/User.Bot.js +++ b/User.Bot.js @@ -70,28 +70,28 @@ dataFile = dataFiles[i]; switch (i) { - + /* case 0: { commons.buildLRC(dataFile, callBackFunction); break; - } - case 1: { + }*/ + case 0: { commons.buildPercentageBandwidthMap(dataFile, callBackFunction); break; } - case 2: { + case 1: { commons.buildBollingerBandsMap(dataFile, callBackFunction); break; } - case 3: { + case 2: { commons.buildBollingerChannelsArray(dataFile, callBackFunction); break; } - case 4: { + case 3: { commons.buildBollingerSubChannelsArray(dataFile, callBackFunction); break; } - case 5: { + case 4: { commons.buildCandles(dataFile, callBackFunction); break; } diff --git a/sequence - all processes.json b/sequence - all processes.json index e98ae87fd..babf96089 100644 --- a/sequence - all processes.json +++ b/sequence - all processes.json @@ -132,8 +132,8 @@ "month": 1 }, { - "devTeam": "user", - "bot": "simulator-user", + "devTeam": "AAMasters", + "bot": "AAJason", "mode": "noTime", "resumeExecution": true, "type": "Trading-Engine", diff --git a/sequence.json b/sequence.json index 3ee401586..076ac7d19 100644 --- a/sequence.json +++ b/sequence.json @@ -1,9 +1,9 @@ [ { - "devTeam": "user", - "bot": "simulator-user", - "mode": "noTime", + "devTeam": "AAMasters", + "bot": "AAJason", + "mode": "live", "resumeExecution": true, "type": "Trading-Engine", "exchangeName": "Poloniex",