From 4129bc039bd1e9395f96be5385d5bedf80fbbf5f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 28 Jan 2020 13:28:40 +0100 Subject: [PATCH] Removing Container Name from Paths --- Single-Period-Daily/User.Bot.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Single-Period-Daily/User.Bot.js b/Single-Period-Daily/User.Bot.js index f112584f0..d285f0b9e 100644 --- a/Single-Period-Daily/User.Bot.js +++ b/Single-Period-Daily/User.Bot.js @@ -324,7 +324,7 @@ let filePath = bot.filePathRoot + "/Output/" + CANDLES_FOLDER_NAME + '/' + CANDLES_ONE_MIN + '/' + dateForPath; filePath += '/' + fileName - fileStorage.getTextFile(bot.dataMine, filePath, onFileReceived); + fileStorage.getTextFile(filePath, onFileReceived); logger.write(MODULE_NAME, "[INFO] start -> findPreviousContent -> getCandles -> reading file at dateForPath = " + dateForPath); @@ -375,7 +375,7 @@ let filePath = bot.filePathRoot + "/Output/" + VOLUMES_FOLDER_NAME + '/' + VOLUMES_ONE_MIN + '/' + dateForPath; filePath += '/' + fileName - fileStorage.getTextFile(bot.dataMine, filePath, onFileReceived); + fileStorage.getTextFile(filePath, onFileReceived); logger.write(MODULE_NAME, "[INFO] start -> findPreviousContent -> getVolumes -> reading file at dateForPath = " + dateForPath); @@ -476,7 +476,7 @@ let filePath = filePathRoot + "/Output/" + TRADES_FOLDER_NAME + '/' + dateForPath; filePath += '/' + fileName - fileStorage.getTextFile(bot.dataMine, filePath, onFileReceived); + fileStorage.getTextFile(filePath, onFileReceived); logger.write(MODULE_NAME, "[INFO] start -> findPreviousContent -> loopStart -> reading file at dateForPath = " + dateForPath); @@ -730,7 +730,7 @@ let filePath = filePathRoot + "/Output/" + TRADES_FOLDER_NAME + '/' + dateForPath; filePath += '/' + fileName - fileStorage.getTextFile(bot.dataMine, filePath, onFileReceived); + fileStorage.getTextFile(filePath, onFileReceived); logger.write(MODULE_NAME, "[INFO] start -> buildCandlesAndVolumes -> nextFile -> nextDate -> readTrades -> reading file at dateForPath = " + dateForPath); @@ -887,7 +887,7 @@ let filePath = bot.filePathRoot + "/Output/" + CANDLES_FOLDER_NAME + '/' + CANDLES_ONE_MIN + '/' + dateForPath; filePath += '/' + fileName - fileStorage.createTextFile(bot.dataMine, filePath, fileContent + '\n', onFileCreated); + fileStorage.createTextFile(filePath, fileContent + '\n', onFileCreated); logger.write(MODULE_NAME, "[INFO] start -> writeFiles -> writeCandles -> writing file at dateForPath = " + dateForPath); @@ -961,7 +961,7 @@ let filePath = bot.filePathRoot + "/Output/" + VOLUMES_FOLDER_NAME + '/' + VOLUMES_ONE_MIN + '/' + dateForPath; filePath += '/' + fileName - fileStorage.createTextFile(bot.dataMine, filePath, fileContent + '\n', onFileCreated); + fileStorage.createTextFile(filePath, fileContent + '\n', onFileCreated); logger.write(MODULE_NAME, "[INFO] start -> writeFiles -> writeVolumes -> writing file at dateForPath = " + dateForPath);