Tallystick
Docs 05

A Tallage in practice.

Two stretches of the market, worked through to the unit.

Numbers make the order visible. Both scenarios use the real rule — a Notch opens with an open amount of 2% of that trade’s TALL size — and nothing else.

A busy stretch

Three trades arrive: 10,000 TALL, then 4,000 TALL, then 6,000 TALL. Each leaves its Paring and cuts its Notch, so the Scoreline stands:

The queue after three trades
Notch №Trade size (TALL)Open amount (TALL)State
110,000200oldest — worked first
24,00080waits behind №1
36,000120waits behind №2

Someone — anyone — calls a Tallage, and the gathered Paring retires 250 TALL from the market. The mark walks from the oldest end: Notch №1 is discharged in full (200 of 200), Notch №2 is marked down to a remainder of 30, and Notch №3 stands untouched at 120. The next Tallage begins at №2 — never at №3.

A quiet stretch

No trades come. No Paring gathers, no Notch opens, and nothing is marked. If someone calls a Tallage while nothing has gathered, the call simply reverts: no queue state changes, no event is emitted, and the open Notches stand exactly as they stood. The mechanism never moves on its own; it moves on trades, and on Tallages that have something to work with.

The Machine Brief is on your clipboard.