Stock Price Prediction With Long Short-Term Memory Recurrent Neural Network

C. Jeenanunta, Rujira Chaysiri, L. Thong
{"title":"Stock Price Prediction With Long Short-Term Memory Recurrent Neural Network","authors":"C. Jeenanunta, Rujira Chaysiri, L. Thong","doi":"10.1109/ICESIT-ICICTES.2018.8442069","DOIUrl":null,"url":null,"abstract":"In this paper, we investigate the prediction of daily stock prices of the top five companies in the Thai SET50 index. A Recurrent Neural Network (RNN) with Long Short-Term Memory (LSTM) is applied to forecast the next daily stock price (High, Low, Open, Close). Deep Belief Network (DBN) is applied to compare the result with LSTM. The test data are CPALL, SCB, SCC, KBANK, and PTT from the SET50 index. The purpose of selecting these five stocks is to compare how the model performs in different stocks with various volatility. There are two experiments of five stocks from the SET50 index. The first experiment compared the MAPE with different length of training data. The experiment is conducted by using training data for one, three, and five-year. PTT and SCC stock give the lowest median value of MAPE error for five-year training data. KBANK, SCB, and CPALL stock give the lowest median value of MAPE error for one-year training data. In the second experiment, the number of looks back and input are varied. The result with one look back and four inputs gives the best performance for stock price prediction. By comparing different technique, the result show that LSTM give the best performance with CPALL, SCB, and KTB with less than 2% error. DBN give the best performance with PTT and SCC with less than 2% error.","PeriodicalId":57136,"journal":{"name":"单片机与嵌入式系统应用","volume":"38 1","pages":"1-7"},"PeriodicalIF":0.0000,"publicationDate":"2018-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"单片机与嵌入式系统应用","FirstCategoryId":"1093","ListUrlMain":"https://doi.org/10.1109/ICESIT-ICICTES.2018.8442069","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

Abstract

In this paper, we investigate the prediction of daily stock prices of the top five companies in the Thai SET50 index. A Recurrent Neural Network (RNN) with Long Short-Term Memory (LSTM) is applied to forecast the next daily stock price (High, Low, Open, Close). Deep Belief Network (DBN) is applied to compare the result with LSTM. The test data are CPALL, SCB, SCC, KBANK, and PTT from the SET50 index. The purpose of selecting these five stocks is to compare how the model performs in different stocks with various volatility. There are two experiments of five stocks from the SET50 index. The first experiment compared the MAPE with different length of training data. The experiment is conducted by using training data for one, three, and five-year. PTT and SCC stock give the lowest median value of MAPE error for five-year training data. KBANK, SCB, and CPALL stock give the lowest median value of MAPE error for one-year training data. In the second experiment, the number of looks back and input are varied. The result with one look back and four inputs gives the best performance for stock price prediction. By comparing different technique, the result show that LSTM give the best performance with CPALL, SCB, and KTB with less than 2% error. DBN give the best performance with PTT and SCC with less than 2% error.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于长短期记忆递归神经网络的股票价格预测
本文研究了泰国SET50指数前五名公司的日股价预测。采用具有长短期记忆(LSTM)的递归神经网络(RNN)来预测下一个交易日的股票价格(高、低、开、收盘)。采用深度信念网络(Deep Belief Network, DBN)与LSTM进行比较。测试数据为来自SET50指数的call、SCB、SCC、KBANK和PTT。选择这5只股票的目的是比较模型在不同波动率的股票中的表现。本文对SET50指数中的5只股票进行了两次实验。第一个实验比较了不同训练数据长度的MAPE。实验采用1年、3年和5年的训练数据进行。PTT和SCC股票给出了5年训练数据的最小MAPE误差中值。KBANK、SCB和CPALL股票给出的一年期训练数据的MAPE误差中值最低。在第二个实验中,回望和输入的次数是不同的。一次回顾和四个输入的结果对股票价格预测有最好的效果。通过对不同技术的比较,结果表明LSTM在CPALL、SCB和KTB下的性能最好,误差小于2%。DBN在PTT和SCC下的性能最好,误差小于2%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
7395
期刊最新文献
Serial Interfaces for Distributed Embedded Systems Interfacing Personal Computers Basic concepts Design Examples High Level Languages for Microcontrollers
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1