df-pm-mm Console — Mode S (interactive sandbox)

A fake-USDC, in-memory order-book prediction market. Act on the book as a participant, step the market-maker bot tick by tick, drag its fair value. Nothing here is live — reset or restart clears it.

Order entry

Place a limit (rests on the book) or market (takes existing depth) order. You can't sell shares you don't hold — buy the opposite side instead.

Depth ladder — YES

Asks (red) are sell offers; bids (green) are buy offers. Bars show cumulative depth. Highlighted rows are the bot's resting quotes.

Fair value

The bot centers its quotes here. Drag to watch it re-center. "Track mid" instead follows the book midpoint (and goes blank on a thin book).

Bot (market maker)

The real MM engine, stepped one tick at a time. It quotes both sides, skews size toward reducing inventory, and gates asks on shares it holds.

Participants — position & P&L

Net P&L is a mark-to-mid teaching approximation (cash moved + shares × mark), not the fee-inclusive markout the backtest path computes.

Mid-price history

The YES book midpoint over the ticks you've stepped.

Trade blotter

One row per trade (the taker's side), most recent last.