Retrieve transactions and their attributes.

Share:

Description

Find and return the transactions and attribute values for the symbol and date in a specied portfolio.

Usage

1
getTxns(Portfolio, Symbol, Dates)

Arguments

Portfolio

a string identifying a portfolio object containing transactions

Symbol

an instrument identifier for a symbol included in the portfolio

Dates

specified as an ISO 8601 date or an xts date range, such as "2007-01::2008-04-15"

Details

This function provides easy access to the values of transactions contained in a Portfolio object. See initPortf for a detailed description of the structure of a Portfolio object.

Value

xts time series of transactions made in the Symbol during the time period given

See Also

initPortf

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.