getPos | R Documentation |
NOTE This could get much more complicated from here, particularly when it's conditional on symbol, etc.
getPos(Portfolio, Symbol, Date, Columns = c("Pos.Qty", "Pos.Avg.Cost"),
n = 1)
Portfolio |
string identifying a portfolio object containing transactions |
Symbol |
an instrument identifier for a symbol included in the portfolio |
Date |
timestamp as of which to have the most recent position |
Columns |
which columns to return from the |
n |
number of periods to return, default 1 |
All data elements related to position in a row of an xts object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.