EconPapers    
Economics at your fingertips  
 

Forecasting Foreign Exchange Rate Movements with k-Nearest-Neighbour, Ridge Regression and Feed-Forward Neural Networks

Milan Fičura

No 1.001, FFA Working Papers from Prague University of Economics and Business

Abstract: Three different classes of data mining methods (k-Nearest Neighbour, Ridge Regression and Multilayer Perceptron Feed-Forward Neural Networks) are applied for the purpose of quantitative trading on 10 simulated time series, as well as real world time series of 10 currency exchange rates ranging from 1.11.1999 to 12.6.2015. Each method is tested in multiple variants. The k-NN algorithm is applied alternatively with the Euclidian, Manhattan, Mahalanobis and Maximum distance function. The Ridge Regression is applied as Linear and Quadratic, and the Feed-Forward Neural Network is applied with either 1, 2 or 3 hidden layers. In addition to that Principal Component Analysis (PCA) is eventually applied for the dimensionality reduction of the predictor set and the meta-parameters of the methods are optimized on the validation sample. In the simulation study a Stochastic-Volatility Jump-Diffusion model, extended alternatively with 10 different non-linear conditional mean patterns, is used, to simulate the asset price behaviour to which the tested methods are applied. The results show that no single method was able to profit on all of the non-linear patterns in the simulated time series, but instead different methods worked well for different patterns. Alternatively, past price movements and past returns were used as predictors. In the case when the past price movements were used, quadratic ridge regression achieved the most robust results, followed by some of the k-NN methods. In the case when past returns were used, k-NN based methods were the most consistently profitable, followed by the linear ridge regression and quadratic ridge regression. Neural networks, while being able to profit on some of the time series, did not achieve profit on most of the others. No evidence was further found of the PCA method to improve the results of the tested methods in a systematic way. In the second part of the study, the models were applied to empirical foreign exchange rate time series. Overall the profitability of the methods was rather low, with most of them ending with a loss on most of the currencies. The most profitable currency was EURUSD, followed by EURJPY, GBPJPY and EURGBP. The most successful methods were the linear ridge regression and the Manhattan distance based k-NN method which both ended with profits for most of the time series (unlike the other methods). Finally, a forward selection procedure using the linear ridge regression was applied to extend the original predictor set with some technical indicators. The selection procedure achieved limited success in improving the out-sample results for the linear ridge regression model but not the other models.

Keywords: Ridge regression; k-Nearest Neighbour; Artificial Neural Networks; Principal Component Analysis; Exchange rate forecasting; Investment strategy; Market efficiency (search for similar items in EconPapers)
JEL-codes: C45 C63 G11 G14 G17 (search for similar items in EconPapers)
Pages: 51 pages
Date: 2019-11-13, Revised 2019-11-24
New Economics Papers: this item is included in nep-big, nep-cmp, nep-for and nep-ore
References: Add references at CitEc
Citations:

Downloads: (external link)
http://wp.ffu.vse.cz/artkey/wps-201901-0001_foreca ... d-forward-neural.php (text/html)
http://wp.ffu.vse.cz/pdfs/wps/2019/01/01.pdf (application/pdf)
free of charge

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:prg:jnlwps:v:1:y:2019:id:1.001

Ordering information: This working paper can be ordered from
Faculty of Finance and Accounting, University of Economics, Prague, nám. W. Churchilla 4, 130 67 Prague 3, Czech Republic
http://wp.ffu.vse.cz

Access Statistics for this paper

More papers in FFA Working Papers from Prague University of Economics and Business Contact information at EDIRC.
Bibliographic data for series maintained by Stanislav Vojir ().

 
Page updated 2024-12-28
Handle: RePEc:prg:jnlwps:v:1:y:2019:id:1.001