Delta of tomorrow: Economic variables affecting LSTM neural network model’s accuracy and returns in stock price prediction

dc.contributorAalto Universityen
dc.contributorAalto-yliopistofi
dc.contributor.advisorPuttonen, Vesa
dc.contributor.authorSirén, Rasmus
dc.contributor.departmentRahoituksen laitosfi
dc.contributor.schoolKauppakorkeakoulufi
dc.contributor.schoolSchool of Businessen
dc.date.accessioned2024-08-25T16:09:20Z
dc.date.available2024-08-25T16:09:20Z
dc.date.issued2024
dc.description.abstractThis paper studies economic variables affecting returns and accuracy of a market-neutral stock portfolio constructed by using Long Short-Term Memory (LSTM) model, which is a specific state-of-art sequence learning technique under Recurrent Neural Networks (RNN) (Sezer et al., 2020). By using out-of-sample daily returns of SP500 constituents from December 1992 to September 2022, I study how changes in different economic variables across different economic situations affect the accuracy and returns of the LSTM model-based portfolio. Based on the study I find that: (i) Federal funds effective rate (FEDFUNDS) and the term spread (TS30) are the most significant predictors of LSTM portfolio returns and accuracies (ii) The predictive power of macroeconomic variables increase during higher market volatility resulting in higher R2 values and greater number of statistically significant variables. Despite the increased predictability, the returns tend to decrease during higher volatility seasons, indicating that the model is affected by the noise during such periods. This aligns with the efficient market hypothesis, indicating that the model rather captures noise than valuable information during high volatility periods (iii) the LSTM model’s decision-making for choosing stocks into the portfolio tends change within different economic seasons, possibly affecting the predictability of the model over time. This rationalizes the explanations why certain macroeconomic variables might be statistically significant only for limited periods of time. Building on top of established studies on the performance of different neural network techniques, this study improves our understanding of how macroeconomic variables influence the returns and accuracy of LSTM predictions in different economic conditions, and how different economic seasons shape the LSTM model outcomes and thus, its predictability.en
dc.format.extent45
dc.identifier.urihttps://aaltodoc.aalto.fi/handle/123456789/130074
dc.identifier.urnURN:NBN:fi:aalto-202408255635
dc.language.isoenen
dc.locationP1 Ifi
dc.programmeFinanceen
dc.subject.keywordartificial intelligenceen
dc.subject.keywordneural networken
dc.subject.keyworddeep learningen
dc.subject.keywordmachine learningen
dc.subject.keywordLSTMen
dc.subject.keywordstock return predictabilityen
dc.subject.keywordeconomic indicatorsen
dc.subject.keywordeconomic regimesen
dc.titleDelta of tomorrow: Economic variables affecting LSTM neural network model’s accuracy and returns in stock price predictionen
dc.typeG2 Pro gradu, diplomityöfi
dc.type.ontasotMaster's thesisen
dc.type.ontasotMaisterin opinnäytefi
local.aalto.electroniconlyyes
local.aalto.openaccessno

Files