Sliding-window metaheuristic optimization-based forecast system for foreign exchange analysis
- 42 Downloads
The forecasting of exchange rates has become a challenging area of research that has attracted many researchers over recent years. This work presents a sliding-window metaheuristic optimization-based forecast (SMOF) system for one-step ahead forecasting. The proposed system is a graphical user interface, which is developed in the MATLAB environment and functions as a stand-alone application. The system integrates the novel firefly algorithm (FA), metaheuristic (Meta) intelligence, and least squares support vector regression (LSSVR), namely MetaFA-LSSVR, with a sliding-window approach. The MetaFA automatically tunes the hyperparameters of the LSSVR to construct an optimal sliding-window LSSVR prediction model. The optimization effectiveness of the MetaFA is verified using ten benchmark functions. Two case studies on the daily Canadian dollar-USD exchange rate (CAN/USD) and the 4-h closing EUR-USD rates (EUR/USD) were used to confirm the performance of the system, in which the mean absolute percentage errors are 0.2532% and 0.169%, respectively. The forecast system has an 89.8–99.7% greater predictive accuracy than prior work when applied to the currency pair CAN/USD. With respect to the EUR/USD exchange rate, the error rates obtained using the proposed system were 20.8–23.9% better than those obtained by the baseline sliding-window LSSVR model. Therefore, the SMOF system is potentially useful for decision-makers in financial markets.
KeywordsTime series forecasting Exchange rate Metaheuristic computation Optimized machine learning-based system Hybrid soft computing
This study was funded by Ministry of Science and Technology, Taiwan, under the grant number: 107-2221-E-011-035-MY3.
Compliance with ethical standards
Conflict of interest
The authors declare that they have no conflict of interest.
This article does not contain any studies with human participants or animals performed by any of the authors.
- Hoang N-D, Pham A-D, Cao M-T (2014) A novel time series prediction approach based on a hybridization of least squares support vector regression and swarm intelligence. Appl Comput Intell Soft Comput. https://doi.org/10.1155/2014/754809
- Hsieh H-I, Lee T-P, Lee T-S (2011) A hybrid particle swarm optimization and support vector regression model for financial time series forecasting. Int J Bus Adm 2:48–56Google Scholar
- Jilin Z (2013) Dynamic analysis on trend of stock price based on elasticity coefficient model. Comput Modell New Technol 17(4):260–269Google Scholar
- Min Z, Huanq T (2011) Short term load forecasting with least square support vector regression and PSO. In: Zhang J (ed) Communications in computer and information science, vol 228. Springer, Heidelberg, pp 124–132Google Scholar
- Smith ST (2006) MATLAB advanced GUI development. Dog Ear Publishing, LLC, IndianapolisGoogle Scholar
- Surjanovic S and Bingham D (2013) Virtual library of simulation experiments: test functions and datasets. http://www.sfu.ca/~ssurjano/optimization.html. Accessed May 8 2016
- Wang H, Hu D (2005) Comparison of SVM and LS-SVM for regression. Paper presented at the International Conference on Neural Networks and Brain, Beijing, ChinaGoogle Scholar
- Yang X-S (2008) Firefly algorithm. Luniver Press, BristolGoogle Scholar
- Yang X-S, Deb S (2009) Cuckoo search via Lévy flights. In: Proceedings of World Congress on Nature & Biologically Inspired Computing, India, 2009, IEEEGoogle Scholar