diff --git a/.vs/AABruce/v15/.suo b/.vs/AABruce/v15/.suo index 5a607e0ee..d5b26ab71 100644 Binary files a/.vs/AABruce/v15/.suo and b/.vs/AABruce/v15/.suo differ diff --git a/One-Min-Daily-Candles/Interval.js b/One-Min-Daily-Candles/Interval.js index 4fb5d8fcc..904e73648 100644 --- a/One-Min-Daily-Candles/Interval.js +++ b/One-Min-Daily-Candles/Interval.js @@ -396,7 +396,7 @@ Read the trades from Charly's Output and pack them into daily files with candles statusReport = JSON.parse(text); lastCandleFile = new Date(statusReport.lastFile.year + "-" + statusReport.lastFile.month + "-" + statusReport.lastFile.days + " " + "00:00" + GMT_SECONDS); - lastCandleClose = statusReport.lastFile.candleClose; + lastCandleClose = statusReport.candleClose; buildCandles(); @@ -443,6 +443,10 @@ Read the trades from Charly's Output and pack them into daily files with candles */ + const logText = "[INFO] 'findLastCandleCloseValue' - Begining of the market detected for market " + market.assetA + '_' + market.assetB + " . lastCandleClose = " + lastCandleClose; + logger.write(logText); + console.log(logText); + lastCandleFile = new Date(firstTradeFile.getUTCFullYear() + "-" + (firstTradeFile.getUTCMonth() + 1) + "-" + firstTradeFile.getUTCDay() + " " + "00:00" + GMT_SECONDS); lastCandleFile = new Date(lastCandleFile.valueOf() - ONE_DAY_IN_MILISECONDS); @@ -486,6 +490,7 @@ Read the trades from Charly's Output and pack them into daily files with candles const logText = "[INFO] 'findLastCandleCloseValue' - Trades found at " + filePath + " for market " + market.assetA + '_' + market.assetB + " . lastCandleClose = " + lastCandleClose; logger.write(logText); + console.log(logText); buildCandles(); @@ -493,6 +498,7 @@ Read the trades from Charly's Output and pack them into daily files with candles const logText = "[INFO] 'findLastCandleCloseValue' - No trades found at " + filePath + " for market " + market.assetA + '_' + market.assetB + " ."; logger.write(logText); + console.log(logText); loopStart(); diff --git a/One-Min-Daily-Candles/run.js b/One-Min-Daily-Candles/run.js index b0e3ca445..01dfd2c6d 100644 --- a/One-Min-Daily-Candles/run.js +++ b/One-Min-Daily-Candles/run.js @@ -77,7 +77,7 @@ try { const newPloniexHoleFixing = ONE_MIN_DAILY_CANDLES_MODULE.newPloniexHoleFixing(bot); let month = 6; - let year = 2016; + let year = 2015; newPloniexHoleFixing.initialize(year, month, onInitializeReady);