ClOp: Close to Open return

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ClOp.R

Description

Calculates returns from previous days' closes to current days' opens

Usage

1
  ClOp(x)

Arguments

x

an xts object with Close and Open columns

Value

an xts object of returns

Author(s)

Garrett See

See Also

OpOp, ClCl, OpCl

Examples

1
2
3
4
5
## Not run: 
getSymbols("SPY")
ClOp(SPY)

## End(Not run)

qmao documentation built on May 2, 2019, 4:54 p.m.