A live, six-player market game on general equilibrium under uncertainty: Arrow–Debreu contingent claims, the pricing of aggregate risk, incomplete markets, completing markets with options, and Radner equilibrium with spot markets and rational expectations.
Players: 6 (Farmer A/B, Fisher A/B, Roofer A/B). Fewer students? Robots fill empty seats and play the theoretical optimum.
Time: two sessions: Part 1 · Arrow–Debreu ≈ 35 min (2 rounds); Part 2 · Radner ≈ 55 min (3 rounds). Or both in one ≈ 90-minute session.
Format: online seminar. You share your screen; each student plays on their own laptop.
Prerequisites: none in General audience mode; for Economics students: expected utility, Lagrangian optimisation, Walrasian equilibrium with certainty.
Tech: one web page, no accounts, no installs. Students need the link and a 5-character room code.
Practice mode: students can replay alone against robots for revision.
Every round has the same four steps: forecast the equilibrium prices, answer a two-question concept check, trade in a Walrasian market where an auctioneer adjusts prices to excess demand, and a debrief that puts the class's outcome next to the theory. Nature's draw only adds drama: scores reward ex-ante decisions, not the weather.
Two audiences
When you open a room you choose who is playing:
General audience (default): no prior economics needed. Contracts are called weather tickets, bonds, shares and options and explained in everyday words. Round 1 opens with a five-card How to play guide (including why a steady life beats feast-or-famine) and a glossary. Every prediction has a hint, tips are on in every round, the quick questions test intuition rather than theory, and each lesson ends with “economists call this …”. The equations are kept in an optional “The maths” section of the results. The two parts are titled Sharing risk and When markets are missing.
Economics students: the technical version described in this guide (Arrow securities, state prices, Radner equilibrium, LaTeX derivations, fading hints).
The economics, numbers and solutions below are identical in both versions; only the language and scaffolding differ. Students can also practise alone at Beginner or Economics student level.
With a general audience, slow down at two moments: read the How to play cards aloud before Round 1 (≈ 3 minutes), and after each round ask “who was surprised by the prices, and why?” before revealing the lessons.
2. Learning objectives
By the end of the session students should be able to:
Formulate and solve an individual's optimal portfolio / contingent-consumption problem under uncertainty and interpret its first-order conditions as marginal utility per unit of money equalised across securities (Rounds 1–4).
Derive Arrow–Debreu equilibrium state prices and allocations; explain full insurance without aggregate risk and the linear sharing rule with aggregate risk (Rounds 1–2).
Interpret state prices as probability × marginal utility, and distinguish physical probabilities, risk-neutral probabilities and the stochastic discount factor (Round 2).
Diagnose market completeness from the rank of the payoff matrix, compute the set of state prices consistent with incomplete-market asset prices, and explain why personal state prices diverge (Round 3).
Replicate Arrow securities with a bond, a share and an option; price derivatives by no arbitrage; state and apply the equivalence of complete-market Radner and Arrow–Debreu equilibria (Round 4).
Explain the role of spot-price expectations in a Radner economy with several goods, and why $S$ securities plus spot markets replace $S\times L$ contingent-commodity markets (Round 5).
3. Why it is designed this way
Predict → act → reflect. The forecast forces students to commit to a model before seeing the market (a predict–observe–explain cycle). The debrief then confronts their prediction with the market outcome and the theory. Wrong forecasts are the most productive moment of the session.
Simple inputs. When markets are complete, students simply choose how much grain they want in each weather and see a budget bar (value of plan vs value of harvest). In Round 4 the game shows the bond/share/call portfolio that delivers their plan, so replication is visible. In Round 3 they choose one number, the share position, and the bond balances the budget automatically.
The decision problem is the task. The market is a Walrasian tâtonnement, not a double auction. Students are price-takers, so there is no bargaining to hide behind: in every iteration they must solve their own optimisation problem at the posted prices. That is optimal decision-making inside general equilibrium, which is what you want to assess.
A controlled experiment on market structure. Rounds 2, 3 and 4 use identical endowments, preferences and beliefs. Only the set of traded securities changes (complete contingent claims → bond + share → bond + share + call). Differences in prices and welfare are therefore caused by market structure alone, and the class sees that Round 4 reproduces Round 2 exactly.
Scaffolding that fades. With Utility + tips (Rounds 1–3) students see how much their plan is worth in sure grain plus a plain-language tip based on the first-order condition (e.g. “a coin spent on Storm grain adds more expected utility than one spent on Sun grain”). That makes $\pi_s u'(c_s)/p_s$ equalisation tangible. Show utility (Rounds 4–5) drops the tip, so students must rely on theory. You can change this per round in setup.
Heterogeneous roles with a story. Farmers are Sun-rich, fishers Rain-rich, roofers Storm-rich. That gives everyone gains from trade and makes "who insures whom" easy to talk about. In Round 3 the fishers barely gain because Rain risk lies outside the asset span, which makes incompleteness personal.
Mistakes are visible and costly. In Round 5 a fisher who expects the fish price to stay at 1 (instead of falling to 0.5 in Rain) sells too many Rain claims and has to dump fish on the spot market. In testing, this cut the welfare score to zero. Rational expectations stop being an abstract assumption.
4. Session plan: two parts
The game comes in two parts. Each is a separate session with its own room code and leaderboard, so you can teach Arrow–Debreu one week and Radner economies later. When you open a room, choose Part 1, Part 2, or Both parts (all five rounds in one ≈ 90-minute session).
Part 1 · Arrow–Debreu (≈ 35 minutes)
Time
Activity
Your role
0–6
Join, roles, how the auctioneer works
Share your screen with the room code; explain predict / trade / results and scoring
6–20
Round 1 — Island insurance
Let them struggle for 3–4 minutes on the prediction; debrief full insurance and the FOC
20–32
Round 2 — The storm year
Debrief: SDF, risk-neutral probabilities, linear sharing rule
32–35
Wrap-up
End screen: lessons and a teaser for Part 2 (“what if there is not a claim for every weather?”)
Part 2 · Radner economies (≈ 55 minutes, any later week)
Part 2 opens with a recap card of Part 1 (the storm-year island, state prices (0.4, 0.3, 0.3), total gains ≈ 14.5) in the waiting room and in the first briefing, so students who forgot the details can follow. If you ran Part 1 in the same browser, the recap and the final “gains across rounds” table also show what your class achieved in Part 1, next to the Part 2 rounds.
Time
Activity
Your role
0–5
Join and recap
Read the recap card aloud; remind them of the storm-year state prices
5–20
Round 1 — Only a bond and a share
Allow more bidding rounds; debrief rank, state-price set, personal state prices, welfare loss
20–33
Round 2 — Financial innovation
Pause after the prediction and ask a student to replicate the Sun claim aloud
33–50
Round 3 — Two harvests
Stress the fish-price predictions; after the spot market, compare naive and rational expectations
50–55
Synthesis
Use the gains-from-trade table: storm year 14.5 → bond+share 8.7 → with option 14.5
Breakout option. With more than six students, run pairs: each seat is a two-person team that shares one screen in a breakout room. Teams argue before committing, which improves the debrief.
5. Running it online
Before the seminar (5 minutes)
Open the game and click Practise alone (choose the part) once to see the student screens. Students can also practise each part alone afterwards.
Click Open a room and pick Part 1, Part 2 or Both. Choose rounds and hint levels; the market settings can stay at their defaults.
Click Open the room ▸. The top bar should say ● room online.
During the seminar
Students open the link, type the code and their name. The sidebar shows who is connected (green dot) and who has submitted (✓).
The green banner at the top of every screen tells you (and students) what happens now; its button moves the game on. A new bidding round starts automatically when every connected student has submitted. Under Auctioneer controls, Next bidding round now moves on without waiting for a slow student. Set a timer in setup for a fixed pace (90 s per bidding round works well).
When the market clears, click Execute trades. If it hits the bidding limit, execute as is (orders are scaled down proportionally) or allow five more rounds.
Post your own prices (under Auctioneer controls) lets you demonstrate a point, for example by posting actuarially fair prices in Round 2 and asking why the Storm claim is in excess demand.
Tick answer key to see the theoretical prices. Untick it before you share your screen.
Seat menu (⋯):Make robot, or I will enter for them to type a student's decisions if their connection fails (they can tell you their numbers in chat). Free the seat lets someone else take it.
If your browser reloads, choose Resume room on the landing page. Students reconnect automatically.
Network and privacy. Your browser runs the game. Messages travel through public MQTT relays over encrypted WebSockets (HiveMQ, EMQX and Mosquitto public brokers), so there are no accounts or servers to maintain. The relays are public: ask students to enter first names or nicknames only. If one relay is blocked on a network, the page uses another automatically.
6. Round-by-round solutions and debrief
Common structure: three states (Sun, Rain, Storm) with $\pi=(0.5,0.3,0.2)$, log utility $U_i=\sum_s\pi_s\ln c_{is}$, and the numeraire is a sure unit of grain at $t=1$ ($\sum_s p_s=1$). Endowments are public. CE is the certainty equivalent $\exp(EU)$.
Part 1 · Arrow–Debreu
Round 1 — Island insurance (Arrow–Debreu, no aggregate risk)
Endowments (Sun, Rain, Storm): FA (40,15,5), FB (30,20,10), FiA (10,40,10), FiB (15,25,20), RA (5,10,45), RB (20,10,30). Aggregate: 120 in every state.
Typical mistakes. Forecasting prices proportional to aggregate endowment (all 1/3) or to own endowment; forgetting that the budget is $\sum_s p_s z_s\le 0$ (net trades), not $\sum_s p_s c_s\le\sum_s e_s$.
Debrief prompts and model answers
Why does everybody fully insure? Fair prices + strictly concave $u$ + common beliefs ⇒ the FOC $\pi_s u'(c_s)=\lambda p_s=\lambda\pi_s$ gives $u'(c_s)$ constant.
What if Fisher A believed Rain had probability 0.5? Their demand for Rain consumption rises, $p_2$ rises above 0.3, they no longer fully insure (they bet on Rain), and the others sell them Rain claims. Speculative trade from heterogeneous priors. You can run this by adding a beliefs field (§8).
Borch rule: $u_i'(c_{is})/u_i'(c_{it})=u_j'(c_{js})/u_j'(c_{jt})$ — MRS equalised across agents.
Round 2 — The storm year (aggregate risk)
Endowments: FA (50,15,5), FB (40,20,10), FiA (15,40,10), FiB (20,25,15), RA (5,10,25), RB (20,10,15). Aggregate (150,120,80). These endowments are reused in Rounds 3 and 4.
Storm insurance has fair value 0.2 but costs 0.3. Is it overpriced? No: it pays when aggregate consumption, and so everyone's consumption, is lowest and marginal utility is highest. The SDF is 1.5 there.
Risk-neutral probabilities $p_s/\sum_t p_t=(0.4,0.3,0.3)$ tilt weight toward the bad state. Pricing any payoff $d$ as $\sum_s p_s d_s=E^{\mathbb Q}[d]$ reproduces market prices.
Mutuality principle: in any Pareto optimum with common beliefs, $c_{is}$ depends on $s$ only through $\bar e_s$. With identical CRRA the sharing rule is linear. In the debrief chart the consumption lines are proportional to the aggregate.
What if Roofers were more risk-averse ($\gamma=3$)? They would bear less aggregate risk and others would insure them. Set "gamma" per round (common to all agents) in the JSON, or discuss it qualitatively.
Part 2 · Radner economies (in the game these are Rounds 1–3 of Part 2)
Round 3 — Only a bond and a share (Radner, incomplete)
Assets: Bond $(1,1,1)$, $q_B=1$; Share $(3,2,0)$. Rank 2 < 3. There is no closed form, so the equilibrium is computed numerically: $q_S=1.8227$ (versus 1.8 under complete markets).
State-price set. No arbitrage only requires $p>0$ with $p_1+p_2+p_3=1$ and $3p_1+2p_2=1.8227$, i.e. $p_2=0.9114-1.5p_1$, $p_3=0.0886+0.5p_1$, $p_1\in(0,\,0.6076)$. Each agent's personal state prices lie in this set but differ across agents (shown in the debrief table).
Debrief prompts and model answers
Who loses most from incompleteness? The fishers: Fisher A gains almost nothing (CE 18.56 → 18.58 vs 21.65 in Round 2). Their risk is concentrated in Rain, and no portfolio of $(1,1,1)$ and $(3,2,0)$ isolates Rain without also loading on Sun.
Is the allocation Pareto optimal? No: personal state prices differ, so MRS between states differ. With one good it is constrained efficient (Diamond 1967). With several goods, constrained efficiency fails generically (Geanakoplos and Polemarchakis 1986).
Which single extra security would restore Round 2? Any payoff outside span$\{(1,1,1),(3,2,0)\}$. That leads into Round 4.
Why might the auctioneer need more iterations? Optimal demands are no longer closed-form, so students rely on the marginal-utility diagnostics.
Round 4 — Financial innovation (completing with a call)
Assets: Bond $(1,1,1)$, Share $(3,2,0)$, Call on the share with $K=1$: $(2,1,0)$. $\det A=-1\neq0$, so the market is complete.
Fastest solution path: take the desired net trade $z_i=c_i^{R2}-e_i$ from Round 2 and solve $A^\top\theta_i=z_i$, or buy $z_{is}$ units of each replicated Arrow security.
Debrief prompts and model answers
Why would a put with strike 3, $(0,1,3)$, not complete the market? It equals $3B-S$, so it is redundant (put–call parity with a worthless call).
Arrow (1953) and Radner (1972): with $S$ independent securities and correct expectations, the Radner equilibrium allocation equals the Arrow–Debreu allocation. Ross (1976): options on one asset with distinct state payoffs complete the market.
Large positions: replication can require large offsetting positions (Fisher A: −53 shares, +83.5 calls). Discuss transaction costs and margin requirements as frictions that make "complete in principle" incomplete in practice.
Is financial innovation always good? Not when markets stay incomplete after it (Hart 1975; Elul 1995).
Round 5 — Two harvests (Radner with spot markets)
Goods: grain $x$, fish $y$; $U_i=\sum_s\pi_s[\tfrac12\ln x_{is}+\tfrac12\ln y_{is}]$. At $t=0$, three Arrow securities paying grain. At $t=1$, a spot market for fish at $\rho_s$ (grain per fish). Aggregates: grain $X=(150,120,80)$, fish $Y=(75,240,40)$.
Indirect utility in state $s$ is $\ln m_{is}+\kappa_s$, so the $t=0$ problem is the Round 2 problem with endowment $m_{is}$: $m_{is}+\theta_{is}=\pi_s W_i/q_s$, where $W_i=\sum_s q_s m_{is}$. At $t=1$ each agent spends half of their grain-wealth on fish.
Islander
$m_i$ at true ρ
Arrow trades $\theta_i$
CE: no trade → eq.
CE if ρ̂ = 1 (naive)
Farmer A
(60, 20, 5)
(−20.62, 11.50, 16.00)
11.43 → 14.14
14.14
Farmer B
(55, 35, 10)
(−10.62, 0.50, 13.67)
14.87 → 15.93
15.83
Fisher A
(65, 70, 15)
(−0.62, −18.50, 19.33)
21.58 → 23.11
12.44
Fisher B
(55, 65, 20)
(4.37, −17.50, 11.67)
20.56 → 21.32
13.19
Roofer A
(25, 20, 60)
(17.50, 14.00, −37.33)
12.12 → 15.26
14.43
Roofer B
(40, 30, 50)
(10.00, 10.00, −23.33)
16.70 → 17.95
17.14
Total CE gain
+10.45
The last column shows each islander's CE if they alone had valued fish at $\hat\rho=1$ in every state. Farmer A holds no fish, so nothing changes for them. The fishers lose about 40% of their certainty equivalent, because they think Rain is a rich state and sell Rain claims they cannot cover cheaply.
Debrief prompts and model answers
How many markets? Arrow–Debreu needs $S\times L=6$ contingent-commodity markets at $t=0$; Radner uses 3 Arrow securities plus one spot market in the realised state (Arrow 1953).
What does Radner equilibrium require beyond Walrasian equilibrium? Every agent's expectation of each state's spot price must equal the price that actually clears that spot market (perfect foresight / rational expectations).
Would paying the securities in fish change anything? No: with complete markets the choice of numeraire good is irrelevant.
Natural hedge: the fish glut in Rain makes fish cheap there, so fishers' grain-wealth is less volatile than their fish harvest. Relative-price movements provide partial insurance.
Advanced: with incomplete real assets and several goods, spot prices depend on asset trades. That brings pecuniary externalities, Hart's (1975) counterexample to existence, and generic constrained inefficiency.
7. Scoring
Forecast (max 100): $100\exp(-4\bar\varepsilon)$, where $\bar\varepsilon$ is the mean of $\min(1,|\ln(f_k/f_k^*)|)$ over forecast items. A 5% error scores ≈ 82 and a 20% error ≈ 48.
Welfare (0–120): $100\cdot\frac{CE_i-CE_i^0+\delta}{CE_i^*-CE_i^0+\delta}$ with $\delta=0.02\,CE_i^*$. $CE^0$ is no trade and $CE^*$ is the theoretical equilibrium of that round's market structure. The smoothing $\delta$ keeps the score meaningful when the attainable gain is tiny (e.g. Fisher A in Round 3). Robots score ≈ 100.
Concept check: 25 points per question.
Spot market (Round 5, max 50): loses 5 points per 1% shortfall of utility from the best bundle at the clearing spot price.
All scores are ex ante: the weather draw affects only the realised consumption shown in the debrief.
8. Combining it with your exercise
Two sequences work well:
Exercise first, game as transfer (recommended). Students solve your exercise before the seminar. The game then asks them to use the same tools under time pressure, in a market with other people's mistakes, and with new twists (incompleteness, replication, expectations). Ask them to bring their exercise solutions and refer to them in debriefs.
Game first, exercise as consolidation. Play Rounds 1–2 cold, then assign the exercise and play Rounds 3–5 in the following session.
To play your exercise's own economy, open Set up a room → Use your own exercise and edit the JSON. Each round is plain data, and equilibria, answer keys and scores are recomputed automatically. A minimal round:
{
"id": "x1", "kind": "assets", "title": "My exercise, part (a)",
"tag": "Arrow–Debreu · two states",
"states": [ {"name":"Good","icon":"📈","prob":0.6}, {"name":"Bad","icon":"📉","prob":0.4} ],
"gamma": 1, // CRRA coefficient (1 = log)
"hint": 2, // 0, 1 or 2
"assets": [ {"name":"Good claim","sym":"A_1","payoff":[1,0]},
{"name":"Bad claim","sym":"A_2","payoff":[0,1]} ],
"endow": [[10,2],[8,4],[2,10],[4,8],[6,6],[5,5]], // exactly six players
"beliefs": null, // optional: six probability vectors for heterogeneous priors
"intro": "<p>HTML with $\\LaTeX$ …</p>", "task": "…", "debrief": "…",
"concept": [ {"q":"…","options":["…","…"],"correct":0,"explain":"…"} ]
}
Rules: probabilities sum to 1; six strictly positive endowment vectors; the riskless payoff $(1,\dots,1)$ must be in the span of the assets (it is the numeraire). For a two-good Radner round use "kind":"radner" with "alpha", "grain" and "fish" (six vectors each) and complete Arrow securities. Remove the // comments above before pasting: JSON does not allow them.
9. References
Arrow, K. J. (1953/1964). The role of securities in the optimal allocation of risk-bearing. Review of Economic Studies 31(2), 91–96.
Debreu, G. (1959). Theory of Value, ch. 7. Yale University Press.
Diamond, P. A. (1967). The role of a stock market in a general equilibrium model with technological uncertainty. American Economic Review 57(4), 759–776.
Elul, R. (1995). Welfare effects of financial innovation in incomplete markets economies with several consumption goods. Journal of Economic Theory 65(1), 43–78.
Geanakoplos, J., & Polemarchakis, H. (1986). Existence, regularity, and constrained suboptimality of competitive allocations when the asset market is incomplete. In Heller, Starr & Starrett (eds.), Essays in Honor of K. J. Arrow, vol. III.
Hart, O. D. (1975). On the optimality of equilibrium when the market structure is incomplete. Journal of Economic Theory 11(3), 418–443.
Holt, C. A. (1999). Teaching economics with classroom experiments. Southern Economic Journal 65(3), 603–610.
Mas-Colell, A., Whinston, M. D., & Green, J. R. (1995). Microeconomic Theory, ch. 19. Oxford University Press.
Plott, C. R., & Sunder, S. (1988). Rational expectations and the aggregation of diverse information in laboratory security markets. Econometrica 56(5), 1085–1118.
Radner, R. (1972). Existence of equilibrium of plans, prices, and price expectations in a sequence of markets. Econometrica 40(2), 289–303.
Ross, S. A. (1976). Options and efficiency. Quarterly Journal of Economics 90(1), 75–89.