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