IDEAS home Printed from https://ideas.repec.org/a/eee/beexfi/v23y2019icp114-123.html
   My bibliography  Save this article

Real-time interactions in oTree using Django Channels: Auctions and real effort tasks

Author

Listed:
  • Chapkovski, Philipp
  • Kujansuu, Essi

Abstract

oTree, a popular platform for conducting behavioral experiments, exchanges data only as a participant exits or enters a web page. In many situations, however, information needs to be gathered and delivered instantaneously. This paper demonstrates a way to add real-time interactions to oTree and presents two ready-made apps: a double auction and a gift exchange with a real effort task. Many auction designs, including the double auction, use time constraints and carry out sales as soon as an ask and a bid are compatible. Instantaneous flow of information is thus a core requirement for programming these auctions in the first place. The real effort task measuring the number of correct answers within a time limit, on the other hand, benefits from the extra flexibility and security that Django Channels provides. Furthermore, real effort tasks are a simple starting point for building real-time interaction apps with oTree.

Suggested Citation

  • Chapkovski, Philipp & Kujansuu, Essi, 2019. "Real-time interactions in oTree using Django Channels: Auctions and real effort tasks," Journal of Behavioral and Experimental Finance, Elsevier, vol. 23(C), pages 114-123.
  • Handle: RePEc:eee:beexfi:v:23:y:2019:i:c:p:114-123
    DOI: 10.1016/j.jbef.2019.05.008
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S2214635018302612
    Download Restriction: no

    File URL: https://libkey.io/10.1016/j.jbef.2019.05.008?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Konrad, Markus, 2019. "oTree: Implementing experiments with dynamically determined data quantity," Journal of Behavioral and Experimental Finance, Elsevier, vol. 21(C), pages 58-60.
    2. Ernst Fehr & Georg Kirchsteiger & Arno Riedl, 1993. "Does Fairness Prevent Market Clearing? An Experimental Investigation," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 108(2), pages 437-459.
    3. Matthias Weber & Arthur Schram, 2017. "The Non‐equivalence of Labour Market Taxes: A Real‐effort Experiment," Economic Journal, Royal Economic Society, vol. 127(604), pages 2187-2215, September.
    4. Johannes Abeler & Armin Falk & Lorenz Goette & David Huffman, 2011. "Reference Points and Effort Provision," American Economic Review, American Economic Association, vol. 101(2), pages 470-492, April.
    5. Davis, Douglas D. & Holt, Charles a., 1993. "Experimental economics: Methods, problems and promise," Estudios Económicos, El Colegio de México, Centro de Estudios Económicos, vol. 8(2), pages 179-212.
    6. Sloof, Randolph & van Praag, C. Mirjam, 2010. "The effect of noise in a performance measure on work motivation: A real effort laboratory experiment," Labour Economics, Elsevier, vol. 17(5), pages 751-765, October.
    7. Todd L. Cherry & Peter Frykblom & Jason F. Shogren, 2002. "Hardnose the Dictator," American Economic Review, American Economic Association, vol. 92(4), pages 1218-1221, September.
    8. Eriksson, Tor & Poulsen, Anders & Villeval, Marie Claire, 2009. "Feedback and incentives: Experimental evidence," Labour Economics, Elsevier, vol. 16(6), pages 679-688, December.
    9. Vernon L. Smith, 1962. "An Experimental Study of Competitive Market Behavior," Journal of Political Economy, University of Chicago Press, vol. 70, pages 322-322.
    10. Charness, Gary & Gneezy, Uri & Henderson, Austin, 2018. "Experimental methods: Measuring effort in economics experiments," Journal of Economic Behavior & Organization, Elsevier, vol. 149(C), pages 74-87.
    11. Freya Harrison & Claire El Mouden, 2011. "Exploring the Effects of Working for Endowments on Behaviour in Standard Economic Games," PLOS ONE, Public Library of Science, vol. 6(11), pages 1-6, November.
    12. Muriel Niederle & Lise Vesterlund, 2007. "Do Women Shy Away From Competition? Do Men Compete Too Much?," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 122(3), pages 1067-1101.
    13. repec:cup:judgdm:v:5:y:2010:i:5:p:411-419 is not listed on IDEAS
    14. Bruggen, Alexander & Strobel, Martin, 2007. "Real effort versus chosen effort in experiments," Economics Letters, Elsevier, vol. 96(2), pages 232-236, August.
    15. Chen, Daniel L. & Schonger, Martin & Wickens, Chris, 2016. "oTree—An open-source platform for laboratory, online, and field experiments," Journal of Behavioral and Experimental Finance, Elsevier, vol. 9(C), pages 88-97.
    16. Nisvan Erkal & Lata Gangadharan & Nikos Nikiforakis, 2011. "Relative Earnings and Giving in a Real-Effort Experiment," American Economic Review, American Economic Association, vol. 101(7), pages 3330-3348, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. César Martinelli & Jianxin Wang & Weiwei Zheng, 2023. "Competition with indivisibilities and few traders," Experimental Economics, Springer;Economic Science Association, vol. 26(1), pages 78-106, March.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Charness, Gary & Kuhn, Peter, 2011. "Lab Labor: What Can Labor Economists Learn from the Lab?," Handbook of Labor Economics, in: O. Ashenfelter & D. Card (ed.), Handbook of Labor Economics, edition 1, volume 4, chapter 3, pages 229-330, Elsevier.
    2. Charness, Gary & Gneezy, Uri & Henderson, Austin, 2018. "Experimental methods: Measuring effort in economics experiments," Journal of Economic Behavior & Organization, Elsevier, vol. 149(C), pages 74-87.
    3. Emanuela Lezzi & Piers Fleming & Daniel John Zizzo, 2015. "Does it matter which effort task you use? A comparison of four effort tasks when agents compete for a prize," Working Paper series, University of East Anglia, Centre for Behavioural and Experimental Social Science (CBESS) 15-05, School of Economics, University of East Anglia, Norwich, UK..
    4. Benndorf, Volker & Rau, Holger A. & Sölch, Christian, 2019. "Minimizing learning in repeated real-effort tasks," Journal of Behavioral and Experimental Finance, Elsevier, vol. 22(C), pages 239-248.
    5. Brice Corgnet & Roberto Hernán-González, 2019. "Revisiting the Trade-off Between Risk and Incentives: The Shocking Effect of Random Shocks?," Management Science, INFORMS, vol. 65(3), pages 1096-1114, March.
    6. Cecchi, Francesco & Melesse, Mequanint Biset, 2016. "Formal law and customary change: A lab-in-field experiment in Ethiopia," Journal of Economic Behavior & Organization, Elsevier, vol. 125(C), pages 67-85.
    7. Bejarano, Hernán & Corgnet, Brice & Gómez-Miñambres, Joaquín, 2021. "Economic stability promotes gift-exchange in the workplace," Journal of Economic Behavior & Organization, Elsevier, vol. 187(C), pages 374-398.
    8. Gill, David & Prowse, Victoria, 2019. "Measuring costly effort using the slider task," Journal of Behavioral and Experimental Finance, Elsevier, vol. 21(C), pages 1-9.
    9. Sausgruber, Rupert & Sonntag, Axel & Tyran, Jean-Robert, 2021. "Disincentives from redistribution: evidence on a dividend of democracy," European Economic Review, Elsevier, vol. 136(C).
    10. Brice Corgnet & Joaquín Gómez-Miñambres & Roberto Hernán-González, 2015. "Goal Setting and Monetary Incentives: When Large Stakes Are Not Enough," Management Science, INFORMS, vol. 61(12), pages 2926-2944, December.
    11. Dohmen, Thomas & Shvartsman, Elena, 2023. "Overexertion of Effort under Working Time Autonomy and Feedback Provision," Journal of Economic Behavior & Organization, Elsevier, vol. 212(C), pages 1255-1266.
    12. Nicolas Jacquemet & Olivier L’Haridon & Isabelle Vialle, 2014. "Marché du travail, évaluation et économie expérimentale," Revue française d'économie, Presses de Sciences-Po, vol. 0(1), pages 189-226.
    13. Nicolas Jacquemet & Olivier L’Haridon & Isabelle Vialle, 2014. "Marché du travail, évaluation et économie expérimentale," Revue française d'économie, Presses de Sciences-Po, vol. 0(1), pages 189-226.
    14. Bouma, J.A. & Nguyen, Binh & van der Heijden, Eline & Dijk, J.J., 2018. "Analysing Group Contract Design Using a Lab and a Lab-in-the-Field Threshold Public Good Experiment," Discussion Paper 2018-049, Tilburg University, Center for Economic Research.
    15. Simon Gächter & Lingbo Huang & Martin Sefton, 2016. "Combining “real effort” with induced effort costs: the ball-catching task," Experimental Economics, Springer;Economic Science Association, vol. 19(4), pages 687-712, December.
    16. Dezső, Linda & Loewenstein, George, 2019. "Self-serving invocations of shared and asymmetric history in negotiations," European Economic Review, Elsevier, vol. 120(C).
    17. Drouvelis, Michalis & Marx, Benjamin M., 2022. "Can charitable appeals identify and exploit belief heterogeneity?," Journal of Economic Behavior & Organization, Elsevier, vol. 198(C), pages 631-649.
    18. Gary Charness & Ramón Cobo-Reyes & Juan A. Lacomba & Francisco Lagos & Jose Maria Perez, 2016. "Social comparisons in wage delegation: experimental evidence," Experimental Economics, Springer;Economic Science Association, vol. 19(2), pages 433-459, June.
    19. Kenju Kamei & Thomas Markussen, 2023. "Free Riding and Workplace Democracy—Heterogeneous Task Preferences and Sorting," Management Science, INFORMS, vol. 69(7), pages 3884-3904, July.
    20. Hernán Bejarano & Brice Corgnet & Joaquín Gómez-Miñambres, 2019. "Labor Contracts, Gift-Exchange and Reference Wages: Your Gift Need Not Be Mine!," Working Papers 19-26, Chapman University, Economic Science Institute.

    More about this item

    Keywords

    Double auction; Gift exchange game; oTree; Real-time interactions; Real effort task;
    All these keywords.

    JEL classification:

    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software
    • C90 - Mathematical and Quantitative Methods - - Design of Experiments - - - General
    • C91 - Mathematical and Quantitative Methods - - Design of Experiments - - - Laboratory, Individual Behavior
    • C99 - Mathematical and Quantitative Methods - - Design of Experiments - - - Other
    • D44 - Microeconomics - - Market Structure, Pricing, and Design - - - Auctions

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:beexfi:v:23:y:2019:i:c:p:114-123. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: https://www.journals.elsevier.com/journal-of-behavioral-and-experimental-finance .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.