Gen 65b · lab2 · version 2, running since 21 Oct 2026

How the long search works

A computer search for crypto trading rules that runs by itself for four weeks, built so that it improves over time without fooling itself, and only looks for rules a real account could trade.

In short. The search keeps a grid of 192 kinds of trading rule and the best rule found so far in each. It keeps making new rules by tweaking existing ones, and a new rule only replaces the champion of its own kind. Every rule is run as a real account (a handful of coins, realistic costs, leverage capped at 2×) and scored by how it does at its worst, across nudged settings, late trades and different years, on the profit known effects don't explain.

Nineteen copies run on scrambled data to show what luck alone produces, and two hunt for an edge we planted ourselves. Nothing it finds counts until it passes one look at data it has never seen.

Why not just rank rules by profit?

This project’s first search tried 14.5 million rules and ranked them by past profit. The top of that list was mostly luck: the best-looking rules did worse than average afterwards. Ranking everything against everything rewards the single luckiest idea, and a search that climbs toward it piles all its effort onto one fluke.

A leaderboard search (the old way)everything piles ontoone lucky peakall kinds of rule, ranked by past profitMAP-Elites (the new way)one champion per kind of rule
A leaderboard search ends up with many copies of the same lucky idea. MAP-Elites keeps a separate champion for each kind of rule, so it can only fill the grid by finding genuinely different rules.

The loop

The search is one loop, repeated hundreds of thousands of times. This is MAP-Elites: a method from robotics research for finding many different good solutions rather than one.

The grid192 boxes,one rule eachPick tworules at randomfrom the gridMake a childtweak, swapor graftRun it as anaccount, 28 ways;keep the low endWhich box?what it reads, howoften it trades…Beats that box'scurrent champion?yes: it takes the boxno: thrown away…repeat about 9,000 times a day, in each of 22 copies
One turn of the loop. Nothing is ever ranked against the whole field: a new rule only competes with the current champion of its own kind.

What a “rule” is

A rule is a small formula built from what a crypto trader can see each day: prices, highs and lows, volume, number of trades, how much of the volume came from eager buyers, funding rates, and how long a coin has existed. Its output picks a few coins to buy and a few to bet against, hedged so it can’t profit just because crypto goes up.

the formula (a tree)zscore, 34 dayshow unusual vs. its pasttbr: share of volumebought aggressivelyinputmutations edit this treeone numberper coin, per dayrank the 50most-traded coinsbuy the top 5 · bet againstthe bottom 5 (perp needed)hedge with BTC, sized byeach coin's betasize to 20% a year swing(at most 2× leverage)hold 5 days; holdingsdrift with pricesprofit after tiered costs,price impact, real funding
One rule, start to finish. The example is the edge we planted in the power-check worlds. Every rule has the same parts: a formula, how many coins it ranks (the 20, 50 or 100 most traded), how many it holds (3, 5 or 10 per side), which side it trades (both, buys only, or bets against only), a holding period (1–21 days), and whether it keeps a holding until it drops well out of the top.

How a rule is scored

The score uses the Sharpe ratio: profit divided by how bumpy it was, per year. Above 1 is good; around 0 is nothing. But one Sharpe from one run is easy to get lucky with, so each rule gets 28.

2020–212021–222022–232023–24as found+1.4+0.9+0.6+1.1nudge 1+1.2+0.7+0.2+0.9nudge 2+1.6+1.0+0.5+1.2nudge 3+0.8+0.4-0.3+0.7nudge 4 ⧗+1.3+0.8+0.4+1.0nudge 5 ⧗+3.9+0.6-0.8+0.5nudge 6 ⧗+1.1+0.9+0.3+0.8the same 28 numbers, sorted-10+1+2+3+4score = +0.5025% of runs below75% aboveone lucky rundoesn’t help ↓…and it must pass every gate:no wipe-outworst fall above −50%profit ≥ 2× costs½ quality a day latepositive in 2023–24≤ 500× size traded
How a rule is scored (example numbers). It runs as found and with its settings nudged six ways (a 21-day window becomes 13 or 34 days, a 5-day hold becomes 3 or 8, 50 coins becomes 20 or 100). Three of the nudged runs (⧗) trade a day late. Each run is split into four periods of 2020–24. Each number is the profit left after the market, bitcoin and 12 known effects are taken out, as a Sharpe ratio. The score is the 25th percentile of the 28: +0.50 here, against an average of +0.85. A rule that only works at one exact setting, in one period, or with perfect timing cannot score well.

The nudged settings are fixed for each rule, so re-running a rule can’t re-roll it into a lucky score. Costs rise as coins get thinner (0.04% for the biggest, up to 0.30%), plus the price impact of a $100k account’s trades. A coin can only be bet against on days it actually could be, each bet against a coin earns or pays its real daily funding, and a delisted coin costs its holders half its value. Holdings drift between trades, so a bet against a coin that triples becomes three times bigger, as it would for real.

The grid of boxes

The boxes are what make it explore. A rule that trades daily on volume doesn’t compete with a rule that trades monthly on prices; each kind gets its own champion. That forces the search to keep looking for different ideas instead of polishing one.

new kinds of ruleunlike knowna little likefairly likea known effectunder 20× a year20–60× a year60–150× a year150–500× a yearresemblance to size, bounce-back, momentum, calm coins, new listings, funding carry →how much it trades ↓× 4what it reads:prices · volume ·buyer/seller · funding× 3top 20 · 50 · 100 coins= 192 boxes
The grid. Each box is a kind of rule, sorted by things we can measure: how much it trades (as a multiple of its size, a year; above 500× it is too costly for a retail account and is thrown out) and how much its day-to-day profits move with effects we already know. Only the two left columns, rules unlike anything known, can count as a discovery.

Racing against luck

Any search this big will find rules that look good by chance. The question is whether the real data gives it more than chance does, so we measure chance directly.

22 copies of the search, same code, same effortreal19 scrambled: what luck alone finds2 plantedhow a world is scrambledcoin A’s signalcoin A’s pricescoin B’s signalcoin B’s pricescoin C’s signalcoin C’s pricespaired with the wrong coin, for goodSignals keep their rhythm and trading costs;only the link to the right coin is gone.Planted worlds: scrambled, plus a hiddenedge we built in (moderate and strong).
The controls. Nineteen copies search scrambled worlds, where any rule that looks good is luck, so the real search must beat all nineteen (one chance in twenty by luck). Two more search worlds with an edge we planted: if they can’t find it, a blank result for the real search would mean little.

From “found” to “real”

Everything the search does uses only 2020–2024. The years 2025–26 are locked away until scoring day.

Now → 19 Novthe 22 searches run; the live page updates every 10 min19 Nov · re-scoreevery champion re-run with 20 fresh nudges (no lucky draws)Power checkdid the search find the planted edges?no: a blank resulttells us littleBeat luck?does real hold more new-kind winners than all 19 scrambled?Candidatesnew-kind boxes where real beats every scrambled copy (≤ 10)Locked testone look at 2025–26, against 200 scrambled copies of itselffail: logged,never retriedMay 2027forward test on data that didn’t exist at the startFull checksonly then the project’s complete pass condition
What happens to anything it finds. Each step can only remove candidates, and each rule gets one look at data it hasn’t seen. Watching the live page doesn’t affect any of this: it only shows 2020–24 numbers.

Watch it

The live page shows the real search against the band of scrambled copies, the grid, and any candidate rules written out in words: j4red.net/lab2/search. It’s also in the site menu under Research → The Long Search.

Why there is a version 2

Hours after the first version started, we audited it line by line and found 13 ways it could have reported a rule that doesn’t really work. Among them: stablecoins in the coin list, real price explosions hidden from short sellers, and a fake bonus for betting against coins that were later delisted. It was stopped before it scored anything. The full list is in the research blog (“we audited our own search”).

Code: lab2/mapelites2.py · registration: lab2/families/gen65b.md · scoring 19 Nov 2026