Coldcode Si Labs Library

Separating a Mechanism from an Edge

A calibrated instrument for broker-synthetic price feeds
Courage Garikai · Harare, Zimbabwe

Coldcode Si Labs Working Paper · Harare · November 2026

Separating a Mechanism from an Edge

A calibrated instrument for broker-synthetic price feeds, and the arithmetic that makes most of what it detects uninteresting

Courage Garikai · WP-01 · Version 1.0


Abstract

Everyone who has looked at a synthetic OTC feed has had the same two thoughts in sequence: there is structure in this chart, and therefore it is tradeable. Both can be true. In the class of feeds considered here they are almost never true together, and the gap between them is quantitative rather than philosophical.

This paper does three things. It states five mutually exclusive hypotheses for how a broker-synthetic price feed might be generated and gives each one an executable test with an explicit null. It calibrates that battery against known ground truth — five generators, sixty replicates — so that its error rates are known before it is pointed at a feed nobody controls: a perfect 5 × 5 confusion matrix in 12 replicates per class, and zero false positives on the efficient random walk. It then states the battery's detection floor honestly, at |φ| ≈ 0.05 in tick increments at 20,000 observations, meaning a null result licenses "no serial dependence larger than that" and nothing stronger.

The fourth thing is the one that costs money. Using the same generators, we measure the highest hit rate any linear predictor achieves out of sample at the venue's own contract horizon, at a common horizon volatility. The result is stark: at a 60-tick expiry and a 92% payout, a feed must carry a tick-level autoregressive coefficient of φ ≈ 0.43 before its predictability reaches break-even. That is nearly an order of magnitude above the coefficient the battery detects easily. Structure that is unambiguously present, statistically significant, and detectable in minutes of data is economically worthless at the horizon the contract actually settles on.

Which leaves exactly one mechanism of the many available that produces the sessions everyone argues about: not prediction of the market, but the ordering of operations at settlement. A trade log can separate the two, and this paper specifies the discriminator and calibrates it.


1. The question, stated so that it can fail

The claim under test is not "the venue is fair" or "the venue is fraudulent." Both are unfalsifiable as stated, and both are somebody else's argument. The claim is narrower:

Given a capture of ticks from a synthetic feed, and the payout the venue is posting, is there a decision rule whose hit rate clears break-even with a confidence interval that excludes break-even?

Everything in this paper is apparatus for answering that sentence and for saying honestly when the answer is we cannot tell yet.

Three design commitments follow.

A verdict names a generating process, not a trade. The battery does not output "profitable" or "rigged." It names one of five classes. Attribution and economics are kept in separate modules because conflating them is the central error in the public argument about these feeds.

Every test states its null. A test without a stated null is an invitation to read noise as structure, which is what a chart does to a human being at 3 a.m.

The instrument's error rates are known before use. We calibrate on generators whose truth we set, and we report what the calibration cannot rule out. Twelve replicates prove less than zero replicates in fifteen, and it is stated that way.


2. Five hypotheses, made executable

The generators are the hypotheses. If a feed is of class H, a sample from H's generator should be statistically indistinguishable from the feed.

Class Generative story What a reasonable operator would do
H0 efficient random walk i.i.d. increments. A martingale in sign. Nothing. There is no edge, and every win is variance.
H1 serial dependence AR(1) in tick increments, φ ≠ 0. Maybe something — if the persistence survives to the contract horizon (see §5).
H2 replay The feed is stitched from contiguous slices of a real historical tape. Nothing legitimate. The structure is a copy, and the copy is detectable.
H3 mean reversion Ornstein–Uhlenbeck on the price level. Mean-reversion bets at horizons longer than the relaxation time.
H4 quantisation artefact Structure in the tick grid, not in the returns. Nothing. The structure is in the ruler, not the thing being measured.

The distinction that matters most in practice is H0 versus H4. A feed whose increments all sit on a grid of five ticks produces a spectacular autocorrelation function, an integer-valued ACF, visible "levels" on a chart, and exactly zero predictability. It is the single most common way an operator convinces themselves they have found something.

The battery: eight tests, eight nulls

# Test Null it rejects Failure mode it catches
1 Wald–Wolfowitz runs test on return signs signs are independent trivial momentum/anti-momentum
2 Ljung–Box on returns (20 lags) no linear autocorrelation H1, threshold effects
3 Ljung–Box on squared returns no volatility clustering GARCH-ish synthetic vol
4 Lo–MacKinlay variance ratios, q ∈ {2,5,10,20} VR = 1 H1 (VR > 1), H3 (VR < 1)
5 DFA Hurst exponent H = 0.5 long memory, level reversion
6 Tick-grid GCD and coarse-grid share increments use the full tick lattice H4
7 Windowed replay scan with offset consistency no library segment reproduces the feed H2
8 Regime/split-half shift stationary parameters regime-switching synthetic vol

Test 7 deserves a note, because the obvious version of it does not work and the failure is instructive. A maximum cross-correlation over all lags is useless here: with n = 20,000 the standard error of a correlation is about 0.007, while adjacent-tick correlations in any price series are about 0.99, so every lag clears every threshold. The sound version asks a different question — does a fixed library offset advance by exactly one tick per tick of the feed? Windowed return signatures, matched, with the offset-consistency check as the actual test and correlation magnitude as a precondition. On the replay generator this returns 29 matching windows, best correlation 1.000, implied library step 1.000. On the four other classes it returns nothing.


3. Calibration: what the instrument does when the answer is known

Twelve replicates per class, 12,000 ticks each, sixty runs total.

Figure 1

Figure 1. Confusion matrix over the five generating classes. Every replicate is classified correctly; the matrix is exactly diagonal.

The joint false-positive rate on H0 — the probability that a pure random walk trips any of the six structural detectors — is 0 of 12, and every individual test is likewise 0 of 12.

That zero should be read with its bound attached. Under the rule of three, zero events in twelve trials bounds the true rate at roughly 24% at 95% confidence. The correct sentence is not "the false-positive rate is zero." It is "the battery produced no false positives in twelve efficient-random-walk replicates, which is consistent with anything below about one in four." More replicates tighten the bound; thirty gives about one in ten. This is the kind of sentence that a working paper can write and a sales page cannot.


4. The detection floor

A test that never fires is as useless as one that always fires. The power scan holds the generating class fixed (H1) and sweeps the coefficient, eight replicates per point, at n = 20,000 ticks.

Figure 2

true φ replicates detected rate
0.005 0 / 8 0%
0.010 1 / 8 12%
0.020 3 / 8 38%
0.050 8 / 8 100%
0.100 8 / 8 100%
0.250 8 / 8 100%

The stated detection floor is therefore |φ| ≳ 0.05 at 20,000 ticks. Below it the battery is a coin flip dressed as a verdict, and the honest output is not "H0" but "insufficient evidence at this sample size."

This produces the sentence that should be stapled to every "I analysed the feed and found nothing" claim, including this paper's own:

A null result from the battery at 20,000 ticks means "no serial dependence larger than |φ| ≈ 0.05," not "no structure."

And its converse, which is the part the signal industry omits: a detection is only interesting if it clears the economic floor as well. Which brings us to the calculation that most of this argument turns on.


5. Detectable is not tradeable

The battery works at the tick scale. The contract does not. A binary option settles on the sign of the price change over its expiry — sixty ticks, or six hundred, not one. These are different questions, and the difference is not a detail.

We measure the answer directly and generously. For each generating process, fit the best linear predictor of the h-step return using the last ten tick returns — information an operator genuinely has at decision time — on the first half of a 300,000-tick capture, and score it on the second half. Before fitting, every path is rescaled so its 60-tick move has a common standard deviation, so the comparison is about persistence rather than about volatility; and the response is demeaned using the training half's mean, so the predictor cannot earn a living off drift that the venue is free to set to zero.

Figure 3

true φ (tick scale) achievable hit rate at 60-tick expiry break-even at 92% payout
0.00 49.8% [49.6, 50.1] 52.08%
0.05 50.3% 52.08%
0.10 50.5% 52.08%
0.25 51.0% 52.08%
0.50 52.5% 52.08%
0.80 55.7% 52.08%
0.90 59.3% 52.08%
0.95 64.8% 52.08%
0.99 80.2% 52.08%

Read the first four rows against §4. Every one of those feeds is detectable — φ = 0.25 is caught 8 times out of 8 — and none of them is tradeable at the venue's own contract horizon. The economic floor at a 92% payout sits at φ ≈ 0.43, roughly nine times the detection floor. At an 80% payout, which is what the venue posts on many assets, it is higher still.

This is the resolution of the argument. It is not that the feed is a random walk; it very likely is not. It is that the serial dependence which exists at the tick scale is annihilated by aggregation to the expiry scale, and that the level of persistence required to survive aggregation would be visible to a child on the chart.

The portable criterion

For a binary contract paying b on a win, break-even is

$$p^* = \frac{1}{1+b}$$

and for a Gaussian signal with correlation ρ against the settlement return, the best achievable hit rate is

$$p = \tfrac12 + \frac{\arcsin \rho}{\pi}$$

Inverting gives the single number an operator needs from any signal vendor, in units that cannot be argued with:

$$\rho^* = \sin!\left(\pi\left(\tfrac{1}{1+b} - \tfrac12\right)\right)$$

payout b break-even hit rate $p^*$ required correlation $\rho^*$
92% 52.08% 0.065
85% 54.05% 0.127
80% 55.56% 0.174
75% 57.14% 0.222

Ask for the correlation between the signal and the realised settlement return, measured out of sample, at the actual expiry, after fees, with a confidence interval. A 54% win rate is a triumph at a 75% payout and a catastrophe at 92%. The same 54% is evidence of a real edge at one and of nothing at all at the other, and no vendor's marketing distinguishes the two because the distinction is arithmetic rather than persuasive.


6. The one mechanism that does produce the sessions in question

If tick-scale prediction cannot survive to expiry, what produces a run of a hundred winning trades? One thing does, reliably, and it is not prediction.

Latency alpha. The order is accepted after the tick that settles the contract is already observable. Accuracy is then a function not of the market but of the clock: the closer to expiry the order lands, the closer to certainty the outcome. The edge lives in the ordering of operations, not in the chart. Reproduced deliberately, it yields hit rates in the high nineties, and the expected return per unit staked is

$$0.96 \times 0.92 - 0.04 = +0.84$$

per unit risked — an order of magnitude above what a genuinely good state-based signal yields ($0.56 \times 0.92 - 0.44 = +0.075$). That asymmetry is why the working bots in this ecosystem are timing artefacts and why the venue's terms address the ordering of operations specifically rather than the quality of anyone's analysis.

Because latency alpha depends on the plumbing, a trade log separates it from state alpha. Fit a logistic regression of win on log(seconds remaining when the order was acknowledged):

Figure 4

Figure 4. Two sessions with the same headline win rate. Left: accuracy is flat in time-to-expiry. Right: accuracy collapses toward certainty as the expiry approaches.

Calibration of the discriminator on simulated logs with known mechanism, 2,000 trades per log:

That last line is the design working as intended. The near-expiry bucket holds only about sixty trades at this sample size, so the honest response to noise is abstention. An instrument that guessed would look better in a table and be worse in a decision.

The verdict matters because the two mechanisms have completely different futures. A state-based edge is a research asset. A latency edge is a property of a deployment that the venue can remove with a timestamp, and that the terms describe as a breach.


7. What the record cannot show

Every public dataset in this space — including the ones these bots publish — shares four absences. Each one is independently sufficient to make a win-rate claim unfalsifiable.

There is no complete ledger. A channel that posts wins and quietly omits losses produces a statistically impossible record, and impossibility is easy to check: the expected number of consecutive wins in a pure coin flip of length n is $\log_{1/0.48}(n)$, so n = 1,000 flips yields a longest streak of 10 and n = 100,000 yields 15. A "100-win streak" is not impressive; it is predictable, and the arithmetic that predicts it was published in 1941.

There is no expectancy. Hit rate alone does not determine profit. At a 92% payout the loss multiple at break-even is 8.28: a 90% win rate loses money if the losses are the ones that are large. No public record in this ecosystem reports stake-weighted expectancy, and none reports whether a drawdown preceded the run.

There is no settlement. Profits on screen are a balance field. The only datum that distinguishes a working system from a working display is funds that left the venue, which is why a withdrawal identifier belongs in the trade schema and why no marketing page carries one.

There is no counterfactual. A record of trades taken says nothing about the trades not taken. Selection at entry — taking the ones that felt good — produces a curated sample with an excellent win rate and no edge, and it is undetectable ex post without the full log including rejections.

This paper can classify a feed and measure its economy. It cannot audit an account, and it does not claim to.


8. The field protocol

The instrument is only as good as the capture it is pointed at. The procedure, with the sample sizes that make each step decisive:

Step 1 — capture, and capture the boring fields. Ticks with exchange-side timestamps; trades with ts_submit, ts_ack, server_time_ack, seconds_remaining, payout_at_entry, stake, outcome, balance_after, withdrawal_id. The fields nobody records are the fields that answer the questions.

Step 2 — classify. Run the battery. Report the class, the detection floor at that n, and the fact that a null is bounded.

Step 3 — measure the economy at the contract horizon, not the tick horizon, with non-overlapping settlements, against the payout actually posted.

Step 4 — respect the sample size. Distinguishing a 1-point edge from a coin flip takes about 39,000 settled contracts; 2 points takes 9,800; 4 points takes 2,450.

Figure 5

Figure 5. Settled contracts required to resolve an edge at 80% power. At one-minute expiries, a 1-point edge needs three weeks of continuous trading on a single asset. This is why every confident claim in this space is made from a few hundred trades.

Step 5 — classify the mechanism. Run the latency discriminator on the trade log. State alpha and latency alpha have different life expectancies and different legal standing.

Step 6 — report the verdict that the interval supports, and write down the one it does not.


9. Reproducing this

python -m otc_lab.calibrate --reps 12 --n 12000     # Table/Figure 1  → out/calibration.json
python -m otc_lab.calibrate --power                 # Figure 2        → out/power_scan.json
python -c "from otc_lab import calibrate; calibrate.economic_map(n=300000)"   # Figure 3
python -m otc_lab.figures                           # all five figures
python -m otc_lab.cli demo                          # end-to-end on synthetic captures
python -m otc_lab.cli analyse --ticks out/ticks.jsonl --payout 0.92 --horizon 60
python -m otc_lab.cli latency --trades out/trades.jsonl
Module Contents
otc_lab/generators.py H0–H4 generators, library builder
otc_lab/battery.py the eight tests, the decision rule
otc_lab/calibrate.py confusion matrix, power scan, economic map
otc_lab/edge.py break-even, required ρ, hit-rate CI, sample size
otc_lab/latency.py the settlement discriminator
otc_lab/ops.py record schemas, session accounting, CLI
otc_lab/figures.py the five figures

10. Limitations, stated plainly

The generators are honest constructions of the five hypotheses, not measurements of any particular venue. A feed can be synthetic and still fall outside all five; the battery would then report the nearest class with high confidence, and the confidence is not a probability that the class is right, only a statement about the evidence thresholds used. The economic map uses a linear predictor, which is a lower bound on what a nonlinear method might find — though at these signal-to-noise levels the bound is not the binding constraint. The confusion matrix rests on twelve replicates per class, and the paper has already said what that does and does not rule out. The latency discriminator requires seconds_remaining and ack timestamps that most logs do not carry; if it cannot be run, that fact is itself the finding.

None of this is a claim about the intentions of any venue or vendor. It is a claim about what can be established from a capture, and it is deliberately narrower than the argument it is usually dragged into.


Coldcode SI Labs, Harare. Everything here is written down and kept. Correspondence: couragegarikai@atomicmail.io

About the author

Courage Garikai builds and runs autonomous business systems from Harare, Zimbabwe, and writes about what actually works. The Coldcode Si Labs Library is the written record of that practice — fifty titles and counting, each one built to be finished, kept, and passed on.

Also by Courage Garikai

The Leapfrog Series — The Leapfrog Thesis · The Leapfrog Playbook · The Chisel and the Light

The 2026 Business Series — The Tender Desk · The Governable Enterprise · The Human-Approval Loop · Mobile Money Rails · From Spreadsheet Interface to Governable Autonomy · Invisible Proof · The Peripheral Internet · The Contact-Enquiry Price · The One-Person Studio · Facts.json as Infrastructure · The Honest Bot · Slow Software

Books — Intelligence, Data and Judgement · Replaced · Pinterest Goldmine · The Ledger and the Shopkeeper · Operatorship · The Tight Bucket · Emotional Engineering · Nobody Was Watching · Proof of Mechanism · The Mechanism Auditor · Traffic Is the New Oil · Unchained Blueprint · The Point of Failure · The Musk Mirror · The Rocket Man Reckoning · The Bliss Attractor · Clickbait · Why Is Africa Still Poor? · The Complete Science and Art of Publishing a Great Book

Working papers — Constraint-Native Business Model Design · Simulated Completeness · Unwitnessed Autonomy · Grounded Cadence · Order Without Custody · The Mechanism Audit · The Sovereign Micro-Enterprise · Distributed Cognitive Autonomous Infrastructure · Zero Marginal Cost · Output Is Digital · Through the Front Door · Separating a Mechanism from an Edge · The Vendor's Arithmetic · Manufacturing the Number · The Benchmark

Free samples of every title — PDF and EPUB — are at library.coldcode-si-labs.workers.dev.

If this paper earned its hours, pass it on. Recommendation is how work like this is found.

Colophon

This edition was assembled with Python, typeset with WeasyPrint using open fonts, and built into PDF (A4) and EPUB formats by Coldcode Si Labs, Harare, Zimbabwe — November 2026.