Minor Improvements - All AAMaster sequence running.
This commit is contained in:
1 parent
e34bb56cfc
commit
dc472da896
5 files changed
+152
-30
No files matched your search
@@ -433,7 +433,7 @@
|
||||
|
||||
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] run -> loop -> startUserBot -> Entering function."); }
|
||||
|
||||
usertBot.start(onFinished);
|
||||
usertBot.start(onFinished);
|
||||
|
||||
function onFinished(err) {
|
||||
|
||||
|
||||
@@ -45,13 +45,16 @@ exports.newFileStorage = function newFileStorage() {
|
||||
}
|
||||
|
||||
async function getTextFile(container, filePath, callBackFunction) {
|
||||
logInfo('getTextFile: ' + container.toLowerCase() + '/...' + filePath.substring(filePath.length - 110, filePath.length))
|
||||
|
||||
|
||||
try {
|
||||
let host = await getDevTeamHost(container)
|
||||
|
||||
if (host.url.indexOf('localhost') !== -1) {
|
||||
let fileLocation = process.env.STORAGE_PATH + '/' + container + '/' + filePath
|
||||
let fileLocation = process.env.STORAGE_PATH + '/' + container + '/' + filePath
|
||||
|
||||
logInfo('getTextFile: ' + fileLocation)
|
||||
|
||||
let fileContent = await readFileAsync(fileLocation)
|
||||
callBackFunction(global.DEFAULT_OK_RESPONSE, fileContent.toString())
|
||||
} else {
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
function onFileReceived(err, text) {
|
||||
|
||||
if (err.result !== global.DEFAULT_OK_RESPONSE.result) {
|
||||
console.log(logDisplace + "Root : [ERROR] start -> getBotConfig -> onInizialized -> onFileReceived -> err = "+ err);
|
||||
console.log(logDisplace + "Root : [ERROR] start -> getBotConfig -> onInizialized -> onFileReceived -> err = " + JSON.stringify(err));
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -186,7 +186,7 @@
|
||||
botConfig.repo = cloneToExecute.repo;
|
||||
findProcess();
|
||||
} catch (err) {
|
||||
console.log(logDisplace + "Root : [ERROR] start -> getBotConfig -> onInizialized -> onFileReceived -> err = "+ err);
|
||||
console.log(logDisplace + "Root : [ERROR] start -> getBotConfig -> onInizialized -> onFileReceived -> err = " + JSON.stringify(err));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AABruce",
|
||||
@@ -108,18 +107,18 @@
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAPaula",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Sensor",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Live-Trades",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAPaula",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Daily",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAPaula",
|
||||
|
||||
+132
-12
@@ -1,14 +1,134 @@
|
||||
[
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AACharly",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Sensor",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Live-Trades",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
}
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AACharly",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Sensor",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Live-Trades",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AACharly",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Sensor",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Hole-Fixing",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AABruce",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Single-Period-Daily",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAOlivia",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Daily",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAOlivia",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Market",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AATom",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Daily",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AATom",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Market",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAChris",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Daily",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAChris",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Market",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAPaula",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Daily",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
},
|
||||
{
|
||||
"devTeam": "AAMasters",
|
||||
"bot": "AAPaula",
|
||||
"mode": "noTime",
|
||||
"resumeExecution": true,
|
||||
"type": "Indicator",
|
||||
"exchangeName": "Poloniex",
|
||||
"process": "Multi-Period-Market",
|
||||
"startYear": 2019,
|
||||
"endYear": 2021,
|
||||
"month": 1
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user