[Blotter-commits] r905 - pkg/blotter/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 4 18:11:42 CET 2012


Author: bodanker
Date: 2012-01-04 18:11:41 +0100 (Wed, 04 Jan 2012)
New Revision: 905

Modified:
   pkg/blotter/R/tradeStats.R
Log:
- remove unmatched parentheses in tradeStats


Modified: pkg/blotter/R/tradeStats.R
===================================================================
--- pkg/blotter/R/tradeStats.R	2012-01-04 16:17:04 UTC (rev 904)
+++ pkg/blotter/R/tradeStats.R	2012-01-04 17:11:41 UTC (rev 905)
@@ -89,7 +89,7 @@
             
             AvgTradePL <- mean(PL.ne0)
             MedTradePL <- median(PL.ne0)
-            StdTradePL <- sd(as.numeric(as.vector((PL.ne0)))   
+            StdTradePL <- sd(as.numeric(as.vector(PL.ne0)))   
             
             NumberOfTrades <- nrow(txn)-1
             



More information about the Blotter-commits mailing list