Otree: Implementing Websockets to Allow for Real-Time Interactions – a Continuous Double Auction Market as First Application

27 Pages Posted: 14 Jul 2020

See all articles by Ann-Kathrin Crede

Ann-Kathrin Crede

University of Bern - Institute for Organization and Human Resource

Jan Dietrich

affiliation not provided to SSRN

Jonas Gehrlein

University of Bern - Institute for Organization and Human Resource

Oliver Neumann

University of Lausanne - Swiss Graduate School of Public Administration

Matthias Stürmer

University of Bern - Institute of Information Systems

Frauke von Bieberstein

University of Bern

Date Written: April 29, 2019

Abstract

This article illustrates the implementation of websockets in oTree (Chen et al. 2016) to allow for real-time interactions. While oTree generally allows to overcome the need for participants to be at the same location to interact with each other, a real-time module in the sense that the user interface responds within milliseconds to actions from other participants is currently not available. We address this gap and further develop oTree by making real-time interactions between a large number of players with immediate updates possible. As a first application, we run a continuous double auction market on Amazon Mechanical Turk to validate its functionality. This ready-to-use software is of special interest for the research of large (online) markets and for teaching purposes. We provide the code open-source on GitHub, thereby encouraging users to develop it further and applying the websocket technology to other real-time settings.

Keywords: experimental economics, oTree, double auction market, websockets, open-source

JEL Classification: D44, D47, C90

Suggested Citation

Crede, Ann-Kathrin and Dietrich, Jan and Gehrlein, Jonas and Neumann, Oliver and Stürmer, Matthias and von Bieberstein, Frauke, Otree: Implementing Websockets to Allow for Real-Time Interactions – a Continuous Double Auction Market as First Application (April 29, 2019). Available at SSRN: https://ssrn.com/abstract=3631680 or http://dx.doi.org/10.2139/ssrn.3631680

Ann-Kathrin Crede

University of Bern - Institute for Organization and Human Resource ( email )

Berne
Switzerland

Jan Dietrich

affiliation not provided to SSRN

Jonas Gehrlein (Contact Author)

University of Bern - Institute for Organization and Human Resource ( email )

Berne
Switzerland

Oliver Neumann

University of Lausanne - Swiss Graduate School of Public Administration ( email )

R.te de la Maladière 21
Chavannes-Renens, CH-1022
Switzerland

Matthias Stürmer

University of Bern - Institute of Information Systems ( email )

Bern, CH - 3012
Switzerland

Frauke Von Bieberstein

University of Bern ( email )

Here is the Coronavirus
related research on SSRN

Paper statistics

Downloads
6
Abstract Views
76
PlumX Metrics