Prediction based – High Frequency Trading on Financial Time Series
Farhad Kia and Janos Levendovszky
Department of Telecommunications, Budapest University of Technology and Economics,
Magyar Tudósok krt. 2., Budapest, Hungary
Keywords: Feedforward Neural Networks, High Frequency Trading, Financial Time Series Prediction.
Abstract: In this paper we investigate prediction based trading on financial time series assuming general AR(J)
models and mean reverting portfolios. A suitable nonlinear estimator is used for predicting the future values
of a financial time series will be provided by a properly trained FeedForward Neural Network (FFNN)
which can capture the characteristics of the conditional expected value. In this way, one can implement a
simple trading strategy based on the predicted future value of an asset price or a portfolio and comparing it
to the current value. The method is tested on FOREX data series and achieved a considerable profit on the
mid price. In the presence of the bid-ask spread, the gain is smaller but it still ranges in the interval 2-6
percent in 6 months without using any leverage. FFNNs were also used to predict future values of mean
reverting portfolios after identifying them as Ornstein-Uhlenbeck processes. In this way, one can provide
fast predictions which can give rise to high frequency trading on intraday data series.
1 INTRODUCTION
In the advent high speed computation and ever
increasing computational power, algorithmic trading
has been receiving a considerable interest (A Hanif,
2012) (Pole, 2007) (Kissell, 2006) (Peter Bergan,
2005). The main focus of research is to develop real-
time algorithms which can cope with portfolio
optimization and price estimation within a very
small time interval enabling high frequency, intraday
trading. In this way, fast identification of favorable
patterns on time series becomes feasible on small
time scales which can give rise to profitable trading
where asset prices follow each other in sec or msec
range.
Several papers have been dealt with algorithmic
trading by using fast prediction algorithms (Naik et
al., 2012); (Y. Zuo, 2012) or by identifying mean
reverting portfolios (J.W., 2002) (D’Aspremont,
2011) (Balvers et al., 2000). The paper (L., 2012)
uses linear prediction which however proves to be
poor to capture the complexity of the underlying
time series. Other methods (D’Aspremont, 2011);
(Balvers et al., 2000) are focused on identifying
mean reverting portfolios and launch a trading action
(e.g. buy) if the portfolio is out of the mean and
taking the opposite action when it returns to the
mean.
In our approach, we focus on prediction based
trading by estimating the future price of the time
series by using a nonlinear predictor in order to
capture the underlying structure of the time series.
The investigated time series can either refer to
foreign exchange rates, single asset prices or the
value of a previously optimized portfolio. By using
FFNNs, which exhibit universal representation
capabilities, one can model the nonlinear AR(J)
process (the current value of the time series depends
on J previous values and corrupted by additive
Gaussian noise). Assuming the price series to be a
nonlinear AR(J) process, we first develop the
optimal trading strategy and then approximate the
parameters of nonlinear AR(J) by an FFNN.
In this way, one can obtain a fast adaptive
trading procedure which, in the first stage, runs a
learning algorithm for parameter optimization based
on some observed prices and then, in the second
stage, provides near optimal estimation of future
prices. The numerical results obtained on Forex rates
have demonstrated that the method is profitable and
achieves more than 1% profit in one month with
leverage 1:1 which can be much bigger if we use
leverage.
The paper treats this material in the following
structure:
In section 2, the model is outlined;
In section 3 the optimal strategy is derived first for
trading on mid-prices and then it is extended to
502
Kia F. and Levendovszky J..
Prediction based – High Frequency Trading on Financial Time Series.
DOI: 10.5220/0004555005020506
In Proceedings of the 5th International Joint Conference on Computational Intelligence (NCTA-2013), pages 502-506
ISBN: 978-989-8565-77-8
Copyright
c
2013 SCITEPRESS (Science and Technology Publications, Lda.)