[Blotter-commits] r1182 - pkg/blotter/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Sep 15 00:45:24 CEST 2012
Author: opentrades
Date: 2012-09-15 00:45:23 +0200 (Sat, 15 Sep 2012)
New Revision: 1182
Modified:
pkg/blotter/R/chart.ME.R
Log:
removed debugging prints in perTradeStats()
Modified: pkg/blotter/R/chart.ME.R
===================================================================
--- pkg/blotter/R/chart.ME.R 2012-09-14 22:37:01 UTC (rev 1181)
+++ pkg/blotter/R/chart.ME.R 2012-09-14 22:45:23 UTC (rev 1182)
@@ -131,15 +131,9 @@
if(length(trades$Start)>length(trades$End))
{
if(includeOpenTrades)
-{
-print('========== including open trade')
trades$End <- c(trades$End,last(index(posPL)))
-}
else
-{
-print('========== excluding open trade')
trades$Start <- head(trades$Start, -1)
-}
}
# calculate information about each trade
More information about the Blotter-commits
mailing list