Shah Atharva, Gor Maharshi, Sagar Meet, Shah Manan
Department of Mechanical Engineering, Nirma University, Ahmedabad, India.
Software Engineer at Quinbay Technology, Bangalore, India.
Multimed Tools Appl. 2022;81(10):14153-14171. doi: 10.1007/s11042-022-12328-x. Epub 2022 Feb 25.
Market prediction has been a key interest for professionals around the world. Numerous modern technologies have been applied in addition to statistical models over the years. Among the modern technologies, machine learning and in general artificial intelligence have been at the core of numerous market prediction models. Deep learning techniques in particular have been successful in modeling the market movements. It is seen that automatic feature extraction models and time series forecasting techniques have been investigated separately however a stacked framework with a variety of inputs is not explored in detail. In the present article, we suggest a framework based on a convolutional neural network (CNN) paired with long-short term memory (LSTM) to predict the closing price of the Nifty 50 stock market index. A CNN-LSTM framework extracts features from a rich feature set and applies time series modeling with a look-up period of 20 trading days to predict the movement of the next day. Feature sets include raw price data of target index as well as foreign indices, technical indicators, currency exchange rates, commodities price data which are all chosen by similarities and well-known trade setups across the industry. The model is able to capture the information based on these features to predict the target variable i.e. closing price with a mean absolute percentage error of 2.54% across 10 years of data. The suggested framework shows a huge improvement on return than the traditional buy and hold method.
市场预测一直是全球专业人士关注的重点。多年来,除了统计模型外,众多现代技术也被应用其中。在这些现代技术中,机器学习以及广义上的人工智能一直是众多市场预测模型的核心。特别是深度学习技术在对市场走势建模方面取得了成功。可以看到,自动特征提取模型和时间序列预测技术一直是分别进行研究的,然而,一个具有多种输入的堆叠框架尚未得到详细探索。在本文中,我们提出了一个基于卷积神经网络(CNN)与长短期记忆网络(LSTM)相结合的框架,用于预测印度国家证券交易所50指数(Nifty 50)股票市场指数的收盘价。一个CNN-LSTM框架从丰富的特征集中提取特征,并应用时间序列建模,以20个交易日为查找期来预测次日的走势。特征集包括目标指数以及外国指数的原始价格数据、技术指标、货币汇率、大宗商品价格数据,这些都是根据行业内的相似性和知名交易设置选取的。该模型能够基于这些特征捕捉信息,以预测目标变量,即收盘价,在10年的数据上平均绝对百分比误差为2.54%。所提出的框架在回报率方面比传统的买入并持有方法有了巨大提升。