getPrice: get price column(s) from a timeseries

Description Usage Arguments Details

Description

Will attempt to locate price column(s) from a time series with rational defaults.

Usage

1
getPrice(x, symbol = NULL, prefer = NULL, ...)

Arguments

x

A data object with columns containing data to be extracted

symbol

text string containing the symbol to extract

prefer

preference for any particular type of price, see Details

...

any other passthrough parameters

Details

May be subset by symbol and preference. prefer Preference will be for any commonly used financial time series price description, e.g. 'trade', 'close', 'bid', 'ask' with specific tests and matching for types and column names currently supported in R, but a default grep match will be performed if one of the supported types doesn't match.


highfrequency documentation built on May 2, 2019, 6:09 p.m.