Using genetic algorithms to find technical trading rules
Open accessThe DOI matches its Crossref record; 33 of the 33 references it cites were found in a registry or an index.
Abstract
We use a genetic algorithm to learn technical trading rules for the S&P 500 index using daily prices from 1928 to 1995. After transaction costs, the rules do not earn consistent excess returns over a simple buy-and-hold strategy in the out-of-sample test periods. The rules are able to identify periods to be in the index when daily returns are positive and volatility is low and out when the reverse is true. These latter results can largely be explained by low-order serial correlation in stock index returns.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Allen and Karjalainen [3] also conclude that technical trading rules do not generate abnormal profits over the buy-and-hold strategy, especially after deducting transaction fees.”
From Revisiting the Performance of MACD and RSI Oscillators (2014) · cites this paper as [3]
In the citing paper
“Despite these findings, there is no clear consensus on the predictability of technical trading rules in the literature, with many papers indicating that technical trading rules do not offer any predictive power, especially once transaction costs have been accounted for”
From Technical trading and cryptocurrencies (2021) · cites this paper as Allen and Karjalainen 1999
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Holland, J. H. (1992) · The MIT Press eBooks · doi:10.7551/mitpress/1090.001.0001 · Cited by 47,002 · cited 2×
“Genetic algorithms were developed by Holland (1962, 1975).”
Genetic Algorithms in Search, Optimization and Machine Learning
Goldberg, D. E., & Robson, D. (1988) · Cited by 18,391
EFFICIENT CAPITAL MARKETS: A REVIEW OF THEORY AND EMPIRICAL WORK*
Malkiel, B. G., & Fama, E. F. (1970) · The Journal of Finance · doi:10.1111/j.1540-6261.1970.tb00518.x · Cited by 15,699
Efficient capital markets: A review of theory and empirical work
Fama, E. F. (1970) · The Journal of Finance · doi:10.2307/2325486 · Cited by 13,635
Genetic Programming: On the Programming of Computers by Means of Natural Selection
Koza, J. R. (1992) · Medical Entomology and Zoology · Cited by 13,082
Expected stock returns and volatility
French, K. R., Schwert, G. W., & Stambaugh, R. F. (1987) · Journal of Financial Economics · doi:10.1016/0304-405x(87)90026-2 · Cited by 4,107 · cited 1×
“French et al. (1987) find that ex post stock market returns are negatively related to the unexpected change in volatility, supporting the theoretical risk-return relation.”
Genetic Algorithms and Machine Learning
Goldberg, D. E., & Holland, J. H. (1988) · Machine Learning · doi:10.1023/a:1022602019183 · Cited by 3,193
On estimating the expected return on the market
Merton, R. C. (1980) · Journal of Financial Economics · doi:10.1016/0304-405x(80)90007-0 · Cited by 2,806 · cited 2×
“In most equilibrium models, expected excess returns are positively related to risk as measured by the expected volatility (Merton, 1980).”
Artificial Intelligence through Simulated Evolution
Fogel, L. J., Owens, A. J., & Walsh, M. J. (1966) · International Linear Collider · Cited by 2,796
Evolutionsstrategie : Optimierung technischer Systeme nach Prinzipien der biologischen Evolution
Rechenberg, I. (1973) · Frommann-Holzboog eBooks · Cited by 2,440
Research works printed but not linked: 1
- Adaptive algorithms for discovering and using general patterns in growing knowledge-bases. J H Holland, International Journal of Policy Analysis and Information Systems. 41980
Cited by
Items 801–854 of 854
(2017) · Advances in finance, accounting, and economics book series · doi:10.4018/978-1-5225-3259-0.ch002
Previsão de Redes Financeiras Utilizando Aprendizado de Máquina para Gerenciamento de Portfólio
Braz, D. D. D. C. (2022) · Digital Library of Theses and Dissertations (Universidade de São Paulo) · doi:10.11606/t.55.2022.tde-17032022-095417
(2015) · Elsevier eBooks · doi:10.1016/b978-0-12-804494-0.09995-2
Genetic Algorithms (GAs) and Stock Trading Systems
(2021) · Advances in computational intelligence and robotics book series · doi:10.4018/978-1-7998-4105-0.ch009
(2016) · Numerical Analysis and Applications · doi:10.15372/sjnm20160206
Estrada, E. C. D., & Fajardo-Toro, C. H. (2014) · Iberian Conference on Information Systems and Technologies (CISTI) · doi:10.1109/cisti.2014.6876974
Developing a Single Indicator or Multiple Indicator Market Timing System
(2021) · Advances in computational intelligence and robotics book series · doi:10.4018/978-1-7998-4105-0.ch012
Neural Network Design Using an Evolutionary Algorithm: A Financial Example
Brabazon, T. (2002) · Accounting Finance & Governance Review/Accounting finance & governance review · doi:10.52399/001c.35313
Evolutionary Computation in Finance
Martínez-Jaramillo, S., Centeno, T. P., Alexandrova‐Kabadjova, B., & García-Almanza, A. L. (2016) · Springer eBooks · doi:10.1007/978-1-4899-7502-7_88-1
A hybrid forecasting method for quantitative investments based on GA-VMD and SSA-DELM optimization
Zhang, R., Deng, Z., & Shen, Y. (2022) · BCP Business & Management · doi:10.54691/bcpbm.v33i.2730
An Adjustable-Band Moving Average Tradingalgorithm for CryptocurrenciesPreprint
Svogun, D., & Rudys, V. (2023) · SSRN Electronic Journal · doi:10.2139/ssrn.4663472
Optimal Portfolio Choice with Economic Constraints: A Genetic Programming ApproachPreprint
Liu, Y., & Zhou, G. (2024) · SSRN Electronic Journal · doi:10.2139/ssrn.4674858 · Cited by 1
Stock Market’s Price Movement Prediction with Multi-branch LSTM and Technical Analysis
Xue, T., Qin, S., & Fu, Q. (2023) · International Conference on Neuromorphic Computing (ICNC) · doi:10.1109/icnc59488.2023.10462810
“…methods of financial time series prediction to achieve accurate forecasts of the stock market in computational intelligence studies such as genetic algorithm [8], SVM, artificial neural networks [9], Echo State Network (ESN) [10], text analysis based on social networks [11], Bayesian network [12].”
Três ensaios com aplicações de redes neurais em séries financeiras
de Almeida, R. O. M. (2004) · Digital Library of Theses and Dissertations (Universidade de São Paulo) · doi:10.11606/t.12.2004.tde-29042024-142911 · Cited by 1
Carrillo, P. A. Á., Espinoza, E. L. M., Palma, M. M., & León‐Castro, E. (2023) · Innovar · doi:10.15446/innovar.v34n93.99070
Construct Alpha Factors in Cryptocurrency Market
Wu, M., Chiang, Y.-H., Huang, J., & Wu, J. M. (2024) · Lecture notes in networks and systems · doi:10.1007/978-3-031-64650-8_41
A neural network architecture for maximizing alpha in a market timing investment strategyPreprint
Holguín, J. H. O., & Ospina, A. M. P. (2024) · SSRN Electronic Journal · doi:10.2139/ssrn.4898082
Svogun, D., & Rudys, V. (2024) · Applied Economics Letters · doi:10.1080/13504851.2024.2394211
“However, papers such as Hsu and Kuan (2005) and Allen and Karjalainen (1999) show that allowing MA rules to adjust to past performance often increases their profitability.”
Felizardo, L. K. (2024) · Digital Library of Theses and Dissertations (Universidade de São Paulo) · doi:10.11606/t.3.2024.tde-26082024-093343
Multicriteria Hierarchical Ranking for Investment Selection in Latin American Countries
Palma, M. M., Carrillo, P. A. Á., Espinoza, E. L. M., Serrano, F. V., & León‐Castro, E. (2024) · Intelligent systems reference library · doi:10.1007/978-3-031-66731-2_3
Alaei, M. R. K., Rostamzadeh, R., Albayrak, K., Turskis, Z., & Šaparauskas, J. (2024) · Journal of Business Economics and Management · doi:10.3846/jbem.2024.22242
“Allen and Karjalainen (1999) predicted the efficiency of different com - binations of trading techniques.”
InvestoAI‐Tailored Investment Recommendation
Samani, N., Uttare, T., Maliya, R. M., & Samani, K. (2024) · Wiley eBooks · doi:10.1002/9781394234028.ch10 · Cited by 2
Riding the Crypto Rollercoaster: Agent-Based Insights into Bitcoin's Price DynamicsPreprint
Stephan, J., Fritzsch, S., & Weiß, G. N. F. (2025) · SSRN Electronic Journal · doi:10.2139/ssrn.5118226
Implementation of the Maintenance and Repair System Using the Ant Colony Algorithm
Alaei, M. R. K., Rostamzadeh, R., Koulab, M., Turskis, Z., Šaparauskas, J., & Abdsharafat, M. (2025) · International Journal of Computers Communications & Control · doi:10.15837/ijccc.2025.4.6888
Developing Predictive Models for Stock Market Behavior Using Machine Learning and EconometricsPreprint
Chauhan, A. (2025) · Authorea · doi:10.22541/au.175269955.51060709/v1
Developing Predictive Models for Stock Market Behavior Using Machine Learning and EconometricsPreprint
Chauhan, A. (2025) · SSRN Electronic Journal · doi:10.2139/ssrn.5353835
Technical indicators and the cross-section of corporate bond returns in a machine learning era
Chin, J. T., Guo, X., Lin, H., & Mei, Y. (2025) · Journal of Financial Markets · doi:10.1016/j.finmar.2025.101029 · Cited by 6
The profitability of integrating technical analysis with liquidity premium trading strategy
Dong, L., Yu, B., & Lam, K. S. K. (2025) · European Journal of Finance · doi:10.1080/1351847x.2025.2585978
“As transaction costs can mitigate the profitability of trading strategies (Allen and Karjalainenb 1999; Chuang et al. 2024), an important question should be asked.”
MaxAI: A Reinforcement Learning and Genetic Algorithm Framework for Intraday Index Futures TradingPreprint
Huber, M. M. (2025) · SSRN Electronic Journal · doi:10.2139/ssrn.5761402 · Cited by 1
Dhar, D., Nandy, P., & Das, R. K. K. (2026) · ETRI Journal · doi:10.4218/etrij.2025-0309
“Earlier foundational work by Allen and Karjalainen [22] showed that GAs could effectively uncover technical trading rules, emphasizing their suitability in rule discovery and non-convex optimization.”
Rodríguez, K., & Macías, W. (2012) · SSRN Electronic Journal · doi:10.2139/ssrn.2066214
Economic Models of Innovations: Why GP Can Be a Possible Way Out?
Chen, S., & Chie, B.-T. (2002)
LLM-Guided Evolutionary Strategy Generation for Quantitative Trading
Zhang, D., Jiang, Z., Ji, Q., Liu, H., Wang, T., & Stefanidis, A. (2025) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc58881.2025.11343400
“The LLM-GA framework mainly achieves three innovations: 1) Different from the random mutation of traditional genetic algorithms[2], [3], it adopts LLMs to perform semantically preserved genetic operations; 2) Compared with independent-LLM trading agents[6], [9], it retains the global search…”
Turning Point Prediction Under Multi-Objective Genetic Algorithm
Chao, C.-F., Wu, M., Li, H.-H., & Hsieh, M. (2025) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata66926.2025.11401750
“Prior research has applied evolutionary techniques to rule discovery, feature selection, and trend-based strategy construction [8], [12].”
Systematic Risk Exposure and the Cross-Section of Corporate Bond ReturnsPreprint
Feng, Y., Liu, H., & Zheng, S. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6167546
Tests de l'efficience faible à partir des ondelettes de Haar
Belsuz, A. (2017) · theses.fr (ABES) · doi:10.70675/b5e1342eze4dcz44f9zbc70za3b907e94778
“Allen et Karjalainen (1999) ont ainsi testé leur méthodologie sur les données sur S&P500 sur la période de 1928 à 1985, et ont conclu que les profits générés par les règles de trading ne surperformaient pas ceux générés par la stratégie « acheter et conserver », après avoir pris en compte les coûts de transaction. De…”
InfluentialImproving Novelty Search Sample Efficiency with Models or Archive Bootstrapping
Hanna, E. (2024) · theses.fr (ABES) · doi:10.70675/9d7e6e4ezde3bz4cfcz88c4z5b5ab36619f1
Mahapatro, S., Sahu, P. K., & Subudhi, A. K. (2026) · Neural Computing and Applications · doi:10.1007/s00521-026-11989-1
Forecasting financial cascades: A heterogeneous agent-based approach with Tsallis entropy
Xu, X., Qian, Y., & Ni, L. (2026) · Physica A Statistical Mechanics and its Applications · doi:10.1016/j.physa.2026.131594 · Cited by 1
Vu, S. M., Pham, T. T., & Tran, V. H. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6906675
Akhmedov, F., Cho, Y. I., Sattarov, O., Sodikovich, Y. S., Mallayev, O., Khujamatov, H., & Crăciunescu, R. (2026) · Mathematics · doi:10.3390/math14122075
LEAP: A Leakage-Free Evolutionary Alpha Pipeline for NLP-Driven DJIA Prediction
Cunha, M. P., Dalmazo, B. L., de Mattos, V. L. D., Pinto, R. F., Bruno, D. R., Borges, E. N., Lucca, G., Cardoso, F. C., & Berri, R. A. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-30494-0_5
RobAlpha: Robustness-Aware Alpha Factor Mining with Adversarial Vulnerability Scoring
Chen, Y., & Chaoge, Z. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-3400-4_24
Yousefloie, F., Tavassolian, A., -, M. S., & Abdoos, M. (2026) · International Interdisciplinary Conference on Artificial Intelligence: Engineering, Health, Finance and Humanities (IICAI) · doi:10.1109/iicai70155.2026.11620868
“Nevertheless, subsequent studies demonstrated that intelligent algorithms, particularly evolutionary algorithms like the Genetic Algorithm (GA), can extract profitable trading rules from historical data [4].”
FactorMiner: A Self-Evolving Agent with Skills and Experience Memory for Financial Alpha Discovery
Wang, Y., Xu, J., Zhang, H., Huang, S., Sun, D., & Zhang, X.-P. S. (2026) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3770855.3818978 · Cited by 23
“Reflexion [36] uses language-based self-reflection to store lessons in natural language, and generative agents [28] maintain memory streams (e.g., observations, reflections, plans) to condition future behavior; more broadly, continual learning studies how to retain knowledge without catastrophic…”
Genetic Algorithm-Based Parameter Optimization for Dual Moving Average Trading Strategy
Xu, W., & Zhao, Q. (2026) · International Conference on Applied Mathematics, Modelling and Intelligent Computing (CAMMIC) · doi:10.1145/3817124.3817306
“Traditional methods for determining these parameters rely on empirical experience or grid search[8], which have the following limitations: • Manual parameter tuning is highly subjective and difficulty in ensuring global optimality; • Low computational efficiency of grid search and inability to…”
Vu, M.-S., Pham, T.-T., & Hong-Viet, T. (2026) · Machine Learning with Applications · doi:10.1016/j.mlwa.2026.100987 · Cited by 1
Large Language Quant: Cross-Domain Mathematical Trading Strategy Generation with an Agentic LLM
Clayman, A., Kampouridis, M., & Papastylianou, T. (2026) · IEEE Conference on Computational Intelligence for Financial Engineering & Economics · doi:10.1109/cifer67845.2026.11692403
“Automating strategy discovery predates LLMs. Allen and Karjalainen [7] used genetic algorithms to discover technical trading rules but found that automatically generated rules struggle to outperform buy-and-hold after costs on S&P 500 data, while Neely et al. [8] applied genetic programming to…”
GFlowAlpha: A Quality-Control-Aware Neuro-Symbolic Framework for White-Box Alpha Factor MiningPreprint
Yue, H., Huang, Y., Tong, W., Xu, W., & Chen, Y. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.7576913
Essays in Microstructure Analysis in the Foreign Exchange Market
Miao, T. (2010) · City Research Online (City University London)
Brandl, B. (2005) · University of Lodz Repository (University of Łódź)
Metadata
- Authors
- Allen, F., & Karjalainen, R.
- Affiliations
- University of Pennsylvania (US)
- Corresponding author
- Allen, Franklin
- ORCID
- Allen, Franklin
- Venue
- Journal of Financial Economics
- Publisher
- Elsevier BV
- Published
- 1999-02
- Volume
- 51
- Issue
- 2
- Pages
- 245-271
- ISSN
- 0304-405X (ISSN-L)
- OpenAlex
- W2149214223
- Cited by
- 855
- References
- 33
- Citations by year
- 2026: 16 · 2025: 17 · 2024: 24 · 2023: 17 · 2022: 17 · 2021: 31 · 2020: 31 · 2019: 25 · 2018: 28 · 2017: 33 · 2016: 33 · 2015: 47 · 2014: 49 · 2013: 39 · 2012: 52
- FWCI
- 48.15
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by-nc-nd
- www.elsevier.com/tdm/userlicense/1.0/ (tdm)
- www.elsevier.com/legal/tdmrep-license (tdm)
- creativecommons.org/licenses/by-nc-nd/4.0/ (vor, 719 d)
- Locations
- Journal of Financial Economics (publishedVersion, cc-by-nc-nd)
- Intellectum (Universidad de La Sabana) (submittedVersion, other-oa)
- Topics
- Social Sciences › Economics, Econometrics and Finance › Finance › Financial Markets and Investment Strategies
- Social Sciences › Decision Sciences › Management Science and Operations Research › Stock Market Forecasting Methods
- Physical Sciences › Computer Science › Artificial Intelligence › Evolutionary Algorithms and Applications
- Keywords
- technical trading rules, genetic algorithm, S&P 500, daily stock returns, volatility, serial correlation, buy-and-hold strategy, abnormal returns, transaction costs, out-of-sample performance
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.