TradingPactBETA
Menu

Small-Sample Edge & Shrinkage Calculator

Test whether a setup's win rate and R-multiple average survive Empirical Bayes shrinkage, see its one-sided 90% credible lower bound, and check how many closed trades are needed to reach Verified. Powered by TradingPact's @repo/edge-engine Empirical Bayes certification math.

Evidence regimes11 wins in 15 trades looks strong in raw R, yet stays Unverified under the 20-trade floor.

Segment evidence inputs@repo/edge-engine

Input formatSummary or raw R list

Account prior & recent healthShrinkage model

Recent 20-trade window

15 closed trades · Weight 20.0%Unverified

Fewer than 20 closed trades: variance dominates raw results.

Trades needed for Verified: +25 trades at current pace · Within-trade SD: 1.19R

Raw sample expectancy+0.906RUnadjusted mean across 15 segment trades.
Shrunk expectancy (Bayes)+0.181RPulled toward account baseline using a 60-trade half-weight prior (200 total trades).
90% credible lower bound (1.2816z)-0.025RPosterior SE: 0.161R. Verified requires a bound strictly above +0.000R.
Sample credibility weight20.0%20.0% own segment evidence, 80.0% account baseline prior.

Sample-size shrinkage curveHold expectancy & variance fixed

Segment tradesOwn weightShrunk E[R]90% lower boundStatus
10 trades14.3%+0.129R-0.083RUnverified
15 trades20.0%+0.181R-0.025RUnverified
20 trades25.0%+0.226R+0.025RDeveloping
30 trades33.3%+0.302R+0.108RDeveloping
40 trades40.0%+0.362R+0.175RVerified
60 trades50.0%+0.453R+0.277RVerified
100 trades62.5%+0.566R+0.404RVerified
150 trades71.4%+0.647R+0.496RVerified

Doctrine separation: Evidence metrics guide weekend playbook review and never change your lot size, alter your locked trading pact caps, or relax your Account Governor thresholds.

Diagnostic evidence calculation only: the in-app Evidence certification view is built and unit-tested in @repo/edge-engine and not yet open in the app while the Review surface consolidates. This browser calculator runs @repo/edge-engine math on your entered numbers; Evidence never alters lot size, modifies a locked pact, or recommends taking larger risk.

How Empirical Bayes edge shrinkage works

Slicing a closed trade ledger across setups, symbols, sessions, and directions guarantees selection bias: a handful of 15-trade buckets will look remarkable purely by chance. TradingPact's shrink and tradesToDecide helpers pull small-sample segment expectancy back toward your overall account baseline according to a conservative prior weight (60 trades by default).

From the shrunk expectancy and posterior standard error, the engine computes a one-sided 90% credible lower bound (z = 1.2816). Segments remain Unverified under 20 trades, move to Developing while building sample weight, earn Verified only at 40+ trades when that lower bound sits strictly above 0R, and shift to Suspended if the most recent 20 trades stop paying.

Frequently asked questions

Why do 15 winning trades still stay Unverified in Statistical Edge Verification?

When you slice a trading ledger by setup tag, symbol, session, direction, and holding time, multiple-comparison variance guarantees some small buckets run hot by luck. Below 20 closed trades, random streak noise overwhelms average R, so TradingPact keeps any bucket under 20 trades Unverified.

How does the 60-trade conservative prior pull raw expectancy toward the baseline?

Empirical Bayes shrinkage computes a credibility weight w = n / (n + priorWeight) and blends your segment's raw mean R with the account's baseline expectancy: w * rawMeanR + (1 - w) * baselineMeanR. At 15 trades against a 60-trade prior, only 20% of the raw streak mean survives shrinkage.

What criteria are required for a setup segment to reach Verified status?

A segment must record at least 40 closed trades measured in initial stop R, sustain a positive overall expectancy, hold its one-sided 90% credible lower bound (shrunk mean minus 1.2816 posterior standard deviations) strictly above 0R, and keep its most recent 20-trade window positive.

Does a Verified tag change my allowed lot size or unlock my trading pact?

Never. Evidence is strictly diagnostic for weekend review and leaves your locked pact caps and Desk lot sizing unchanged. In addition, the in-app Evidence certification view is built and unit-tested in @repo/edge-engine and is not yet open in the app while the Review surface consolidates.

TRADINGPACT DESK · MT5

Lock your trading rules and price every order before MT5.

Join the waitlist for hosted Desk access, or look around the view-only demo on sample data, with no broker login or card required.