中
Breakout · v0.2.0

Donchian Channel Breakout

A 20-day channel break triggers an AI call on size, stop and reversal.

L0AI judgmentMemory risk not excluded

What changed with AI?

Compared with mechanical: BTC lost less, ETH earned less. Both had smaller drawdowns.

Jan 1, 2025 – Oct 31, 2026 · Daily perpetual · Same market and costs · Fees, slippage and funding included
AI: median of 3 runs; expand each market for the range. Drawdown closer to 0 is better. pp = percentage points.

BTCAI · 15 trades

ExecutionReturnMax drawdown
AI judgmentMedian of 3 runs−8.9%−38.1%
Mechanical−18.1%−51.6%
Buy & hold−24.8%−55.8%

AI − mechanical

Return difference
+9.2 pp
Drawdown improvement
+13.5 pp

Max drawdown −51.6% → −38.1%

Still a loss; less lost and a smaller drawdown than mechanical.

View the 3-run range

Blue: AI min–max and median · Tick: mechanical

Return−12.5% … +1.6%
Max drawdown−47.1% … −31.3%

AI closed trades: 15 (15 … 16)

ETHAI · 11 trades

ExecutionReturnMax drawdown
AI judgmentMedian of 3 runs+53.2%−33.0%
Mechanical+55.4%−37.6%
Buy & hold−38.5%−70.4%

AI − mechanical

Return difference
−2.3 pp
Drawdown improvement
+4.7 pp

Max drawdown −37.6% → −33.0%

Profitable; lower return and a smaller drawdown than mechanical.

View the 3-run range

Blue: AI min–max and median · Tick: mechanical

Return+44.9% … +70.6%
Max drawdown−34.6% … −32.5%

AI closed trades: 11 (11 … 11)

Which decisions did AI make?

Inspect entries, skipped signals, holds and exits, with the original reasons.

Candles: green up · red down (close vs open)

Replay shows the median-return run for decisions and fills. Statistics describe all 3 runs.

Fills (selected replay)
Position lane over the same market

Close price · Lane: green = long, red = short

L0 Donchian Channel Breakout

Replay shows the median-return run for decisions and fills. Statistics describe all 3 runs.

Strategy rules and limitations

Rules

  • Trigger

    First daily close above the prior 20-day high. First daily close below the prior 20-day low.

  • Stop

    Default 2×ATR14; fixed after entry. See the guide for the adjustment range.

  • Size

    Size for 9% equity risk at the stop, capped at 2× leverage.

  • Exit

    Stop or opposite signal; AI may reverse, close or hold.

Limitations

Memory risk not excluded · The model recognised BTC in probes.

Live execution requires a full-position take profit; the backtest uses strategy-managed exits.

Research and execution venues differ. Risk parameters are current Binance values, not historical ones.

Original strategy guide ↗

All comparisons: AI, scorecard, mechanical and baselines

3 runs · median and range · Random entry shows median and P10–P90; other baselines are deterministic.

BTCUSDT · 2025-01-01 → 2026-11-01 (end exclusive)
ArmTotal returnMax drawdownTrades
AI judgment−8.9% (−12.5% … +1.6%)−38.1% (−47.1% … −31.3%)15 (15 … 16)
Scorecard−13.9%−51.6%19
Mechanical−18.1%−51.6%19
Buy & hold (1× perpetual)−24.8%−55.8%0
Random entry (20 seeds)−3.2% (−45.7% … +117.8%)——
ETHUSDT · 2025-01-01 → 2026-11-01 (end exclusive)
ArmTotal returnMax drawdownTrades
AI judgment+53.2% (+44.9% … +70.6%)−33.0% (−34.6% … −32.5%)11 (11 … 11)
Scorecard+54.1%−37.3%15
Mechanical+55.4%−37.6%15
Buy & hold (1× perpetual)−38.5%−70.4%0
Random entry (20 seeds)+24.3% (−39.0% … +240.9%)——

Full comparison report ↗

Full report

v0.2.0 · oos-ai-grok47

Out-of-sample: 2025-01-01 → 2026-11-01 · Fee per side 5 bps · Slippage 2 bps · Historical funding

binance:perp:BTCUSDT

3 runs · median and range
MetricOut-of-sample
Trades15.0
Total return−8.9% (−12.5% … +1.6%)
Max drawdown−38.1% (−47.1% … −31.3%)
Win rate40.0% (40.0% … 43.8%)
Profit factor0.9 (0.8 … 1.0)
Expectancy R—
Average R—
Exposure76.1% (64.5% … 79.6%)

Undefined (missing initial risk)

Research uses Binance USD-M perpetual history (trades, marks, funding); execution is on Strike perpetuals, whose prices, fees, funding and risk parameters differ. Risk parameters are current Binance public values, not historical ones.

binance:perp:ETHUSDT

3 runs · median and range
MetricOut-of-sample
Trades11.0
Total return+53.2% (+44.9% … +70.6%)
Max drawdown−33.0% (−34.6% … −32.5%)
Win rate54.5% (54.5% … 63.6%)
Profit factor2.1 (1.9 … 2.3)
Expectancy R—
Average R—
Exposure57.0% (52.2% … 58.2%)

Undefined (missing initial risk)

Research uses Binance USD-M perpetual history (trades, marks, funding); execution is on Strike perpetuals, whose prices, fees, funding and risk parameters differ. Risk parameters are current Binance public values, not historical ones.

grok-4.7-medium · 3× · ticker_date_price

Data from 2025 on was first read through the committed-package gate after the strategy was frozen on 2026-11-05 (commit 7354d4ac), and the strategy was not changed afterwards. The AI ran out of sample only (CR-46-4, CR-46-13). The model recognised BTC in probes; memory risk is not excluded.

Signal parameters are classic defaults fixed in advance. The guide had three wordings (original, CR-46-11, CR-46-12), chosen from 2024-H2 behaviour checks without looking at returns.

Report JSON · v0.2.0

strategy-lab issue46-run docs/implementation/issue-46/oos/job-<symbol>.json answers <recorded answers from docs/implementation/issue-46/oos/ai-answers/>

v0.1.0 · example-btc-4h · Example, not evidence

Out-of-sample: 2024-01-01 → 2026-01-01 · Fee per side 5 bps · Slippage 2 bps · Historical funding

binance:perp:BTCUSDT

Out-of-sample
MetricOut-of-sample
Trades0.0
Total return0.0%
Max drawdown0.0%
Win rate—
Profit factor—
Expectancy R—
Average R—
Exposure0.0%

Undefined (missing initial risk)

Example: research uses Binance perpetual data while trading happens on Strike; prices, fees and funding differ.

Rules · 1× ·

Example report; metrics illustrate the format and are not backtest results.

Report JSON · v0.1.0

example only: not produced by a backtest engine

Sources and versions

Download

Coil 0.3.0 · Apple Silicon · macOS 15+

Apple Silicon