Case 026Market-making gamesCore
You and three computer quoters make markets on the sum of five cards drawn from one suit numbered 1 to 13. Each bot has seen one card and its mid is 37, 33 or 39. What did each bot see, and where do you quote?
1The situation
At Oriolex Trading's interview game, five cards are dealt face down from a single suit numbered 1 to 13, without replacement. The contract settles at the sum of the five. Three computer quoters are in the game with you. Each has been shown one different card, and each quotes a mid equal to its own fair value given that card, one point either side.
Before anything is revealed, the unconditional fair value is 5 times the average card of 7, which is 35. The three bots now show mids of 37, 33 and 39. You have seen no card yourself.
2Your task
Work out which card each bot has seen, reprice the contract, set your own two-way quote and say which bot prices you would trade against.
Quick check
The bot quoting a mid of 37 has seen which card?
Worked solution
Try it on paper, then open one step at a time.
30-second answerThe answer to give first
The bots have seen a 10, a 4 and a 13, and the contract is worth about 39.8. Each bot's mid is (2c + 91)/3, so the card is (3 x mid minus 91)/2. The three known cards sum to 27; the last two come from the ten cards left, averaging 6.4. Quote around 38.8 at 40.8 and buy the offers at 34 and 38.
Step 1What pricing rule is each bot using?
Start with one bot. It knows its card c exactly and knows the other four come from the twelve cards it has not seen, which sum to 91 minus c. Its fair value is c plus four times the average of what is left: c + 4(91 - c)/12, which is (2c + 91)/3. A card of 7 gives 35, the same as knowing nothing, which is a useful check. Each point on the card moves the mid by only two thirds of a point, because a high card seen is a high card that cannot be among the unseen four. It is the same logic as guessing a class's total marks after hearing one student's score: a top score raises the total, but it also means that top score is no longer available to anyone else.
Step 2How do you turn three quotes into one fair value?
Invert the rule: c = (3m - 91)/2. Mid 37 gives 10, mid 33 gives 4 and mid 39 gives 13. They are three different cards, which is a consistency check worth saying aloud; if the inversion gave two 10s you would know one bot was shading its quote. With 10, 4 and 13 known, only two cards remain unknown, drawn from the ten left, which sum to 64 and average 6.4. The contract is worth 27 plus 2 x 6.4, which is 39.8. You have pooled three private signals that no single bot has, and that is the whole edge in this game.
| m | a bot's mid quote |
| c | the card that bot has seen |
| 91 | the sum of the cards 1 to 13 |
| S | the sum of all five cards |
Step 3Where do you quote, and whom do you trade with?
The two unknown cards add uncertainty with a standard deviation of about 4.7 points, so the contract is far from settled. Centre your quote on 39.8 and keep it about as tight as the bots, 38.8 at 40.8, because you now know more than any of them. Then look at their prices. The card-4 bot offers at 34, nearly 6 below value, and the card-10 bot offers at 38. Both are selling on one card of information when the pooled answer is 39.8. Lift both offers. The card-13 bot's offer of 40 is 0.2 above value, so leave it.
Say the limit before the interviewer does. The inversion multiplies any error in a mid by 1.5: if a bot shades its quote by one point to manage its own inventory, your inferred card is off by 1.5 and your fair value by about 1.3 once the averaging is redone. So treat each inferred card as an estimate, and watch whether a bot's mid moves after it trades; a quote that drifts with its position is telling you about inventory, not cards. After you buy, you are long, so shade your own quote down a little to attract sellers and lighten up.
Where candidates lose it
The usual loss is inverting too simply: reading mid 37 as a card of 9 because 37 is 2 above 35 and 9 is 2 above 7. That ignores that the seen card is removed from the pool the others are drawn from, and it puts every inferred card and the pooled value in the wrong place.
The second is quoting only off the bots' average mid of 36.3. Averaging the quotes treats three different pieces of information as three noisy views of the same thing. Each quote reveals a different card, so the right move is to add the information, not to average it.
What the interviewer asks next
- You are shown a 12 yourself. What is the contract worth now?
- One bot's mid moves from 37 to 36 after it sells to you. What do you infer?
- How would the inversion change if each bot quoted fair value plus a fixed skew of 0.5?
- Two cards are revealed publicly at random. How does your edge over the bots change?
Asked at Optiver, Future focus Interview, Chicago, 2025 (Wall Street Oasis): This interview was a standard market making game with cards and CPUs quoting prices.
Company names and figures are illustrative.
