getByPortf: get attributes from each portfolio in an account

Description Usage Arguments Details Value

Description

Retrieves calculated attributes for each portfolio in the account from the portfolio summary table. Assembles into a portfolio-by-time table, normalized to the Account currency

Usage

1
.getByPortf(Account, Attribute, Dates = NULL)

Arguments

Account

an Account object containing Portfolio summaries

Attribute

column name to be assembled for each symbol

Dates

dates to return the calculation over formatted as xts range

Details

Attribute: typically any of: 'Long.Value', 'Short.Value', 'Net.Value', 'Gross.Value', 'Txn.Fees', 'Realized.PL', 'Unrealized.PL', or 'Trading.PL'

Value

regular xts object of values by portfolio



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.