[Blotter-commits] r81 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Mar 14 17:52:42 CET 2009
Author: edd
Date: 2009-03-14 17:52:42 +0100 (Sat, 14 Mar 2009)
New Revision: 81
Modified:
pkg/man/getBySymbol.Rd
Log:
document optional argument symbols (spotted by R CMD check)
Modified: pkg/man/getBySymbol.Rd
===================================================================
--- pkg/man/getBySymbol.Rd 2009-03-14 16:48:34 UTC (rev 80)
+++ pkg/man/getBySymbol.Rd 2009-03-14 16:52:42 UTC (rev 81)
@@ -5,12 +5,15 @@
Retrieves calculated attributes for each position in the portfolio from the \kbd{posPL} table. Assembles the results into a symbol-by-time table useful for graphing or calculations.
}
\usage{
-getBySymbol(Portfolio, Attribute, Date = NULL)
+getBySymbol(Portfolio, Attribute, Date = NULL, Symbols = NULL)
}
\arguments{
\item{Portfolio}{ A Portfolio object containing transactions }
\item{Attribute}{ Column name to be assembled for each symbol in the Portfolio, any of: 'Pos.Qty', 'Pos.Value', 'Txn.Value', 'Realized.PL', 'Unrealized.PL', or 'Trading.PL' }
\item{Date}{ \pkg{xts} date range to return. If no date is specified, the function returns all available dates }
+ \item{Symbols}{ If specified, this vector of names provides the
+ symbols for the functions returns results. If no symbols are
+ specified, the function returns results for all symbols in \code{portfolio}. }
}
\details{
Retrieves and formats values calculated by the function \code{\link{updatePosPL}}. The resulting xts object is formatted with the symbol as the columnname.
More information about the Blotter-commits
mailing list