{"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.