To read this content please select one of the options below:

Forecasting the momentum using customised loss function for financial series

N. Prabakaran (Vellore Institute of Technology, Vellore, India)
Rajasekaran Palaniappan (PSNA CET, Dindigul, India)
R. Kannadasan (Vellore Institute of Technology, Vellore, India)
Satya Vinay Dudi (Vellore Institute of Technology, Vellore, India)
V. Sasidhar (Vellore Institute of Technology, Vellore, India)

International Journal of Intelligent Computing and Cybernetics

ISSN: 1756-378X

Article publication date: 24 August 2021

Issue publication date: 4 October 2021

137

Abstract

Purpose

We propose a Machine Learning (ML) approach that will be trained from the available financial data and is able to gain the trends over the data and then uses the acquired knowledge for a more accurate forecasting of financial series. This work will provide a more precise results when weighed up to aged financial series forecasting algorithms. The LSTM Classic will be used to forecast the momentum of the Financial Series Index and also applied to its commodities. The network will be trained and evaluated for accuracy with various sizes of data sets, i.e. weekly historical data of MCX, GOLD, COPPER and the results will be calculated.

Design/methodology/approach

Desirable LSTM model for script price forecasting from the perspective of minimizing MSE. The approach which we have followed is shown below. (1) Acquire the Dataset. (2) Define your training and testing columns in the dataset. (3) Transform the input value using scalar. (4) Define the custom loss function. (5) Build and Compile the model. (6) Visualise the improvements in results.

Findings

Financial series is one of the very aged techniques where a commerce person would commerce financial scripts, make business and earn some wealth from these companies that vend a part of their business on trading manifesto. Forecasting financial script prices is complex tasks that consider extensive human–computer interaction. Due to the correlated nature of financial series prices, conventional batch processing methods like an artificial neural network, convolutional neural network, cannot be utilised efficiently for financial market analysis. We propose an online learning algorithm that utilises an upgraded of recurrent neural networks called long short-term memory Classic (LSTM). The LSTM Classic is quite different from normal LSTM as it has customised loss function in it. This LSTM Classic avoids long-term dependence on its metrics issues because of its unique internal storage unit structure, and it helps forecast financial time series. Financial Series Index is the combination of various commodities (time series). This makes Financial Index more reliable than the financial time series as it does not show a drastic change in its value even some of its commodities are affected. This work will provide a more precise results when weighed up to aged financial series forecasting algorithms.

Originality/value

We had built the customised loss function model by using LSTM scheme and have experimented on MCX index and as well as on its commodities and improvements in results are calculated for every epoch that we run for the whole rows present in the dataset. For every epoch we can visualise the improvements in loss. One more improvement that can be done to our model that the relationship between price difference and directional loss is specific to other financial scripts. Deep evaluations can be done to identify the best combination of these for a particular stock to obtain better results.

Keywords

Citation

Prabakaran, N., Palaniappan, R., Kannadasan, R., Dudi, S.V. and Sasidhar, V. (2021), "Forecasting the momentum using customised loss function for financial series", International Journal of Intelligent Computing and Cybernetics, Vol. 14 No. 4, pp. 702-713. https://doi.org/10.1108/IJICC-05-2021-0098

Publisher

:

Emerald Publishing Limited

Copyright © 2021, Emerald Publishing Limited

Related articles