.getPosAvgCost | R Documentation |
Retrieves the most recent average cost of the position
.getPosAvgCost(Portfolio, Symbol, Date)
Portfolio |
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 |
Numeric value of the average cost of the current position
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.