A machine that looks for strategy improvements by itself — and why it rejects almost all of them
· Research
Any strategy can be "improved" on history. Test enough conditions and one of them always looks great — usually by chance. So we built a research agent that does two things at once: it searches for improvements to the BTC strategy on a large scale, and it rejects them on the same scale. Only what passes every test reaches a human.
Since its start the agent has put forward 202 ideas. 123 failed the first full backtest, 16 failed on the other paths, and a human rejected 14. Four changes made it to the accounts. This article describes how that funnel works and why it is so narrow.
1. Where the ideas come from
The ideas have three main sources:
- The trade history. The agent has every trade of the strategy's backtest — over 19,000 — with the values of several hundred indicators at entry. It checks at which values a scenario's trades did worse or better. That gives entry filters ("don't enter when…"), position-size changes ("a bigger position when…") and exit changes.
- The price history itself. Apart from the trades, the agent searches every hour since 2018 for combinations of 2–3 conditions after which the price more often moved one way. Those are candidates for entirely new scenarios.
- Live losses. Every losing live trade is analysed: would the backtest have taken it too, which indicators were unusual, how did similar entries do in the past. When an unusual value also cuts losses over the whole history, a filter idea is created.
2. The first sieve: a quick screen
Before an idea gets a real backtest, it passes a quick screen on the trade history. The conditions are strict:
- it must help both before the ETF era and in it (from 11 January 2024), and not hurt 2026;
- the neighbouring thresholds must work too — a single "magic" threshold is usually a fit to noise;
- a permutation test: the indicator's values are shuffled 2,000 times to see how often chance gives an equally good result;
- the result must hold on other backtest runs, with shifted entry times.
The screen never sees the last 15 months of data. That window moves with the data and is used only to check an idea at the end — more on that below.
3. Five tests every idea must pass
| Test | What it checks | When the idea fails |
|---|---|---|
| Alone | the scenario the idea is about, with every other scenario switched off | no edge of its own in the ETF era |
| Whole strategy | the whole strategy with the idea, 2018 to today, against the same strategy without it | ETF era below +5%, or worse before the ETF or in 2026 |
| Three entry paths | the same strategy entering at other 10-minute moments | an edge on one path only |
| Drawdown | the deepest fall of the balance against the strategy without the idea | deeper by over 5 percentage points on 2 of 3 paths |
| Last 15 months | a stretch the idea search has never seen | worse than without the idea on 2 of 3 paths |
The "alone" test asks whether the idea has an edge of its own. In the whole strategy, changing one scenario reshuffles other trades — capital in use, different entry times — and a gain can come from an accidental shift rather than from the idea itself. The three entry paths do the same for the whole strategy: a real edge does not depend on entering at 10:00 or at 10:10.
4. An idea that looked great
The Premium Below EMA200 SHORT scenario, proposal: a position one and a half times bigger when NVT (the network's market value against its transaction volume) is high, and a third smaller when it is low. The screen on the trade history showed impressive numbers:
| Period | Screen (sum, % of balance) | Full backtest (change in result) |
|---|---|---|
| Before the ETF | +61.8% | −7.7% |
| ETF era | +64.3% | 0.0% |
Permutation test: a 0.6% chance of luck. Still, in the whole strategy the idea added nothing in the ETF era and hurt before it. The screen counts each trade separately, without compounding and without the way a bigger position changes what happens next. A real backtest includes that — which is why it decides, while the screen only picks what is worth checking.
5. An idea that passed
The Weekly Trend Dip LONG scenario buys dips in a weekly uptrend. Proposal: a position one and a half times bigger when the price is over 20% above its 200-day average, and a third smaller when it is closer to it. The logic is simple: a dip in a strong trend is more often just a pause.
| Entry path | ETF era | 2026 | Last 15 months |
|---|---|---|---|
| 1 | +13.3% | +3.6% | +3.5% |
| 2 | +13.0% | +3.1% | +3.1% |
| 3 | +11.9% | +2.7% | +1.4% |
The result is similar on all three paths, positive in the stretch the search never saw, and the drawdown did not deepen. That is what sets it apart from the previous example: not the highest number, but consistency.
6. The reviewer and the human
Every fully tested candidate gets a review from a reviewer built on a large language model. It does not see only the totals — it gets the changed scenario's trades year by year and judges where the gain comes from. It looks for the usual traps: a gain from one or two trades, from a single year, or from other trades shifting. Separately it judges whether the idea has a sensible market mechanism — a set of unrelated thresholds with no logic is usually a fit to history, even with a good backtest.
The verdict is advice: adopt, wait for more data, retest, or reject. A human always decides, and a change reaches the accounts only after their approval.
7. After every change — everything again
Every adopted change moves the reference point. So after an adoption the agent computes a new base — a backtest of the current configuration on three paths — and retests every other candidate on it. An idea that was good against the old strategy need not add anything to the new one. Meanwhile no candidate from the old base waits for a decision.
Limitations
- The last 15 months are a fair test only for ideas found after this rule came in. Older ideas have already "seen" that stretch.
- Many scenarios enter a few times a year. An idea resting on a dozen trades in the ETF era is weaker evidence, even when it passes every test.
- Every test checks the past. The final check is live trading, which we compare with the backtest separately.
Summary
- 202 ideas, 4 changes on the accounts. A narrow funnel is the goal, not a flaw.
- The quick screen picks what to check. A full backtest on three entry paths decides what is adopted.
- An impressive screen result guarantees nothing — the NVT example gave +64% in the screen and 0% in the backtest.
- Consistency counts: a similar result on every path and in the stretch the search never saw.
- Every adoption moves the reference point, so every candidate is retested.
The main lesson: in strategy research it is easy to find something that worked. It is hard to find something that did not work by chance — and most of the agent's work is rejecting.