# NOT RUN {
# Realized Bipower Variance/Covariance for a price series aligned
# at 5 minutes.
# Univariate:
rbpv <- rBPCov(rdata = sample_tdata$PRICE, align.by ="minutes",
align.period = 5, makeReturns = TRUE)
rbpv
# Multivariate:
rbpc <- rBPCov(rdata = sample_5minprices_jumps['2010-01-04'], makeReturns = TRUE, makePsd = TRUE)
rbpc
# }
Run the code above in your browser using DataLab