Trading company, Milan
Optimising strategies with genetic algorithms
The system generates thousands of variants of a trading strategy, tests them on historical data and evolves the ones that perform best.
The starting point
The client developed trading strategies by tuning the parameters by hand: which indicators to use, with which thresholds, when to enter and when to exit. Each combination had to be tested on historical data one at a time, and the chosen parameters soon stopped working when the market changed.
What we built
A system that finds the best parameters on its own with a genetic algorithm. It generates many variants of the strategy, tests them on historical data and evolves the ones that work best, generation after generation.
The same method works whenever the best combination has to be chosen among a great many, as with staff rotas, delivery routes or production planning.
Results
The client explores far more combinations than could be tried by hand, in a fraction of the time. When the market changes, running the search again finds updated parameters, instead of starting over from scratch.