AI based stock market trending analysis
There is an abundance of factors that can affect the value of the stock, making the price movement dynamic, non-static, and usually non-stationary. Applications of machine learning and deep-learning algorithms towards stock price forecasting have been explored extensively. In general, the trend of a...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2020
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/138099 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-138099 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1380992020-05-05T09:12:02Z AI based stock market trending analysis Goon, Redmond Aldric Yonghao Li Fang School of Computer Science and Engineering Agency for Science, Technology and Research (A*STAR) Wang Zhaoxia ASFLi@ntu.edu.sg; zhxwang720101@hotmail.com Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence There is an abundance of factors that can affect the value of the stock, making the price movement dynamic, non-static, and usually non-stationary. Applications of machine learning and deep-learning algorithms towards stock price forecasting have been explored extensively. In general, the trend of a stock's price is determined by the perception (i.e. sentiments) of the public towards it. Due to the wealth of data in our digital era, there have also been attempts to use sentiment analysis on news data to improve the performance of stock price forecasting. However, the techniques employed for these attempts are usually not state-of-the-art. This project aims to implement and use Bidirectional Encoder Representation from Transformer (BERT) model- which achieved state-of-the-art results for sentiment analysis in 2018- alongside a suitable stock price forecasting model to analyse if the inclusion of news sentiments will improve the stock price forecasting performance. BERT was implemented and evaluated using accuracy, precision, recall, and f1 score against 5 other baseline models for multi-class sentiment analysis (i.e. positive, negative, neutral). BERT achieved the best evaluation results of 0.957, 0.931, 0.964, and 0.947 for accuracy, precision, recall, and f1 score respectively. For stock price forecasting, a long-short-term-memory model was chosen based on its stock price forecasting performance among 4 other baseline models. The evaluation of the final model-comprising BERT and a multivariate LSTM- shows a small improvement in evaluation results for stock price forecasting when incorporating news sentiment acquired through BERT as compared to without sentiments. Bachelor of Engineering (Computer Science) 2020-04-24T03:13:35Z 2020-04-24T03:13:35Z 2020 Final Year Project (FYP) https://hdl.handle.net/10356/138099 en SCSE19-0550 application/pdf Nanyang Technological University |
institution |
Nanyang Technological University |
building |
NTU Library |
country |
Singapore |
collection |
DR-NTU |
language |
English |
topic |
Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence |
spellingShingle |
Engineering::Computer science and engineering::Computing methodologies::Artificial intelligence Goon, Redmond Aldric Yonghao AI based stock market trending analysis |
description |
There is an abundance of factors that can affect the value of the stock, making the price movement dynamic, non-static, and usually non-stationary. Applications of machine learning and deep-learning algorithms towards stock price forecasting have been explored extensively. In general, the trend of a stock's price is determined by the perception (i.e. sentiments) of the public towards it. Due to the wealth of data in our digital era, there have also been attempts to use sentiment analysis on news data to improve the performance of stock price forecasting. However, the techniques employed for these attempts are usually not state-of-the-art. This project aims to implement and use Bidirectional Encoder Representation from Transformer (BERT) model- which achieved state-of-the-art results for sentiment analysis in 2018- alongside a suitable stock price forecasting model to analyse if the inclusion of news sentiments will improve the stock price forecasting performance. BERT was implemented and evaluated using accuracy, precision, recall, and f1 score against 5 other baseline models for multi-class sentiment analysis (i.e. positive, negative, neutral). BERT achieved the best evaluation results of 0.957, 0.931, 0.964, and 0.947 for accuracy, precision, recall, and f1 score respectively. For stock price forecasting, a long-short-term-memory model was chosen based on its stock price forecasting performance among 4 other baseline models. The evaluation of the final model-comprising BERT and a multivariate LSTM- shows a small improvement in evaluation results for stock price forecasting when incorporating news sentiment acquired through BERT as compared to without sentiments. |
author2 |
Li Fang |
author_facet |
Li Fang Goon, Redmond Aldric Yonghao |
format |
Final Year Project |
author |
Goon, Redmond Aldric Yonghao |
author_sort |
Goon, Redmond Aldric Yonghao |
title |
AI based stock market trending analysis |
title_short |
AI based stock market trending analysis |
title_full |
AI based stock market trending analysis |
title_fullStr |
AI based stock market trending analysis |
title_full_unstemmed |
AI based stock market trending analysis |
title_sort |
ai based stock market trending analysis |
publisher |
Nanyang Technological University |
publishDate |
2020 |
url |
https://hdl.handle.net/10356/138099 |
_version_ |
1681059247531491328 |