Development of stock price prediction system using Flask framework and LSTM algorithm

Kefas Bagastio, Raymond Sunardi Oetama, Arief Ramadhan
{"title":"Development of stock price prediction system using Flask framework and LSTM algorithm","authors":"Kefas Bagastio, Raymond Sunardi Oetama, Arief Ramadhan","doi":"10.24294/jipd.v7i3.2631","DOIUrl":null,"url":null,"abstract":"Stock investment in Indonesia has been steadily growing in the past five years, offering profit potential alongside the risk of loss. Stockholders must analyze the stocks they intend to purchase. Stockholders often analyze stocks by observing patterns that occurred in the previous days to predict future prices. Therefore, a method is needed to simplify the process of analyzing the stock pattern. Although there are already several websites that have the concept of predicting stock prices, these websites do not utilize deep learning algorithms. This research aims to develop a stock price prediction website using deep learning algorithms, specifically the Long Short-Term Memory (LSTM) algorithm to help users predict stock prices. This research focuses on five banks with the highest market capitalization in Indonesia, namely Bank Central Asia, Bank Rakyat Indonesia, Bank Mandiri, Bank Negara Indonesia, and Bank Syariah Indonesia. The website utilizes Flask framework and LSTM. Flask is used to apply LSTM model to the website, while the LSTM can capture long-term dependencies in high-complexity data. The result of this research is a stock price prediction website application, where the prediction results are displayed through the website. The LSTM model for each stock has a Mean Absolute Percentage Error (MAPE) of less than 10%, which indicates that the model is “Highly accurate” based on the MAPE accuracy scale judgment.","PeriodicalId":41907,"journal":{"name":"Journal of Infrastructure Policy and Development","volume":null,"pages":null},"PeriodicalIF":1.0000,"publicationDate":"2023-10-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Infrastructure Policy and Development","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24294/jipd.v7i3.2631","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"MANAGEMENT","Score":null,"Total":0}
引用次数: 0

Abstract

Stock investment in Indonesia has been steadily growing in the past five years, offering profit potential alongside the risk of loss. Stockholders must analyze the stocks they intend to purchase. Stockholders often analyze stocks by observing patterns that occurred in the previous days to predict future prices. Therefore, a method is needed to simplify the process of analyzing the stock pattern. Although there are already several websites that have the concept of predicting stock prices, these websites do not utilize deep learning algorithms. This research aims to develop a stock price prediction website using deep learning algorithms, specifically the Long Short-Term Memory (LSTM) algorithm to help users predict stock prices. This research focuses on five banks with the highest market capitalization in Indonesia, namely Bank Central Asia, Bank Rakyat Indonesia, Bank Mandiri, Bank Negara Indonesia, and Bank Syariah Indonesia. The website utilizes Flask framework and LSTM. Flask is used to apply LSTM model to the website, while the LSTM can capture long-term dependencies in high-complexity data. The result of this research is a stock price prediction website application, where the prediction results are displayed through the website. The LSTM model for each stock has a Mean Absolute Percentage Error (MAPE) of less than 10%, which indicates that the model is “Highly accurate” based on the MAPE accuracy scale judgment.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用Flask框架和LSTM算法开发股票价格预测系统
过去五年来,印尼的股票投资一直在稳步增长,既有盈利潜力,也有亏损风险。股东必须分析他们打算购买的股票。股东通常通过观察前几天发生的模式来分析股票,预测未来的价格。因此,需要一种方法来简化分析股票模式的过程。虽然已经有几个网站有预测股票价格的概念,但这些网站并没有使用深度学习算法。本研究旨在开发一个股票价格预测网站,使用深度学习算法,特别是长短期记忆(LSTM)算法来帮助用户预测股票价格。本研究的重点是印尼市值最高的五家银行,即中亚银行、印尼人民银行、曼迪利银行、印尼国家银行和印尼伊斯兰银行。该网站使用Flask框架和LSTM。Flask用于将LSTM模型应用于网站,而LSTM可以捕获高复杂性数据中的长期依赖关系。本研究的成果是一个股票价格预测网站应用程序,通过网站显示预测结果。每只股票的LSTM模型的平均绝对百分比误差(Mean Absolute Percentage Error, MAPE)都小于10%,表明基于MAPE精度尺度判断的模型是“高度准确的”。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
1.00
自引率
14.30%
发文量
13
期刊最新文献
Forecasting China-Africa economic integration using Wavelet-ARIMA hybrid approach How are companies involved in the construction of the trans Sumatra toll road, in Indonesia? Role analysis and development policy Impact of big data analytics in project success: Mediating role of intellectual capital and knowledge sharing Development strategies for reducing infant mortality: A focus on healthcare infrastructure and policy in emerging Asian countries Organisational culture as a prerequisite for human resource management in public administration and its change in the time of COVID-19
×
引用
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