From 32192fb043ab1334ad1364d04f7653a1c806007f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 26 Mar 2018 16:29:45 +0200 Subject: [PATCH] Bug solved +1 in month --- .vs/AAOlivia-Indicator-Bot/v15/.suo | Bin 29696 -> 29696 bytes Multi-Period-Daily/User.bot.js | 2 +- Multi-Period-Market/User.bot.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vs/AAOlivia-Indicator-Bot/v15/.suo b/.vs/AAOlivia-Indicator-Bot/v15/.suo index dfb3f4d425b59e308977cfd310637863daffad74..b64c94db146ae9308d4363e731c74af516076b67 100644 GIT binary patch delta 670 zcmZp8!PxMEae@t_z(!ksCPt;nicIpX1*)0H_%;`^^)pUlQP5RpU|{$U1Ux`m7>I?S zd^R902xTh)X>K6?H!)Cpat4b6D;JQ%Ke?C1UD6V&kj9hqBfNErc7-TY7qQt0&aTCuGMhq>iAmbS(|CIIOWq<_oOkCfLoJB>cgqaMDYD|+1oHskW?PXkKBD4s>o4hbUd~$-X{Nz_Y8k^(1ZZHZa z0PTf=Dj=hNv%Ak7X3-Rw7{iDCwLrEF5W7si7`JKjtAJ{@$*H!pH${juZ5FqC$-XJc Pj0u}DDfo@a5aR{_f7bd} delta 758 zcmZ8eL1+_E5Z(E^*(CPIBu(0e);6`Ru?K}%1ff=~CN#BdAzmzAq|zci36{NhvKJ4+ z8tTr$vnwKkg3Ujuhhn9<*WN66@m4%}5JAxD%yz$~4m{@1%$xV;&tKVvm0eh!fcVGFzze)%K07&N7{+fho4h1+Msbe(;pm(uKTOzrc%=`Qtif0Z z1zCJx)%wRH${uS(c9wDzgfr@MA`QN9AkLS^KKPB-Qr)(nz-&*{W<@>~c`ec17V{)J z&(~xq&JzlRB%w>)NG!zU2p#ofaJw*~zNMt_4_V3@_z6wf0y*#>Bgtx%GYs{sXj;Lb zXr3S%3&jb1CkrL}DBwYfHarEmDNmt$tS-6ElA0F_dH5qYlLFor&!=n3&3n)+Rj6A~ z_i@k9SN2)`2UrEq49X%H6@FXt{1ca+Fl8Mxf)J&q^(i8oXrAd!N*_J*7jJ zsyUy`?t40Ce0>+DDXzXk$GNNC)L+`LtZvS&37ovOfjj4~q8QJsix*Z+d{lXkjY<-? iFRiP|`R`_yr`5)rHB@bp^w)Kc{3hWVLF+F~cl-hB2oYWY diff --git a/Multi-Period-Daily/User.bot.js b/Multi-Period-Daily/User.bot.js index d086766ec..ee8fdc978 100644 --- a/Multi-Period-Daily/User.bot.js +++ b/Multi-Period-Daily/User.bot.js @@ -119,7 +119,7 @@ Read the candles and volumes from Bruce and produce a file for each day and for contextVariables.firstTradeFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + thisReport.lastFile.hours + ":" + thisReport.lastFile.minutes + GMT_SECONDS); - reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth(),2); + reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); if (FULL_LOG === true) { logger.write("[INFO] start -> getContextVariables -> reportKey = " + reportKey); } thisReport = dependencies.statusReports.get(reportKey).file; diff --git a/Multi-Period-Market/User.bot.js b/Multi-Period-Market/User.bot.js index 6f11306d0..3b19c6850 100644 --- a/Multi-Period-Market/User.bot.js +++ b/Multi-Period-Market/User.bot.js @@ -119,7 +119,7 @@ Read the candles and volumes from Bruce and produce a single Index File for Mark contextVariables.firstTradeFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + thisReport.lastFile.hours + ":" + thisReport.lastFile.minutes + GMT_SECONDS); - reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth(),2); + reportKey = "AAMasters" + "-" + "AABruce" + "-" + "One-Min-Daily-Candles-Volumes" + "-" + "dataSet.V1" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); if (FULL_LOG === true) { logger.write("[INFO] start -> getContextVariables -> reportKey = " + reportKey); } thisReport = dependencies.statusReports.get(reportKey).file;