Bentrix Docs
HomePricingDashboard

The verification battery

Sixteen checks of Bentrix's own engine, run on your own recording — fills, costs, clock, determinism, look-ahead — so what Bentrix claims of its engine is something you watch it prove on your data.

Why

Every result in Bentrix stands on its engine: when an order fills, what it costs, where a candle starts, that nothing reads ahead. You should not have to take that on trust. The verification battery runs sixteen checks of the engine on your own recording, and shows each verdict with what it found.

01Running it

On a laboratory workbench's row in the rail, choose Run the verification battery…. Bentrix makes new workbenches alike that one and runs them at machine speed:

  • a reference strategy — two exponential averages, 8 and 21, crossing on the workbench's first market, hourly, with fixed lots — run as it is, again, on twice the spread, on one-minute OHLC ticks, and over the first half of its days;
  • scripted orders on three more: a buy held to the middle of the days, the same sell, and a stop and a limit placed beside the market.

The window shows 5 of 7 workbenches settled…, then a verdict for each check: passes, fails, measured (a figure with no threshold of its own), or not run, with the reason. The summary reads, for example, 13 pass · 0 fail · 3 measured · 0 not run.

Every workbench it made stays in the laboratory, to open, replay or remove. Every run is a trial in the ledger.

02The sixteen checks

#CheckWhat it proves
1Reference parityEvery entry falls at the candle after a cross that a twenty-line independent reference finds
2Cost auditEach closed position is one entry and one exit, a commission on each side once, and no swap on a position that crossed no day
3Buy and holdThe held buy's profit is its price move times its contract's money per unit
4Long and short mirrorThe buy's and the sell's profits add up to minus the two spreads paid
5DeterminismThe run and its repeat book the same acts
6Stop and limit fillsA stop fills at the first tick through it, a limit at its price or better
7Future perturbationOver the first half of the days the run decides exactly as it did over all of them: nothing in the second half reached back
8Timeframe alignmentEvery hour opens on the hour, and every day at the workbench clock's midnight
9Ticks against one-minute barsThe run on real ticks against the run on one-minute OHLC ticks (measured)
10Spread sensitivityThe run on twice the spread, and whether its net's sign flipped (measured)
11Random entryThe run's percentile among random entries (measured)
12Monte CarloIts drawdown reshuffled, trades skipped and fills degraded, as robustness does (measured)
13Multiple testingThe deflated Sharpe ratio over the ledger's trials (measured)
14Second-engine hashThe trade list's hash, equal on the repeat, to set against another engine
15My fills against the venueYour own fills measured, when a measurement is open
16Silent stopThe run acted on every closed candle of its days: it never stopped deciding without saying so

03What it is not

The battery is not a verdict on any strategy. The reference strategy is a probe, chosen because its trades are easy to check, not because it is good. Nothing here is ranked.

04From a program

battery_run with the workbench, then battery_get until every check is answered. See the SDK guide on testing honestly.

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed