Abstract
We investigate the computational issues related to the memory size in the estimation of quadratic covariation, taking into account the specifics of financial ultra-high-frequency data. In multivariate price processes, we consider both contamination by the market microstructure noise and the non-synchronicity of the observations. We formulate a multi-scale, flat-top realized kernel, non-flat-top realized kernel, pre-averaging and modulated realized covariance estimators in quadratic form and fix their bandwidth parameter at a constant value. This allows us to operate with limited memory and formulate this estimation as a streaming algorithm. We compare the performance of the estimators with fixed bandwidth parameter in a simulation study. We find that the estimators ensuring positive semidefiniteness require much higher bandwidth than the estimators without this constraint.
Similar content being viewed by others
Availability of Data and Material
The aggregated data that support the findings of this study are available upon request from the authors.
Code Availability
The code is available upon request from the authors.
References
Aït-Sahalia, Y., Fan, J., & Xiu, D. (2010). High-frequency covariance estimates with noisy and asynchronous financial data. Journal of the American Statistical Association, 105(492), 1504–1517. https://doi.org/10.1198/jasa.2010.tm10163.
Aït-Sahalia, Y., Mykland, P. A., & Zhang, L. (2005). How often to sample a continuous-time process in the presence of market microstructure noise. The Review of Financial Studies, 18(2), 351–416. https://doi.org/10.1093/rfs/hhi016.
Aït-Sahalia, Y., Mykland, P. A., & Zhang, L. (2011). Ultra high frequency volatility estimation with dependent microstructure noise. Journal of Econometrics, 160(1), 160–175. https://doi.org/10.1016/j.jeconom.2010.03.028.
Aknouche, A., & Guerbyenne, H. (2006). Recursive estimation of GARCH models. Communications in Statistics—Simulation and Computation, 35(4), 925–938. https://doi.org/10.1080/03610910600880328.
Andersen, T. G., Bollerslev, T., Diebold, F. X., & Labys, P. (2001). The distribution of realized exchange rate volatility. Journal of the American Statistical Association, 96(453), 42–55. https://doi.org/10.1198/016214501750332965.
Andersen, T. G., Bollerslev, T., & Meddahi, N. (2011). Realized volatility forecasting and market microstructure noise. Journal of Econometrics, 160(1), 220–234. https://doi.org/10.1016/j.jeconom.2010.03.032.
Arce, P., Antognini, J., Kristjanpoller, W., & Salinas, L. (2019). Fast and adaptive cointegration based model for forecasting high frequency financial time series. Computational Economics, 54(1), 99–112. https://doi.org/10.1007/s10614-017-9691-7.
Bandi, F. M., & Russell, J. R. (2008). Microstructure noise, realized variance, and optimal sampling. Review of Economic Studies, 75(2), 339–369. https://doi.org/10.1111/j.1467-937X.2008.00474.x.
Bandi, F. M., Russell, J. R., & Yang, C. (2008). Realized volatility forecasting and option pricing. Journal of Econometrics, 147(1), 34–46. https://doi.org/10.1016/j.jeconom.2008.09.002.
Barndorff-Nielsen, O. E., Hansen, P. R., Lunde, A., & Shephard, N. (2008). Designing realized kernels to measure the ex post variation of equity prices in the presence of noise. Econometrica, 76(6), 1481–1536. https://doi.org/10.3982/ecta6495.
Barndorff-Nielsen, O. E., Hansen, P. R., Lunde, A., & Shephard, N. (2009). Realized Kernels in practice: Trades and quotes. Econometrics Journal, 12(3), 1–32. https://doi.org/10.1111/j.1368-423X.2008.00275.x.
Barndorff-Nielsen, O. E., Hansen, P. R., Lunde, A., & Shephard, N. (2011). Multivariate realised kernels: Consistent positive semi-definite estimators of the covariation of equity prices with noise and non-synchronous trading. Journal of Econometrics, 162(2), 149–169. https://doi.org/10.1016/j.jeconom.2010.07.009.
Barndorff-Nielsen, O. E., & Shephard, N. (2002). Econometric analysis of realized volatility and its use in estimating stochastic volatility models. Journal of the Royal Statistical Society: Series B (Methodological), 64(2), 253–280. https://doi.org/10.1111/1467-9868.00336.
Bee, M., Dupuis, D. J., & Trapin, L. (2016). Realizing the extremes: Estimation of tail-risk measures from a high-frequency perspective. Journal of Empirical Finance, 36, 86–99. https://doi.org/10.1016/j.jempfin.2016.01.006.
Bibinger, M. (2011). Efficient covariance estimation for asynchronous noisy high-frequency data. Scandinavian Journal of Statistics, 38(1), 23–45. https://doi.org/10.1111/j.1467-9469.2010.00712.x.
Bodenham, D. A., & Adams, N. M. (2017). Continuous monitoring for changepoints in data streams using adaptive estimation. Statistics and Computing, 27(5), 1257–1270. https://doi.org/10.1007/s11222-016-9684-8.
Brownlees, C. T., & Gallo, G. M. (2010). Comparison of volatility measures: A risk management perspective. Journal of Financial Econometrics, 8(1), 29–56. https://doi.org/10.1093/jjfinec/nbp009.
Černý, M. (2019). Narrow big data in a stream: Computational limitations and regression. Information Sciences, 486, 379–392. https://doi.org/10.1016/j.ins.2019.02.052.
Christensen, K., Kinnebrock, S., & Podolskij, M. (2010). Pre-averaging estimators of the ex-post covariance matrix in noisy diffusion models with non-synchronous data. Journal of Econometrics, 159(1), 116–133. https://doi.org/10.1016/j.jeconom.2010.05.001.
Christensen, H. L., Murphy, J., & Godsill, S. J. (2012). Forecasting high-frequency futures returns using online langevin dynamics. IEEE Journal on Selected Topics in Signal Processing, 6(4), 366–380. https://doi.org/10.1109/jstsp.2012.2191532.
Corsi, F., Fusari, N., & La Vecchia, D. (2013). Realizing smiles: Options pricing with realized volatility. Journal of Financial Economics, 107(2), 284–304. https://doi.org/10.1016/j.jfineco.2012.08.015.
Dahlhaus, R., & Neddermeyer, J. C. (2014). Online spot volatility-estimation and decomposition with nonlinear market microstructure noise models. Journal of Financial Econometrics, 12(1), 174–212. https://doi.org/10.1093/jjfinec/nbt008.
Engle, R. F. (2000). The econometrics of ultra-high-frequency data. Econometrica, 68(1), 1–22. https://doi.org/10.1111/1468-0262.00091.
Gatheral, J., & Oomen, R. C. A. (2010). Zero-intelligence realized variance estimation. Finance and Stochastics, 14(2), 249–283. https://doi.org/10.1007/s00780-009-0120-1.
Hansen, P. R., & Lunde, A. (2006). Realized variance and market microstructure noise. Journal of Business & Economic Statistics, 24(2), 127–161. https://doi.org/10.1198/073500106000000071.
Harris, F. H. B., McInish, T. H., Shoesmith, G. L., & Wood, R. A. (1995). Cointegration, error correction, and price discovery on informationally linked security markets. Journal of Financial and Quantitative Analysis, 30(4), 563–579. https://doi.org/10.2307/2331277.
Hautsch, N., Kyj, L. M., & Malec, P. (2015). Do high-frequency data improve high-dimensional portfolio allocations? Journal of Applied Econometrics, 30(2), 263–290. https://doi.org/10.1002/jae.2361.
Hautsch, N., & Podolskij, M. (2013). Preaveraging-based estimation of quadratic variation in the presence of noise and jumps: Theory, implementation, and empirical evidence. Journal of Business & Economic Statistics, 31(2), 165–183. https://doi.org/10.1080/07350015.2012.754313.
Hayashi, T., & Yoshida, N. (2005). On covariance estimation of non-synchronously observed diffusion processes. Bernoulli, 11(2), 359–379. https://doi.org/10.3150/bj/1116340299.
Hendrych, R., & Cipra, T. (2019). Recursive estimation of the exponentially weighted moving average model. Journal of Risk, 21(6), 43–67. https://doi.org/10.21314/jor.2019.413
Holý, V., & Tomanová, P. (2019). Estimation of Ornstein-Uhlenbeck process using ultra-high-frequency data with application to intraday Pairs Trading Strategy, 1811.09312
Jacod, J., Li, Y., Mykland, P. A., Podolskij, M., & Vetter, M. (2009). Microstructure noise in the continuous case: The pre-averaging approach. Stochastic Processes and Their Applications, 119(7), 2249–2276. https://doi.org/10.1016/j.spa.2008.11.004.
Jacod, J., & Mykland, P. A. (2015). Microstructure noise in the continuous case: Approximate efficiency of the adaptive pre-averaging method. Stochastic Processes and Their Applications, 125(8), 2910–2936. https://doi.org/10.1016/j.spa.2015.02.005.
Kontorovich, L. (2012). Statistical estimation with bounded memory. Statistics and Computing, 22(5), 1155–1164. https://doi.org/10.1007/s11222-011-9293-5.
Liu, Q. (2009). On portfolio optimization: How and when do we benefit from high-frequency data? Journal of Applied Econometrics, 24(4), 560–582. https://doi.org/10.2307/40206292.
Liu, L. Y., Patton, A. J., & Sheppard, K. (2015). Does anything beat 5-minute RV? A comparison of realized measures across multiple asset classes. Journal of Econometrics, 187(1), 293–311. https://doi.org/10.1016/j.jeconom.2015.02.008.
Loveless, J., Stoikov, S., & Waeber, R. (2013). Online algorithms in high-frequency trading. Communications of the ACM, 56(10), 50–56. https://doi.org/10.1145/2507771.2507780.
Lunde, A., Shephard, N., & Sheppard, K. (2016). Econometric analysis of vast covariance matrices using composite realized kernels and their application to portfolio choice. Journal of Business & Economic Statistics, 34(4), 504–518. https://doi.org/10.1080/07350015.2015.1064432.
Martens, M. P. (2004). Estimating unbiased and precise realized covariances. https://ssrn.com/abstract=556118.
Nolte, I., & Voev, V. (2008). Estimating high-frequency based (co-) variances: A unified approach. https://ssrn.com/abstract=1003201
Nolte, I., & Voev, V. (2012). Least squares inference on integrated volatility and the relationship between efficient prices and noise. Journal of Business & Economic Statistics, 30(1), 94–108. https://doi.org/10.1080/10473289.2011.637876.
Ouakasse, A., & Mélard, G. (2014). On-line estimation of ARMA models using fisher-scoring. Systems Science & Control Engineering, 2(1), 406–432. https://doi.org/10.1080/21642583.2014.912572.
Palandri, A. (2006). Consistent realized covariance for asynchronous observations contaminated by market microstructure noise.
Sanfelici, S., & Uboldi, A. (2014). Assessing the quality of volatility estimators via option pricing. Studies in Nonlinear Dynamics and Econometrics, 18(2), 103–124. https://doi.org/10.1515/snde-2012-0075.
Sun, Y. (2006). Best quadratic unbiased estimators of integrated variance in the presence of market microstructure noise. https://ssrn.com/abstract=1714751
Xiu, D. (2010). Quasi-maximum likelihood estimation of volatility with high frequency data. Journal of Econometrics, 159(1), 235–250. https://doi.org/10.1016/j.jeconom.2010.07.002.
Zhang, L. (2006). Efficient estimation of stochastic volatility using noisy observations: A multi-scale approach. Bernoulli, 12(6), 1019–1043. https://doi.org/10.2307/25464852.
Zhang, L. (2011). Estimating covariation: Epps effect, microstructure noise. Journal of Econometrics, 160(1), 33–47. https://doi.org/10.1016/j.jeconom.2010.03.012.
Zhang, L., Mykland, P. A., & Aït-Sahalia, Y. (2005). A tale of two time scales: Determining integrated volatility with noisy high-frequency data. Journal of the American Statistical Association, 100(472), 1394–1411. https://doi.org/10.2307/27590680.
Žikeš, F., & Baruník, J. (2015). Semi-parametric conditional quantile models for financial returns and realized volatility. Journal of Financial Econometrics, 14(1), 185–226. https://doi.org/10.1093/jjfinec/nbu029.
Acknowledgements
We would like to thank the organizers and participants of the 23rd International Conference on Computational Statistics (Iasi, August 28–39, 2018) for fruitful discussions. Computational resources were supplied by the project "e-Infrastruktura CZ" (e-INFRA CZ ID:90140) supported by the Ministry of Education, Youth and Sports of the Czech Republic.
Funding
This research was supported by the Internal Grant Agency of the Prague University of Economics and Business under project F4/21/2018 and the Czech Science Foundation under project 19-02773S.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Holý, V., Tomanová, P. Streaming Approach to Quadratic Covariation Estimation Using Financial Ultra-High-Frequency Data. Comput Econ 62, 463–485 (2023). https://doi.org/10.1007/s10614-021-10210-w
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10614-021-10210-w