← QGrid_DONCHIAN_PCT_ADX_Anti

QGrid_DONCHIAN_PCT_ADX_Anti — Performance

ENGINEERING COMPLETEAudited 2026-09-15· quantgrid engine· gunbot-quant· spot

Window 3.2 years (2023-07-15 → 2026-09-14, 111,044 bars of 15m) · Markets ADA, BTC, DOGE, ETH, LINK, SOL, XRP Costs 0.10% taker fee + 2 bps slippage on every fill Timeframe declares 15m — tested at its own timeframe Capital 1,000 quote Sizing target weight


How this was measured

Every decision is taken on a bar that has closed, and the resulting market order fills at the next bar's open plus slippage. Resting stop and target orders fill intrabar, and when one bar's range covers both the stop and the target the stop is taken first — the pessimistic reading wherever candle data cannot resolve the order of events inside a bar.

The engine is validated separately by 53 known-answer tests covering accounting, fee arithmetic, determinism and the no-look-ahead boundary. Nothing below means anything unless those pass, so the pipeline aborts if they do not.

Result by market

Market Orders Round trips Return Buy & hold Edge Max DD Sharpe Win rate Profit factor Time in market
ADA 883 439 -0.0% -31.1% 31.0% 7.2% 0.02 65% 1.93 94.6%
BTC 340 169 1.4% 161.0% -159.6% 2.4% 0.35 77% 2.08 73.9%
DOGE 995 496 3.4% 9.9% -6.4% 4.8% 0.35 60% 1.28 98.0%
ETH 468 233 1.9% 34.3% -32.4% 3.4% 0.33 63% 1.22 85.7%
LINK 847 422 3.1% 49.6% -46.5% 5.0% 0.29 66% 1.29 96.0%
SOL 1096 547 5.4% 307.6% -302.2% 2.9% 0.55 60% 1.40 95.8%
XRP 696 347 3.3% 113.2% -109.9% 3.2% 0.33 60% 1.42 97.9%

Median across markets: 3.1% return, 3.4% max drawdown, Sharpe 0.33.

The median is the honest number, not the best market. Ranking a strategy on its best pair measures which pair was picked, not what the strategy does.

Reading these numbers

Variant B — no stop loss, never sells below the position average

The same strategy on the same data, with one rule added: no exit may be priced below the position's average cost. That also removes every stop-loss, since a stop sits below the entry by definition. It is the "never realise a loss" version.

A — as shipped B — no-loss exits
Median return 3.1% 3.5%
Median max drawdown 3.4% 5.9%
Profitable markets 6 / 7 7 / 7
Ends still holding — 7 / 7
Exits refused by the rule 0 176,109
Market A return B return A max DD B max DD B ends holding
ADA -0.0% 2.2% 7.2% 7.1% yes
BTC 1.4% 2.3% 2.4% 2.4% yes
DOGE 3.4% 3.5% 4.8% 6.9% yes
ETH 1.9% 2.5% 3.4% 4.9% yes
LINK 3.1% 3.8% 5.0% 6.5% yes
SOL 5.4% 7.1% 2.9% 5.9% yes
XRP 3.3% 6.4% 3.2% 3.5% yes

How to read this. Variant B reports the higher return — 3.5% against 3.1% — and that is mostly not an improvement. A loss that is never closed does not disappear, it sits in inventory. That is why max drawdown rises from 3.4% to 5.9%, and why the strategy ends still holding on 7 of 7 markets: B's reported return leaves out the positions it never resolved. The rule refused 176,109 exits over the window.

Read the two together rather than picking one. A is what the strategy does; B is what it looks like with its losses deferred instead of taken, and the gap between them measures how much of A's result comes from cutting.

Why it exited

Every exit the engine executed, attributed to the message the strategy emitted on that bar. One bar is one decision, so an event announced on both the console and the side panel is counted once.

Exit Count Share Mean gain Worst
CLOSED OUTSIDE STRATEGY 78 2.9% — —
(unexplained) 2,575 97.1% — —

2,575 of 2,653 exits (97.1%) carry no explanation. The position changed and the strategy said nothing about why. That is usually a resting order — a customSellTarget or customStopTarget the exchange fills without calling back into the strategy — in which case the strategy's own P&L, trade count and win rate never saw those trades either. See the fixes report.

Cost sensitivity

The strategy places the same number of orders at 0% fees as at 0.10%. That is a correctness property rather than a performance one: it proves no balance gate becomes unsatisfiable once costs leave the wallet. A strategy that fails this check stops trading silently the moment it meets a real fee schedule.

Market Orders at 0.10% fee Orders at 0% fee Ratio
ADA 444 444 1.00
BTC 171 171 1.00
DOGE 499 499 1.00
ETH 235 235 1.00
LINK 425 425 1.00
SOL 549 549 1.00
XRP 349 349 1.00

Correctness invariants

Invariant Result
runs clean on every market PASS
no phantom chart marks PASS
no negative balances PASS
cost independent (fees change P&L, not the ability to act) PASS
places orders somewhere PASS

Outstanding notes

What this window cannot tell you

A single year is a small sample, and this one was a broad downtrend.

The engine models spot, long-only, one price per bar. It carries no order book, so it cannot see spread, queue position or depth, and a strategy whose edge is the spread cannot be measured here at all.


Every number on this page is read from the run record that produced it — the audit pipeline writes the page and the record together, so the two cannot drift apart.