isOC: Check for Open/Close High/Low Data

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2
  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

1
2
3
4
5
6
## Not run: 
getSymbols('YHOO')
is.OC(YHOO)
is.HL(YHOO)

## End(Not run)

candlesticks documentation built on Feb. 2, 2020, 3:01 a.m.