Bayesian Techniques for Estimation and Forecasting in High-Frequency Trading
Our pick for 2023 Quant of the year Paul Bilokon released his code behind his University of Oxford Oxford Mathematical and Computational Finance / Oxford-Man Institute of Quantitative Finance, University of Oxford dissertation under the Apache Commons 2.0 license.
“Bayesian Methods for Solving Estimation and Forecasting Problems in the High-Frequency Trading Environment” by Paul Alexander Bilokon presents a comprehensive examination of advanced stochastic filtering and Markov chain Monte Carlo (MCMC) methods within the context of finance, particularly focusing on electronic trading. Moreover, leveraging methodologies traditionally applied in areas such as aerospace and autonomous vehicles. Furthermore, Bilokon explores the adaptation and application of these techniques to address complex financial models. This includes econometric model estimation, stochastic volatility, and the term structure of risky bonds. Delving into practical aspects like outlier filtering, parameter estimation, and diagnostics, offering a deep dive into how these methods can enhance the accuracy and efficiency of financial forecasting in high-frequency trading scenarios. Through an in-depth analysis, Bilokon demonstrates the potential of modern filtering algorithms to provide real-time prediction capabilities, crucial for maintaining a competitive edge in the fast-paced world of electronic trading.
Bilokon states that in his research:
“We examine modern stochastic filtering and Markov chain Monte Carlo (MCMC) methods and consider their applications in finance, especially electronic trading.
Stochastic filtering methods have found many applications, from Space Shuttles to self-driving cars. We review some classical and modern algorithms and show how they can be used to estimate and forecast econometric models, stochastic volatility and term structure of risky bonds. We discuss the practicalities, such as outlier filtering, parameter estimation, and diagnostics.
We focus on one particular application, stochastic volatility with leverage, and show how recent advances in filtering methods can help in this application:
kernel density estimation can be used to estimate the predicted observation, filter out outliers, detect structural change, and improve the root mean square error while preventing discontinuities due to the resampling step.
We then take a closer look at the discretisation of the continuous-time stochastic volatility models and show how an alternative discretisation, based on what we call a filtering Euler–Maruyama scheme, together with our generalisation of Gaussian assumed density filters to arbitrary (not necessarily additive) correlated process and observation noises, gives rise to a new, very fast approximate filter for stochastic volatility with leverage. Its accuracy falls short of particle filters but beats the unscented Kalman filter. Due to its speed and reliance exclusively on scalar computations this filter will be particularly useful in a high-frequency trading environment.
In the final chapter we examine the leverage effect in high-frequency trade data, using last data point interpolation, tick and wall-clock time and generalise the models to take into account the time intervals between the ticks.
We use a combination of MCMC methods and particle filtering methods. The robustness of the latter helps estimate parameters and compute Bayes factors. The speed and precision of modern filtering algorithms enables real-time filtering and prediction of the state.”



