首页 | 本学科首页   官方微博 | 高级检索  
     检索      


A Forex trading system based on a genetic algorithm
Authors:Luís Mendes  Pedro Godinho  Joana Dias
Institution:1. Faculdade de Economia, Universidade de Coimbra, Av. Dias da Silva, 165, 3004-512, Coimbra, Portugal
2. Faculdade de Economia and GEMF, Universidade de Coimbra, Av. Dias da Silva, 165, 3004-512, Coimbra, Portugal
3. Faculdade de Economia and Inesc-Coimbra, Universidade de Coimbra, Av. Dias da Silva, 165, 3004-512, Coimbra, Portugal
Abstract:In this paper, a genetic algorithm will be described that aims at optimizing a set of rules that constitute a trading system for the Forex market. Each individual in the population represents a set of ten technical trading rules (five to enter a position and five others to exit). These rules have 31 parameters in total, which correspond to the individuals’ genes. The population will evolve in a given environment, defined by a time series of a specific currency pair. The fitness of a given individual represents how well it has been able to adapt to the environment, and it is calculated by applying the corresponding rules to the time series, and then calculating the ratio between the profit and the maximum drawdown (the Stirling ratio). Two currency pairs have been used: EUR/USD and GBP/USD. Different data was used for the evolution of the population and for testing the best individuals. The results achieved by the system are discussed. The best individuals are able to achieve very good results in the training series. In the test series, the developed strategies show some difficulty in achieving positive results, if you take transaction costs into account. If you ignore transaction costs, the results are mostly positive, showing that the best individuals have some forecasting ability.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号