Genetic Algorithm for Arbitrage with More than Three Currencies


We develop a genetic algorithm that is able to find the optimal sequence of exchange rates that maximizes arbitrage profits with more than three currencies, being both the triangular arbitrage and the direct exchange rate two special cases of the proposed algorithm. Applying the algorithm to the most traded currencies, we find average profits ranking from 4.5083% to 0.3162% for changing 1 USD for EUR with respect to the direct exchange rate, for different transaction costs, during the period October 2000-April 2012. Our results also suggest that the arbitrage profits increased just after the subprime crisis in summer of 2007 and that they are higher when the market is less liquid.

Share and Cite:

A. Fernández-Pérez, F. Fernández-Rodríguez and S. Sosvilla-Rivero, "Genetic Algorithm for Arbitrage with More than Three Currencies," Technology and Investment, Vol. 3 No. 3, 2012, pp. 181-186. doi: 10.4236/ti.2012.33025.

Conflicts of Interest

The authors declare no conflicts of interest.


[1] J. Holland, “Adaptation in Natural and Artificial Systems,” MIT Press, Cambridge, 1975.
[2] E. Acosta-González and F. Fernández-Rodríguez, “Model Selection via Genetic Algorithms Illustrated with CrossCountry Growth Data,” Empirical Economics, Vol. 33, No. 2, 2007, pp. 313-337. doi:10.1007/s00181-006-0104-3
[3] L. Pástor and R. F. Stambaugh, “Liquidity Risk and Expected Stock Returns,” Journal of Political Economy, Vol. 111, No. 3, 2003, pp. 642-685. doi:10.1086/374184
[4] S. J. Grossman and J. E. Stiglitz, “Information and Competitive Price Systems,” The American Economic Review, Vol. 66, No. 2, 1976, pp. 246-253.
[5] S. J. Grossman and J. E. Stiglitz, “On the Impossibility of Informationally Efficient Markets,” The American Economic Review, Vol. 70, No. 3, 1980, pp. 393-408.
[6] B. R. Marshall, S. Treepongkaruna and M. Young, “Exploitable Arbitrage Opportunities Exist in the Foreign Exchange Market,” Discussion Paper, Massey University, Palmerston North, 2007.
[7] A. Carruth, A. Dickerson and A. Henley, “What Do We Know about Investment under Uncertainty?” Journal of Economic Surveys, Vol. 14, No. 2, 2000, pp. 119-154. doi:10.1111/1467-6419.00107

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.