Back to search

Nanyang Technological University

Predicting stock market returns using artificial intelligence

Abstract

dc:description.abstract

To obtain more capital, liquidity, and influence, many companies choose to go public, raising funds by offering shares publicly and allowing company equity to be traded on the market. For stocks with sufficient liquidity, their prices can to some extent reflect the market's overall assessment of a company's future profitability and risks. With the development of machine learning, deep learning algorithms, and artificial intelligence models, it has become possible to train and develop these systems to predict stock price movements. This study aims to investigate their accuracy in stock price prediction and determine whether the corresponding models are commercially viable. This study compares nine representative artificial intelligence and machine learning methods: Persistent, Ridge Regression, Support Vector Regression, Decision Trees, Random Forest, XGBoost, Multi-Layer Perceptrons, One-Dimensional Convolutional Neural Networks, and Long Short-Term Memory Networks. The models are trained to directly predict the simple return of the NASDAQ Composite Index for the next trading day, from which the corresponding closing level is reconstructed and compared with the actual closing value. The experiment uses 4,276 daily observations of the NASDAQ Composite Index from January 2009 to December 2025, constructing a common information set from the past 20 trading days' index levels, returns, and technical indicators. Data from 2009 to 2018 serve as the training set, hyperparameters are determined only based on an expanding-window validation from 2019 to 2021, annual expanding training and out-of-sample prediction are then performed on 1,003 locked samples from 2022 to 2025. Experimental results show that the best-performing model, which is Random Forest, achieved the lowest root mean square error for stock prices (221.03 points) and for returns (148.15 basis points), but its improvement in return RMSE relative to the persistence benchmark was only 1.66%; the block bootstrap and heteroskedasticity-and-autocorrelation-consistent tests did not demonstrate that this advantage was statistically reliable after Holm correction. The random forest’s directional accuracy was 54.74%, only slightly higher than the always-predict-up rule at 54.24%; its balanced accuracy was 50.90%, and its Matthews correlation coefficient was 0.043. Ideally, the Random Forest strategy still outperforms the simple buy-and-hold approach even after accounting for position change costs. However, in real trading, investors cannot enter using the previous day's closing price. Once positions are delayed until the next day's opening price and a five-basis-point transaction cost per position change is included, none of the active models produced positive net returns after the stated transaction costs. The results show that even with theoretically excess returns, these models struggle to deliver actionable economic value. In the single-index setting using only historical daily-frequency data, the more complex models did not produce a reliable commercial forecasting advantage. Future work will consider additional factors such as momentum, sentiment, and news, with a focus on commercial viability rather than theoretically unattainable returns.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Liu, Zichen
Advisor dc:contributor.supervisor
  • Mohammed Yakoob Siyal

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/226925

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Liu, Zichen. Predicting stock market returns using artificial intelligence. Nanyang Technological University, 2026. https://hdl.handle.net/10356/226925