From 7acce7d61760a2d27cc1af0e6aa88859180309f6 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 1 Apr 2019 14:07:35 +0200 Subject: [PATCH] Coss added at configuration, Bruce process updated --- Multi-Period-Daily/User.bot.js | 6 ++---- Multi-Period-Market/User.bot.js | 6 ++---- this.bot.config.json | 14 ++++++++++---- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Multi-Period-Daily/User.bot.js b/Multi-Period-Daily/User.bot.js index 776fe8eb6..d395cd559 100644 --- a/Multi-Period-Daily/User.bot.js +++ b/Multi-Period-Daily/User.bot.js @@ -9,8 +9,6 @@ const MODULE_NAME = "User Bot"; - const EXCHANGE_NAME = "Poloniex"; - const TRADES_FOLDER_NAME = "Trades"; const CANDLES_FOLDER_NAME = "Candles"; @@ -105,7 +103,7 @@ Read the candles and volumes from Bruce and produce a file for each day and for /* We look first for Charly in order to get when the market starts. */ - reportKey = "AAMasters" + "-" + "AACharly" + "-" + "Poloniex-Historic-Trades" + "-" + "dataSet.V1"; + reportKey = "AAMasters" + "-" + "AACharly" + "-" + "Historic-Trades" + "-" + "dataSet.V1"; if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> getContextVariables -> reportKey = " + reportKey); } statusReport = statusDependencies.statusReports.get(reportKey); @@ -141,7 +139,7 @@ Read the candles and volumes from Bruce and produce a file for each day and for /* Second, we get the report from Bruce, to know when the marted ends. */ - reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + "-" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); + reportKey = "AAMasters" + "-" + "AABruce" + "-" + "Single-Period-Daily" + "-" + "dataSet.V1" + "-" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> getContextVariables -> reportKey = " + reportKey); } statusReport = statusDependencies.statusReports.get(reportKey); diff --git a/Multi-Period-Market/User.bot.js b/Multi-Period-Market/User.bot.js index 22e66fe8b..dfccc5cb8 100644 --- a/Multi-Period-Market/User.bot.js +++ b/Multi-Period-Market/User.bot.js @@ -9,8 +9,6 @@ const MODULE_NAME = "User Bot"; - const EXCHANGE_NAME = "Poloniex"; - const TRADES_FOLDER_NAME = "Trades"; const CANDLES_FOLDER_NAME = "Candles"; @@ -116,7 +114,7 @@ /* We look first for Charly in order to get when the market starts. */ - reportKey = "AAMasters" + "-" + "AACharly" + "-" + "Poloniex-Historic-Trades" + "-" + "dataSet.V1"; + reportKey = "AAMasters" + "-" + "AACharly" + "-" + "Historic-Trades" + "-" + "dataSet.V1"; if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> getContextVariables -> reportKey = " + reportKey); } statusReport = statusDependencies.statusReports.get(reportKey); @@ -152,7 +150,7 @@ /* Second, we get the report from Bruce, to know when the marted ends. */ - reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + "-" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); + reportKey = "AAMasters" + "-" + "AABruce" + "-" + "Single-Period-Daily" + "-" + "dataSet.V1" + "-" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> getContextVariables -> reportKey = " + reportKey); } statusReport = statusDependencies.statusReports.get(reportKey); diff --git a/this.bot.config.json b/this.bot.config.json index 6690403fd..103733067 100644 --- a/this.bot.config.json +++ b/this.bot.config.json @@ -45,7 +45,7 @@ "major": 1, "minor": 0 }, - "process": "Poloniex-Historic-Trades", + "process": "Historic-Trades", "dataSetVersion": "dataSet.V1" }, { @@ -55,7 +55,7 @@ "major": 1, "minor": 0 }, - "process": "One-Min-Daily-Candles-Volumes", + "process": "Single-Period-Daily", "dataSetVersion": "dataSet.V1", "dataSetSection": "Month" }, @@ -105,7 +105,7 @@ "major": 1, "minor": 0 }, - "process": "Poloniex-Historic-Trades", + "process": "Historic-Trades", "dataSetVersion": "dataSet.V1" }, { @@ -115,7 +115,7 @@ "major": 1, "minor": 0 }, - "process": "One-Min-Daily-Candles-Volumes", + "process": "Single-Period-Daily", "dataSetVersion": "dataSet.V1", "dataSetSection": "Month" }, @@ -161,6 +161,9 @@ "exchangeList": [ { "name": "Poloniex" + }, + { + "name": "Coss" } ], "plotter": { @@ -197,6 +200,9 @@ "exchangeList": [ { "name": "Poloniex" + }, + { + "name": "Coss" } ], "plotter": {