is.OC {candlesticks}R Documentation

Check for Open/Close High/Low Data

Description

functions to check for appropriate OC / HL column names within a data object

Usage

  is.OC(x)
  is.HL(x)

Arguments

x

data object

Details

The candlestick package uses check for OHLC data functions from the package quantmod. The functions is.OC and is.HL are not included in quantmod, therefore added into candlesticks

Value

is.OC

TRUE, if x includes columns for Open and Close

is.HL

TRUE, if x includes columns for High and Low

Author(s)

Andreas Voellenklee

See Also

has.OHLC

Examples

## Not run: 
getSymbols('YHOO')
is.OC(YHOO)
is.HL(YHOO)

## End(Not run)

[Package candlesticks version 0.2-9 Index]