Stock forecasting using transformers, an emerging machine learning technique

The stock market, being a major form of investment, has been given increased importance and attention in recent years. Many investors, analysts have, therefore, shown forecasting the direction of the stocks with significant interest. Furthermore, Deep Learning models and Artificial intelligence have...

Full description

Bibliographic Details
Main Author: Seoh, Jun Yu
Other Authors: Ponnuthurai Nagaratnam Suganthan
Format: Final Year Project (FYP)
Language:English
Published: Nanyang Technological University 2022
Subjects:
Online Access:https://hdl.handle.net/10356/157965
_version_ 1811689861186322432
author Seoh, Jun Yu
author2 Ponnuthurai Nagaratnam Suganthan
author_facet Ponnuthurai Nagaratnam Suganthan
Seoh, Jun Yu
author_sort Seoh, Jun Yu
collection NTU
description The stock market, being a major form of investment, has been given increased importance and attention in recent years. Many investors, analysts have, therefore, shown forecasting the direction of the stocks with significant interest. Furthermore, Deep Learning models and Artificial intelligence have time and time again prove to have high accuracy in predication of stock prices. Until recently, investors and analysts have sole rely on technical indicator for technical analysis of stock data, however sentimental analysis – study of investors’ emotion and wiliness to invest, may be used to determine the movement of stock prices. This project studies the comparison of efficiency of the Transformer model to that of the Long Short Term Memory (LSTM) model in both sentimental and technical analysis of stocks, as well as to study the effects of sentimental analysis to stock price forecasting. Firstly, sentimental analysis of news headline for the companies Alphabet Inc (Google), Meta Platforms Inc (Formerly known as Facebook) and Apple Inc, all listed on the NASDAQ, is done using both LSTM and Transformer model. Secondly, sentimental scores will be concatenated together with stock historical indicators before predicting stock price movement using the 2 models. Lastly, comparison of efficiency is done by studying the varying results gotten by the various combination of the 2 model.
first_indexed 2024-10-01T05:54:49Z
format Final Year Project (FYP)
id ntu-10356/157965
institution Nanyang Technological University
language English
last_indexed 2024-10-01T05:54:49Z
publishDate 2022
publisher Nanyang Technological University
record_format dspace
spelling ntu-10356/1579652023-07-07T19:06:45Z Stock forecasting using transformers, an emerging machine learning technique Seoh, Jun Yu Ponnuthurai Nagaratnam Suganthan School of Electrical and Electronic Engineering EPNSugan@ntu.edu.sg Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence The stock market, being a major form of investment, has been given increased importance and attention in recent years. Many investors, analysts have, therefore, shown forecasting the direction of the stocks with significant interest. Furthermore, Deep Learning models and Artificial intelligence have time and time again prove to have high accuracy in predication of stock prices. Until recently, investors and analysts have sole rely on technical indicator for technical analysis of stock data, however sentimental analysis – study of investors’ emotion and wiliness to invest, may be used to determine the movement of stock prices. This project studies the comparison of efficiency of the Transformer model to that of the Long Short Term Memory (LSTM) model in both sentimental and technical analysis of stocks, as well as to study the effects of sentimental analysis to stock price forecasting. Firstly, sentimental analysis of news headline for the companies Alphabet Inc (Google), Meta Platforms Inc (Formerly known as Facebook) and Apple Inc, all listed on the NASDAQ, is done using both LSTM and Transformer model. Secondly, sentimental scores will be concatenated together with stock historical indicators before predicting stock price movement using the 2 models. Lastly, comparison of efficiency is done by studying the varying results gotten by the various combination of the 2 model. Bachelor of Engineering (Electrical and Electronic Engineering) 2022-05-24T05:46:09Z 2022-05-24T05:46:09Z 2022 Final Year Project (FYP) Seoh, J. Y. (2022). Stock forecasting using transformers, an emerging machine learning technique. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/157965 https://hdl.handle.net/10356/157965 en application/pdf Nanyang Technological University
spellingShingle Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence
Seoh, Jun Yu
Stock forecasting using transformers, an emerging machine learning technique
title Stock forecasting using transformers, an emerging machine learning technique
title_full Stock forecasting using transformers, an emerging machine learning technique
title_fullStr Stock forecasting using transformers, an emerging machine learning technique
title_full_unstemmed Stock forecasting using transformers, an emerging machine learning technique
title_short Stock forecasting using transformers, an emerging machine learning technique
title_sort stock forecasting using transformers an emerging machine learning technique
topic Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence
url https://hdl.handle.net/10356/157965
work_keys_str_mv AT seohjunyu stockforecastingusingtransformersanemergingmachinelearningtechnique