Yongdan Wang , Haibin Zhang , Baohan Huang , Zhijun Lin , Chuan Pang
{"title":"基于区块链的LSTM库存预测模型","authors":"Yongdan Wang , Haibin Zhang , Baohan Huang , Zhijun Lin , Chuan Pang","doi":"10.1016/j.hcc.2025.100316","DOIUrl":null,"url":null,"abstract":"<div><div>The stock market is a vital component of the financial sector. Due to the inherent uncertainty and volatility of the stock market, stock price prediction has always been both intriguing and challenging. To improve the accuracy of stock predictions, we construct a model that integrates investor sentiment with Long Short-Term Memory (LSTM) networks. By extracting sentiment data from the “Financial Post” and quantifying it with the Vader sentiment lexicon, we add a sentiment index to improve stock price forecasting. We combine sentiment factors with traditional trading indicators, making predictions more accurate. Furthermore, we deploy our system on the blockchain to enhance data security, reduce the risk of malicious attacks, and improve system robustness. This integration of sentiment analysis and blockchain offers a novel approach to stock market predictions, providing secure and reliable decision support for investors and financial institutions. We deploy our system and demonstrate that our system is both efficient and practical. For 312 bytes of stock data, we achieve a latency of 434.42 ms with one node and 565.69 ms with five nodes. For 1700 bytes of sentiment data, we achieve a latency of 1405.25 ms with one node and 1750.25 ms with five nodes.</div></div>","PeriodicalId":100605,"journal":{"name":"High-Confidence Computing","volume":"5 4","pages":"Article 100316"},"PeriodicalIF":3.0000,"publicationDate":"2025-03-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"LSTM stock prediction model based on blockchain\",\"authors\":\"Yongdan Wang , Haibin Zhang , Baohan Huang , Zhijun Lin , Chuan Pang\",\"doi\":\"10.1016/j.hcc.2025.100316\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>The stock market is a vital component of the financial sector. Due to the inherent uncertainty and volatility of the stock market, stock price prediction has always been both intriguing and challenging. To improve the accuracy of stock predictions, we construct a model that integrates investor sentiment with Long Short-Term Memory (LSTM) networks. By extracting sentiment data from the “Financial Post” and quantifying it with the Vader sentiment lexicon, we add a sentiment index to improve stock price forecasting. We combine sentiment factors with traditional trading indicators, making predictions more accurate. Furthermore, we deploy our system on the blockchain to enhance data security, reduce the risk of malicious attacks, and improve system robustness. This integration of sentiment analysis and blockchain offers a novel approach to stock market predictions, providing secure and reliable decision support for investors and financial institutions. We deploy our system and demonstrate that our system is both efficient and practical. For 312 bytes of stock data, we achieve a latency of 434.42 ms with one node and 565.69 ms with five nodes. For 1700 bytes of sentiment data, we achieve a latency of 1405.25 ms with one node and 1750.25 ms with five nodes.</div></div>\",\"PeriodicalId\":100605,\"journal\":{\"name\":\"High-Confidence Computing\",\"volume\":\"5 4\",\"pages\":\"Article 100316\"},\"PeriodicalIF\":3.0000,\"publicationDate\":\"2025-03-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"High-Confidence Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2667295225000200\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"High-Confidence Computing","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2667295225000200","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
The stock market is a vital component of the financial sector. Due to the inherent uncertainty and volatility of the stock market, stock price prediction has always been both intriguing and challenging. To improve the accuracy of stock predictions, we construct a model that integrates investor sentiment with Long Short-Term Memory (LSTM) networks. By extracting sentiment data from the “Financial Post” and quantifying it with the Vader sentiment lexicon, we add a sentiment index to improve stock price forecasting. We combine sentiment factors with traditional trading indicators, making predictions more accurate. Furthermore, we deploy our system on the blockchain to enhance data security, reduce the risk of malicious attacks, and improve system robustness. This integration of sentiment analysis and blockchain offers a novel approach to stock market predictions, providing secure and reliable decision support for investors and financial institutions. We deploy our system and demonstrate that our system is both efficient and practical. For 312 bytes of stock data, we achieve a latency of 434.42 ms with one node and 565.69 ms with five nodes. For 1700 bytes of sentiment data, we achieve a latency of 1405.25 ms with one node and 1750.25 ms with five nodes.