All studies
04Market microstructure

High-frequency trading — finding the modelled executable edge

An order whose price is touched is not necessarily filled. Queue, delay, fees and adverse selection erase the apparent edge.

Study framework

Best-price-and-volume order book, organization and outcomes are entirely synthetic. Audit demonstration, not evidence of a tradeable edge.

90,000 synthetic order-book events

Reading plan

From problem to decision

  1. 01

    Understand one fill

    Touched price, queue position and market event.

  2. 02

    Reproduce the bias

    The first test treats almost every touch as a trade.

  3. 03

    Restore reality

    Queue, latency, fees and post-fill price movement.

  4. 04

    Define the next test

    Detailed order-book data and shadow operation before production.

01

Before we begin

The problem

A reconstructed organization is examining a passive strategy driven by the imbalance between visible buy and sell volume in the order book.

A market-making strategy posts limit orders and hopes to earn a fraction of the tick size. The signal may be right yet lose money if the order is not filled, arrives too late or is filled only when the market is becoming adverse.

This study reconstructs the difference between an edge visible in a formula and an edge actually accessible in an order queue.

02

Phase 1

What the organization built

We begin by understanding the system as presented, without caricaturing it and before proposing any correction.

What the first test assumes

The prototype posts a passive order at the best price. As soon as a market trade touches that price, the test considers the order fully filled.

This rule ignores orders already waiting ahead. It turns a simple price touch into a certain transaction and manufactures a 99.73% fill rate.

Why the large blue line is misleading

The blue line accumulates more than 70,000 assumed fills and nearly 40,000 ticks. It overwhelms the red and green lines because it counts trades that generally would not have been obtained.

The corrected visual keeps the full view to show the scale of the bias, then adds a separate zoom on the two operational models so their comparison can be read.

Initial approach summary

  • An order is deemed filled as soon as its price is touched.
  • The backtest reports a 99.73% fill rate and +0.545 net tick per trade.
  • Queue position and latency are absent.

03

Phase 2

What the assessment checks and proposes

The second phase reproduces the mechanism, locates what breaks and turns criticism into a testable change.

Make execution credible

The realistic replay assigns a quantity of orders ahead of ours. It waits for that queue to be consumed, imposes four events of delay and deducts fees. The fill rate then falls to 50.07%.

It also measures price one, ten and fifty events after the fill. If price deteriorates immediately afterwards, the order was probably selected by a better-informed participant: this is adverse selection.

What the revised candidate changes

The revised rule requires a stronger signal, rejects unstable periods and limits volume ahead of the order. In this simulation, it recovers +0.102 net tick per fill.

This is not evidence of a tradeable profit. At eight events of latency the edge turns negative again, and the book is entirely synthetic with one random seed.

Assessment

  • With the order queue, four events of delay, fees and adverse selection, the fill rate falls to 50.07%.
  • Net gain becomes −0.006 tick per fill and −218.5 cumulative ticks.
  • The revised rule turns positive in this simulation, but falls below zero at eight events of delay.

Proposed correction

  • Stricter signal threshold and delay reduced to two events.
  • Reject unstable, adversely selected or overly volatile signals.
  • Do not place an order when already-prioritised volume ahead exceeds a threshold.
  • Expected gain must exceed fees and modelled post-fill loss.

04

Concepts and equations

No symbol without a definition

The same notes open from the “?” links placed throughout the article.

05

Numerical results

What the numbers actually measure

These results belong to an order-book simulation. They measure the effect of execution assumptions; they do not announce a profit.

99.73% → 50.07%

initial → realistic fill rate

Share of orders assumed, then realistically eligible, as filled.

+0.545 → −0.006

net tick per fill

Average smallest-price-increment gain after modelled fees.

+0.102

revised candidate, simulation

Positive result in the central synthetic scenario only.

8 événements

latency where edge turns negative

Beyond this simulated delay, average gain falls below zero.

06 · See the evidence

Read the charts step by step

Each figure first explains how to read its axes and colours, then what it does—or does not—support.

07 · Assessment protocol

How the assessment was conducted

Assessment protocol

  • 90,000 deterministic order-book events generated with random seed 20260811.
  • First replay assumes execution on simple price contact, then adds queue and delay, then applies the filtered rule.
  • Signed post-fill price movement after 1, 10 and 50 events.
  • Delay sensitivity test and fill probability by prioritised volume.

Limitations that matter

  • Market dynamics, adverse selection and delay are entirely modelled.
  • One random seed and no separate test set.
  • No order lifetime or cancellation, capacity limit or real infrastructure.
  • Cumulative ticks are not a monetary profit.

08 · Sources & provenance

Where the facts come from

  • Locally generated synthetic best-price-and-volume book — no external market data

09 · Decision

REVISE

REVISE — the revised candidate still requires shadow testing.

  1. 1

    The first backtest is rejected: its fill rule creates most of the result.

  2. 2

    The revised candidate is positive in the central scenario but fragile to latency and not tested on an independent dataset.

  3. 3

    The acceptable next step is shadow operation using detailed order-book data, real timestamps and several market periods.

Next step: Revise, then observe the strategy without committing real capital. Any production conclusion requires an order-level book, licensed data and real delay logs.