Closed theblazehen closed 11 years ago
Does aidoATP not do this already?
AFAIK you need to tail -f the log file to see it On Apr 28, 2013 10:34 PM, "Aido" notifications@github.com wrote:
Does aidoATP not do this already?
— Reply to this email directly or view it on GitHubhttps://github.com/aido/AidoATP/issues/3#issuecomment-17142088 .
Hi theblazehen,
Here's the code that prints profit/loss:
log.info("Equivalent BTC Start Balance: "+equivBTCStartBal.withScale(8,RoundingMode.HALF_EVEN).toString()+" Equivalent BTC Current Balance: "+equivBTCEndBal.withScale(8,RoundingMode.HALF_EVEN).toString()); log.info("BTC Profit/Loss: "+profitBTC.withScale(8,RoundingMode.HALF_EVEN).toString()+" Percentage Profit/Loss: "+profitToDisplay);
log.info means it prints to both screen and log file. log.debug would mean just the log file.
Show amount of profit you would have made eg. subtract value of all currencies from total value of currencies that you have now.