diff --git a/Blob Storage.js b/BlobStorage.js similarity index 99% rename from Blob Storage.js rename to BlobStorage.js index 4da3a2f99..15688c22d 100644 --- a/Blob Storage.js +++ b/BlobStorage.js @@ -11,7 +11,7 @@ exports.newBlobStorage = function newBlobStorage(BOT) { let storage = require('azure-storage'); - const DEBUG_MODULE = require('./Debug Log'); + const DEBUG_MODULE = require('./DebugLog'); const logger = DEBUG_MODULE.newDebugLog(); logger.fileName = MODULE_NAME; logger.bot = bot; diff --git a/Data Dependencies.js b/DataDependencies.js similarity index 100% rename from Data Dependencies.js rename to DataDependencies.js diff --git a/Data Set.js b/DataSet.js similarity index 100% rename from Data Set.js rename to DataSet.js diff --git a/Debug Log.js b/DebugLog.js similarity index 99% rename from Debug Log.js rename to DebugLog.js index bba15b22d..72e3ee4ef 100644 --- a/Debug Log.js +++ b/DebugLog.js @@ -40,7 +40,7 @@ try { - const BLOB_STORAGE = require(ROOT_DIR + 'Blob Storage'); + const BLOB_STORAGE = require(ROOT_DIR + 'BlobStorage'); let cloudStorage = BLOB_STORAGE.newBlobStorage(thisObject.bot); cloudStorage.initialize(thisObject.bot, onInizialized, true); diff --git a/Extraction Bot Process Main Loop.js b/ExtractionBotProcessMainLoop.js similarity index 99% rename from Extraction Bot Process Main Loop.js rename to ExtractionBotProcessMainLoop.js index 5cc1b3794..231114ab7 100644 --- a/Extraction Bot Process Main Loop.js +++ b/ExtractionBotProcessMainLoop.js @@ -12,7 +12,7 @@ const EVENT_HANDLER_MODULE = require(ROOT_DIR + 'EventHandler'); bot.eventHandler = EVENT_HANDLER_MODULE.newEventHandler(); - const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log'); + const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); const logger = DEBUG_MODULE.newDebugLog(); logger.fileName = MODULE_NAME; logger.bot = bot; @@ -78,11 +78,11 @@ /* We define here all the modules that the rest of the infraestructure, including the bots themselves can consume. */ const UTILITIES = require(ROOT_DIR + 'Utilities'); - const BLOB_STORAGE = require(ROOT_DIR + 'Blob Storage'); - const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log'); - const STATUS_REPORT = require(ROOT_DIR + 'Status Report'); - const POLONIEX_CLIENT_MODULE = require(ROOT_DIR + 'Poloniex API Client'); - const STATUS_DEPENDENCIES = require(ROOT_DIR + 'Status Dependencies'); + const BLOB_STORAGE = require(ROOT_DIR + 'BlobStorage'); + const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); + const STATUS_REPORT = require(ROOT_DIR + 'StatusReport'); + const POLONIEX_CLIENT_MODULE = require(ROOT_DIR + 'PoloniexAPIClient'); + const STATUS_DEPENDENCIES = require(ROOT_DIR + 'StatusDependencies'); /* We define the datetime for the process that we are running now. This will be the official processing time for both the infraestructure and the bot. */ diff --git a/File Storage.js b/FileStorage.js similarity index 99% rename from File Storage.js rename to FileStorage.js index 151a43d97..59c89959c 100644 --- a/File Storage.js +++ b/FileStorage.js @@ -14,7 +14,7 @@ exports.newFileStorage = function newFileStorage(BOT) { var crypto = require('crypto'); var storage = require('azure-storage'); - const DEBUG_MODULE = require('./Debug Log'); + const DEBUG_MODULE = require('./DebugLog'); const logger = DEBUG_MODULE.newDebugLog(); logger.fileName = MODULE_NAME; logger.bot = bot; diff --git a/Indicator Bot Process Main Loop.js b/IndicatorBotProcessMainLoop.js similarity index 99% rename from Indicator Bot Process Main Loop.js rename to IndicatorBotProcessMainLoop.js index 94ba5bb41..3fff992c4 100644 --- a/Indicator Bot Process Main Loop.js +++ b/IndicatorBotProcessMainLoop.js @@ -12,7 +12,7 @@ const EVENT_HANDLER_MODULE = require(ROOT_DIR + 'EventHandler'); bot.eventHandler = EVENT_HANDLER_MODULE.newEventHandler(); - const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log'); + const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); const logger = DEBUG_MODULE.newDebugLog(); logger.fileName = MODULE_NAME; logger.bot = bot; @@ -68,11 +68,11 @@ /* We define here all the modules that the rest of the infraestructure, including the bots themselves can consume. */ const UTILITIES = require(ROOT_DIR + 'Utilities'); - const BLOB_STORAGE = require(ROOT_DIR + 'Blob Storage'); - const FILE_STORAGE = require(ROOT_DIR + 'File Storage'); - const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log'); - const STATUS_REPORT = require(ROOT_DIR + 'Status Report'); - const STATUS_DEPENDENCIES = require(ROOT_DIR + 'Status Dependencies'); + const BLOB_STORAGE = require(ROOT_DIR + 'BlobStorage'); + const FILE_STORAGE = require(ROOT_DIR + 'FileStorage'); + const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); + const STATUS_REPORT = require(ROOT_DIR + 'StatusReport'); + const STATUS_DEPENDENCIES = require(ROOT_DIR + 'StatusDependencies'); /* We define the datetime for the process that we are running now. This will be the official processing time for both the infraestructure and the bot. */ diff --git a/Poloniex API Client.js b/PoloniexAPIClient.js similarity index 100% rename from Poloniex API Client.js rename to PoloniexAPIClient.js diff --git a/Project.njsproj b/Project.njsproj index 21973b6de..3b2cc600c 100644 --- a/Project.njsproj +++ b/Project.njsproj @@ -23,39 +23,39 @@ Code - + Code - + Code - + Code - + Code - + Code - + Code - + Code - + Code - + - + Code - + Code diff --git a/Run.js b/Run.js index b63d6c52e..e089763ea 100644 --- a/Run.js +++ b/Run.js @@ -28,7 +28,7 @@ global.STORAGE_CONN_STRING_FOLDER = global.PLATFORM_CONFIG.storageConnStringFold const ROOT_DIR = './'; const MODULE_NAME = "Run"; -const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log'); +const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); process.on('uncaughtException', function (err) { console.log('[INFO] Run -> uncaughtException -> err.message = ' + err.message); @@ -139,9 +139,9 @@ function pad(str, max) { /* Process Loops Declarations. */ -const TRADING_BOT_MAIN_LOOP_MODULE = require('./Trading Bot Process Main Loop'); -const INDICATOR_BOT_MAIN_LOOP_MODULE = require('./Indicator Bot Process Main Loop'); -const EXTRACTION_BOT_MAIN_LOOP_MODULE = require('./Extraction Bot Process Main Loop'); +const TRADING_BOT_MAIN_LOOP_MODULE = require('./TradingBotProcessMainLoop'); +const INDICATOR_BOT_MAIN_LOOP_MODULE = require('./IndicatorBotProcessMainLoop'); +const EXTRACTION_BOT_MAIN_LOOP_MODULE = require('./ExtractionBotProcessMainLoop'); /* Loop through all the processes configured to be run by this Node.js Instance. */ diff --git a/Status Dependencies.js b/StatusDependencies.js similarity index 100% rename from Status Dependencies.js rename to StatusDependencies.js diff --git a/Status Report.js b/StatusReport.js similarity index 100% rename from Status Report.js rename to StatusReport.js diff --git a/Trading Bot Process Main Loop.js b/TradingBotProcessMainLoop.js similarity index 99% rename from Trading Bot Process Main Loop.js rename to TradingBotProcessMainLoop.js index c4c8529a9..3e6d1ac46 100644 --- a/Trading Bot Process Main Loop.js +++ b/TradingBotProcessMainLoop.js @@ -3,7 +3,7 @@ let bot = BOT; const ROOT_DIR = './'; - const MODULE_NAME = "Trading Bot Process Main Loop"; + const MODULE_NAME = "TradingBotProcessMainLoop"; const FULL_LOG = true; let USER_BOT_MODULE; @@ -12,7 +12,7 @@ const EVENT_HANDLER_MODULE = require(ROOT_DIR + 'EventHandler'); bot.eventHandler = EVENT_HANDLER_MODULE.newEventHandler(); - const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log'); + const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); const logger = DEBUG_MODULE.newDebugLog(); logger.fileName = MODULE_NAME; logger.bot = bot; @@ -68,16 +68,16 @@ /* We define here all the modules that the rest of the infraestructure, including the bots themselves can consume. */ const UTILITIES = require(ROOT_DIR + 'Utilities'); - const BLOB_STORAGE = require(ROOT_DIR + 'Blob Storage'); - const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log'); - const POLONIEX_CLIENT_MODULE = require(ROOT_DIR + 'Poloniex API Client'); + const BLOB_STORAGE = require(ROOT_DIR + 'BlobStorage'); + const DEBUG_MODULE = require(ROOT_DIR + 'DebugLog'); + const POLONIEX_CLIENT_MODULE = require(ROOT_DIR + 'PoloniexAPIClient'); const EXCHANGE_API = require(ROOT_DIR + 'ExchangeAPI'); const CONTEXT = require(ROOT_DIR + 'Context'); const ASSISTANT = require(ROOT_DIR + 'Assistant'); - const STATUS_REPORT = require(ROOT_DIR + 'Status Report'); - const DATA_SET = require(ROOT_DIR + 'Data Set'); - const STATUS_DEPENDENCIES = require(ROOT_DIR + 'Status Dependencies'); - const DATA_DEPENDENCIES = require(ROOT_DIR + 'Data Dependencies'); + const STATUS_REPORT = require(ROOT_DIR + 'StatusReport'); + const DATA_SET = require(ROOT_DIR + 'DataSet'); + const STATUS_DEPENDENCIES = require(ROOT_DIR + 'StatusDependencies'); + const DATA_DEPENDENCIES = require(ROOT_DIR + 'DataDependencies'); /* Waitime Variable */ diff --git a/Utilities.js b/Utilities.js index 9a6d557e8..cefac3856 100644 --- a/Utilities.js +++ b/Utilities.js @@ -9,7 +9,7 @@ exports.newUtilities = function newUtilities(BOT) { const MODULE_NAME = "Utilities"; - const DEBUG_MODULE = require('./Debug Log'); + const DEBUG_MODULE = require('./DebugLog'); const logger = DEBUG_MODULE.newDebugLog(); logger.fileName = MODULE_NAME; logger.bot = bot;