Orderbook
How the Trufonomics orderbook works
Orderbook Mechanics
Trufonomics uses a fully on-chain central limit orderbook (CLOB) built on Kwil-DB consensus.
Tick Size
All prices use a $0.01 tick size. Orders can only be placed at whole-cent prices ($0.01, $0.02, ... $0.99).
Matching Priority
Orders are matched using FIFO (First In, First Out) priority:
- Price priority — Better-priced orders fill first
- Time priority — At the same price, earlier orders fill first
This means queue position matters. Getting in early at a price level gives you priority over later orders at the same price.
Order Types
Limit Orders
Place an order at a specific price. It sits in the book until matched or cancelled.
Split Limit Orders
For bracket markets, place a single order that splits across multiple outcomes.
Queue Position
A unique feature of the Trufonomics orderbook: you can use changeBid / changeAsk to modify your inventory size without losing your queue position. This is critical for market makers who need to adjust exposure without going to the back of the line.
Matching Modes
The matching engine supports three modes:
| Mode | Description |
|---|---|
| Direct | Buyer and seller matched at complementary prices |
| Mint | New share pair created from collateral when prices sum to $1.00 |
| Burn | Share pair destroyed, collateral returned |