install.packages('highfrequency')rRVarxts object for the exchange hours onlydata.table or xts object containing quote datadata.table or xts object containing trades data´spreadPricesDBH objectsDBH objectsHARmodel objectsHARmodelHARmodel objectsmaxi times the median spread