Applying machine learning to stock market trading
With the development of the artificial intelligence, the application of machine learning in finance field has attracted extensive attention from investors and researchers. This article combines stock selection, stock data pre-processing, neural network LSTM improved model to predict stocks. We first...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Theses and Dissertations |
Language: | English |
Published: |
2018
|
Subjects: | |
Online Access: | http://hdl.handle.net/10356/75860 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-75860 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-758602023-03-11T17:17:56Z Applying machine learning to stock market trading Hu, Dongchao Zhang Yilei School of Mechanical and Aerospace Engineering DRNTU::Engineering::Mechanical engineering With the development of the artificial intelligence, the application of machine learning in finance field has attracted extensive attention from investors and researchers. This article combines stock selection, stock data pre-processing, neural network LSTM improved model to predict stocks. We first used three companies' financial indicators (Cash flow per share/earnings per share; Return on net assets; Sales gross margins) to analyze the 3,000 stocks in Shanghai. Results showed that with the minimum clustering principle, choose a stock is more valuable to the investment. Next, we used the quantitative trading platform to collect six indicators of stock data: the opening price, the closing price, the highest price, the lowest price, volume and turnover. Then six feature data were preprocessed using wavelet denoising. We further used the modified three-layer LSTM model to predict the closing price of the transaction with denoising data. This article analyzes the influence of the scale of the training data on the prediction results and finds that the de-noise processing has a better prediction effect in the small-scale data model. Meanwhile, the prediction result is better when the learning rate is 0.004. Overall, the LSTM neural network has a better prediction result with denoise shortterm data than the original long-term data. Master of Science (Smart Product Design) 2018-06-20T09:12:40Z 2018-06-20T09:12:40Z 2018 Thesis http://hdl.handle.net/10356/75860 en 75 p. application/pdf |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
DRNTU::Engineering::Mechanical engineering |
spellingShingle |
DRNTU::Engineering::Mechanical engineering Hu, Dongchao Applying machine learning to stock market trading |
description |
With the development of the artificial intelligence, the application of machine learning in finance field has attracted extensive attention from investors and researchers. This article combines stock selection, stock data pre-processing, neural network LSTM improved model to predict stocks. We first used three companies' financial indicators (Cash flow per share/earnings per share; Return on net assets; Sales gross margins) to analyze the 3,000 stocks in Shanghai. Results showed that with the minimum clustering principle, choose a stock is more valuable to the investment. Next, we used the quantitative trading platform to collect six indicators of stock data: the opening price, the closing price, the highest price, the lowest price, volume and turnover. Then six feature data were preprocessed using wavelet denoising. We further used the modified three-layer LSTM model to predict the closing price of the transaction with denoising data. This article analyzes
the influence of the scale of the training data on the prediction results and finds that the de-noise processing has a better prediction effect in the small-scale data model. Meanwhile, the prediction result is better when the learning rate is 0.004. Overall, the LSTM neural network has a better prediction result with denoise shortterm
data than the original long-term data. |
author2 |
Zhang Yilei |
author_facet |
Zhang Yilei Hu, Dongchao |
format |
Theses and Dissertations |
author |
Hu, Dongchao |
author_sort |
Hu, Dongchao |
title |
Applying machine learning to stock market trading |
title_short |
Applying machine learning to stock market trading |
title_full |
Applying machine learning to stock market trading |
title_fullStr |
Applying machine learning to stock market trading |
title_full_unstemmed |
Applying machine learning to stock market trading |
title_sort |
applying machine learning to stock market trading |
publishDate |
2018 |
url |
http://hdl.handle.net/10356/75860 |
_version_ |
1761781824366837760 |