Intelligent Computational Methods for Financial EngineeringView this Special Issue
Research Article | Open Access
C. D. Tilakaratne, M. A. Mammadov, S. A. Morris, "Modified Neural Network Algorithms for Predicting Trading Signals of Stock Market Indices", Advances in Decision Sciences, vol. 2009, Article ID 125308, 22 pages, 2009. https://doi.org/10.1155/2009/125308
Modified Neural Network Algorithms for Predicting Trading Signals of Stock Market Indices
The aim of this paper is to present modified neural network algorithms to predict whether it is best to buy, hold, or sell shares (trading signals) of stock market indices. Most commonly used classification techniques are not successful in predicting trading signals when the distribution of the actual trading signals, among these three classes, is imbalanced. The modified network algorithms are based on the structure of feedforward neural networks and a modified Ordinary Least Squares (OLSs) error function. An adjustment relating to the contribution from the historical data used for training the networks and penalisation of incorrectly classified trading signals were accounted for, when modifying the OLS function. A global optimization algorithm was employed to train these networks. These algorithms were employed to predict the trading signals of the Australian All Ordinary Index. The algorithms with the modified error functions introduced by this study produced better predictions.
A number of previous studies have attempted to predict the price levels of stock market indices [1β4]. However, in the last few decades, there have been a growing number of studies attempting to predict the direction or the trend movements of financial market indices [5β11]. Some studies have suggested that trading strategies guided by forecasts on the direction of price change may be more effective and may lead to higher profits . Leung et al.  also found that the classification models based on the direction of stock return outperform those based on the level of stock return in terms of both predictability and profitability.
The most commonly used techniques to predict the trading signals of stock market indices are feedforward neural networks (FNNs) [9, 11, 13], probabilistic neural networks (PNNs) [7, 12], and support vector machines (SVMs) [5, 6]. FNN outputs the value of the stock market index (or a derivative), and subsequently this value is classified into classes (or direction). Unlike FNN, PNN and SVM directly output the corresponding class.
Almost all of the above mentioned studies considered only two classes: the upward and the downward trends of the stock market movement, which were considered as buy and sell signals [5β7, 9, 11]. It was noticed that the time series data used for these studies are approximately equally distributied among these two classes.
In practice, the traders do not participate in trading (either buy or sell shares) if there is no substantial change in the price level. Instead of buying/selling, they will hold the money/shares in hand. In such a case it is important to consider the additional class which represents a hold signal. For instance, the following criterion can be applied to define three trading signals, buy, hold, and sell.
Criterion A. where is the relative return of the Close price of day of the stock market index of interest, while and are thresholds.
The values of and depend on the traders' choice. There is no standard criterion found in the literature how to decide the values of and , and these values may vary from one stock index to another. A trader may decide the values for these thresholds according to his/her knowledge and experience.
The proper selection of the values for and could be done by performing a sensitivity analysis. The Australian All Ordinary Index (AORD) was selected as the target stock market index for this study. We experimented different pairs of values for and . For different windows, different pairs gave better predictions. These values also varied according to the prediction algorithm used. However, for the definition of trading signals, these values needed to be fixed.
By examining the data distribution (during the study period, the minimum, maximum, and average for the relative returns of the Close price of the AORD are , 0.0573, and 0.0003, resp.), we chose for this study, assuming that 0.5% increase (or decrease) in Close price of day compared to that of day is reasonable enough to consider the corresponding movement as a buy (or sell) signal. It is unlikely that a change in the values of and would make a qualitative change in the prediction results obtained.
According to Criterion A with , one cannot expect a balanced distribution of data among the three classes (trading signals) because more data falls into the hold class while less data falls into the other two classes.
Due to the imbalance of data, the most classification techniques such as SVM and PNN produce less precise results [15β17]. FNN can be identified as a suitable alternative technique for classification when the data to be studied has an imbalanced distribution. However, a standard FNN itself shows some disadvantages: (a) use of local optimization methods which do not guarantee a deep local optimal solution; (b) because of (a), FNN needs to be trained many times with different initial weights and biases (multiple training results in more than one solution and having many solutions for network parameters prevent getting a clear picture about the influence of input variables); (c) use of the ordinary least squares (OLS; see (2.1) as an error function to be minimised may not be suitable for classification problems.
To overcome the problem of being stuck in a local minimum, finding a global solution to the error minimisation function is required. Several past studies attempted to find global solutions for the parameters of the FNNs, by developing new algorithms (e.g., [18β21]). Minghu et al.  proposed a hybrid algorithm of global optimization of dynamic learning rate for FNNs, and this algorithm shown to have global convergence for error backpropagation multilayer FNNs (MLFNNs). The study done by Ye and Lin  presented a new approach to supervised training of weights in MLFNNs. Their algorithm is based on a βsubenergy tunneling functionββ to reject searching in unpromising regions and a βripple-likeββ global search to avoid local minima. Jordanov  proposed an algorithm which makes use of a stochastic optimization technique based on the so-called low-discrepancy sequences to trained FNNs. Toh et al.  also proposed an iterative algorithm for global FNN learning.
This study aims at modifying neural network algorithms to predict whether it is best buy, hold, or sell the shares (trading signals) of a given stock market index. This trading system is designed for short-term traders to trade under normal conditions. It assumes stock market behaviour is normal and does not take unexceptional conditions such as bottlenecks into consideration.
When modifying algorithms, two matters were taken into account: (1) using a global optimization algorithm for network training and (2) modifying the ordinary least squares error function. By using a global optimization algorithm for network training, this study expected to find deep solutions to the error function. Also this study attempted to modify the OLS error function in a way suitable for the classification problem of interest.
Many previous studies [5β7, 9, 11] have used technical indicators of the local markets or economical variables to predict the stock market time series. The other novel idea of this study is the incorporation of the intermarket influence [22, 23] to predict the trading signals.
The organisation of the paper is as follows. Section 2 explains the modification of neural network algorithms. Section 3 describes the network training, quantification of intermarket influence, and the measures of evaluating the performance of the algorithms. Section 4 presents the results obtained from the proposed algorithms together with their interpretations. This section also compares the performance of the modified neural network algorithms with that of the standard FNN algorithm. The last section is the conclusion of the study.
2. Modified Neural Network Algorithms
In this paper, we used modified neural network algorithms for forecasting the trading signals of stock market indices. We used the standard FNN algorithm as the basis of these modified algorithms.
A standard FNN is a fully connected network with every node in the lower layer linked to every node in the next higher layer. These linkages are attached with some weights, , where is the number of all possible linkages. Given weight, , the network produces an output for each input vector. The output corresponding to the th input vector will be denoted by .
FNNs adopt the backpropagation learning that finds optimal weights by minimising an error between the network outputs and given targets . The most commonly used error function is the Ordinary Least Squares function (OLS):
where is the total number of observations in the training set, while and are the target and the output corresponding to the th observation in the training set.
2.1. Alternative Error Functions
As described in the Introduction (see Section 1), in financial applications, it is more important to predict the direction of a time series rather than its value. Therefore, the minimisation of the absolute errors between the target and the output may not produce the desired accuracy of predictions [24, 25]. Having this idea in mind, some past studies aimed to modify the error function associated with the FNNs (e.g., [24β27]). These studies incorporated factors which represent the direction of the prediction (e.g., [24β26]) and the contribution from the historical data that used as inputs (e.g., [24, 25, 27]).
The functions proposed in [24β26] penalised the incorrectly predicted directions more heavily, than the correct predictions. In other words, higher penalty was applied if the predicted value, , is negative when the target, , is positive or viceversa.
Caldwell  proposed the Weighted Directional Symmetry (WDS) function which is given as follows:
and is the total number of observations.
Yao and Tan [24, 25] argued that the weight associated with (i.e., ) should be heavily adjusted if a wrong direction is predicted for a larger change, while it should be slightly adjusted if a wrong direction is predicted for a smaller change and so on. Based on this argument, they proposed the Directional Profit adjustment factor:
where , , and is the standard deviation of the training data (including validation set). For the experiments authors used , , , and [24, 25]. By giving these weights, they tried to impose a higher penalty the predictions whose direction is wrong and the magnitude of the error is lager, than the other predictions.
Refenes et al.  proposed Discounted Least Squares (LDSs) function by taking the contribution from the historical data into accounts as follows:
where is an adjustment relating to the contribution of the th observation and is described by the following equation:
Discount rate denotes the contribution from the historical data. Refenes et al.  suggested .
Yao and Tan [24, 25] proposed another error function, Time Dependent directional Profit (TDP) model, by incorporating the approach suggested by Refenes et al.  to their Directional Profit Model (2.5):
2.2. Modified Error Functions
We are interested in classifying trading signals into three classes: buy, hold, and sell. The hold class includes both positive and negative values (see Criterion A in Section 1). Therefore, the least squares functions, in which the cases with incorrectly predicted directions (positive or negative) are penalised (e.g., the error functions given by (2.5) and (2.8), will not give the desired prediction accuracy. For example, suppose that and . In this case the predicted signal is correct, according to Criterion A. However, the algorithms used in [24, 25] try to minimise error function as (refer (2.8). In fact such a minimisation is not necessary, as the predicted signal is correct. Therefore, instead of the weighing schemes suggested by previous studies, we proposed a different scheme of weighing.
Unlike the weighing schemes suggested in [24, 25], which impose a higher penalty on the predictions whose sign (i.e., negative or positive) is incorrect, this novel scheme is based on the correctness of the classification of trading signals. If the predicted trading signal is correct, we assign a very small (close to zero) weight and, otherwise, assign a weight equal to 1. Therefore, the proposed weighing scheme is
where is a very small value. The value of needs to be decided according to the distribution of data.
2.2.1. Proposed Error Function 1
The weighing scheme, , incorporated in the Directional Profit (DP) error function (2.5) considers only two classes, upward and downward trends (direction) which are corresponding to buy and sell signals. In order to deal with three classes, buy, hold, and sell, we modified this error function by replacing with the new weighing scheme (see (2.9). Hence, the new error function () is defined as
When training backpropagation neural networks using (2.10) as the error minimisation function, the error is forced to take a smaller value, if the predicted trading signal is correct. On the other hand, the actual size of the error is considered in the cases of misclassifications.
2.2.2. Proposed Error Function 2
The contribution from the historical data also plays an important role in the prediction accuracy of financial time series. Therefore, Yao and Tan [24, 25] went further by combining DP error function (see (2.5) with DLS error function (see (2.6) and proposed Time Dependent Directional Profit (TDP) error function (see (2.8).
Following Yao and Tan [23, 24], this study also proposed a similar error function, ETCC, by combining first new error function () described by (2.10) with the DLS error function (). Hence the second proposed error function is
2.3. Modified Neural Network Algorithms
Modifications to neural network algorithms were done by (i) using the OLS error function as well as the modified least squares error functions; (ii) employing a global optimization algorithm to train the networks.
The importance of using global optimization algorithms for the FNN training was discussed in Section 1. In this paper, we applied the global optimization algorithm, AGOP (introduced in [28, 29]), for training the proposed network algorithms.
As the error function to be minimised, we considered (see (2.1) and (see (2.6) together with the two modified error functions (see (2.10) and (see (2.11). Based on these four error functions, we proposed the following algorithms:(i)βneural network algorithm based on the Ordinary Least Squares error function, (see (2.1);(ii)βneural network algorithm based on the Discounted Least Squares error function, (see (2.6);(iii)βneural network algorithm based on the newly proposed error function 1, (see (2.10);(iv)βneural network algorithm based on the newly proposed error function 2, (see (2.11).
The layers are connected in the same structure as the FNN (Section 2). A tan-sigmoid function was used as the transfer function between the input layer and the hidden layer, while the linear transformation function was employed between the hidden and the output layers.
Algorithm differs from the standard FNN algorithm since it employs a new global optimization algorithm for training. Similarly, also differs from the respective algorithm used in [24, 25] due to the same reason. In addition to the use of new training algorithm, and are based on two different modified error functions. The only way to examine whether these new modified neural network algorithms perform better than the existing ones (in the literature) is to conduct numerical experiments.
3. Network Training and Evaluation
The Australian All Ordinary Index (AORD) was selected as the stock market index whose trading signals are to be predicted. The previous studies done by the authors  suggested that the lagged Close prices of the US Sβ&P 500 Index (GSPC), the UK FTSE 100 Index (FTSE), French CAC 40 Index (FCHI), and German DAX Index (GDAXI) as well as that of the AORD itself showed an impact on the direction of the Close price of day of the AORD. Also it was found that only the Close prices at lag 1 of these markets influence the Close price of the AORD [22, 23]. Therefore, this study considered the relative return of the Close prices at lag 1 of two combinations of stock market indices when forming input sets: (i) a combination which includes the GSPC, FTSE, FCHI, and the GDAXI; (ii) a combination which includes the AORD in addition to the markets included in (i).
The input sets were formed with and without incorporating the quantified intermarket influence [22, 23, 30] (see Section 3.1). By quantifying intermarket influence, this study tries to identify the influential patterns between the potential influential markets and the AORD. Training the network algorithms with preidentified patterns may enhance their learning. Therefore, it can be expected that the using quantified intermarket influence for training algorithms produces more accurate output.
Daily relative returns of the Close prices of the selected stock market indices from 2nd July 1997 to 30th December 2005 were used for this study. If no trading took place on a particular day, the rate of change of price should be zero. Therefore, before calculating the relative returns, the missing values of the Close price were replaced by the corresponding Close price of the last trading day.
The minimum and the maximum values of the data (relative returns) used for network training are and 0.057, respectively. Therefore, we selected the value of (see Section 2.2) as 0.01. If the trading signals are correctly predicted, 0.01 is small enough to set the value of the proposed error functions (see (2.10) and (2.11) to approximately zero.
Since, influential patterns between markets are likely to vary with time , the whole study period was divided into a number of moving windows of a fixed length. Overlapping windows of length three trading years were considered (1 trading year 256 trading days) . A period of three trading years consists of enough data (768 daily relative returns) for neural network experiments. Also the chance that outdated data (which is not relevant for studying current behaviour of the market) being included in the training set is very low.
The most recent 10% of data (the last 76 trading days) in each window were accounted for out of sample predictions, while the remaining 90% of data were allocated for network training. We called the part of the window which allocated for training the training window. Different number of neurons for the hidden layer was tested when training the networks with each input set.
As described in Section 2.1, the error function, (see (2.6), consists of a parameter (discount rate) which decides the contribution from the historical data of the observations in the time series. Refenes et al.  fixed for their experiments. However, the discount rate may vary from one stock market index to another. Therefore, this study tested different values for when training network . Observing the results, the best value for was selected, and this best value was used as when training network .
3.1. Quantification of Intermarket Influences
Past studies [31β33] confirmed that the most of the world's major stock markets are integrated. Hence, one integrated stock market can be considered as a part of a single global system. The influence from one integrated stock market on a dependent market includes the influence from one or more stock markets on the former.
If there is a set of influential markets to a given dependent market, it is not straightforward to separate influence from individual influential markets. Instead of measuring the individual influence from one influential market to a dependent market, the relative strength of the influence from this influential market to the dependent market can be measured compared to the influence from the other influential markets. This study used the approach proposed in [22, 23] to quantify intermarket influences. This approach estimates the combined influence of a set of influential markets and also the contribution from each influential market to the combined influence.
Quantification of intermarket influences on the AORD was carried out by finding the coefficients, ββ (see Section 3.1.1), which maximise the median rank correlation between the relative return of the Close of day of the AORD market and the sum of multiplied by the relative returns of the Close prices of day t of a combination of influential markets over a number of small nonoverlapping windows of a fixed size. The two combinations of markets, which are previously mentioned this section, were considered. measures the contribution from the th influential market to the combined influence which is estimated by the optimal correlation.
There is a possibility that the maximum value leads to a conclusion about a relationship which does not exist in reality. In contrast, the median is more conservative in this respect. Therefore, instead of selecting the maximum of the optimal rank correlation, the median was considered.
Spearmanβs rank correlation coefficient was used as the rank correlation measure. For two variables and , Spearmanβs rank correlation coefficient, , can be defined as
where is the total number of bivariate observations of and , is the difference between the rank of and the rank of in the th observation, and and are the number of tied observations of and , respectively.
The same six training windows employed for the network training were considered for the quantification of intermarket influence on the AORD. The correlation structure between stock markets also changes with time . Therefore, each moving window was further divided into a number of small windows of length 22 days. 22 days of a stock market time series represent a trading month. Spearman's rank correlation coefficients (see (3.1) were calculated for these smaller windows within each moving window.
The absolute value of the correlation coefficient was considered when finding the median optimal correlation. This is appropriate as the main concern is the strength rather than the direction of the correlation (i.e., either positively or negatively correlated).
The objective function to be maximised (see Section 3.1.1 given below) is defined by Spearmanβs correlation coefficient, which uses ranks of data. Therefore, the objective function is discontinuous. Solving such a global optimization problem is extremely difficult because of the unavailability of gradients. We used the same global optimization algorithm, AGOP, which was used for training the proposed algorithms (see Section 2.3) to solve this optimization problem.
3.1.1. Optimization Problem
Let be the relative return of the Close price of a selected dependent market at time , and let be the relative return of the Close price of the th influential market at time . Define as
where the coefficient , measures the strength of influence from each influential market , while is the total number of influential markets.
The aim is to find the optimal values of the coefficients, , which maximise the rank correlation between and for a given window.
The correlation can be calculated for a window of a given size. This window can be defined as
where is the starting date of the window, and is its size (in days). This study sets days.
Spearman's correlation (see (3.1) between the variables , , , defined on the window , will be denoted as
To define optimal values of the coefficients for a long time period, the following method is applied. Let be a given period (e.g., a large window). This period is divided into windows of size (we assume that , is an integer) as follows:
The correlation coefficient between and defined on the window is denoted as To define an objective function over the period , the median of the vector, , is used. Therefore, the optimization problem can be defined as
The solution to (3.8) is a vector, , where denotes the strength of the influence from the th influential market.
In this paper, the quantity, , is called the quantified relative return corresponding to the th influential market.
3.2. Input Sets
The following six sets of inputs were used to train the modified network algorithms introduced in Section 2.3.(1)Four input features of the relative returns of the Close prices of day of the market combination (i) (i.e., GSPC(), FTSE(), FCHI(), and GDAXI()βdenoted by GFFG.(2)Four input features of the quantified relative returns of the Close prices of day of the market combination (i) (i.e., GSPC(), FTSE(), FCHI(), and GDAXI()βdenoted by GFFG-q.(3)Single input feature consists of the sum of the quantified relative returns of the Close prices of day of the market combination (i) (i.e., GSPC() FTSE() FCHI() GDAXI()βdenoted by GFFG-sq.(4)Five input features of the relative returns of the Close prices of day of the market combination (ii) (i.e., GSPC(), FTSE(), FCHI(), GDAXI(), and AORD()βdenoted by GFFGA.(5)Five input features of the quantified relative returns of the Close prices of day of the market combination (ii) (i.e., GSPC(), FTSE(), FCHI(), GDAXI(), and AORD()βdenoted by GFFGA-q.(6)Single input feature consists of the sum of the quantified relative returns of the Close prices of day of the market combination (ii) (i.e., GSPC() + FTSE FCHI GDAXI AORD()βdenoted by GFFGA-sq.
(, , , ) and (, ,, ) are solutions to (3.8) corresponding to the market combinations (i) and (ii), previously mentioned in Section 3. These solutions relating to the market combinations (i) and (ii) are shown in the Tables 1 and 2, respectively. We note that and , are not necessarily be equal.
| Significant at 5% level|
| Significant at 5% level|
3.3. Evaluation Measures
The networks proposed in Section 2.3 output the th day relative returns of the Close price of the AORD. Subsequently, the output was classified into trading signals according to Criterion A (see Section 1).
The performance of the networks was evaluated by the overall classification rate () as well as by the overall misclassification rates ( and ) which are defined as follows:
where and are the number of test cases with correct predictions and the total number of cases in the test sample, respectively, as follows:
where is the number of test cases where a buy/sell signal is misclassified as a hold signals or vice versa. is the test cases where a sell signal is classified as a buy signal and vice versa.
From a trader's point of view, the misclassification of a hold signal as a buy or sell signal is a more serious mistake than misclassifying a buy signal or a sell signal as a hold signal. The reason is in the former case a trader will loses the money by taking part in an unwise investment while in the later case he/she only lose the opportunity of making a profit, but no monetary loss. The most serious monetary loss occurs when a buy signal is misclassified as a sell signal and viceversa. Because of the seriousness of the mistake, plays a more important role in performance evaluation than .
4. Results Obtained from Network Training
As mentioned in Section 3, different values for the discount rate, , were tested. was considered when training . The prediction results improved with the value of up to 5. For the prediction results remained unchanged. Therefore, the value of was fixed at 5. As previously mentioned (see Section 3), was used as the discount rate also in algorithm.
We trained the four neural network algorithms by varying the structure of the network; that is by changing the number of hidden layers as well as the number of neurons per hidden layer. The best four prediction results corresponding to the four networks were obtained when the number of hidden layers equal to one is and, the number of neurons per hidden layer is equal to two (results are shown in Tables 12, 13, 14, 15). Therefore, only the results relevant to networks with two hidden neurons are presented in this section. Table 3 to Table 6 present the results relating to neural networks, , , , and , respectively.
The best prediction results from were obtained when the input set GFFG-q (see Section 3.2) was used as the input features (see Table 3). This input set consists of four inputs of the quantified relative returns of the Close price of day t of the GSPC and the three European stock indices.
yielded nonzero values for the more serious classification error, , when the multiple inputs (either quantified or not) were used as the input features (see Table 4). The best results were obtained when the networks were trained with the single input representing the sum of the quantified relative returns of the Close prices of day t of the GSPC, the European market indices, and the AORD (input set GFFGA-sq; see Section 3.2). When the networks were trained with the single inputs (input sets GFFG-sq and GFFGA-sq; see Section 3.2) the serious misclassifications were prevented.
Compared to the predictions obtained from , those relating to are better (see Tables 4 and 5). In this case the best prediction results were obtained when the relative returns of day t of the GSPC and the three European stock market indices (input set GFFG) were used as the input features (see Table 5). The classification rate was increased by 1.02% compared to that of the best prediction results produced by (see Tables 3 and 5).
Table 6 shows that also produced serious misclassifications. However, these networks produced high overall classification accuracy and also prevented serious misclassifications when the quantified relative returns of the Close prices of day t of the GSPC and the European stock market indices (input set GFFG-q) were used as the input features. The accuracy was the best among all four types of neural network algorithms considered in this study.
provided 1.34% increase in the overall classification rate compared to . When compared with the , showed a 2.37% increase in the overall classification rate, and this can be considered as a good improvement in predicting trading signals.
4.1. Comparison of the Performance of Modified Algorithms with that of the Standard FNN Algorithm
Table 7 presents the average (over six windows) classification rates, and misclassification rates related to prediction results obtained by training the standard FNN algorithm which consists of one hidden layer with two neurons. In order to compare the prediction results with those of the modified neural network algorithms, the number of hidden layers was fixed as one, while the number of hidden neurons were fixed as two. These FNNs was trained for the same six windows (see Section 3) with the same six input sets (see Section 3.2). The transfer functions employed are same as those of the modified neural network algorithms (see Section 2.3).
When the overall classification and overall misclassification rates given in Table 7 are compared with the respective rates (see Tables 3 to 6) corresponding to the modified neural network algorithms, it is clear that the standard FNN algorithm shows poorer performance than those of all four modified neural network algorithms. Therefore, it can be suggested that all modified neural network algorithms perform better when predicting the trading signals of the AORD.
4.2. Comparison of the Performance of the Modified Algorithms
The best predictions obtained by each algorithm were compared by using classification and misclassification rates. The classification rate indicates the proportion of correctly classified signals to a particular class out of the total number of actual signals in that class whereas, the misclassification rate indicates the proportion of incorrectly classified signals from a particular class to another class out of the total number of actual signals in the former class.
4.2.1. Prediction Accuracy
Among the best networks corresponding to the four algorithms considered, the best network of the algorithm based on the proposed error function 2 (see (2.11) showed the best classification accuracies relating to buy and sell signals (27% and 25%, resp.; see Tables 8 to 11). Also this network classified more than 89% of the hold signals accurately and it is the second best rate for the hold signal. The rate of misclassification from hold signals to buy is the lowest when this network was used for prediction. The rate of misclassification from hold class to sell class is also comparatively low (6.22%, which is the second lowest among the four best predictions).
The network corresponding to the algorithm based on the proposed error function 1 (see (2.10) produced the second best prediction results. This network accounted for the second best prediction accuracies relating to buy and sell signals while it produced the best predictions relating to hold signals (Table 10).
4.3. Comparisons of Results with Other Similar Studies
Most of the studies [8, 9, 11, 13, 22], which used FNN algorithms for predictions, are aimed at predicting the direction (up or down) of a stock market index. Only a few studies [14, 17], which used the AORD as the target market index, predicted whether to buy, hold or sell stocks. These studies employed the standard FNN algorithm (that is with OLS error function) for prediction. However, the comparison of results obtained from this study with the above mentioned two studies is impossible as they are not in the same form.
The results obtained from the experiments show that the modified neural network algorithms introduced by this study perform better than the standard FNN algorithm in predicting the trading signals of the AORD. Furthermore, the neural network algorithms, based on the modified OLS error functions introduced by this study (see (2.10) and (2.11), produced better predictions of trading signals of the AORD. Of these two algorithms, the one-based on (2.11) showed the better performance. This algorithm produced the best predictions when the network consisted of one hidden layer with two neurons. The quantified relative returns of the Close prices of the GSPC and the three European stock market indices were used as the input features. This network prevented serious misclassifications such as misclassification of buy signals to sell signals and viceversa and also predicted trading signals with a higher degree of accuracy.
Also it can be suggested that the quantified intermarket influence on the AORD can be effectively used to predict its trading signals.
The algorithms proposed in this paper can also be used to predict whether it is best to buy, hold, or sell shares of any company listed under a given sector of the Australian Stock Exchange. For this case, the potential influential variables will be the share price indices of the companies listed under the stock of interest.
Furthermore, the approach proposed by this study can be applied to predict trading signals of any other global stock market index. Such a research direction would be very interesting especially in a period of economic recession, as the stock indices of the worldβs major economies are strongly correlated during such periods.
Another useful research direction can be found in the area of marketing research. That is the modification of the proposed prediction approach to predict whether market share of a certain product goes up or not. In this case market shares of the competitive brands could be considered as the influential variables.
- B. Egeli, M. Ozturan, and B. Badur, βStock market prediction using artificial neural networks,β in Proceedings of the 3rd Hawaii International Conference on Business, pp. 1β8, Honolulu, Hawaii, USA, June 2003.
- R. Gençay and T. Stengos, βMoving average rules, volume and the predictability of security returns with feedforward networks,β Journal of Forecasting, vol. 17, no. 5-6, pp. 401β414, 1998.
- M. Qi, βNonlinear predictability of stock returns using financial and economic variables,β Journal of Business & Economic Statistics, vol. 17, no. 4, pp. 419β429, 1999.
- M. Safer, βA comparison of two data mining techniques to predict abnormal stock market returns,β Intelligent Data Analysis, vol. 7, no. 1, pp. 3β13, 2003.
- L. Cao and F. E. H. Tay, βFinancial forecasting using support vector machines,β Neural Computing & Applications, vol. 10, no. 2, pp. 184β192, 2001.
- W. Huang, Y. Nakamori, and S.-Y. Wang, βForecasting stock market movement direction with support vector machine,β Computers and Operations Research, vol. 32, no. 10, pp. 2513β2522, 2005.
- S. H. Kim and S. H. Chun, βGraded forecasting using an array of bipolar predictions: application of probabilistic neural networks to a stock market index,β International Journal of Forecasting, vol. 14, no. 3, pp. 323β337, 1998.
- H. Pan, C. Tilakaratne, and J. Yearwood, βPredicting Australian stock market index using neural networks exploiting dynamical swings and intermarket influences,β Journal of Research and Practice in Information Technology, vol. 37, no. 1, pp. 43β54, 2005.
- M. Qi and G. S. Maddala, βEconomic factors and the stock market: a new perspective,β Journal of Forecasting, vol. 18, no. 3, pp. 151β166, 1999.
- Y. Wu and H. Zhang, βForward premiums as unbiased predictors of future currency depreciation: a non-parametric analysis,β Journal of International Money and Finance, vol. 16, no. 4, pp. 609β623, 1997.
- J. Yao, C. L. Tan, and H. L. Poh, βNeural networks for technical analysis: a study on KLCI,β International Journal of Theoretical and Applied Finance, vol. 2, no. 2, pp. 221β241, 1999.
- M. T. Leung, H. Daouk, and A.-S. Chen, βForecasting stock indices: a comparison of classification and level estimation models,β International Journal of Forecasting, vol. 16, no. 2, pp. 173β190, 2000.
- K. Kohara, Y. Fukuhara, and Y. Nakamura, βSelective presentation learning for neural network forecasting of stock markets,β Neural Computing & Applications, vol. 4, no. 3, pp. 143β148, 1996.
- C. D. Tilakaratne, M. A. Mammadov, and S. A. Morris, βEffectiveness of using quantified intermarket influence for predicting trading signals of stock markets,β in Proceedings of the 6th Australasian Data Mining Conference (AusDM '07), vol. 70 of Conferences in Research and Practice in Information Technology, pp. 167β175, Gold Coast, Australia, December 2007.
- R. Akbani, S. Kwek, and N. Japkowicz, βApplying support vector machines to imbalanced datasets,β in Proceedings of the 15th European Conference on Machine Learning (ECML '04), pp. 39β50, Springer, Pisa, Italy, September 2004.
- N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, βSMOTE: synthetic minority over-sampling technique,β Journal of Artificial Intelligence Research, vol. 16, pp. 321β357, 2002.
- C. D. Tilakaratne, S. A. Morris, M. A. Mammadov, and C. P. Hurst, βPredicting stock market index trading signals using neural networks,β in Proceedings of the 14th Annual Global Finance Conference (GFC '07), pp. 171β179, Melbourne, Australia, September 2007.
- I. Jordanov, βNeural network training and stochastic global optimization,β in Proceedings of the 9th International Conference on Neural Information Processing (ICONIP '02), vol. 1, pp. 488β492, Singapore, November 2002.
- J. Minghu, Z. Xiaoyan, Y. Baozong et al., βA fast hybrid algorithm of global optimization for feedforward neural networks,β in Proceedings of the 5th International Conference on Signal Processing (WCCC-ICSP '00), vol. 3, pp. 1609β1612, Beijing, China, August 2000.
- K. A. Toh, J. Lu, and W. Y. Yau, βGlobal feedforward neural network learning for classification and regression,β in Proceedings of the 3rd International Workshop on Energy Minimization Methods in Computer Vision and Pattern Recognition (EMMCVPR '01), pp. 407β422, Shophia Antipolis, France, September 2001.
- H. Ye and Z. Lin, βGlobal optimization of neural network weights using subenergy tunneling function and ripple search,β in Proceedings of the IEEE International Symposium on Circuits and Systems (ISCAS '03), vol. 5, pp. 725β728, Bangkok, Thailand, May 2003.
- C. D. Tilakaratne, M. A. Mammadov, and C. P. Hurst, βQuantification of intermarket influence based on the global optimization and its application for stock market prediction,β in Proceedings of the 1st International Workshop on Integrating AI and Data Mining (AIDM '06), pp. 42β49, Horbart, Australia, December 2006.
- C. D. Tilakaratne, S. A. Morris, M. A. Mammadov, and C. P. Hurst, βQuantification of intermarket influence on the Australian all ordinary index based on optimization techniques,β The ANZIAM Journal, vol. 48, pp. C104βC118, 2007.
- J. Yao and C. L. Tan, βA study on training criteria for financial time series forecasting,β in Proceedings of the International Conference on Neural Information Processing (ICONIP '01), pp. 1β5, Shanghai, China, November 2001.
- J. Yao and C. L. Tan, βTime dependent directional profit model for financial time series forecasting,β in Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks (IJCNN '00), vol. 5, pp. 291β296, Como, Italy, July 2000.
- R. B. Caldwell, βPerformances metrics for neural network-based trading system development,β NeuroVe$t Journal, vol. 3, no. 2, pp. 22β26, 1995.
- A. N. Refenes, Y. Bentz, D. W. Bunn, A. N. Burgess, and A. D. Zapranis, βFinancial time series modelling with discounted least squares backpropagation,β Neurocomputing, vol. 14, no. 2, pp. 123β138, 1997.
- M. A. Mammadov, βA new global optimization algorithm based on dynamical systems approach,β in Proceedings of the 6th International Conference on Optimization: Techniques and Applications (ICOTA '04), A. Rubinov and M. Sniedovich, Eds., Ballarat, Australia, December 2004.
- M. Mammadov, A. Rubinov, and J. Yearwood, βDynamical systems described by relational elasticities with applications,β in Continuous Optimization: Current Trends and Applications, V. Jeyakumar and A. Rubinov, Eds., vol. 99 of Applied Optimization, pp. 365β385, Springer, New York, NY, USA, 2005.
- C. D. Tilakaratne, βA study of intermarket influence on the Australian all ordinary index at different time periods,β in Proceedings of the 2nd International Conference for the Australian Business and Behavioural Sciences Association (ABBSA '06), Adelaide, Australia, September 2006.
- C. Wu and Y.-C. Su, βDynamic relations among international stock markets,β International Review of Economics & Finance, vol. 7, no. 1, pp. 63β84, 1998.
- J. Yang, M. M. Khan, and L. Pointer, βIncreasing integration between the United States and other international stock markets? A recursive cointegration analysis,β Emerging Markets Finance and Trade, vol. 39, no. 6, pp. 39β53, 2003.
- M. Bhattacharyya and A. Banerjee, βIntegration of global capital markets: an empirical exploration,β International Journal of Theoretical and Applied Finance, vol. 7, no. 4, pp. 385β405, 2004.
Copyright © 2009 C. D. Tilakaratne et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.