Estimating quadratic variation consistently in the presence of endogenous and diurnal measurement error · Study