getTxns: Retrieve transactions and their attributes.

Description Usage Arguments Details Value See Also

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


blotter documentation built on April 15, 2017, 9:41 a.m.

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