From eb10369ae65128faa9d3a9914bb823bcc0cdee4b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 10 Feb 2018 17:15:00 +0100 Subject: [PATCH] Debugging Finished --- .vs/AAOlivia/v15/.suo | Bin 18432 -> 26112 bytes Index-Files/Interval.js | 20 ++++++++---------- .../AAOlivia.njsproj.FileListAbsolute.txt | 3 +++ 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 obj/Debug/AAOlivia.njsproj.FileListAbsolute.txt diff --git a/.vs/AAOlivia/v15/.suo b/.vs/AAOlivia/v15/.suo index 1c704d14248a4409b1b4418d1281903558734133..eb80a98c86d946ee7260c19a7635dbc9ae5657b8 100644 GIT binary patch delta 2161 zcmeHITS!xJ82|r|+i^SYrf$y7+vd!fHJdtbdE4B@P$7ps^k9(Hw2O4nl_ErkBC_zo z_7Oo3LG~0x)Xq~7AAedoJ>A4i;| z;!`@=M1?!eT8>&^mba+S$oO+pbJRfam|=_?qh0Wse-011O0^ex9LFStWB`@fBZ90< zg)bV!w?rbL#aoBSLZ}g$2xKP@xD`%$F)}LQykMhN@FJqYyCDauYy{I_G36p{fDN8NZF6n0OH%l;NB^fESeRkDrShq!3+Vql|E@zTvYF+YRXv36(R^5 zCO|LfB%PrDo!Llf9O5cbm4SM!X3J*7_L)^pZkzxyEnn^@qr?T*(rhYL*`>@_K=KeW zE<@1O32|c+>~{H9-Vu#=G0?OhoM|R#wEVZ(IYnyUK@O0kq??4u5E({#n1qo&O!nf_ zhd4nhiIZ%?ewk=F#I)NbU9O9&iqMU)!c`<+2BW6&XwJHtl+YyiQ(ag^*IpNJatd(g z@sh?o&QUGs%y}?vmMJM(ks(GQmS=!2|K>=69`XaF@*$L1q}GBS4qo{xD1l7B0m=ip znQgZ9;k; z2{sa}Q|#3F8X7z&d7$oE77>AGty_i7eLH7Zeew03ryfLK8MNARsT^Xy5iU$%ws2dO zhm4`~A#9R`1TcufB-MirJc8Ul9PtpTAP2Ffi@9E4YP;cz{}w#3nc-zyiLRpkSnumg z15aKA@9(Np-uMa&#d>(#hU4Y+TJB<|sWbgJMXwATbVXJyO(Et4=RHljrHGe}O?sRx za?>8CBUJ6Gak#4L>m3cX`}!R0zAVt)v$cd6)k; z{vT?*BGq^T3+@8g@yWf x42Trm{9R=RQREB*dncjKOqXQemSw>+hiMe^Q*1R;#Mt<8_^Zo6lyCG5?W}GVjC&qL9yapdRUCaLst(H zFo$*@^yncsL4@w!rN!J76nYW-H=+lH=y#GX=AZ{3e0Fx;%)IZsH_!b@?k???D06T< zC1{MN#ku76^1kx4eN09q5;@FrLp10He-k(Py_jPszM=hs2`tKypP6}m8IvaA1Iscg zg}p7)ODM(|<`dvF7za7f!=XujpcbfiP^*(C)=p$M{M7dbWHoG(va!Bw>{ykjL#fz6 zihsn<+A92~Kpez?jGVxzgCt0SG?)Q!kOmqeE_XCR%>pCB8GY!X2~ZTPxHrj=V*9)+;K(lgmxv75BMmUgAT$ z?9Gq!nr#Q=`CEctm_=3=O8&xQA!84WcNX9Bhov`sWvTGzhF-3t$?6OjguA&-bp*~( zFK~=cf4%FOmVX|($%+i;#$A0=jSdB1C;7Rbg?za%Dm$r`pGA5ZIAvpm3xPAEiLd~k zRpn~bX2)9BNj|oGhHxi$twHPjPjzljJ^E*5UIq1Q2|1%{&{pTQ2 maxCandleFile.valueOf()) { - const logText = "[INFO] 'buildCandles' - Head of the market found at " + filePath + " for market " + market.assetA + '_' + market.assetB + ". "; + const logText = "[INFO] 'buildCandles' - Head of the market found @ " + lastCandleFile.getUTCFullYear() + "/" + (lastCandleFile.getUTCMonth() + 1) + "/" + lastCandleFile.getUTCDate() + "."; logger.write(logText); closeAndOpenMarket(); @@ -630,10 +632,9 @@ Read the candles and volumes from Bruce and produce a single Index File for each indexCandles.push(indexCandle); + nextVolumeFile(); + } - - nextVolumeFile(); - } function nextVolumeFile() { @@ -701,12 +702,9 @@ Read the candles and volumes from Bruce and produce a single Index File for each indexVolumes.push(indexVolume); + writeFiles(lastCandleFile, indexCandles, indexVolumes, advanceTime); } - - writeFiles(lastCandleFile, indexCandles, indexVolumes, advanceTime); - } - } catch (err) { @@ -841,7 +839,7 @@ Read the candles and volumes from Bruce and produce a single Index File for each try { - let reportFilePath = EXCHANGE_NAME + "/Processes/" + bot.process + "/" + year + "/" + month; + let reportFilePath = EXCHANGE_NAME + "/Processes/" + bot.process; utilities.createFolderIfNeeded(reportFilePath, oliviaAzureFileStorage, onFolderCreated); diff --git a/obj/Debug/AAOlivia.njsproj.FileListAbsolute.txt b/obj/Debug/AAOlivia.njsproj.FileListAbsolute.txt new file mode 100644 index 000000000..161df654f --- /dev/null +++ b/obj/Debug/AAOlivia.njsproj.FileListAbsolute.txt @@ -0,0 +1,3 @@ +c:\users\luis\source\repos\AAOlivia\obj\Debug\AAOlivia.njsprojResolveAssemblyReference.cache +c:\users\luis\source\repos\AAOlivia\obj\Debug\AAOlivia.njsproj.CoreCompileInputs.cache +c:\users\luis\source\repos\AAOlivia\bin\Microsoft.NodejsTools.WebRole.dll