diff --git a/One-Min-Daily-Candles-Volumes/Interval.js b/One-Min-Daily-Candles-Volumes/Interval.js index 5da61c15d..67341883e 100644 --- a/One-Min-Daily-Candles-Volumes/Interval.js +++ b/One-Min-Daily-Candles-Volumes/Interval.js @@ -109,7 +109,7 @@ Read the trades from Charly's Output and pack them into daily files with candles let atHeadOfMarket; // This tell us if we are at the month which includes the head of the market according to current datetime. - if ((year === thisDatetime.getUTCFullYear() && parseInt(month) === thisDatetime.getUTCMonth() + 1)) { + if ((parseInt(year) === thisDatetime.getUTCFullYear() && parseInt(month) === thisDatetime.getUTCMonth() + 1)) { atHeadOfMarket = true; diff --git a/this.bot.config.json b/this.bot.config.json index 2b107b516..60c09ec97 100644 --- a/this.bot.config.json +++ b/this.bot.config.json @@ -18,7 +18,7 @@ "oneMonth": { "run": "false", "year": "2018", - "month": "1" + "month": "2" }, "noTime": { "run": "false"