Skip to content
a generic market implementation in oTree, using otree-redwood
JavaScript Python HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_builtin
configs
static/otree_markets
templates/otree_markets
.gitignore
README.md
__init__.py
configmanager.py
exchange.py
message_types.txt
models.py
notes.txt
pages.py
tests.py
validate.py

README.md

otree_markets

A generic market implementation in oTree

otree_markets is an oTree app which is meant to be an easily modifiable reference implementation of a market experiment, created using LEEPS lab's redwood framework for realtime communication in oTree. It consists of 3 main components:

  • a CDA market implementation (contained in exchange.py) with support for multiple unit orders
  • an oTree app (contained in models.py and pages.py) which maintains records of players' cash and asset allocations and coordinates communication between the exchange and the frontend
  • a basic text-based javascript frontend (contained in this experiment's static files)

The oTree app and exchange have support for multiple-asset trading situations, though the provided text interface is currently only configured for a single asset. Finishing multiple asset support is an immediate goal for this project.

You can’t perform that action at this time.