Volumes being written at old path BUG fixed

This commit is contained in:
Luis Fernando Molina committed 2018-04-07 16:08:48 +02:00
1 parent 9983b0e4db
commit b2b0b54647
2 files changed
+2 -1

No files matched your search

Binary file not shown.
+2 -1
View File
@@ -934,7 +934,8 @@
let fileName = '' + market.assetA + '_' + market.assetB + '.json';
let dateForPath = date.getUTCFullYear() + '/' + utilities.pad(date.getUTCMonth() + 1, 2) + '/' + utilities.pad(date.getUTCDate(), 2);
let filePath = EXCHANGE_NAME + "/Output/" + VOLUMES_FOLDER_NAME + '/' + VOLUMES_ONE_MIN + '/' + dateForPath;
let filePath = bot.filePathRoot + "/Output/" + VOLUMES_FOLDER_NAME + '/' + VOLUMES_ONE_MIN + '/' + dateForPath;
utilities.createFolderIfNeeded(filePath, bruceFileStorage, onFolderCreated);
function onFolderCreated(err) {