LSTM-ARIMA as a Hybrid Approach in Algorithmic Investment Strategies

Kamil Kashif,Robert Ślepaczuk
2024-06-26
Abstract:This study focuses on building an algorithmic investment strategy employing a hybrid approach that combines LSTM and ARIMA models referred to as LSTM-ARIMA. This unique algorithm uses LSTM to produce final predictions but boosts the results of this RNN by adding the residuals obtained from ARIMA predictions among other inputs. The algorithm is tested across three equity indices (S&P 500, FTSE 100, and CAC 40) using daily frequency data from January 2000 to August 2023. The testing architecture is based on the walk-forward procedure for the hyperparameter tunning phase that uses Random Search and backtesting the algorithms. The selection of the optimal model is determined based on adequately selected performance metrics focused on risk-adjusted return measures. We considered two strategies for each algorithm: Long-Only and Long-Short to present the situation of two various groups of investors with different investment policy restrictions. For each strategy and equity index, we compute the performance metrics and visualize the equity curve to identify the best strategy with the highest modified information ratio. The findings conclude that the LSTM-ARIMA algorithm outperforms all the other algorithms across all the equity indices which confirms the strong potential behind hybrid ML-TS (machine learning - time series) models in searching for the optimal algorithmic investment strategies.
Trading and Market Microstructure
What problem does this paper attempt to address?
The main objective of this paper is to construct a hybrid algorithmic investment strategy (LSTM-ARIMA) that combines Long Short-Term Memory networks (LSTM) and Autoregressive Integrated Moving Average models (ARIMA), and to verify whether this hybrid model performs better in algorithmic trading than using these two models individually. Specifically, the paper aims to address the following issues: 1. **Robustness of algorithmic investment strategies to asset changes**: Investigate whether the performance of algorithmic investment strategies is stable across different assets. 2. **Whether LSTM-ARIMA is superior to individual models**: Verify whether the LSTM-ARIMA model has better predictive performance than standalone LSTM or ARIMA models. 3. **Robustness of algorithmic investment strategies to hyperparameter changes**: Evaluate the stability of algorithmic investment strategies under different hyperparameter settings. 4. **Which performs better, Long-Only or Long-Short strategies**: Compare the performance of Long-Only and Long-Short strategies relative to the traditional Buy & Hold strategy. The paper selects three stock indices (S&P 500, FTSE 100, and CAC 40) as research subjects and uses daily data from 2000 to 2023 for testing. The study employs the Walk-Forward Optimization method to adjust hyperparameters and evaluates the performance of different models using various performance metrics. The final results indicate that the LSTM-ARIMA model outperforms other algorithms on these three stock indices, demonstrating the potential of hybrid machine learning-time series models in finding optimal algorithmic investment strategies.