diff --git a/.vs/AABruce-Indicator-Bot/v15/.suo b/.vs/AABruce-Indicator-Bot/v15/.suo index 4562081a4..17de3cf9c 100644 Binary files a/.vs/AABruce-Indicator-Bot/v15/.suo and b/.vs/AABruce-Indicator-Bot/v15/.suo differ diff --git a/One-Min-Daily-Candles-Volumes/User.bot.js b/One-Min-Daily-Candles-Volumes/User.bot.js index f31672ded..e0213dc44 100644 --- a/One-Min-Daily-Candles-Volumes/User.bot.js +++ b/One-Min-Daily-Candles-Volumes/User.bot.js @@ -660,19 +660,18 @@ function onFilesWritten() { - nextIntervalExecution = true; + if (FULL_LOG === true) { + logger.write("[INFO] start -> buildCandles -> nextCandleFile -> nextDate -> Head of the market reached for market " + market.assetA + '_' + market.assetB + "."); } - const logText = "[ERR] 'buildCandles' - Head of the market reached for market " + market.assetA + '_' + market.assetB + " . "; - logger.write(logText); - - closeAndOpenMarket(); + allBackFunction(global.DEFAULT_OK_RESPONSE); + return; } } readTrades(); } catch (err) { - logger.write("[ERROR] start -> buildCandles -> nextCandleFile -> nextDate -> err = " + err.message); + logger.write("[ERROR] start -> buildCandles -> nextCandleFile -> nextDate -> err = " + err.message); callBackFunction(global.DEFAULT_FAIL_RESPONSE); } }