data.frame
containing the results of the
tests.
allpairs.egcm(tickers, startdate = as.numeric(format(Sys.Date() - 365, "%Y%m%d")), enddate = as.numeric(format(Sys.Date(), "%Y%m%d")), ...)
data.frame
containing
the price series to be checked, one series per column.YYYYMMDD
. Defaults to one year ago.YYYYMMDD
. Defaults to today.egcm
data.frame
containing the following columns:TRUE
if the pair is cointegrated at the 5% confidence levelegcm
## Not run:
# # Check if any of the oil majors are cointegrated:
# allpairs.egcm(c("BP","CVX","RDS.A","TOT","XOM"))
# ## End(Not run)
Run the code above in your browser using DataLab