Please use this identifier to cite or link to this item:
https://hdl.handle.net/10356/176943
Title: | Prediction of stock price direction with machine learning models | Authors: | Kant Kaw Khin | Keywords: | Computer and Information Science | Issue Date: | 2024 | Publisher: | Nanyang Technological University | Source: | Kant Kaw Khin (2024). Prediction of stock price direction with machine learning models. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/176943 | Abstract: | Machine Learning (ML) algorithms drew a great deal of attention in the recent years as promising models in time-series predictions, allowing investors to leverage on these computational abilities to perform stock analysis more efficiently. Stock analysis can be done through Technical Analysis (TA), Fundamental Analysis (FA) and Sentiment Analysis (SA). This project investigates and compares how well ML models can predict the price direction of prominent stocks listed on the SGX based on (1) TA, (2) SA, and (3) a combination of both TA and SA. The ML models used in this paper are Random Forest (RF) Classification, XGBoost Classification, Long Short-Term Memory (LSTM) Classification and LSTM Regression model. The classification models are used to predict price stock direction, while the regression model is used to predict closing prices. RF and XGBoost mostly supported the project’s objective that a model based on TA + SA will perform better than models based on TA and SA individually when predicting stock price direction. Using the stock of Singapore Telecommunications Limited (Z74.SI) as a reference, RF and XGBoost produced accuracy rates of 82% and 78.4% for TA + SA analysis respectively, which is higher than that of models conducting TA and SA individually. However, LSTM Classification model did not perform satisfactorily, with accuracy rate in TA + SA (52.3%) falling behind that of TA only (60.1%). LSTM Regression model was also used to predict closing prices, and its performances was evaluated against a well-known time-series prediction ARIMA model. The results were satisfactory with the LSTM Regression model outperforming for TA + SA as compared to TA and SA individually. | URI: | https://hdl.handle.net/10356/176943 | Schools: | School of Electrical and Electronic Engineering | Fulltext Permission: | restricted | Fulltext Availability: | With Fulltext |
Appears in Collections: | EEE Student Reports (FYP/IA/PA/PI) |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
Final Report_Kant Kaw Khin.pdf Restricted Access | 5.75 MB | Adobe PDF | View/Open |
Page view(s)
151
Updated on Mar 14, 2025
Download(s) 50
55
Updated on Mar 14, 2025
Google ScholarTM
Check
Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.