In this paper a novel application of a particular type of spiking neural network, a Polychronous Spiking Network, was used for financial time series prediction. It is argued that the inherent temporal capabilities of this type of network are suited to non-stationary data such as this. The performance of the spiking neural network was benchmarked against three systems: two “traditional”, rate-encoded, neural networks; a Multi-Layer Perceptron neural network and a Dynamic Ridge Polynomial neural network, and a standard Linear Predictor Coefficients model. For this comparison three non-stationary and noisy time series were used: IBM stock data; US/Euro exchange rate data, and the price of Brent crude oil. The experiments demonstrated favourable prediction results for the Spiking Neural Network in terms of Annualised Return and prediction error for 5-Step ahead predictions. These results were also supported by other relevant metrics such as Maximum Drawdown and Signal-To-Noise ratio. This work demonstrated the applicability of the Polychronous Spiking Network to financial data forecasting and this in turn indicates the potential of using such networks over traditional systems in difficult to manage non-stationary environments.
Citation: Reid D, Hussain AJ, Tawfik H (2014) Financial Time Series Prediction Using Spiking Neural Networks. PLoS ONE 9(8): e103656. https://doi.org/10.1371/journal.pone.0103656
Editor: Eshel Ben-Jacob, Tel Aviv University, Israel
Received: June 20, 2013; Accepted: July 5, 2014; Published: August 29, 2014
Copyright: © 2014 Reid et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Funding: The authors have no support or funding to report.
Competing interests: The authors have declared that no competing interests exist.
Most financial data is non-stationary by default, this means that the statistical properties, such as the mean and variance, of the data changes over time. These changes are a result of various business and economic cycles such as the high demand for air travel in the summer months effecting on exchange rates and fuel prices . While isolated information is usually taken into account, for example in the current closing price of a stock, share or exchange rate, the consequences of this knock-on effect means that the long term study of the behaviour of a specific variable is not always the best indicator of future market behaviour.
Stock market fluctuations are a result of complex interactions and the effect of these fluctuations are often interpreted as a sequence of stock price time series plots . The most significant variations that are looked for are: trend, periodic variations and day-to-day variations. Trend is an identifiable long term variation in the stock market time series, while the periodic variations follow either seasonal patterns or the business cycle in the economy. Short-term and day-to-day variations usually appear at random and are difficult to predict with the exception of the case of “special events” such as public holidays, specific product launch dates or predicable breaking news, but these are often the source for stock trading gains and losses, especially in the case of day traders , , .
The prediction of financial time series is notoriously difficult and a nontrivial problem since it depends not only on known but also on unknown (and often unknowable) factors and frequently data that is used for the prediction is noisy, uncertain and incomplete. The financial series are affected by many highly correlated economic, political and even psychological factors; as a result it has been suggested that some financial time series are not at all predictable , , . Despite this, the practical prediction of financial time series attracts interest due to its potential for massive financial gain.
Researchers and practitioners have long been striving for an explanation of the movement of financial time series. In order to maximise profits from the liquidity market different forecasting techniques have been used by traders . Assisted by computer technologies, traders no longer rely on a single technique to provide information about the future of the market. From purely statistical to esoteric methods of artificial intelligence, there are many choices of techniques which can be used to make a forecast. The traditional methods for financial time series forecasting are based around statistical approaches, none of which have proved to be completely satisfactory due to the nonlinear nature of most of the financial time series . Other more advanced techniques have been used such as Support Vector Machine , genetic algorithms , ,  fuzzy logic , have only achieved limited success and tend to be focused toward a particular application domain. Other methods that have been used for time series analysis also include detrended fluctuation analysis and detrended cross correlation analysis , 
Neural networks are believed to have great potential in the financial time series prediction domain due to their predictive ability, adaptability to different domains and robust behavioural characteristics in uncertain environments.
Multi-Layer Perceptrons (MLPs) have been successfully applied to a broad class of financial markets predictions , , , . However, MLPs use computationally intensive and training algorithms such as error back propagation  and can easily get stuck in local minima. In addition, these networks have poor interpolation performance, especially when using limited training sets.
For some tasks, including time-series prediction, higher order combinations of some of the neural networks inputs or activations may be appropriate to help form good representations for modeling non-linear problems.
Higher-Order Neural Networks (HONNs) distinguish themselves from ordinary feedforward networks by the presence of high order terms in the network , , . In the specific case of financial data predictions various forms of Higher Order neural Networks, including Pi-Sigma networks, Ridge Polynomial Networks, and Functional Link Networks have been applied; these show favourable results when compared to the performance of Multi-Layer Perceptron networks , ,  in such complex environments.
Traditional neural networks use firing rate as a way to encode and process information. This is normally done by averaging the weighted sum of inputs and mapping this onto a continuous activation function. This destroys important information that may be encoded into the patterns of activation such as strong outlying correlations in specific patterns of data.
It has been observed  that correlations and interdependencies exist between markets so that some stocks show a large degree of coupling. It has also been suggested that changes to highly coupled stocks could help predict agitation in financial markets. Yet this dynamic is very difficult to encode into traditional neural networks. The Index Cohesive Force; or ICF is the ratio between the raw and residual stock correlations . This correlation may be used by neural networks tuned to react to individual correlations in the market; that is by neural networks that encode information temporally and that explicitly preserve the relationship between potentially useful correlations.
More recently, Spiking Neural Networks (SNNs) have demonstrated the power of this type of neural networks in solving difficult problems in complex and informationally “messy” environments.
Unlike the older class of neural networks, this so called “third generation” of neural networks use spike times to encode data , . It is argued that these new generations of neural networks are potentially much more powerful at predicting non stationary patterns, and are, in reality, a superset of the “traditional” or rate encoded neural networks hither to used .
SNNs are inherently suited to manage highly non-linear and temporal based input data that traditional neural networks struggle with. A small number of researchers have applied spiking neural network systems in order to classify and predict financial time series data , . However, most spiking neural networks applied to financial forecasting, if not direct adaptations of traditional neural networks, can indirectly trace their origins to older types of neural networks already applied to this field. Typically such networks involve choosing a particular feature set which is then used to explicitly analyse and classify financial data. Apart from Glackin , who uses fuzzy logic to analyse patterns of spike trains in a SNN as the basis for financial forecasting in a novel way, in most SNNs applied to this area of financial forecasting often the temporal financial information gets overwhelmed by other factors or is just simply ignored.
As such, despite their potential, the application of SNNs into meaningful financial data predictions seems to be under-explored; which in turn suggests that this particular field of research is very much in its infancy.
Therefore, it is proposed in this paper that the explicit engineering of the temporal aspects of the financial data into a spiking neural network make the SNNs more suited to time series analysis than traditional rate encoded neural networks that preceded them or the SNN derived from thee rate encoded networks , , .
The remainder of this paper is organized as follows: section 2 discusses the methodology and algorithmic design choices for the proposed Spiking neural network. Section 3 describes the proposed Polychronous neural network paradigm for financial time series prediction. Simulation results and discussions are presented in sections 4 and 5 respectively. Section 6 covers conclusions and the future research directions.
Spiking Neural Networks for Financial Data Forecasting
Temporal point processes are often used to describe signals that occur at a finite set of time points. Unlike continuous valued processes, which can take on countless values at each point of time, a temporal point process use binary events that occur in continuous time , . As most signal processing techniques are designed for continuous valued data, care needs to be taken to transfer the probability theory of point processing  into meaningful spike data. This can be done in three ways; by encoding the information by spike counting, by relative spike timing or by absolute spike timing .
The SNN proposed in this paper uses absolute spike times to directly correlate with the closing prices of several financial markets. This is an appropriate correlation for a number of reasons:
- markets prices are measured at discrete time intervals,
- markets have a discrete closing and opening price, and
- markets are always “naturally” bounded by ultimately finite resources and are often far more restricted than this by being “bounded rationally” .
SNNs used so far in financial modeling and predication use a simple Leakey Integrate and Fire model. This paper postulates the argument that it is logical to use a neuron model that has the capability for significant temporal control in order to accurately model the temporal nature of the financial time series. For this reason the Izhikevich neural model ,  was favoured over the LIF model .
Izhikevich argues  that a potentially major contributing factor to learning is often neglected in spiking neural network research; that of axonal delay. Consequently our system acknowledges this by using the Spike Time Dependent Plasticity (STDP) learning rule , , which is derived from traditional Hebbian learning.
This gives our SNN the capability to rapidly recognize complex patterns, often with a single neuron's spiking output being a flagged as a result of a pattern of other afferent neurons' reaction to stimulation.
This idea is referred to as the theory of neuronal group selection (TNGS) or neural Darwinism , . It is this novel method that the authors of this paper utilise in order to predict values in an evolving and non-stationary financial environment.
When comparing two fundamentally different types of neural networks and a standard linear classifier system a number of compromises have to be taken. While it may be possible to perform a direct comparison between SNN, traditional NNs, and linear systems; this often necessitates modification of the SNN to such an extent that it resembles the function in a similar way to a standard Linear Predictor Coefficients model or traditional rate encoded neural network. By modifying the SNN in this way it may lose many of its advantageous characteristics.
The experiments performed for this paper therefore did not adopt the aforementioned approach and instead use the SNN firing patterns in order to select candidate routes that match the real world financial data. In order to make an equivalent traditional neural network or a linear classifier performs in this way would necessitate very many runs of the network requiring feedback of potential solutions into the network over a very long time period. Even if these modification where made to the different types of network, their fundamental intrinsic differences would still mean that a direct comparison may not be achievable.
Care had to be taken in the design of the systems involved in this experiment as design factors can have a major impact on the accuracy of network forecast; for example: the selection of the input-output variables; the choice of data, the initial weight state, and the stopping criterion during the training phase can influence results. Similarly issues such as the learning parameters, the number of nodes and the activation function are also important. The way the data is pre-processed may also have a significant effect. In order to accurately diagnose the mechanisms working in a system, it is important to present the data to each of the systems in as “pure” and unmodified way as possible, which minimises pre-processing and promotes simplicity.
In this research work, three financial time series signals are considered as shown in Table 1.
The IBM closing stock price was used, as it is a well-known time series described by Box ; the foreign exchange market is used as this is the largest and most liquid of the financial market with an estimated $1 trillion traded everyday , ; and the price of oil is used as this is becoming an important time series and it exhibits extreme non stationary behaviours. The financial data forecasting problem is reliant on predicting various prices, as in the case of forecasting return or log returns , , .
The oil and the exchange rates time series were obtained from the Federal Reserve banks and the Board of Governors, which was established by the Congress in 1913 and which is shown in the following website http://economagic.com/ecb.htm/fedstl.htm, while the IBM common stock closing price time series was taken from the Time Series Data Library .
The exchange rate is an important economic measure in the international monetary market. Its importance comes from the fact that both governments and companies use it to make decisions on investment and trading. It is believed that the exchange rates have direct influence to all changes in the economic policies, and as a result, any attempt to predict the behaviour of an economy is materialised in the foreign exchange rates. The foreign exchange rates time series show high nonlinearity, very high levels of noise, and significant nonstationarity. In this paper the exchange rate between the US Dollar which is acting as a reference currency and the euro is considered as shown in Figure 1 (a).
The Oil prices data is a monthly data that represents the Oil price of West Texas Intermediate crude and which covers the interval between 01/01/1985 and 01/11/2008 as shown in Figure 2 (a).
On the other hand, Figure 3 (a) shows the IBM common stock price in the period between 17/05/1961 to 2/11/1962. The IBM closing price, owned by the world's largest information technology company was selected as it is a well-known time series, described by Box et.al .
As shown in Figures 1, 2, and 3 (b), the correlograms of the IBM, the oil and the daily exchange rate between the US Dollar and the Euro time series indicated that the autocorrelation coefficient drops to zero for large values of the lag. As a result, we can conclude that the time-series are non-stationary signals. Furthermore, the signals exhibit high volatility, complexity, and noise as shown in the histogram images (refer to Figures 1, 2, and 3(c))
The data is scaled to accommodate the limits of the network's transfer function. Manipulation of the data using this process produces a new bounded dataset. The calculation for the standard minimum and maximum normalization method is as follows:(1)where x′ refers to the normalized value, x refers to the observation value (original value), min1 and max1 are the respective minimum and maximum values of all observations, and min2 and max2 refer to the desired minimum and maximum of the new scaled series.
The statistical measures used in evaluating the performance of the neural networks are the Mean Squared Error (MSE), the Normalized Mean Squared Error (NMSE), and the Mean Absolute Error (MAE). However, for financial time series forecasting, the aim of the prediction is also to achieve trading profits based on prediction results in addition to the forecasting accuracy. As a result, financial criteria were used as the primary test as to whether the model is of economic value in practice .
The prediction performance of this work were measured using three financial metrics, and two statistical and signal processing metrics, as shown in Table 2.
The objective of using financial metrics is to use the networks predictions to ultimately generate profit, whereas the statistical and signal processing metrics were used to provide accurate tracking of the signals, for forecasting accuracy purposes.
Choosing a suitable forecasting horizon is a very important step in financial forecasting. From the trading aspect, the forecasting horizon should be sufficiently long such that excessive transaction cost resulting from over-trading is avoided . Similarly the forecasting horizon should be short enough as the persistence of financial time series is of limited duration. Thomason in his work  suggested that a forecasting horizon of five days is a suitable choice for daily data. To systematically select the appropriate prediction horizon, linear predictor was utilised for the prediction of 1-step, 5 steps, 10 steps, and 15 steps prediction for the three time series and evaluated using the SNR and the MSE performances. The simulation results as shown in Tables 3 and 4 and in Figures 4 and 5 indicated that no significant performance changes using the MSE and the SNR were noticed for 5 step ahead prediction.
Hence, considering the trading and prediction aspects from both literatures and the simulation results, this research work consequently implements a 5-days steps ahead forecasting horizon.
A Polychronous Spiking Neural Model for Financial Time Series Prediction
Given the aforementioned considerations, we propose using Polychronous Spiking Neural (PSN) network. Recently, Johnson and Venayagamoorthy have shown how real values can be encoded into such a network . However their work focuses on encoding non temporal data into such a network whereas our focus is on encoding temporal financial data into such a network. Financial data usually has temporal ordering and precise timing as major factors contributing to different patterns of market behaviour.
Several possible encoding methods were considered, especially inter spike interval representing market values at particular points in time; encoding financial data as a neuronal gray value bit pattern, however it was decided to map the values onto distinct neurons. The reasons for adopting this methodology are:
- Simplicity, it is relatively easy to scale and then to map the financial data onto a set of neurons;
- Easy to decode, the nature of the Polychronous Spiking Neural network means that at any time interval many different patterns of neuronal activation can exist in the network representing possible “candidate” solutions. If a complex encoding scheme is used this may hide, or even destroy, the causal chain of neuronal activity;
- Easy to encode; temporal information is encoded directly into the network without manipulation;
- Easy to interpret; causal neuronal chains in the network correspond to different candidate solutions; these in turn can be mapped back to real data.
Training of the network started with scaling and rounding the raw data to the nearest integer so that it would map onto 100 neurons. These neurons represent the real values of the data (in the case of US/EU exchange rate data this also required multiplication by 100 in order access the significant digits).
This scaled data was then presented to the network via “thalmic input”. This is represented by the value W in equation 2 and amounts to the total influx on spiking information at a particular time step after synaptic delays have been accounted for. It is this variable that we use to fire the relevant neuron represented the scaled financial data value. These firing patterns are shown in Figure 6.(2)where parameters A+ and A− are parameters dependant on the value of the current synaptic weight and τ+ and τ− are time constants/boundaries normally in the order of 10 ms.
During experimentation three different training architectures were investigated:
- Randomly connected neurons with random delays, these along with their afferent neurons were updated after each training cycle.
- Bands of connected neurons (with a 10 neuron neighbourhood), with each band and their afferent neurons being updated at each training cycle.
- A focused single neuron and its afferent neurons being updated with each training cycle.
It was found that this last method exhibited faster training by a factor of 4 and produced comparable results to the other 2 methods. It was noted that during training the system periodically entered bursts of activity indicated that afferent neurons were being activated (in a manner suggesting a gamma cycle) in a focused way (Figures 7 and 8).
Training consisted of presenting the financial data values 100 times to the network (experimentation with lower numbers of training session, down to 10, also produced similar results).
The 5 days up to the midpoint of the data (values 195–200) were then taken as the “anchor” neurons. These are neurons that have been influenced, or will influence, other significant neurons. The network then looked for all possible pre-synaptic firing patterns in the previous 200 afferent neuron values that were similar to the previous 200 real data values, with a tolerance of ±5 ms. These were labelled as “candidate” paths.
After running the network the candidate path that most closely resembled the real data was chosen and a prediction made based on the continuation of firing of the candidate path to the efferent neuron most likely to fire in the 201st or 205th spike time. This is illustrated in Figure 6.
Different combinations of possible neuronal paths were ranked according to when neurons fired and which afferent neurons influenced them. A path through the network that resembles the real financial data pattern was deemed to be the best approximate forecast of the current and, via subsequent firings, future market conditions.
Graphs presented in Figures 9, 10, and 11 show on the x-axis 400 trading days and on the y-axis the closing values representing the number of the maximally fired neuron. The data from day 0–200 forms the basis of the prediction. The movement traced in the Y axis represents the maximally fired neuron at a particular time (±5 ms), the error at a particular instance can be deduced by how far a neuron is from the real data value when it fired.
It can be seen that for the most part, the system has been trained to fire neurons at approximately the correct times in order to mimic the movement of the real data.
From this a 5-step prediction is made based on the firing chain of events pattern that occurred in the afferent neurons over the 0–200 time frame. These neurons are used to fire an efferent neuron on day 201 or on day 205; the neurons following the market behaviour are used to see what other neurons can be fired if they fire at the times specified.
Initially, we experimented with the Linear Predictor Coefficients (LPC) model  for the prediction of the 3 types of financial times serried shown in this paper. The simulation results indicated that the LPC models generate less favourable annualised return results, in comparison with our neural network models. This was found to be consistent with previous findings in this area. For examples, Ferreira  showed that MLP network obtained results better than a LPC model, for all financial time.
In Table 5, 5-step prediction results are shown for the closing prices for Brent crude oil, IBM stocks and US/Euro exchange rates, using three types of neural networks:
- A Linear Predictor Coefficients (LPC) model (ARMA based)
- A traditional MLP network,
- A Dynamic Ridge Polynomial Neural Network DRPNN, a recurrent form of higher order neural networks which proved to perform favourably in the prediction of financial time series , and
- Our proposed PSN network.
The performance of the PSN network is primarily evaluated using the signal processing and trading metrics defined in Table 2 in which the prediction performance of our networks was evaluated using three financial metrics, where the objective is to use the networks predictions to make financial gain, and two statistical metrics which are used to provide accurate tracking of the signals.
The ability of the networks was evaluated by the Annualized Return (AR), a real trading measurement which is used to test the possible monetary gains and to measure the overall profitability in a year (252 working days), through the use of the ‘buy’ and ‘sell’ signals . The AR is often the most significant economic measurement for a specific market. This is a scaled calculation of the observed change in the time series value, where the sign of the change is correctly predicted.
The 5-step prediction results from Table 5 are, for the most part, consistent. For annualised return the PSN consistantly had the best results by a large margin. The DRPNN produced a better prediction compared to MLP and LPC for Oil price and US/Euro rate prediction but on the other hand generated a small loss in oil price prediction (−0.2958). Overall for this most important indacator, PSN exhibited highly favourable performance.
Maximum drawdown (MD) is an indicator of the risk of a particular portfolio. It measures the largest single drop from peak to bottom in the value of a portfolio, before a new peak is achieved. It is the percentage loss that a fund incurs from its peak net asset value to its lowest value. Taking into account scaling factors all three of the neural networks concur.
The Signal to Noise Ratio (SNR) compares the level of a desired signal to the level of background noise; in this case it is the ratio of useful information about a portfolio compared to false or irrelevant data. The 5-step predictions show consistent results. Again, the PSN has the best SNR; for IBM shares and the US/Euro rate this is particularly pronounced.
Normalised Mean Squared Error (NMSE) shows overall deviations between predicted and measured values. NMSE is a useful measure because if a system has a very low NMSE, then it indiates that it is correctly identifing patterns.The PSN produced significantly better NMSE results for the IBM and oil prices, consistantly achieving NMSE error values less than 1 (0.0883 and 0.0662 respectively), which are well below the NMSE values for the MLP, DRPNN and LPC predictors. DRPNN has the best performing neural network for the US/EU data having a NMSE of only 0.4337.
Annualized Volatility (AV) is the measure of the changeability in asset returns, which means less volatility is preferable. It describes the variability in a stock price and is used as an estimate of investment risk and for profit possibilities. The volatility is of great interest for financial analyst and provides useful information when estimating investment risk in real trading. This is calculated as the standard deviation of the portfolio price return over a working year (252 days). The PSN results obtained are consistent with the advantages that this network shows over the other systems tested.
In order to assess the statistical validity of the performance of the PSN network, a paired t-test  was conducted to determine if there is any significant difference among the proposed spiking neural network for financial time series prediction and the MLP and the DRPNN based on the absolute value of the error on out of sample data. The calculated t-value showed that for all the predicted signals the proposed Polychronous Spiking Networks technique outperform the other neural networks predictors with α = 5% significance level for a one tailed test. This is confirmed by the simulation results as shown in Table 6 for out of sample data.
We have utilised 50% of the data as out of sample for the T-test experiments. These results clearly indicate that the proposed spiking neural network is significantly better than the DRPNN and the MLP networks in predicting these financial time series datasets.
This work has aimed to demonstrate the applicability of a particular type of spiking neural network (the PSN) to financial forecasting in a non-stationary environment and shows that, given the right settings, it can function more effectively than both standard LPC system and traditional rate encoded neural networks.
As can be seen by the NMSE results in Table 5, the PSN developed for this research is dependent on good spread of values that can be mapped onto the network in an effective manner. If the mapping is well distributed the results are highly favourable, whereas if the distribution is poor the results are less favourable. In either case we have shown that the PSN can make a good prediction at 5-steps into the future. Statistical validation of the results of the out of sample results confirms the significance of the improved performance shown by our proposed network
It should also be noted that although the NMSE is poorer for the PSN for US/EU exchange rates than with some other data sets, the value achieved by the main measure of success (AR) is excellent (more than trebling the annual revenue achieved by the best results of the traditional neural networks; 27.162 compared to 8.63152 for DRPNN). This behaviour is not surprising as axonal delays are an important aspect of learning in the PSN. It is reasonable to assume that the ability to explore different paths through this network will directly influence learning. If a narrow spread of values is used then the network will have less opportunity to explore different solutions. This can be considered, using traditional rate encoded neural network terminology, to be equivalent to the PSN converging onto local minima . However, it should be emphasised that unlike traditional neural networks, this behaviour has a less significant effect on the overall final prediction capability of the network. Our PSN exhibited faster training capability in that stable results were achieved after only 10 training cycles.
However, comparing training cycles between the different types of neural network needs to take into account that the PSN functions in a fundamentally different way to the other neural networks; unlike the other neural networks and the LPC, the PSN uses a number of different spiking signal patterns in each of its training cycles. These spike patterns effectively compete as to which pattern should persist to the next epoch. This raises one of the practical challenges with the current application of the PSN; this is in classifying and grading the very large number of candidate solutions generated. As the PSN uses spike trains and delays to influence Spike Timed Dependence Plasticity learning a very large number of candidate routes can be derived from a relatively small number of neurons. We used 100 neurons over 200 time steps. This has the potential to generate 1.866524e+160 possible different permutated routes through the network, each representing different forecasts. Given the very high number of candidate routes generated an exhaustive search would take a very long time. However, in practice poorly performing routes can be dismissed or are, as in our system, automatically discounted by the network as training takes place. This was done in our system by using simple Euclidean distance to exclude out poor routes.
One major concern for the prediction of financial time series is the fact that the published literature has mostly concentrated on the nonlinearity of the signals and ignored the non-stationary properties of the financial data due to the difficulties involved with the implementation of adaptive filtering . This has led researchers to assume that predictability is only possible if a stationary relationship can be found between the present and past values of the signals . However, Kim et al.  showed that financial data can be considered close to stationary if it varies slowly; they used the Korea stock price index as an example of a non-stationary signal that can be modelled as an asymptotic stationary auto-regressive AR process. As this condition does not apply to all types of financial data, this work also supports the argument that the utilisation of the PSN in financial time series prediction promises to offer a favourable alternative. The results of the experimentation performed in our research supports this hypothesis.
We have applied a specific type of spiking neural network, a Polychronous Spiking Network (PSN) to solve non-stationary financial data prediction problems in order to exploit the temporal characteristics of the spiking neural model in an appropriate way.
Our spiking neural network model adopted the Izhikevich neural architecture using axonal delays encoding the information such that its temporal aspects were preserved.
Experiments using our PSN showed that it outperforms a standard Linear Predictor Coefficients (LPC) Model and more traditional, rate-encoded, neural networks, namely Multi-Layer Perceptrons (MLP) and a Dynamic Ridge Polynomial Neural Network (DRPNN), when solving three different financial datasets of IBM stock data, the US/Euro exchange rate and the price of Brent crude oil. The PSN superior performance was evidenced by its performance using the key financial measure of Annualised Return (AR) and the Mean Square Error for 5-step ahead prediction. Other metrics such as Maximum Drawdown, Signal-To-Noise ratio, and Mean Square Error were used, and supported in large the PSN's superior performance over the other systems.
This work has both demonstrated the applicability of a particular type of PSN to financial data forecasting and its potential to perform more effectively than traditional neural networks in non-stationary environments.
Future work will focus on the exploration of improved ways to map the data onto the PSN, and the adaptation of the classification and grading of candidate solutions for parallel architectures so that different parts of the problem can be solved by decompositions of the search space of candidate solutions.
The authors would like to acknowledge R. Ghazali's help with the DRPNN part of simulation results.
Conceived and designed the experiments: DR AJH. Performed the experiments: DR AJH. Analyzed the data: DR AJH HT. Contributed reagents/materials/analysis tools: DR AJH HT. Wrote the paper: DR AJH HT.
- 1. Magdon-Ismail M, Nicholson A, Abu-Mostafa YA (1998) Financial Market: Very Noisy Information Processing,. Proceedings of the IEEE vol. 86 (no. 11) 2184–2195.
- 2. Sitte R, Sitte J (2000) Analysis of the Predictive Ability of Time Delay Neural Networks Applied to the S&P 500 Time Series,. IEEE Transaction on Systems, Man, and Cybernetics vol. 30 (no. 4).
- 3. Hellström T, Holmström K (1997) Predicting the Stock Market, Technical Report IMa-TOM-1997-07, Center of Mathematical Modeling, Department of Mathematics and Physics, Mälardalen University.
- 4. Kaastra I, Boyd M (1996) Designing a neural network for forecasting financial and economic time series. Neurocomputing vol. 10: 215–236.
- 5. Schwaerzel R (1996) Improving the prediction accuracy of financial time series by using multi-neural network systems and enhanced data preprocessing, Master Thesis, The University of Texas. Available: http://machine-learning.martinsewell.com/ann/Schw96.pdf Accessed 20 March 2014.
- 6. Knowles AC, Hussain A, El Deredy W, Lisboa P, Dunis C (2005) Higher-Order Neural Networks for the Prediction of Financial Time Series, Workshop on Forecasting Financial Markets, Marseilles University.
- 7. Plummer EA (2000) Time series forecasting with feed-forward neural networks: Guidelines and limitations, Master Thesis, University of Wyoming. Available: http://www.karlbranting.net Accessed 17 March 2013.
- 8. Yao J, Tan CL (2000) A case study on neural networks to perform technical forecasting of forex,. Neurocomputing 34: 79–98.
- 9. Hussain AJ, Ghazali R, Al-Jumeily D (2006) Dynamic Ridge polynomial neural network for financial time series prediction,. IEEE International conference on Innovation in Information Technology
- 10. Cao LJ, Tay FEH (2003) Support Vector Machine with Adaptive Parameters in Financial time Series Forecasting. IEEE Transactions on Neural Networks vol. 14 (no. 6).
- 11. Thomas J, Sycara K (1999) Integrating Genetic Algorithms and Text Learning for Financial Prediction, Proceedings of the GECCO-2000 Workshop on Data Mining with Evolutionary Algorithms.
- 12. Allen F, Karjalainen R (1999) Using genetic algorithms to find technical trading rules,. Journal of Financial Economics 51: 245–271.
- 13. Dunis CL, Harris A, Leong S, Nacaskul P (1999) Optimising intraday trading models with genetic algorithms,. Neural Network World vol. 9 (no. 3) 193–224.
- 14. Abraham A, Nath B, Mahanti PK (2001) Hybrid Intelligent Systems for Stock Market Analysis,. Lecture Notes in Computer Science vol. 2074: 337–345.
- 15. Kantelhardta JW, Zschiegnera SA, Koscielny-Bundec E, Havlind S, Bundea A, et al. (2002) Multifractal detrended fluctuation analysis of nonstationary time series,. Physica A: Statistical Mechanics and its Applications vol. 316 (1–4) 87–114.
- 16. Horvatic D, Stanley HE, Podobnik B (2011) Detrended cross-correlation analysis for non-stationary time series with periodic trends,. EPL 94, 18007: 1–6.
- 17. Dunis CL, Wiliams M (2002) Modeling and trading the UER/USD exchange rate: Do Neural Network models perform better? In Derivatives Use, Trading and Regulation vol. 3 (no. 8) 211–239.
- 18. Ghazali R, Hussain A, Liatsis P (2008) The application of ridge polynomial neural network to multi-step ahead financial time series prediction,. Journal of Neural Computing and Applications vol. 17 (no. 3) 311–323.
- 19. Lawrence S, Giles CL (2000) Overfitting and Neural Networks: Conjugate Gradient and Back propagation, International Joint Conference on Neural Network,. IEEE Computer Society 114–119.
- 20. Giles CL, Maxwell T (1987) Learning, invariance and generalization in high-order neural networks,. Applied Optics vol. 26: 4972–4978.
- 21. Pao YH (1989) Adaptive Pattern Recognition and Neural Networks, Addison-Wesley, ISBN 0-201-12584-6
- 22. Ghazali R, Hussain A, Nawi NM, Mohamad B (2009) Non-stationary and stationary prediction of financial time series using dynamic ridge polynomial neural network,. Neurocomputing 72 (10–12) 2359–2367.
- 23. Abu-Mostafa YS, Atiya AF, Magdon-Ismail M, White H (2001) Introduction to the special issue on neural networks in financial engineering,. IEEE Transactions on Neural Networks vol. 12 (no. 4) 653–656.
- 24. Ghazali R, Hussain AJ, Nawi NM, Mohamad B (2009) Non-stationary and stationary prediction of financial time series using dynamic ridge polynomial neural network,. Neurocomputing vol. 72 (no. 10–12) 2359–2367.
- 25. Kenett DY, Shapira Y, Madi A, Bransburg-Zabary S, Gur-Gershgoren G, et al. (2011) Index cohesive force analysis reveals that the US market became prone to systemic collapses since 2002,. PLoS ONE 6 (4) e19378.
- 26. Kenett DY, Raddant M, Zatlavi L, Lux T, Ben-Jacob E (2012) Correlations in the global financial village,. International Journal of Modern Physics Conference Series 16 (1) 13–28.
- 27. Maass W (1997) Networks of Spiking Neurons: The Third Generation of Neural Network Models, Neural Networks, vol. 10 , (no. 9) , Elsevier Publishing, pp. 1659–1671.
- 28. Wall JA, McDaid LJ, Maguire LP, McGinnity TM (2012) Spiking Neural Network Model of Sound Localization Using the Interaural Intensity Difference,. IEEE Transactions on Neural Networks and Learning Systems vol. 23 (no. 4) 574–586.
- 29. Maass W, Bishop CM (1998) Pulsed Neural Networks, MIT press, ISBN 0-262-13350-4.
- 30. Ganatr A, Kosta YP (2010) Spiking Back Propagation Multi-Layer Neural Network Design for Predicting Unpredicatable Stock Market Prices with Time Series Analysis,. International Journal of Computer Theory and Engineering vol. 2 (no 6) 1793–8201.
- 31. Wong C, Versace M (2012) CARTMAP: a neural network method for automated feature selection in financial time series forecasting, Neural Computing & Applications, Springer-Verlag.
- 32. Glackin C (2009) Fuzzy Spiking Neural Networks, PhD Thesis, University of Ulster. Available: http://http://eprints.ulster.ac.uk/9645/ Accessed 19 March 2013.
- 33. Sharma V (2010) A Spiking Neural Network based on Temporal Encoding for Electricity Price Time Series Forecasting in Deregulated Markets,. International Joint Conference on Neural Networks 1–8.
- 34. Natschläger T, Maass W, Markram H (2002) The Liquid Computer: A Novel Strategy for Real-Time Computing on Time Series,. Special Issue on Foundations of Information Processing of TELEMATIK vol. 8 (no. 1) 39–43.
- 35. Victor JD, Purpura KP (1997) Metric-space analysis of spike trains: theory, algorithms and application,. Network 8: 127–164.
- 36. Boer K, Kaymak U, Spiering J (2007) From discrete-time models to continuous-time, asynchronous modeling of financial markets,. Computational Intelligence vol. 23 (2) 142–161.
- 37. Daley DJ, Vere-Jones D (2002) An Introduction to the Theory of Point of Point Processes, vol. 1 , Springer, ISBN 0-387-95541-0.
- 38. Eden UT, Loren F, Brown E (2004) Dynamic Analysis of Neural Encoding by Point Process Adaptive Filtering,. Neural Computation vol. 16: 971–998.
- 39. Czanner G, Dreyer A, Eden UT, Wirth S, Lim HH, et al. (2005) Dynamic models of neural spiking activity, Proceedings of the 46th. IEEE Conference on Decision and Control 5812–5817.
- 40. Conlick J (1996) Why Bounded Rationality? Journal of Economic Literature vol. 34: 669–700.
- 41. Izhikevich EM (2003) Simple model of spiking neurons,. IEEE Transactions on Neural Networks vol. 14 (no. 6) 1569–1572.
- 42. Izhikevich EM (2004) Which model to use for cortical spiking neurons? IEEE Trans Neural Networks vol. 15 (5) 1063–1070.
- 43. Legenstein R, Naeger C, Maass W (2005) What can a Neuron Learn with Spike-Timing-Dependent-Plasticty,. Journal of Neural Computation vol. 17 (no. 11) 2337–2382.
- 44. Nessler B, Pfeiffer M, Maass W (2010) STDP enables spiking neurons to detect hidden causes of their inputs, Proc. of NIPS 2009: Advances in Neural Information Processing Systems, vol. 22 , MIT Press, pp. 1357–1365.
- 45. Edelman GM (1987) Neural Darwinism: Theory if Neuronal Group Selection, Basic Books, New York.
- 46. Izhikevich EM, Hoppensteadt FC (2009) Polychronous Wavefront Computations,. International Journal of Bifurcation and Chaos vol.12: 1733–1739.
- 47. Box GPW, Jenkins GM, Reinsel GC (2008) Time Series Analysis: Forecasting and Control, 4th Edition.
- 48. White H (1988) Economic prediction using neural networks: The case of IBM daily stock returns,. IEEE International Conference on Neural networks vol. 2 (no. 1) 451–458.
- 49. Feng HM, Chou HC (2011) Evolutional RBFNs prediction systems generation in the applications of financial time series data,. Expert Systems with Applications vol. 38 (no. 7) 8285–8292.
- 50. Jiang H, He W (2012) Grey relational grade in local support vector regression for financial time series prediction,. Expert Systems with Application vol. 39 (no. 3) 2256–2262.
- 51. Araujo R, Ferreira TAE (2008) An intelligent hybrid morphological-rank-linear method for financial time series prediction,. Neurocomputing vol. 72 (no. 10–12) 2507–2524.
- 52. Hyndman RJ (2013) Time Series Data Library. Available: http://datamarket.com/data/list/?q=provider:tsdl Accessed August 2013.
- 53. Box GEP, Jenkins GM, Reinsel GC (1994) Time Series Analysis, Forecasting and Control, 3rd edn. Prentice-Hall.
- 54. Thomason MR (1998) The Practitioner: Method and Tools,. Journal of Computational Intelligence in Finance vol. 7 (no. 3) 36–45.
- 55. Johnson C, Venayagamoorthy GK (2010) Encoding Real Values into Polychronous Spiking Networks,. IEEE World Congress on Computational Intelligence
- 56. Hannan EJ, Deistler M (1988) Statistical theory of linear systems. Wiley Series in Probability and Mathematical Statistics. New York: John Wiley and Sons, pp. 227–237.
- 57. Montgomery DC, Runger GC (1999) Applied Statistics and Probability for Engineers. New York: Wiley.
- 58. Gerstner W, van Hemmen JL, Cowan JD (1996) What matters in neuronal locking? Neural Computation vol. 8: 1653–1676.
- 59. Haykin S, Li L (1995) Nonlinear adaptive prediction of nonstationary signals,. IEEE Transactions on signal processing vol. 43 (2) 526–535.
- 60. DeCo G, Neuneier R, Schurmann B (1997) Non-parametric data selection for neural learning in non-stationary time series,. Neural Networks vol. 10 (3) 401–407.
- 61. Kim TY, Kyong JO, Chiho KC, Jong DD (2004) Artificial neural networks for non-stationary time series,. Neurocomputing vol. 61: 439–447.