Jason Running Sequenced
This commit is contained in:
1 parent
ccbc1665f4
commit
f389a57bad
4 files changed
+14
-14
No files matched your search
@@ -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,
|
||||
|
||||
+7
-7
@@ -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;
|
||||
}
|
||||
|
||||
@@ -132,8 +132,8 @@
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "user",
|
||||
"bot": "simulator-user",
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAJason",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Trading-Engine",
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
[
|
||||
|
||||
{
|
||||
"devTeam": "user",
|
||||
"bot": "simulator-user",
|
||||
"mode": "noTime",
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAJason",
|
||||
"mode": "live",
|
||||
"resumeExecution": true,
|
||||
"type": "Trading-Engine",
|
||||
"exchangeName": "Poloniex",
|
||||
|
||||
Reference in new issue
Block a user