{'fraction_non_alphanumeric': 0.028444444444444446, 'fraction_numerical': 0.012444444444444444, 'mean_word_length': 4.864583333333333, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Realized Volatility Prediction

Objective: The purpose of this paper is to use machine learning and time series models in the context of high frequency trading to forecast stock prices. Method: We analyzed time series models such as ARMA and GARCH, gradient boosting tree model – which is a deep learning model – and machine learning models FFNN and GBM to compare each models’ benefits and drawbacks. To determine the accuracy of each models’ stock forecasting, we calculated the root mean square percentage error (RMSPE). The RMSPE reveals the magnitude of error in relation to the actual values; a lower value is wanted. Results & Conclusion: After evaluating the models against real market data, we found that the machine learning models outperformed the time series models. Machine learning models FFNN, and GBM have an RMSPE of roughly 0.20 and 0.21, respectively, while time series models Garch 1 and 2 had a RMSPE of 0.32 and 0.37, respectively. Therefore, feed-forward neural network and GBM forecast stock prices more accurately than LSTM and time series models. Unsupervised algorithms improve prediction accuracy.