Description Usage Arguments Value Author(s)
Calculates position PL from the position data and corresponding close price data.
1 2 |
Portfolio |
a portfolio name to a portfolio structured with initPortf() |
Symbol |
an instrument identifier for a symbol included in the portfolio |
Dates |
xts subset of dates, e.g., "2007-01::2008-04-15". These dates must appear in the price stream |
Prices |
periodic prices in an xts object with a columnname compatible with |
ConMult |
if necessary, numeric contract multiplier, not needed if instrument is defined. |
Interval |
optional character string, containing one of "millisecond" (or "ms"), "microsecond" (or "us"), "second", "minute", "hour", "day", "week", "month", "quarter", or "year". This can optionally be preceded by a positive integer, or followed by "s". |
... |
any other passthru parameters |
Regular time series of position information and PL
Peter Carl, Brian Peterson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.