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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Oct 17 21:50:22 CEST 2013


Author: opentrades
Date: 2013-10-17 21:50:22 +0200 (Thu, 17 Oct 2013)
New Revision: 1540

Modified:
   pkg/blotter/R/perTradeStats.R
Log:
- changed getPortfolio() call to .getPortfolio()



Modified: pkg/blotter/R/perTradeStats.R
===================================================================
--- pkg/blotter/R/perTradeStats.R	2013-10-17 19:21:57 UTC (rev 1539)
+++ pkg/blotter/R/perTradeStats.R	2013-10-17 19:50:22 UTC (rev 1540)
@@ -44,7 +44,7 @@
 #' and \code{\link{tradeStats}} for a summary view of the performance
 #' @export
 perTradeStats <- function(Portfolio, Symbol, includeOpenTrade=TRUE, ...) {
-    portf <- getPortfolio(Portfolio)
+    portf <- .getPortfolio(Portfolio)
     
     if(missing(Symbol)) Symbol <- ls(portf$symbols)[[1]]
     



More information about the Blotter-commits mailing list