[Blotter-commits] r596 - pkg/blotter/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Apr 11 16:31:18 CEST 2011
Author: braverock
Date: 2011-04-11 16:31:18 +0200 (Mon, 11 Apr 2011)
New Revision: 596
Modified:
pkg/blotter/R/tradeStats.R
Log:
- total days for an individual product only
Modified: pkg/blotter/R/tradeStats.R
===================================================================
--- pkg/blotter/R/tradeStats.R 2011-04-10 11:46:22 UTC (rev 595)
+++ pkg/blotter/R/tradeStats.R 2011-04-11 14:31:18 UTC (rev 596)
@@ -327,7 +327,7 @@
tmpret <- data.frame(
Total.Net.Profit=TotalNetProfit,
- Total.Days=length(x),
+ Total.Days=WinDays+LossDays,
Winning.Days=WinDays,
Losing.Days=LossDays,
Avg.Day.PL=AvgDayPL,
More information about the Blotter-commits
mailing list