This experiment is a 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='ri_cda',
display_name='Rational Inattention - Continuous Double Auction',
num_demo_participants=3,
app_sequence=['ri_cda'],
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 secondsasset_endowment
- the amount of asset each player is endowed withcash_endowment
- the amount of cash each player is endowed withallow_short
- either "true" or "false". if true, players are allowed to have negative cash and asset holdingsg
- random variable for determining default probabilityk
- determines cost proportional to width selectionsblock_total
-participation_fee
-