Something
public text v1 · immutable> last(Ad(SPY)) / first(Ad(SPY))
Data:
numeric(0)
Index:
NULL
> last(Ad(SPY))
SPY.Adjusted
2011-05-03 135.73
> first(Ad(SPY))
SPY.Adjusted
2005-01-03 107.25
> class(Ad(SPY))
[1] "xts" "zoo"