An Online Vector Error Correction Model for Exchange Rates
Forecasting
Paola Arce
1
, Jonathan Antognini
1
, Werner Kristjanpoller
2
and Luis Salinas
1,3
1
Departamento de Inform
´
atica, Universidad T
´
ecnica Federico Santa Mar
´
ıa, Valpara
´
ıso, Chile
2
Departamento de Industrias, Universidad T
´
ecnica Federico Santa Mar
´
ıa, Valpara
´
ıso, Chile
3
CCTVal, Universidad T
´
ecnica Federico Santa Mar
´
ıa, Valpara
´
ıso, Chile
Keywords:
Vector Error Correction Model, Online Learning, Financial Forecasting, Foreign Exchange Market.
Abstract:
Financial time series are known for their non-stationary behaviour. However, sometimes they exhibit some
stationary linear combinations. When this happens, it is said that those time series are cointegrated.The Vector
Error Correction Model (VECM) is an econometric model which characterizes the joint dynamic behaviour
of a set of cointegrated variables in terms of forces pulling towards equilibrium. In this study, we propose an
Online VEC model (OVECM) which optimizes how model parameters are obtained using a sliding window of
the most recent data. Our proposal also takes advantage of the long-run relationship between the time series
in order to obtain improved execution times. Our proposed method is tested using four foreign exchange rates
with a frequency of 1-minute, all related to the USD currency base. OVECM is compared with VECM and
ARIMA models in terms of forecasting accuracy and execution times. We show that OVECM outperforms
ARIMA forecasting and enables execution time to be reduced considerably while maintaining good accuracy
levels compared with VECM.
1 INTRODUCTION
In finance, it is common to find variables with long-
run equilibrium relationships. This is called cointe-
gration and it reflects the idea of that some set of vari-
ables cannot wander too far from each other. Coin-
tegration means that one or more linear combinations
of these variables are stationary even though individ-
ually they are not (Engle and Granger, 1987). Fur-
thermore, the number of cointegration vectors reflects
how many of these linear combinations exist. Some
models, such as the Vector Error Correction (VECM),
take advantage of this property and describe the joint
behaviour of several cointegrated variables.
VECM introduces this long-run relationship
among a set of cointegrated variables as an error cor-
rection term. VECM is a special case of the vector
autorregresive model (VAR) model. VAR model ex-
presses future values as a linear combination of vari-
ables past values. However, VAR model cannot be
used with non-stationary variables. VECM is a lin-
ear model but in terms of variable differences. If
cointegration exists, variable differences are station-
ary and they introduce an error correction term which
adjusts coefficients to bring the variables back to equi-
librium. In finance, many economic time series are
revealed to be stationary when they are differentiated
and cointegration restrictions often improves fore-
casting (Duy and Thoma, 1998). Therefore, VECM
has been widely adopted.
In finance, pair trading is a very common exam-
ple of cointegration application (Herlemont, 2003)
but cointegration can also be extended to a larger set
of variables (Mukherjee and Naka, 1995),(Engle and
Patton, 2004).
Both VECM and VAR model parameters are ob-
tained using ordinary least squares (OLS) method.
Since OLS involves many calculations, the parame-
ter estimation method is computationally expensive
when the number of past values and observations in-
creases. Moreover, obtaining cointegration vectors is
also an expensive routine.
Recently, online learning algorithms have been
proposed to solve problems with large data sets be-
cause of their simplicity and their ability to update
the model when new data is available. The study pre-
sented by (Arce and Salinas, 2012) applied this idea
using ridge regression.
There are several popular online methods
such as perceptron (Rosenblatt, 1958), passive-
193
Arce P., Antognini J., Kristjanpoller W. and Salinas L..
An Online Vector Error Correction Model for Exchange Rates Forecasting.
DOI: 10.5220/0005205901930200
In Proceedings of the International Conference on Pattern Recognition Applications and Methods (ICPRAM-2015), pages 193-200
ISBN: 978-989-758-077-2
Copyright
c
2015 SCITEPRESS (Science and Technology Publications, Lda.)