getPosAvgCost: Retrieves the most recent average cost of the position

Description Usage Arguments Value

Description

Retrieves the most recent average cost of the position

Usage

1
.getPosAvgCost(Portfolio, Symbol, Date)

Arguments

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

Value

Numeric value of the average cost of the current position



Search within the blotter package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.