getTxns: Retrieve transactions and their attributes.

Description Usage Arguments Details Value See Also

View source: R/getTxn.R

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


cloudcell/blotter documentation built on May 13, 2019, 8:01 p.m.