From 4f1ff6be688cdb9f25ea49695575e343d6d8df48 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 10 Apr 2018 10:26:06 +0200 Subject: [PATCH] MaxCandleFile BUG corrected --- .vs/AAOlivia-Indicator-Bot/v15/.suo | Bin 32768 -> 28160 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 69d181b2ca5b1bd095f6ac8386a23e7a8a488e41..dd2c232afc6bb4e8a86045b870177056a994aa81 100644 GIT binary patch delta 2021 zcmbtUZ%kWN6z^?IDewvpTA)(?wd&Vn-jBJBe<0jJ;H;Tw3 z#%#$D)jUmU&3m>KNaw(8MK3!g9KzGaPg zC$>YaLwv8#qsd54nIic!1T7+3f$EqY7pdxh}0?( zCWH||yarsWl|7w_>hS!K!fV3ShG<668(I-|L{YL(P{VK{uS4OxG@1rkpbHrfBPak5 zuG{FHsZpM}ix0N4wBcy=N@VI1y>>H7JjiQV99GNQSUcG$Bhz}?+1pTEjmnC9%(KQ( z!mBSjH`*x$X63?CBG9Sqw-g2SyStI$MfebYL=R#sB7oSAAa6TxeFV{mQ1d*X-0j4* zw`eRc2f8l#E3dNDs3*-OSPUk)5hK-z>`)omIIPx1xGH2(hitINVA2%fDD%W3BI$IK zo(d@wdH#p-VUvcQL`|gXC>|&^59Wc|M5Z*q49mVbxMJ`@qBhD=j@Xey{l^dt&v zEz{bRQA)NBGb2T)IxpLT2d#9c5p*!t#KU_wtMOH2O_0)Mo0X?moW#Q^#1umM$##L= zQ?%=D(HRtzDHNQO1?wZF`9dRuN7$o=IE6 zTCP|V`@tvR(XKiOKK4asSetf) z?^iV%VI`9LRE=`2## zFP=zyLd8_5{||bboC@fR?P3gs{+s;4^ zq!$Fp9r#+O(}Zb-%;6jN%q95a-iFgf75V$VvJZa-*AC2r_i2l?c+ABz0c{h*CZ#b@ z=?re@ryE|BMF(T?OeX_h%mHu4_Crhj2t3~5El%vqNBV6~U8SU!(nolppDKm8Iqh=6 z%77IFmjL2Uk2AQ(?+@8lAo2KcHrssfHoQg&oMrT)4s`kjEnIh(m~-2ooX(L3;7X6A+1rbVZhnoNQ@{T**?_NuJGd zHrYV3BHW|!XpIsn7ASKw#>L7~C_3-AE=fDOA{QHftt$EME_)6&VxGlE6c=97Aah3AbUE+o`vjzNpBjYE7A&45{`ExtQuJqj?7X4zE|NksP-!J>QurJ^bnC_5D^`zz;lZm^#l+X|ka~1&LAyx~O=`7ZLFG*@EhV{yEL@_dqS|6-peM;I zP(e|RE8=W;l;qP>Rj7L4Pxc8|!E*Odg`xc@m=3Ju-DVVdfzH$;h(K&yFn7_T%k>kd@JfZ>gj;l(`pfP9Y&5eUwEyYs>b4(x; z+H6hKX6wmQ?QK0>{+ImSukLr0I|5Pmf7q168OnyCw0KqxqSn2wgIFz47u+;C@XkxGMkN6*~_m>_X{C1}qGAa;wO zugZj*g-J$7R@v&OiH}PpFkOy%aKj0;me--xauU%jrMNe#ne;^=49_G-h}ME_^%|JA zMat5p46i|cU22%BE@oVycTY7F=)>~=rm$PCLh$GM1WGvd>p`{xOIi4G`Sk-ZaOf}g z8nl;8(i_49XCuSwH^o3%>5OFRU8@WagSm1i=7n6sM_DT^h^qLORadU8` zY9!R%*4fnusU8Q6R^5U-?#^)s548=+V5!W(_9^!yROdQf8}vhToE!D0C2ux5>ylBrEN29810yX+jWKOf!HP}5Nry<58XBlQUZKd9|`wba^aWaG4OTU VpSja)>~B*|BHP0Fji;*M{{U3HhZ_I@ diff --git a/Multi-Period-Daily/User.bot.js b/Multi-Period-Daily/User.bot.js index dee57e24a..e98c68fc6 100644 --- a/Multi-Period-Daily/User.bot.js +++ b/Multi-Period-Daily/User.bot.js @@ -156,7 +156,7 @@ Read the candles and volumes from Bruce and produce a file for each day and for return; } - contextVariables.maxCandleFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + thisReport.lastFile.hours + ":" + thisReport.lastFile.minutes + GMT_SECONDS); + contextVariables.maxCandleFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + "00:00" + GMT_SECONDS); reportKey = "AAMasters" + "-" + "AAOlivia" + "-" + "Multi-Period-Daily" + "-" + "dataSet.V1"; if (FULL_LOG === true) { logger.write("[INFO] start -> getContextVariables -> reportKey = " + reportKey); } diff --git a/Multi-Period-Market/User.bot.js b/Multi-Period-Market/User.bot.js index d7bed44c3..197bc3b44 100644 --- a/Multi-Period-Market/User.bot.js +++ b/Multi-Period-Market/User.bot.js @@ -156,7 +156,7 @@ Read the candles and volumes from Bruce and produce a single Index File for Mark return; } - contextVariables.maxCandleFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + thisReport.lastFile.hours + ":" + thisReport.lastFile.minutes + GMT_SECONDS); + contextVariables.maxCandleFile = new Date(thisReport.lastFile.year + "-" + thisReport.lastFile.month + "-" + thisReport.lastFile.days + " " + "00:00" + GMT_SECONDS); reportKey = "AAMasters" + "-" + "AAOlivia" + "-" + "Multi-Period-Market" + "-" + "dataSet.V1"; if (FULL_LOG === true) { logger.write("[INFO] start -> getContextVariables -> reportKey = " + reportKey); }