The document discusses using genetic algorithms and Java to develop trading algorithms that can find repeating patterns in market data and time the market. It describes collecting market data, generating trading signals from the data, defining possible trading decisions, using genetic algorithms to evolve candidate trading strategies by simulating trades and scoring strategies based on profits, and testing the best evolved strategies on out-of-sample market data. The results showed average profits of 3% per trade for the generated trading models.
132. Keep the best 2 evolved individuals for each stock, for a total of 8 reserved candidates.
133. Test them on out-of sample data of (Today - 44 trading days) thru Today.
134. Print out the trading results of the top 3 out-of-sample tests.
135. Results – Talkin' 'bout an evolution... Run 1 Run 2 Best candidate score Vs. the number of generations Yes, the score is in $, but since this is in-sample data, please take it with a grain of salt.
138. The graphs show that evolution is a choppy process, due in part to my use of aggressive crossover & mutation strategies as well my choice not to enable elitism (best members transcend their own generation).