Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.05 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.05 KB

otree_single_asset_market

This experiment is a single-asset CDA market implemented using oTree Markets. To install, follow the installation instructions for oTree Markets here. Then clone this repo into your oTree project folder and add the following session config dict to SESSION_CONFIGS in settings.py:

dict(
   name='otree_single_asset_market',
   display_name='Single Asset Market',
   num_demo_participants=2,
   app_sequence=['otree_single_asset_market'],
   config_file='demo.csv',
)

Config files are located in the "configs" directory. They're CSVs where each row configures a round of trading. The columns are described below.

  • period_length - the length of the round in seconds
  • asset_endowment - the amount of asset each player is endowed with
  • cash_endowment - the amount of cash each player is endowed with
  • allow_short - either "true" or "false". if true, players are allowed to have negative cash and asset holdings