Market Trading Experiment Platform
Overview
An oTree-based experimental economics platform for conducting multi-round trading experiments. Participants are assigned a utility function, parameters (α, β), and an initial endowment of Good A and Good B. They select a trading partner, negotiate and submit trades, and proceed through up to 3 trading rounds.
Key Features
- Heterogeneous utility functions (Cobb-Douglas, Linear, Leontief)
- Partner selection and mutual/one-sided matching logic
- Real-time trade verification and execution
- Round-by-round history summary at the end
Experiment Flow
- Login & Setup — participants enter their student ID and receive their utility parameters and endowment
- Partner Selection — participants nominate a trading partner by student ID
- Trading (repeated for 3 rounds) — matched pairs submit trade quantities; trades are verified and executed if valid
- Summary — final page shows full round-by-round history, final holdings, and utility
Tech Stack
- Backend: Python / oTree
- Real-time matching via WebSocket (Redis)
- Configurable scenarios via session config keys