Token creation
Like futures, these markets are zero-sum among traders: what one side gains, the other loses (fees aside). At the start there are no Yes or No tokens. You can always create a pair by locking $1 of collateral (for example USDC on Hyperliquid): that mints 1 Yes + 1 No. The reverse is a merge: return one Yes and one No, unlock $1. There is always the same number of Yes tokens as No tokens in existence, because they are only born and destroyed as pairs. That outstanding count is open interest.Order books and matching
Each token is a separate asset with its own order book. The books are linked: they can cross-match. That link is what makes prediction-market order flow different from a normal single-asset spot book. Limit and market orders work as on spot (a market order is an aggressive take). What differs is which counterparty you can hit. There are four useful combinations:- User A rests a bid to buy Yes at 0.60.
- User B sends a market buy No.
- If there is no better No ask than 0.40 (= 1 − 0.60), B can match across books against A: a new Yes+No pair is created from $1. A gets Yes, B gets No. Open interest rises by 1.
Merged order book
Economically, Yes and No are one market expressed twice. A bid to buy Yes at p is the same commitment as an offer to sell No at 1 − p (and the duals for the other three corners). HIP-4 states that merge rule explicitly; Kalshi’s API can return only bids on Yes and No and still describe the full market, because a Yes bid implies a No ask at one minus that price.Why merge for reading
If you keep two native books, “where is size?” is split across two price axes that run in opposite directions. Flipping No prices with p → 1 − p puts everything on a single Yes-odds axis:- No asks land on the same levels as Yes bids
- No bids land on the same levels as Yes asks
- Depth at one economic level can be summed: Yes resting interest plus flipped No resting interest
How MarketLens shows it
MarketLens treats HIP-4 (and the same binary model) as an aggregated order book that evolves over time, not as two unrelated tickers you must eyeball side by side. To put Yes and No on one chart:- Take the No book.
- Reverse every No price: p → 1 − p.
- Map sides so flipped No lines up with Yes (No asks with Yes bids, No bids with Yes asks).
- Stack / sum size at each shared level.
