AAU Student Projects - visit Aalborg University's student projects portal
A master thesis from Aalborg University

Regime-Based Nasdaq Futures Trading: LSTM vs Transformer vs Buy-and-Hold

Author(s)

Term

4. semester

Education

Publication year

2025

Submitted on

2025-06-02

Pages

62 pages

Abstract

Short-term traders and risk managers often do not have dependable tools for making decisions every minute, because traditional time-series methods can break down when liquidity and volatility change quickly. I show that trading only when clear “bull,” “bear,” or “sideway” regimes are detected captures most of the value in high-frequency trading. I labeled one-minute NASDAQ futures bars from January 2015 to Jun 2024 as “bull,” “bear,” or “sideway”, and trained two deep-learning models to predict these labels. An LSTM (Long Short-Term Memory) is a neural network that learns to remember or forget information over time - useful when both recent and slightly older price patterns matter. A Transformer is another neural network design that uses an attention mechanism to identify which past data points are most relevant for each new prediction. In out-of-sample tests on July-December 2024 data, both models spotted real regime shifts within ten minutes on average and outperformed a simple buy-and-hold strategy. However, their higher returns came with larger swings, meaning these signals carry more risk. This work provides a minute-level deep-learning framework showing that LSTM and Transformer signals can beat buy-and-hold - if you accept bigger ups and downs.

Documents


Colophon: This page is part of the AAU Student Projects portal, which is run by Aalborg University. Here, you can find and download publicly available bachelor's theses and master's projects from across the university dating from 2008 onwards. Student projects from before 2008 are available in printed form at Aalborg University Library.

If you have any questions about AAU Student Projects or the research registration, dissemination and analysis at Aalborg University, please feel free to contact the VBN team. You can also find more information in the AAU Student Projects FAQs.