Skip to content
Tools / 06

Market making simulator and trading interview game

Quote a two-sided market, get picked off and learn from the flow. You set a bid and an ask on a contract whose value depends on dice or cards, while noise traders and an informed insider decide whether to trade with you.

SelfMadeQuant.com/tools/market-making

06 / TRADING INTERVIEW

Market-making game

Quote a two-sided market. Get picked off. Learn from the flow.

View on GitHub
QUOTE 1 / 8

About two arrivals in five are the insider. Changing the game or the flow starts a new game.

Dealing…

The contract settles at the sum of all four dice, $4 to $24. 0 of 3 public dice revealed.

How the game works +

Four fair six-sided dice are rolled. The contract settles at their sum, so its fair value before any information is $14.00. You make 8 markets; after every 2 one more public die is revealed, up to three. The fourth die is seen only by an insider and is revealed at settlement. Each market meets one counterparty. With probability 40% (standard flow) it is the insider, who buys your ask if their expected value is above it, sells your bid if it is below, and otherwise passes. Otherwise it is a noise trader who buys or sells at random and deals less often as your market widens: always at $1.00 wide or less, falling to 25% at $4.00. Every trade is for your full quoted size. P&L splits exactly into spread captured (your price against public fair value), adverse selection (the insider’s die against public fair value) and luck (dice not yet seen by anyone). This is a fictional practice game with made-up counterparties, loosely inspired by the Glosten–Milgrom model of trading against informed flow.

Guide

How to use it

Enter a bid and an ask around your estimate of fair value. As public dice or cards are revealed, fair value changes and you quote again. Every counterparty is unmasked at settlement, so you can see whether each fill came from noise or from the insider.

How a market maker sets bid and ask prices

The bid is the price at which you offer to buy; the ask is the price at which you offer to sell. Begin with the expected settlement value given the public information, then choose how far either quote should sit from that estimate. The quoted spread is a decision about compensation for risk and the chance of trading.

In this market making simulator, dice or cards determine the contract value. New public reveals change your conditional expectation, while an insider has extra information. A quote that looked sensible before a reveal can become stale afterwards. Recalculate fair value before deciding whether to widen, narrow or shift your market.

Adverse selection and inventory risk in practice

An informed buyer may lift your ask precisely when the contract is worth more than you are charging. An informed seller may hit your bid when you are overpaying. That selection is why a two-sided spread does not ensure profitable trading. Review which counterparties traded and compare what was knowable at the time with what became clear at settlement.

If repeated fills leave you long, shifting your quotes down can discourage more buying by you and encourage selling from your inventory. Explain that adjustment in terms of exposure, rather than treating every fill as an isolated bet. Use the game for quant trading interview practice in expected value, spread setting and inventory control. It is an original teaching exercise; a free account is needed after the first reveal.

Worked round: fair value for four dice or four cards

The contract settles at the sum of four dice. Before anything is revealed, fair value is 4 × 3.5 = 14, with a standard deviation of about 3.4. Suppose the first public die shows a 5. Fair value is now 5 + 3 × 3.5 = 15.5, so a 13–15 market quoted before the reveal is stale, and anyone who can see more would happily buy at your 15. One die is seen only by the insider, so even after all three public dice you are quoting around their sum plus 3.5.

Cards change the arithmetic because they are drawn without replacement. The deck averages 7, so fair value starts at 28. After a king (13) is revealed, the remaining 51 cards average about 6.88 and fair value becomes about 33.6, not 13 + 3 × 7 = 34. Small corrections like this are exactly what interviewers listen for.

How the settlement breakdown works

At settlement the game splits your profit and loss into three parts. Spread captured is your edge against public fair value at the moment of each trade. Adverse selection is how the insider’s hidden die or card moved against, or in favour of, your fills. Luck is the effect of dice or cards nobody had seen when you traded.

A benchmark shows what quoting public fair value plus or minus a fixed half-width would have made against the same counterparties. If you beat the spread benchmark but lose to adverse selection, quote wider or lean against the insider; if your mid error is large, re-centre on fair value after every reveal before worrying about width.

What it teaches

A wide market protects you from the insider but scares off uninformed flow, and a market that never trades earns nothing. A narrow one collects the spread from noise traders but gives edge to anyone who knows more. Even a pass is information: the insider only passes when their value sits inside your market.

Inventory matters too. Leaning your quotes against your position helps you avoid being stuck with a large exposure. Balancing spread capture, adverse selection and inventory is the core job of a market maker.

Formula and units

Midquote = (bid + ask)/2; quoted spread = ask − bid. Terminal trading P&L = cash from trades + inventory × settlement value, assuming zero initial cash and inventory.

A numerical check and the model’s limits

Suppose you begin flat, buy one contract at 9 and later settle it at 8. Your terminal P&L is −1 even if your displayed ask was 11 throughout. Quoting a spread does not mean you earned that spread. Only executed trades affect cash and inventory, and informed traders can select the side that is least attractive to you. After a fill, update both your position and your belief about fair value. After a pass, consider what values would have made trading unattractive to the insider. Compare several rounds with the same quoting rule before changing it; one profitable settlement can be luck. The exercise teaches conditional reasoning and exposure control, rather than reproducing an employer assessment.

Frequently asked questions

Is this a live trading platform?

No. It is a teaching game using dice or cards, with simulated counterparties and settlement. It does not send orders to a market.

Why can a profitable spread still lose money?

An informed counterparty may trade only when the eventual value is unfavourable to your quote. Inventory can also lose value before settlement.

How can I practise a market making interview game?

Estimate the contract’s expected value, quote a bid and ask, then update both as public information and trades arrive. Review inventory, settlement P&L and the revealed counterparties. Explain each adjustment rather than judging your reasoning only by the final profit.

Is this an official trading firm assessment?

No. It is SelfMadeQuant’s original dice-and-cards teaching game for practising expected value, adverse selection and inventory management. It does not reproduce or predict a particular employer’s assessment.

Learn the ideas behind it

Free reading

More free tools