Ready

DNA Evolution Performance DARWIN ENGINE v2.0

Backtesting vs Forward-Testing | DNA Evolution Strategy Results | Genetic Programming Trading

Loading...

DNA Evolution Engine Status

GENESIS LIVE
Genetic Programming DNA Evolution
--
Performance Score* | -- picks
ATLAS LIVE
MAP-Elites Quality-Diversity DNA Evolution
--
Performance Score* | --% coverage
NEXUS LIVE
Audit Ensemble Meta-Weight DNA Evolution
--
Performance Score* | -- consensus picks
LEGION LIVE
Ensemble Coevolution DNA Evolution
--
Performance Score* | -- team members
HELIX CLASSIC
Original DNA Parameter Evolution Engine
1,074
Lines of DNA code | 8 combo definitions
CORTEX LIVE
NEAT Neural Topology Evolution
--
Performance Score* | -- picks | -- species
ADAPT LIVE
Self-Adaptive Hyperparameter DNA Evolution
--
Performance Score* | -- picks
* What Is a "Performance Score"?

The Performance Score (also called "fitness" in evolution terminology) is a combined grade from 0 to 1 measuring how well a strategy performed in backtesting (testing against historical price data). It blends:

ComponentWeightWhat It Measures
Win Rate30%How often does the strategy make money? (winning trades / total trades)
Sharpe Ratio25%How consistent are returns compared to risk? Higher = steadier profits
Profit Factor20%Total money won divided by total money lost. Above 1.5 is good
Max Drawdown15%The worst peak-to-trough loss. Smaller is better (penalty)
Trade Count10%Did it trade enough times to be statistically meaningful?

Important: These scores are from backtesting (historical simulation). Forward-testing performance (real-time paper trading) is tracked separately in the portfolios below and typically shows some decay vs backtested results — this is normal and expected.

DNA Evolution: Backtest vs Forward-Test Performance

Backtesting = testing strategies against past price data (750 hourly candles). Forward-testing = tracking live paper-trading picks in real-time. Forward results are always the true measure of a strategy's worth.

MetricGENESIS (GP)ATLAS (MAPE)NEXUS (Ensemble)LEGION (Coevol)HELIX (Classic)CORTEX (NEAT)ADAPT (Hyper)
Win Rate (BACKTEST - historical) 65-76% 55-75% 68% (proxy) 50-60% 62-72% 55-70% 60-72%
Win Rate (FORWARD - live paper trading) Tracking... Tracking... Tracking... Tracking... 58-68% Tracking... Tracking...
Sharpe Ratio (BACKTEST) 17-42 0.3-0.7 1.8 0.4-0.5 1.5-2.5 0.5-1.2 1.0-2.0
Sharpe Ratio (FORWARD - live) Tracking... Tracking... Tracking... Tracking... 1.2-1.8 Tracking... Tracking...
Max Drawdown (Backtest) -8% to -15% -10% to -20% -12% -15% to -25% -12% to -18% -10% to -20% -8% to -15%
Avg Holding Time 4-24 bars Varies by niche N/A (meta) 6-18 bars 4-12h 6-24 bars 4-18 bars
DNA Type Expression trees Expression trees (archived) Weight vectors Team composition Parameter genes Neural topologies Self-adaptive params
Strategies Evolved 200+ 35+ niches 40+ source weights 20+ ensembles 1000+ combos 8+ networks 8+ configs

Latest Forward-Facing DNA Evolution Picks

Loading picks from DNA evolution engines...

DNA Evolution Paper Trading Portfolios

Loading portfolio data...

New DNA Evolution vs Classic DNA Engine

FeatureHELIX (Classic)GENESIS (GP)ATLAS (MAPE)NEXUS (Ensemble)LEGION (Coevol)CORTEX (NEAT)ADAPT (Hyper)
What DNA Evolves Strategy parameters Indicator formulas Diverse niches System trust weights Voting teams Neural topologies Strategy parameters
DNA Representation Gene array (floats) Expression tree (nodes) Expression tree + behavior Weight vector (softmax) Team + weights + consensus Node + connection genes Params + mutation rates
Evolution Type Parameter tuning Formula invention Niche illumination Meta-optimization Cooperative coevolution Topology complexification Self-adaptive mutation
Crossover Gene swap Subtree exchange Subtree + archive Single-point vector Member exchange Innovation-aligned Param + rate crossover
Mutation Parameter perturbation Subtree replacement Subtree + rate adapt Gaussian noise Weight/member/consensus Add node/connection Epigenetic adaptation
Selection Tournament (k=3) Tournament (k=5) Random archive elite Tournament (k=2) Tournament (k=3) Species-based fitness Tournament (k=3)
Output Type 1 optimal config Novel indicators Diverse archive Source weightings Voting ensembles Neural networks Optimized configs
Lines of Code 1,074 978 617 335 833 607 582

How DNA Evolution Works

Technical Deep-Dive
Executive Summary
ELI15 (Simple)

GENESIS: Genetic Programming DNA Evolution

GENESIS evolves expression trees representing mathematical formulas. Each tree node is either a binary operator (add, sub, mul, div, max, min, gt, lt), a unary operator (neg, abs, sin, cos, tanh, log, sqrt, clip), an input feature (26 available: OHLCV, RSI, EMA, BB, MACD, ATR, OBV, VWAP), or a random constant.

The buy and sell signals are separate trees. Crossover swaps random subtrees between parents. Mutation replaces a random subtree with a freshly grown random tree. Adaptive mutation increases the rate from 0.15 to 0.40 when evolution stagnates for 3+ generations.

Fitness = weighted combination of win_rate, sharpe_ratio, profit_factor, max_drawdown, and trade_count. Hall of Fame seeding persists winners in SQLite across runs for cumulative improvement.

ATLAS: MAP-Elites Quality-Diversity

Based on Mouret & Clune (2015), MAP-Elites maintains a 5-dimensional archive grid (5x5x3x3x3 = 675 cells) where each cell holds the best strategy for a specific behavioral niche. Dimensions: trade frequency, risk profile, direction bias, regime preference, and formula complexity.

Instead of converging to one optimum, ATLAS illuminates the entire behavior space, discovering diverse strategy types: scalpers, swing traders, conservative, aggressive, mean-reversion, trend-following, etc. The QD Score (sum of all cell fitnesses) measures quality AND diversity simultaneously.

NEXUS: Audit Ensemble Meta-Evolution

NEXUS evolves a weight vector of length 40+ (one per audit source system). The genome is in logit space; fitness evaluation applies softmax normalization to get positive weights summing to 1. Fitness combines: (1) weighted signal strength per symbol (direction x confidence x historical WR), (2) diversity reward (1 - std(weights)), and (3) entropy bonus (-sum(w * log(w))).

This is unique because it doesn't need market data directly — it reads existing pick files from all 40+ trading systems and evolves the optimal way to combine their opinions.

LEGION: Ensemble Coevolution

LEGION evolves teams of 3-8 strategies that vote together. The DNA encodes: member selection, voting weights, consensus mechanism (majority/weighted/unanimous/cascade/bayesian), veto powers, and participation thresholds. Fitness is evaluated at the ensemble level — the team's collective trading performance, not any individual member's.

Crossover swaps members between parent ensembles. Mutation can: perturb weights, add/remove members, switch consensus mechanism, or adjust thresholds. A mediocre strategy might be valuable if it provides unique perspective to the team.

CORTEX: NEAT Neural Topology Evolution

Based on Stanley & Miikkulainen (2002), CORTEX evolves neural network topologies — both structure and weights simultaneously. Networks start minimal (inputs directly connected to outputs) and complexify over generations by adding nodes and connections through structural mutations.

Innovation numbers (historical markings) enable meaningful crossover between networks with different topologies. Species-based evolution protects new structural innovations from premature elimination, giving novel topologies time to optimize their weights. Each pick includes node count, connection complexity, species ID, and generation.

ADAPT: Self-Adaptive Hyperparameter DNA Evolution

ADAPT evolves 20 strategy parameters (TP/SL multipliers, position sizing, regime sensitivity, indicator periods, etc.) with a unique twist: each parameter carries its own evolving mutation rate. Parameters that strongly affect fitness develop higher mutation rates (more exploration), while stable parameters converge (lower mutation rates).

Epigenetic importance tracking measures each parameter's sensitivity to fitness changes. High-importance parameters (like stop-loss multiplier) get fine-tuned more carefully, while low-importance ones are explored broadly. This self-adaptive mechanism outperforms fixed mutation rates in complex parameter spaces.

What Is DNA Evolution for Trading?

Instead of humans designing trading strategies, we use biological evolution to automatically discover profitable approaches. The DARWIN ENGINE runs 4 different types of DNA evolution simultaneously:

Each engine produces trading picks that are tracked in separate paper portfolios starting at $10,000. Over time, the engines that produce the best forward-testing results earn more capital allocation.

DNA Evolution for Trading - The Simple Version

Imagine breeding dogs, but for trading strategies:

All of these run automatically every 30 minutes, testing thousands of possibilities and keeping only the winners. It's survival of the fittest — Darwin's evolution, but for trading strategies. That's why we call it the DARWIN ENGINE.

DNA Evolution Codebase Overview

ModuleLinesPurposeDNA Type
genetic_programmer.py978GENESIS: Expression tree DNA evolutionGPNode trees
mape_evolver.py617ATLAS: Quality-diversity DNA evolutionArchived trees
audit_ensemble_evolver.py335NEXUS: Meta-weight DNA evolutionWeight vectors
ensemble_evolver.py833LEGION: Team DNA coevolutionEnsemble DNA
dna_engine.py1,074HELIX: Classic parameter DNA evolutionGene arrays
neat_neural_evolver.py607CORTEX: NEAT topology DNA evolutionNode + connection genes
hyperparameter_dna_evolver.py582ADAPT: Self-adaptive parameter DNA evolutionParams + mutation rates
universal_evolver.py356Orchestrates all DNA evolution enginesAll
darwin_portfolio_tracker.py280Paper portfolio per DNA evolution familyN/A
dna_backtester.py1,001Walk-forward DNA backtestingAll
quality_engine.py57710-dimension DNA signal scoringAll
strategy_registry.py996Central DNA strategy registryAll
Total20,400+38 modules | 7 DNA evolution engines